Commit graph

80 commits

Author SHA1 Message Date
Martin Pitt 6415f89732 keymap: More Asus module variants
https://launchpad.net/bugs/795694
2011-10-26 15:06:08 +02:00
Kir Kolyshkin 1484205c47 keymap: add Genius SlimStar 320
This keyboard have 16 "multimedia" keys plus a "4-way turbo scroll pad" which
is essentially a round up/down/left/right button. Unfortunately most of these
keys emit non-standard scancodes in a range 495-508 which does not make any
sense. I tried to remap those to the best of my knowledge.

Note the keyboard comes up as two event devices, second one is multimedia
keys, so I ended up adding ENV{ID_USB_INTERFACE_NUM}=="01" to avoid
unnecessary initialization of the "main" keyboard.
2011-08-22 06:42:28 +02:00
Kay Sievers d7867b3183 implement path_id, usb_id, input_id as built-in command 2011-08-05 02:00:30 +02:00
Martin Pitt 2614261e4d keymap: Only run on key devices
Skip event devices which don't have ID_INPUT_KEY set, to avoid running the long
list of rules more than necessary.

Note that we don't limit ourselves to ID_INPUT_KEYBOARD, as we might want to
fix extra buttons on e. g. fancy mouses or tablet screens, too.
2011-07-20 12:52:28 +02:00
Kay Sievers 4da9fcb366 keymap: do not run usb_id for bluetooth devices 2011-07-20 00:39:58 +02:00
Marco d'Itri 7dc39c9cad Add missing commas to 95-keymap.rules
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-06-11 12:20:34 +02:00
Lee, Chun-Yi cbdb9c39f6 Support more MSI notebook by using asterisk on dmi vendor name
MSI machines have some different vendor name, and the refix on those vendor
name are "MICRO-STAR" or "Micro-Star". So, merge the original two rules to
one, and use asterisk on dmi vendor name for support more MSI machines.

Tested on MSI U270 netbook.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-06-10 10:51:53 +02:00
Martin Pitt 310aba9bca keymap: Add Microsoft Natural Keyboard
http://bugs.debian.org/629647
2011-06-09 06:55:57 +02:00
Martin Pitt 131c9e9240 keymap: Another ID for Logitech Wave keyboard
http://bugs.debian.org/623153
2011-04-18 13:34:42 +02:00
Seth Forshee 5e0ec43fc4 keymap: Support Dell Latitude XT2 tablet-mode navigation keys
The XT2 has a rocker (up/down/enter) and back button on the side
in tablet mode, none of which work currently. Add entries for
these keys.

There is some overlap here with scan codes used in other Dell
models, so these buttons are put in a new file specific to this
model.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-04-05 19:38:36 +02:00
Lee, Chun-Yi ff4a035a8a Add rule for Acer Aspire One ZG8 to use acer-aspire_5720 keymap
Acer Aspire One ZG8's bluetooth HW key emit 0xD9 scancode, it must map
to KEY_BLUETOOTH like Acer Aspire 5720. So, add rule for Acer Aspire One
ZG8 use acer-aspire_5720 keymap.

Tested on Acer Aspire One ZG8 netbook.

Signed-off-by: Lee, Chun-Yi <jlee@novell.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-03-31 16:37:31 +02:00
Lee, Chun-Yi 52d54f237d Remap MSI Laptop touchpad on/off key to F22 and F23
MSI Laptop driver will query the real touchpad state then emit
KEY_TOUCHPAD_ON/OFF key.

Currently, X has defined F22 for touchpad on and F23 for touchpad
off. This patch aligns MSI Laptop driver's key with F22 and F23.

Tested on MSI U160 netbook using msi-laptop driver.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-03-10 08:51:06 +01:00
Lee, Chun-Yi 30c2b6f10f Remap Acer WMI touchpad toggle key to F21 used by X
Currently, Acer WMI driver generates KEY_F22 but this
will soon change to KEY_TOUCHPAD_TOOGLE.

X has defined F21 for the purpose of touchpad toggle and other
udev keymaps align with this meaning.  Patch aligns Acer WMI
hotkey drivers with F21.

Tested on Acer TravelMate 8572 notebook using acer-wmi driver.

Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Lee, Chun-Yi <jlee@novell.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-03-01 12:54:00 +01:00
Jürgen Kaiser 54453a9510 keymap: Add Acer Aspire 8930
http://bugs.debian.org/612512

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-02-09 17:10:32 +01:00
Martin Pitt 9b444cb29a keymap: Add Lenovo ThinkPad X201 tablet
https://launchpad.net/bugs/702426
2011-01-13 10:10:27 -06:00
Martin Pitt df6b2cf573 keymap: Add Acer TravelMate C310
Thanks to Dieter Herrmann for the report!
2011-01-07 12:09:45 +01:00
Chris Bagwell 0d8b6be5f5 Remap Eee PC touchpad toggle key to F21 used by X
Currently, Eee PC have a hotkey that generates KEY_F13 but this
will soon change to KEY_TOUCHPAD_TOOGLE.  Both cases do not
work well with X.

X has defined F21 for the purpose of touchpad toggle and other
udev keymaps align with this meaning.  Patch aligns Eee PC
hotkey drivers with F21.

Tested on Eee PC 1005PE using both eeepc-wmi and eeepc-laptop driver
(with acpi_osi="!Windows 2009").

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-01-03 09:31:45 +01:00
Martin Pitt 81956ed1dc keymap: Add some more Sony Vaio VGN-* models
https://launchpad.net/bugs/627890
2010-10-25 22:11:37 -04:00
Martin Pitt 2f151e0fbf keymap: Add Sony Vaio VGN71
https://launchpad.net/bugs/625770
2010-10-25 22:01:03 -04:00
Lee, Chun-Yi e17f9c3cd5 keymap: Add alternate MSI vendor name
Add new vendor name "Micro-Star International" in 95-keymap.rules.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-09-25 11:29:08 +02:00
Martin Pitt 2f5e49cd87 keymap: Add Lenovo Y550
https://launchpad.net/bugs/543065
2010-09-14 18:21:13 +02:00
Martin Pitt d17c065e28 keymap: Fix Acer TravelMate 4720
The previous change just fixed the Bluetooth key, but Screen Lock and Browser
also need to be changed.

https://launchpad.net/bugs/569815
2010-08-27 18:48:53 +02:00
Martin Pitt 38b5ccbcf7 keymap: Fix Sony VAIO VGN-SZ2HP/B
Reportedly this needs the module-sony keymap, not the -old one.

https://launchpad.net/bugs/613578
2010-08-25 17:02:51 +02:00
Martin Pitt 92cffb0bd1 keymap: Add HP G60
https://launchpad.net/bugs/554944
2010-08-23 10:47:28 +02:00
Martin Pitt acf865b68e keymap: Add Onkyo PC
Thanks to Pau Oliva!

https://launchpad.net/bugs/612529
2010-08-22 11:00:34 +02:00
David Woodhouse 9cd075e35b Add keymap for Lenovo IdeaPad S10-3
Tested on S10-3, but presumably applicable to all IdeaPads.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-12 20:13:26 +02:00
Martin Pitt c9fbbd6ea2 keymap: Generalize Samsung keymaps
Fortunato Ventre (voRia) <vorione@gmail.com> reports a lot more Samsung models
which need the "samsung-other" keymap. Instead of eternally playing catchup,
apply it to all Samsung models for now, and keep the two known special cases.

https://launchpad.net/bugs/554066
2010-08-01 21:59:58 +02:00
Martin Pitt c3b3a979ee keymap: Add Lenovo ThinkPad SL Series extra buttons
Sent by Quentin Denis <quentin.denis@gmail.com> via private mail.
2010-07-07 23:18:19 +02:00
Martin Pitt 0fade61274 keymap: Add Logitech Cordless Wave Pro
https://launchpad.net/bugs/592371
2010-07-05 09:35:36 +02:00
Matthew Garrett 8bc376a373 keymap: Add support for IBM-branded USB devices
These seem to use a different layout to the Lenovo-branded devices

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-07-02 15:52:07 +02:00
Harald Hoyer eb2de7acdb extras/keymap: add Samsung N210 to keymap rules
https://bugzilla.redhat.com/show_bug.cgi?id=606302

Thanks to John Floyd!
2010-06-21 14:06:54 +02:00
Jerone Young ca3fe48dc3 Fix wlan key on Inspiron 1010 & 1110
This fixes wlan key on Inspirion 1010 & 1110.

This patch depends on previous patches sent.

The issue with all of these is that they were all Dell mini & it wasn't
noticed till recent that they all did not follow the standard that the
rest of Dell machines follow.

Also to note while this fixes the wlan key sending the proper key press,
work is still needed at the kernel level for complete support.

This is the last patch all the Dell minis have been verified to all have
this issue, and are now covered.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-06-02 08:59:05 +02:00
Jerone Young a07c29ca19 Fix wlan key on Inspiron 910
This fixes the wlan key on Inspiron 910.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-05-30 21:37:58 +02:00
Jerone Young 7afe4ccd1e Fix wlan key on Inspirion 1210
This fixed wlan key on Inspirion 1210 machines.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-05-29 19:32:18 +02:00
Yin Kangkai 417ec5a850 keymap: Add keymap and force-release quirk for Samsung N128
http://bugs.meego.com/show_bug.cgi?id=1530

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-05-06 16:00:54 +02:00
Martin Pitt ad3d419843 keymap: Fix Bluetooth key on Acer TravelMate 4720
https://launchpad.net/bugs/569815
2010-04-26 08:28:36 +02:00
Kay Sievers 4b06c40935 replace "add|change" with "!remove" 2010-04-12 16:52:41 +02:00
Jerone Young 5fa8992c9c Revert special casing 0xD8 to latitude XT only
Now that Dell has changed the functionality of upcoming machines with
touchpad toggle to only use keycode 0xD9 .. and not 0xD8 & 0xD9. It
seems best to add this back to the general map of Dell buttons. Just
incase a machine in the future uses this later.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-06 09:57:14 +02:00
Jerone Young 233a922112 Fix Keymapping for upcoming Dell Laptops
This patch fixes it so that new upcoming Dell machines will work
correctly if users presses the touchpad toggle key.

Currently 0xD8 is being mapped to sleep. Though this is only done by the
Latitude XT* laptops. Many upcoming Laptops from Dell are mapping this
key to "toogle touchpad off" .. giving the OS notification that it has
just turned off the touchpad.

Though their is an issue in that if this key is mapped the hardware
first toogles .. then the software tries to do the samething after, if
they fall out of sync ... no more touchpad. So leave out mapping these
keys for now.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-03-28 14:26:19 +02:00
Martin Pitt 43d08246db keymap: Fix another key for Acer TravelMate 6593
https://launchpad.net/bugs/536914
2010-03-24 18:56:20 +01:00
Martin Pitt 5b6172b1d9 keymap: Add Acer TravelMate 6593G and Acer Aspire 1640
https://launchpad.net/bugs/536914
2010-03-24 17:44:39 +01:00
Martin Pitt 4ca91a04e8 keymap: Add Toshiba Satellite M30X
Thanks to Alessio Gaeta!

https://launchpad.net/bugs/510019
2010-02-15 13:15:25 +01:00
Martin Pitt 4c514e3173 keymap: Fix LG X110
The LG X110 is not a perfect clone of the MSI Wind after all, and needs its own
keymap. Thanks to Konstantin Lavrov!

https://launchpad.net/bugs/520650
2010-02-12 19:25:47 +01:00
Robert Hooker 063985ef7d keymap: Add support for Gateway AOA110/AOA150 clones.
https://launchpad.net/bugs/518496

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-02-10 11:13:06 +01:00
Martin Pitt d7e2d38c1f Fix brightness keys on MSI Wind U-100
The MSI Wind 100 generates ACPI/input events on the LNXVIDEO input device. On
top of that, the video module/BIOS synthesize some extra event on atkbd as an
echo of actually changing the brightness.

Ignore the wrong and useless atkbd ones, to avoid event loops.

Many thanks to Hans de Goede for tracking this down!

https://launchpad.net/bugs/415023
2010-02-09 15:47:47 +01:00
Martin Pitt fc47e0b567 keymap: Add Dell Inspiron 1011 (Mini 10)
This fixes the broken WLAN key.
2010-02-01 15:27:46 -08:00
Martin Pitt 7cbbd7e7b1 keymap: Add Fujitsu Amilo Li 1718
https://launchpad.net/bugs/250732
2010-01-05 09:39:53 +01:00
Jerone Young 5da8438016 keymap: Lenovo Thinkpad USB Keyboard with Tracepoint
Add support for special function keys on Lenovo Thinkpad USB Keyboard
Tracepoint.

    - VoIP hotkey "FN+F6" is mapped to camera, and may need to change
      if there is a standard VoIP hotkey defined.
    - Mute Microphone key has not been defined, as there is no
      standard key defined for it yet.

Signed-off-by: Jerone Young <jerone.young@canonical.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-01-03 11:42:12 +01:00
Martin Pitt 1f819a1776 keymap: Add LG X110
This is an MSI Wind clone.

Reported on hal ML by Ozan Çağlayan <ozan@pardus.org.tr>
2009-12-27 11:42:21 +01:00
Daniel Drake fd3401a641 keymap: Fix typo in compal rules
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-27 11:37:00 +01:00