Bug 16001 - Lenovo Yxx0 - touch buttons "OneKey Theater" and "Dolby" not work
Summary: Lenovo Yxx0 - touch buttons "OneKey Theater" and "Dolby" not work
Status: RESOLVED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_input-devices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 09:26 UTC by RussianNeuroMancer
Modified: 2010-07-12 16:34 UTC (History)
2 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description RussianNeuroMancer 2010-05-19 09:26:33 UTC
I have a Lenovo Y550-4CWI laptop, but as I know this issue releated to any Lenovo Yxx0 laptops.
"OneKey Theater" and "Dobly" touch-buttons not work. This buttons not recognized by xev.
So I understand, Linux not have applications for this buttons, but I want use this buttons for other applications, and can't do it.
Additional information: this touch-buttons must work like a switch - enable/disable assigned functions.
Comment 1 Dmitry Torokhov 2010-05-19 18:01:06 UTC
These are probaby not mapped, the same as 16002. Is there any reason you created 2 separate bug reports?

Re: switch - it is application state, not in-kernel.
Comment 2 RussianNeuroMancer 2010-05-19 18:15:20 UTC
> Is there any reason you created 2 separate bug reports?
Probably used different controller.
http://www.gigamark.com/images/stories/8/Lenovo_y550/Untitled-4.jpg

> Re: switch - it is application state, not in-kernel.
Switch already taked and work by controller of this buttons. I mention this because probably these two buttons can work differently than typical buttons.
Comment 3 RussianNeuroMancer 2010-07-12 15:38:34 UTC
After BIOS update (version 33) there is two difference:
1. This buttons not work as switch anymore - just like typical buttons. After I press one of this two buttons they light brighter few seconds.
2. I check dmesg:

Reaction to "OneKey Theater" button:
[ 6623.518552] atkbd.c: Use 'setkeycodes e015 <keycode>' to make it known.
[ 6627.273239] atkbd.c: Unknown key pressed (translated set 2, code 0xa3 on isa0060/serio0).

Reaction to "Dobly":

[ 6627.273242] atkbd.c: Use 'setkeycodes e023 <keycode>' to make it known.
[ 6627.280194] atkbd.c: Unknown key released (translated set 2, code 0xa3 on isa0060/serio0).

So, now this buttons not mapped.
Comment 4 RussianNeuroMancer 2010-07-12 15:39:28 UTC
Sorry, "Dolby" sure.
Comment 5 Dmitry Torokhov 2010-07-12 15:58:38 UTC
Since now the buttons are routed through atkbd you just need to load proper mapping. Depending on your distribution it is handled either by udev (never distros) or hal (older ones). On mine I have 
/lib/udev/rules.d/95-keymap.rules that tells which keymap apply on which box.
Comment 6 RussianNeuroMancer 2010-07-12 16:08:21 UTC
It is possible to add udev rules for this buttons to upstream udev rules? (to provide proper support of this laptop not only for me, not only for my distro, but for all Linux users)
Comment 7 Dmitry Torokhov 2010-07-12 16:34:45 UTC
Certainly, just post your patch on linux-hotplug@vger.kernel.org and maybe CC Kay Sievers <kay.sievers@vrfy.org>

I'll be closing this bug since no kernel work is required.

Note You need to log in before you can comment on or make changes to this bug.