Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Make the kernel understand keys
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ManDay
Apprentice
Apprentice


Joined: 22 Jan 2008
Posts: 247

PostPosted: Tue Nov 01, 2011 3:23 pm    Post subject: Make the kernel understand keys Reply with quote

Hello, I hoped you could perhaps help me getting this to work. I've got an EEE Slate which works fine for the bigger part, but I've problems with the WMI keys. I compiled CONFIG_ACPI_WMI, ASUS_WMI, EEEPC_WMI.

Thanks to EEEPC_WMI I get a /dev/input/event9 on which I see responses to pressing either of the three keys. However, when I press them, the following message appears in dmesg

When pressing Button 1:
Code:
asus_wmi: Unknown key f6 pressed

Button 2:
Code:
asus_wmi: Unknown key f3 pressed

When sliding Button 3 (which is a little slider, which locks rotation under windows) to either direction, I get:
Code:
asus_wmi: Unknown key f5 pressed


In X.org, the Asus WMI shows up as keyboard, but regardless of what button is pressed, it always reports the same keycode 248 shows up.

I'd like to get them report in properly. I think the correct point is to start at the eeepc_wmi driver, because dmesg likely reports the "underlying" problem, but I don't know how.

Thanks.
Back to top
View user's profile Send private message
ManDay
Apprentice
Apprentice


Joined: 22 Jan 2008
Posts: 247

PostPosted: Wed Nov 02, 2011 8:05 pm    Post subject: Reply with quote

Even the tiniest clue would be appreciated. Perhaps where I can find help?
Back to top
View user's profile Send private message
ManDay
Apprentice
Apprentice


Joined: 22 Jan 2008
Posts: 247

PostPosted: Sat Nov 05, 2011 7:25 pm    Post subject: Reply with quote

Bump. There is also a couple of keys on the side (volume) which trigger no response at all. Only when the kernel is a split seconf before halt, pressing them shows strange characters on the screen.
Back to top
View user's profile Send private message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 199

PostPosted: Sun Nov 06, 2011 11:31 pm    Post subject: Reply with quote

+1
With asus-wmi I don't know how to make system react on hardware volume keys and touchpad on/off on asus eee 1201T.
Back to top
View user's profile Send private message
ManDay
Apprentice
Apprentice


Joined: 22 Jan 2008
Posts: 247

PostPosted: Wed Nov 16, 2011 10:12 am    Post subject: Reply with quote

Bump :-/
Back to top
View user's profile Send private message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 199

PostPosted: Wed Nov 16, 2011 2:37 pm    Post subject: Reply with quote

I solved the problem by disabling wmi, passing "acpi_osi=Linux" to linux kernel at boot,
compiling CONFIG_EEEPC_LAPTOP into the kernel.

Then all keys on my eee 1201t generate acpi events that are easy to catch...
Back to top
View user's profile Send private message
ManDay
Apprentice
Apprentice


Joined: 22 Jan 2008
Posts: 247

PostPosted: Fri Nov 18, 2011 8:46 am    Post subject: Reply with quote

Khumarahn wrote:
I solved the problem by disabling wmi, passing "acpi_osi=Linux" to linux kernel at boot,
compiling CONFIG_EEEPC_LAPTOP into the kernel.

Then all keys on my eee 1201t generate acpi events that are easy to catch...


Can you perhaps elaborate a little on the thoughts behind this?
Back to top
View user's profile Send private message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 199

PostPosted: Fri Nov 18, 2011 3:13 pm    Post subject: Reply with quote

I don't exactly remember what lead me to this solution... May be description of CONFIG_ACPI_WMI in the kernel configuration. And arch linux wiki has a nice article on my computer...
Back to top
View user's profile Send private message
ManDay
Apprentice
Apprentice


Joined: 22 Jan 2008
Posts: 247

PostPosted: Fri Nov 18, 2011 6:07 pm    Post subject: Reply with quote

Well, it did not work for me. WMI_EEEPC appears to be required for the buttons on the EEE Slate.

Anyway: I assumed that it could not be made work out of the box. Hence, my question how to make the kernel understand keys!

Thanks for the try nevertheless.

The topic is still open, guys!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum