LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 03-20-2005, 09:11 AM   #1
vmicho
Member
 
Registered: Jun 2003
Location: Slovakia
Distribution: Debian unstable i586
Posts: 38

Rep: Reputation: 15
Acer hot keys? (aspire 1500 series) : works partially


Hi, anybody managed to get the multimedia keys (or hot keys) on the Acer Aspire notebook?

I think I tried nearly everything.

With the driver acerhk from:
http://www.informatik.hu-berlin.de/~tauber/acerhk/
I can get access to the keys when looking into
Code:
> cat /proc/driver/acerhk/key
if I load module as
Code:
> modprobe acerhk poll=0
When I 'modprobe acerhk' only, /proc/driver/acerhk/key contains only n/a, but it seems kernels dont generate keyboard events (I have 'evdev' module loaded)

Code:
> showkey -s
Isnt printing anything when I press some hotkeys (except volume up/down, but they work without acerhk module)

Have you any idea ?

thankx


(I have custom 2.6.9. kernel, but tried this also with 2.6.8 kernel from Debian)
 
Old 03-20-2005, 09:58 AM   #2
vmicho
Member
 
Registered: Jun 2003
Location: Slovakia
Distribution: Debian unstable i586
Posts: 38

Original Poster
Rep: Reputation: 15
It might be a good idea to add some kernel messages.

But there seems to be a little problem :
when I press the mail button, it gives 0x31 (or 11 or 36 I dont remember exactly) and the driver seems to define some other codes (0x9b for mail) ???


Code:
Mar 20 16:37:50 daboss input.agent[2454]:      evdev: already loaded
Mar 20 16:37:50 daboss input.agent[2472]:      evdev: already loaded
Mar 20 16:37:50 daboss kernel: Acer Travelmate hotkey driver v0.5.22
Mar 20 16:39:36 daboss kernel: acerhk: area from 0xf000 to 0xffff mapped to c00f0000
Mar 20 16:39:36 daboss kernel: acerhk: area from 0xe000 to 0xffff mapped to c00e0000
Mar 20 16:39:36 daboss kernel: acerhk: area from 0x400 to 0x13ff mapped to e0eac400
Mar 20 16:39:36 daboss kernel: acerhk: key mapping:
Mar 20 16:39:36 daboss kernel: acerhk: help     0x8a
Mar 20 16:39:36 daboss kernel: acerhk: setup    0xab
Mar 20 16:39:36 daboss kernel: acerhk: p1       0x94
Mar 20 16:39:36 daboss kernel: acerhk: p2       0x95
Mar 20 16:39:36 daboss kernel: acerhk: p3       0xca
Mar 20 16:39:36 daboss kernel: acerhk: www      0x96
Mar 20 16:39:36 daboss kernel: acerhk: mail     0x9b
Mar 20 16:39:36 daboss kernel: acerhk: wireless 0x93
Mar 20 16:39:36 daboss kernel: acerhk: power    0x74
Mar 20 16:39:36 daboss kernel: acerhk: mute     0x71
Mar 20 16:39:36 daboss kernel: acerhk: volup    0x73
Mar 20 16:39:36 daboss kernel: acerhk: voldn    0x72
Mar 20 16:39:36 daboss kernel: acerhk: res      0xab
Mar 20 16:39:36 daboss kernel: acerhk: close    0xce
Mar 20 16:39:36 daboss kernel: acerhk: open     0x86
Mar 20 16:39:36 daboss input.agent[2584]:      evdev: already loaded
Mar 20 16:39:36 daboss input.agent[2570]:      evdev: already loaded
Mar 20 16:39:36 daboss kernel: acerhk: wireless2 0x93
Mar 20 16:39:36 daboss kernel: acerhk: play     0xa4
Mar 20 16:39:36 daboss kernel: acerhk: stop     0xa6
Mar 20 16:39:36 daboss kernel: acerhk: prev     0xa5
Mar 20 16:39:36 daboss kernel: acerhk: next     0xa3
Mar 20 16:39:36 daboss kernel: acerhk: display  0xe2
Mar 20 16:39:36 daboss kernel: acerhk: registered input device
Mar 20 16:39:36 daboss kernel: acerhk: start search for model string at c00f0000
Mar 20 16:39:36 daboss kernel: acerhk: found model string 'Aspire 1500    ' at c00f2b56
Mar 20 16:39:36 daboss kernel: acerhk: offset from model string to function address: 0xb1fa
Mar 20 16:39:36 daboss kernel: acerhk: model string indicates Aspire 1500 series
Mar 20 16:39:36 daboss kernel: acerhk: using call_bios_6xx mode
Mar 20 16:39:36 daboss kernel: acerhk: supported keys: help setup
Mar 20 16:39:36 daboss kernel: acerhk: supported functions: wbutton
Mar 20 16:39:36 daboss kernel: acerhk: cmos index set to 0x60
Mar 20 16:39:36 daboss kernel: acerhk: bios routine found at 0xc00fdd50
Mar 20 16:39:36 daboss kernel: Acer Travelmate hotkey driver v0.5.22
Mar 20 16:39:36 daboss kernel: acerhk: starting key polling, every 200 ms
Mar 20 16:39:39 daboss kernel: acerhk: received key code 0x31
Mar 20 16:39:39 daboss kernel: acerhk: translated acer key code 0x31 to no key
Mar 20 16:39:39 daboss kernel: acerhk: received key code 0x31
Mar 20 16:39:39 daboss kernel: acerhk: translated acer key code 0x31 to no key
Mar 20 16:39:40 daboss kernel: acerhk: received key code 0x36
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Acer aspire OS? nikivanovrhf Linux - Software 1 01-27-2008 05:02 AM
Acer Aspire 3002LMi Seb74 Linux - Laptop and Netbook 2 08-29-2005 09:49 AM
Anyone running linux on Acer Aspire 1680 series ? cyu021 Linux - Hardware 0 03-21-2005 09:34 PM
Audio problem on Acer Aspire 1202x (1200 series) ylkien Linux - Hardware 0 09-09-2004 07:16 AM
APM or APCI on ACER Aspire 2012WLMi (Aspire 2010 Family) FTP_Palace Linux - Laptop and Netbook 4 07-15-2004 06:08 PM


All times are GMT -5. The time now is 09:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration