Unknown key released??
metatux
metatux at gmx.net
Son Jan 15 02:25:59 GMT 2006
HI Goran,
Goran Ristic wrote:
> On Sat, 14 Jan 2006, metatux wrote:
>
[...]
>> Nun sieht es so aus, dass gar kein hotkey mehr geht und suspend und
>> hibernate enden in nicht reaktivierbarem Zustand.
>
> Auch das kann viele Ursachen haben. -- Hat nix mit dem key zu tun. ;)
> Schonmal bei linux-laptop.net nach Deinem Modell gesucht?
ne noch nicht. Ich ahnte ja nicht, dass es mit Breezy schlechter sein
würde als mit Hoary.
>> Ist mir klar. Jedoch wusste ich bisher nichts von einem Programm
>> namens hotkeys.
>
> Guck mal rein. Evtl ist Dein NB ja mit bei?
Hmm da steht irgendwo was von einem Compaq Keyboard aber ich habe keine
Ahnung ob das meinem entspricht.
[...]
>>> Lies Dich in die Dokumentation zu xev, showkey und setkeycodes ein.
>>
>>
>> Klar, jedoch hat das mein Problem als solches nicht gelöst.
>
> Doch! ;) xev und etwas Gedult. -- Einfach _alle_ Tasten auf dem NB
> tippen. Ich gehe
> davon aus, daß Du alle "normalen" Tasten hast. Extra-Tasten also tippen.
Hmm ja. Wenn man mal von den Fn-Tasten absieht.
[...]
>
> Von nem speziellen Tool dafür weiß ich nix. -- Interessiert mich.
> Andererseits: mit den genannten Tools brauchst Du das nicht.
Das wird es künftig mal geben:
Several types of laptop have a keyboard controller made by a company
called Wistron. These machines usually have hotkeys that generate
keycodes providing that a register has been set in the keyboard
controller first. At the moment, we don't support these out of the box.
The 2.6.15 kernel provides a driver that should enable these keys.
Unfortunately, for it to be useful, we need to know which computers to
load it on. Even more unfortunately, it tends to crash machines that
don't have these controllers. So, the only real solution is for us to
generate a whitelist of machines that work correctly with it.
WARNING
Following this procedure may hang your machine. Make sure that all your
work is saved.
1) First, switch to a text console (ctrl+alt+f1) and log in
2) Press a hotkey
3) Type dmesg. Does a message about unknown scan codes appear? If so,
your hotkeys are already supported. Please ignore the rest of this.
4) Type showkey. Press your hotkeys. Do numbers appear? If so, this
driver won't help you. Please ignore the rest of this.
5) Type sudo modprobe wistron_btns force=1
6) If your machine hangs, this driver isn't likely to help you
(obviously enough). Please ignore the rest of this
7) If your machine doesn't hang, press all your hotkeys and then run
dmesg again. Do you get any messages like ""wistron_btns: Unknown key
code"? If not, this driver doesn't do anything for your hardware. Please
ignore the rest of this.
8) So, you've loaded the driver, your machine hasn't hung and pressing
keys generates messages about unknown key codes. Please email me the
output of the dmidecode command (needs to be run with sudo) and the
codes that each key generates. Once that's done, we ought to be able to
support your machine automatically. Oh, and let me know if you have a
wifi or bluetooth button - these need to be handled slightly specially.
> Was hast Du denn für ein NB?
Compaq EVo N610c. Auf meinem IBM T23 geht alles.
Gruß,
Markus
--
Registered GNU/Linux user 392004|Machine number 292924
irc.freenode.net: #linux-plug,#linuxperu,#flisol-peru,#linux.mx,
#debian-peru,#debian-co,#ubuntu-pe,#ubuntu-de,#ubuntu-co,#apesol
http://www.netmeister.org/news/learn2quote.html
http://www.sindominio.net/ayuda/preguntas-inteligentes.html