file attached as requested. I think I know the keycodes and I think they are the same as keycodes in the driver for ms2141. I do not know how to extract them with wistron button, but acerhk has got some nice debugging switches, so dmesg says:
I pressed wifi button: [16913.628291] acerhk: received key code 0x30 [16913.628305] acerhk: translated acer key code 0x30 to key name 0x8 [16913.628526] acerhk: wbutton2 = 0x9610 [16913.628533] acerhk: translated acer key name 0x8 to input key 0x93 mail button [16861.628297] acerhk: received key code 0x31 [16861.628313] acerhk: translated acer key code 0x31 to key name 0x7 [16861.628322] acerhk: translated acer key name 0x7 to input key 0x9b webbrowser button [16862.228296] acerhk: received key code 0x36 [16862.228310] acerhk: translated acer key code 0x36 to key name 0x6 [16862.228319] acerhk: translated acer key name 0x6 to input key 0x96 programmable button 1 [16862.828295] acerhk: received key code 0x11 [16862.828310] acerhk: translated acer key code 0x11 to key name 0x3 [16862.828319] acerhk: translated acer key name 0x3 to input key 0x94 programmable button 2 [16863.228298] acerhk: received key code 0x12 [16863.228313] acerhk: translated acer key code 0x12 to key name 0x4 [16863.228321] acerhk: translated acer key name 0x4 to input key 0x95 I have only 5 buttons (named KEY_PROG1,KEY_PROG2, KEY_MAIL,KEY_WWW and unname KE_WIFI in the source code) on my laptop (I lack the audio panel that ms2141 has got), but otherwise it corresponds to keycodes for ms2141: static struct key_entry keymap_wistron_ms2141[] __initdata = { { KE_KEY, 0x11, {KEY_PROG1} }, { KE_KEY, 0x12, {KEY_PROG2} }, { KE_WIFI, 0x30 }, { KE_KEY, 0x22, {KEY_REWIND} }, { KE_KEY, 0x23, {KEY_FORWARD} }, { KE_KEY, 0x24, {KEY_PLAYPAUSE} }, { KE_KEY, 0x25, {KEY_STOPCD} }, { KE_KEY, 0x31, {KEY_MAIL} }, { KE_KEY, 0x36, {KEY_WWW} }, { KE_END, 0 } }; Hope this helps and thanks for your effort, that is really great. ** Attachment added: "dmi_acpi.tar.gz" http://launchpadlibrarian.net/24303857/dmi_acpi.tar.gz -- wistron_btns: Implement RF-Kill support for some Acer and no-name systems https://bugs.launchpad.net/bugs/346586 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs