[ltp] thinkpad_acpi: unhandled HKEY event 0x3006
Henrique de Moraes Holschuh
linux-thinkpad@linux-thinkpad.org
Wed, 23 Dec 2009 23:36:38 -0200
On Wed, 23 Dec 2009, Pedro Ribeiro wrote:
> I get thinkpad_acpi: unhandled HKEY event 0x3006 when I power on my
> ultrabay optical drive. The drive is inserted but powered off, and
> when I press the eject button to power it on, the warning appears.
> Here is the output of dmesg:
Thanks, this report is really useful.
> ---------------------------------------------------press eject button
> in optical drive to power it on
> Dec 23 17:00:43 portatel kernel: [16471.179120] ata2: SATA link down
> (SStatus 0 SControl 300)
> Dec 23 17:00:43 portatel kernel: [16471.179143] ata2: EH complete
> Dec 23 17:00:55 portatel kernel: [16482.717778] ata2: exception Emask
> 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
> Dec 23 17:00:55 portatel kernel: [16482.717788] ata2: irq_stat
> 0x00000040, connection status changed
> Dec 23 17:00:55 portatel kernel: [16482.717797] ata2: SError: {
> CommWake DevExch }
> Dec 23 17:00:55 portatel kernel: [16482.717815] ata2: hard resetting link
> Dec 23 17:00:55 portatel kernel: [16482.946990] thinkpad_acpi:
> unhandled HKEY event 0x3006
> Dec 23 17:00:55 portatel kernel: [16482.946999] thinkpad_acpi: please
> report the conditions when this event happened to
> ibm-acpi-devel@lists.sourceforge.net
> Dec 23 17:00:55 portatel kernel: [16482.947263] ACPI:
> \_SB_.PCI0.SATA.PRT1 - docking
> Dec 23 17:00:56 portatel kernel: [16483.440109] ata2: SATA link up 1.5
> Gbps (SStatus 113 SControl 300)
> Dec 23 17:00:56 portatel kernel: [16483.446678] ata2.00: ACPI cmd
> e3/00:79:00:00:00:a0 (IDLE) succeeded
> Dec 23 17:00:56 portatel kernel: [16483.447626] ata2.00: ACPI cmd
> e3/00:01:00:00:00:a0 (IDLE) succeeded
> Dec 23 17:00:56 portatel kernel: [16483.451633] ata2.00: ATAPI:
> HL-DT-ST DVDRAM GSA-U20N, HX12, max UDMA/133
> Dec 23 17:00:56 portatel kernel: [16483.458860] ata2.00: ACPI cmd
> e3/00:79:00:00:00:a0 (IDLE) succeeded
> Dec 23 17:00:56 portatel kernel: [16483.459874] ata2.00: ACPI cmd
> e3/00:01:00:00:00:a0 (IDLE) succeeded
> Dec 23 17:00:56 portatel kernel: [16483.463707] ata2.00: configured for UDMA/133
> Dec 23 17:00:56 portatel kernel: [16483.468964] ata2: EH complete
> Dec 23 17:00:57 portatel kernel: [16485.003875] scsi 1:0:0:0: CD-ROM
> HL-DT-ST DVDRAM GSA-U20N HX12 PQ: 0 ANSI: 5
> Dec 23 17:00:57 portatel kernel: [16485.015527] sr0: scsi3-mmc drive:
> 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
> Dec 23 17:00:57 portatel kernel: [16485.015767] sr 1:0:0:0: Attached
> scsi CD-ROM sr0
> Dec 23 17:00:57 portatel kernel: [16485.015909] sr 1:0:0:0: Attached
> scsi generic sg1 type 5
>
>
> Please let me know if you need more info.
Well, to me it looks like Linux doesn't need event 0x3006 at all to do what
is required, since it obviously noticed right then and there the hotplug...
OTOH, using event 0x3006 to detect that the user wants to use the ODD, we
could shutdown the SATA link entirely (which would preclude the
autodetection by libata that the ODD was powered up again). I am told an
active SATA link consumes measurable power, so this might be useful.
Hmm... I need to study it a bit and talk to the libata developers.
But at least I now know what 3006 is for, and I can silence that help
request. Thanks!
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh