x61 tablet acpi event ibm hotkey HKEY 00000080 00005009 not mapped to keypress

Bug #471129 reported by sanktnelson on 2009-11-02
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Low
Unassigned

Bug Description

As of ubuntu karmic all hotkey events
(even if they are acpi events) are supposed to be mapped to input events
by the kernel.

However
ibm/hotkey HKEY 00000080 00005009
ibm/hotkey HKEY 00000080 0000500a

do not generate a keypress event. Which in a way may be sensible, since
they are not actually keys, they are actually the events for changing
the x61 tablet from laptop mode to tablet mode. However, current acpid
refuses to handle those events in the current version of ubuntu, since
the kernel should generate keyboard input events for this, but as stated
above, it doesn't.

Can anyone tell me what I can do to fix this? As it stands I don't have
access to that event at all, since acpid doesn't handle it any more and
no other event is generated yet, so I can't assign it in my desktop
environment either.

running latest karmic as of 2009-11-2, in thinkpad x61 tablet.

Rolf Leggewie (r0lf) wrote :

Can you please report this upstream to http://bugzilla.kernel.org/

I don't think Ubuntu can fix this bug as fast as upstream can. Please test the steps lined out in https://wiki.ubuntu.com/Hotkeys/Troubleshooting against a lucid live CD. Let me know if you need help.

When you're done, please post the link to the ticket here.

Jeremy Foshee (jeremyfoshee) wrote :

Hi sanktnelson,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 471129

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Changed in linux (Ubuntu):
status: Expired → New

This bug now affects me as well, I just upgraded to 10.10 and now my rotation script is no longer working. It was attached to an acpi event like this:

# /etc/acpi/events/x61t-swivel-down
# called when tablet head swivels down
event=ibm/hotkey HKEY 00000080 00005009
action=/usr/local/bin/rotate left

And for swiveling up there is a similar file.

Using acpi_listen the events still show up. If I run the acpid in debug mode and with logging of the events, they do not show up and thus no action is performed.

Using xev like in the manual described above it also doesn't show any of these events.

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: arsenal 2187 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf8220000 irq 46'
   Mixer name : 'Analog Devices AD1984'
   Components : 'HDA:11d41984,17aa20dd,00100400'
   Controls : 31
   Simple ctrls : 19
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7RHT16WW-1.02'
   Mixer name : 'ThinkPad EC 7RHT16WW-1.02'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 10.10
HibernationDevice: RESUME=UUID=74255ad8-0944-4ed1-bd2d-db406aa58a86
MachineType: LENOVO 7762D6U
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-22-generic root=/dev/mapper/tabletten-rootlette ro crashkernel=384M-2G:64M,2G-:128M splash quiet
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Regression: Yes
RelatedPackageVersions: linux-firmware 1.38
Reproducible: Yes
Tags: maverick ubuntu-une kernel-uncat regression-release needs-upstream-testing
Uname: Linux 2.6.35-22-generic x86_64
UserGroups: tabletgroup
dmi.bios.date: 11/27/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7SET36WW (1.22 )
dmi.board.name: 7762D6U
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7SET36WW(1.22):bd11/27/2008:svnLENOVO:pn7762D6U:pvrThinkPadX61Tablet:rvnLENOVO:rn7762D6U:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7762D6U
dmi.product.version: ThinkPad X61 Tablet
dmi.sys.vendor: LENOVO

tags: added: apport-collected

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Hi Berrnhard,

I use this for my rotation-needs now: http://www.krizka.net/projects/autorotate/

It's a python script which polls /sys/devices/platform/thinkpad_acpi/hotkey_tablet_mode

It's not as elegant as an ACPI event, since it requires polling, but it also rotates the screen according to the accelerometer, which is quite cool. Since that already requires polling, the missing ACPI event really doesn't hurt much.

I don't like polling as it increases the power consumption unnecessarily, and I have a solution implemented which gives me automatic rotation if I press the rotate button in tablet mode, limited to a few seconds, so I can rotate my screen as I wish, but I want my comfort back which I had when swiveling my tablet. As this is a regression, I want to have it fixed.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 471129

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: arsenal 2412 F.... pulseaudio
 /dev/snd/pcmC0D0p: arsenal 2412 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf8220000 irq 46'
   Mixer name : 'Analog Devices AD1984'
   Components : 'HDA:11d41984,17aa20dd,00100400'
   Controls : 31
   Simple ctrls : 19
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7RHT16WW-1.02'
   Mixer name : 'ThinkPad EC 7RHT16WW-1.02'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 11.04
HibernationDevice: RESUME=UUID=74255ad8-0944-4ed1-bd2d-db406aa58a86
MachineType: LENOVO 7762D6U
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 LANGUAGE=de_DE:en
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.38-11-generic root=/dev/mapper/tabletten-rootlette ro crashkernel=384M-2G:64M,2G-:128M splash quiet vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-11-generic N/A
 linux-backports-modules-2.6.38-11-generic N/A
 linux-firmware 1.52.1
Tags: natty
Uname: Linux 2.6.38-11-generic x86_64
UpgradeStatus: Upgraded to natty on 2011-05-03 (136 days ago)
UserGroups: tabletgroup
dmi.bios.date: 11/27/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 7SET36WW (1.22 )
dmi.board.name: 7762D6U
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7SET36WW(1.22):bd11/27/2008:svnLENOVO:pn7762D6U:pvrThinkPadX61Tablet:rvnLENOVO:rn7762D6U:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7762D6U
dmi.product.version: ThinkPad X61 Tablet
dmi.sys.vendor: LENOVO

tags: added: natty

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
wllhf (wllhf) wrote :

This bug now affects me as well, I just upgraded to 13.04 on a X60t.

sanktnelson, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (not the daily folder, but the one at the top) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.13-rc4

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: removed: apport-collected natty
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers