Linux: August 2004 Archives

Test ACPI and APM under Linux

| | Comments (0)

ACPI
1. S1: echo 1 > /proc/acpi/sleep Standby, 按 power key 後繼續動作
2. S2: 未使用
3. S3: echo 3 > /proc/acpi/sleep 沒反應
4. S4: echo 4 > /proc/acpi/sleep 沒反應
5. S5: echo 5 > /proc/acpi/sleep 直接關機, 未 sync
http://www.commoner.com/~lsimon/AsusM3N.html

Get pmtools
Usage: pmtest [OPTION] [TYPE] [ID]

where OPTION is one of:
-l list devices (default)
-d0 resume device (ACPI D0)
-d1, -d2, -d3 suspend device (ACPI D1-D3)

and TYPE is one of:
unknown PCI USB SCSI ISA system

and ID is one of:
keyboard serial irda floppy vga pcmcia
or a specific device number from /usr/include/linux/pm.h.

Examples:
pmtest -l PCI list all registered PCI devices
pmtest -d0 VGA resume (unblank) the console
pmtest -d3 PCI 0x1234 suspend a PCI device

ref. http://www.columbia.edu/~ariel/acpi/acpi_howto.txt

APM
apm -s, --suspend
Put the machine into suspend mode if possible.
apm -S, --standby
Put the machine into standby mode if possible.
ref. man apm

Movie player on Linux

| | Comments (0)

Linux QoS requirements

| | Comments (0)

for kernel 2.4.x

CONFIG_NET_SCHED=y
CONFIG_NETLINK=y
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_QOS=y
CONFIG_NET_CLS=y
CONFIG_NET_CLS_FW=y
CONFIG_NET_CLS_POLICE=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_TARGET_MARK=y

Pages

March 2008

Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          

About this Archive

This page is a archive of entries in the Linux category from August 2004.

Linux: July 2004 is the previous archive.

Linux: September 2004 is the next archive.

Find recent content on the main index or look in the archives to find all content.