[Hardware] Кнопка -- выключатель питания

Andrey Kuleshov drew на bumer.com.ua
Чт Дек 8 16:23:17 MSK 2005


Здравствуйте!

Имеется Compaq Deskpro EN 6350.Не могу от него добиться нормальной
выключаемости по нажатию кнопки питания.
В результате экспериментов вначале появилось предположение, что система
не обнаруживает нажатие на кнопку.
Далее выяснилось, что кнопка может работать в двух режимах: стандартном
on/off и enhansed suspend/resume.
/var/log/syslog/dmesg для стандартного режима в атаче
Во втором режиме модуль bottom не грузится, но suspend срабатывает, т.е.
кнопка работает
Вопрос: почему система не видит событий acpid, но видит события apmd?
Вопрос2: возможно ли добиться от такой системы обычной реакции или без
извратов никак?

-- 

 AK1041-UANIC
 

----------- следущая часть -----------
Linux version 2.4.27-std-up-alt2 (builder на mash.office.altlinux.ru) (gcc version 2.96 20000731 (ALT Linux, build 2.96-alt6)) #1 Mon Nov 29 23:00:56 MSK 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
128MB LOWMEM available.
On node 0 totalpages: 32768
zone(0): 4096 pages.
zone(1): 28672 pages.
zone(2): 0 pages.
DMI 2.1 present.
54 structures occupying 1727 bytes.
DMI table at 0x000FA2F3.
BIOS Vendor: Compaq
BIOS Version: 686T3
BIOS Release: 04/14/98
System Vendor: Compaq
Product Name: Deskpro EN Series
Version: 
Serial Number: 8846BW330554    
Board Vendor: Compaq
Board Name: 0400h
Board Version: 
ACPI: RSDP (v000 COMPAQ                                    ) @ 0x000e0010
ACPI: RSDT (v001 COMPAQ INDY     0x00000001  0x00000000) @ 0x000e0080
ACPI: FADT (v001 COMPAQ INDY     0x00000001  0x00000000) @ 0x000e00cc
ACPI: SSDT (v001 COMPAQ VILLTBL1 0x00000001 MSFT 0x01000004) @ 0x000e0aad
ACPI: SSDT (v001 COMPAQ PNP_PRSS 0x00000001 MSFT 0x01000004) @ 0x000e1c9a
ACPI: DSDT (v001 COMPAQ     DSDT 0x00000001 MSFT 0x01000004) @ 0x00000000
Kernel command line: BOOT_IMAGE=2427-std-up-2 ro root=302 acpi=force
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 348.492 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 694.68 BogoMIPS
Memory: 126836k/131072k available (1243k kernel code, 3848k reserved, 510k data, 136k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0183fbff 00000000 00000000 00000000
CPU:             Common caps: 0183fbff 00000000 00000000 00000000
CPU: Intel Pentium II (Deschutes) stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 348.4695 MHz.
..... host bus clock speed is 99.5625 MHz.
cpu: 0, clocks: 995625, slice: 497812
CPU0<T0:995616,T1:497792,D:12,S:497812,C:995625>
mtrr: v1.40 (20010327) Richard Gooch (rgooch на atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20040326
PCI: PCI BIOS revision 2.10 entry at 0xed880, last bus=1
PCI: Using configuration type 1
Looking for DSDT in initrd ... not found!
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S1 S4 S5)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
PCI: Using ACPI for IRQ routing
Limiting direct PCI/PCI transfers.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
kinoded started
VFS: Disk quotas vdquot_6.5.1
vesafb: framebuffer at 0x41000000, mapped to 0xc8800000, size 1875k
vesafb: mode is 800x600x16, linelength=1600, pages=3
vesafb: protected mode interface info at c000:4902
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Looking for splash picture... no good signature found.
Console: switching to colour frame buffer device 100x37
fb0: VESA VGA frame buffer device
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:14.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x2020-0x2027, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x2028-0x202f, BIOS settings: hdc:pio, hdd:pio
hda: SAMSUNG SV1021H, ATA DISK drive
blk: queue c0308060, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 19932192 sectors (10205 MB) w/426KiB Cache, CHS=1318/240/63, UDMA(33)
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 100k freed
VFS: Mounted root (romfs filesystem) readonly.
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing unused kernel memory: 136k freed
Executing init=/sbin/init
Adding Swap: 249944k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
Real Time Clock Driver v1.10f
ACPI: Power Button (CM) [PBTN]
SGI XFS with ACLs, realtime, no debug enabled
SGI XFS Quota Management subsystem
XFS mounting filesystem ide0(3,3)
Ending clean XFS mount for filesystem: ide0(3,3)
reiserfs: found format "3.6" with standard journal
reiserfs: using ordered data mode
reiserfs: checking transaction log (device ide0(3,6)) ...
for (ide0(3,6))
ide0(3,6):Using r5 hash to sort names


Подробная информация о списке рассылки Hardware