summaryrefslogtreecommitdiff
path: root/extras
AgeCommit message (Collapse)Author
2010-01-21extras/keymap/check-keymaps.sh: Ignore comment-only linesMartin Pitt
2010-01-21keymap: move force-release directoryMartin Pitt
Move extras/keymap/keymaps/force-release/ to extras/keymap/force-release-maps/, so that check-keymaps.sh does not stumble over the directory. It's also a more logical source layout.
2010-01-19add ACL rule for Garmin GPSMap 60Martin Pitt
https://qa.mandriva.com/show_bug.cgi?id=55836
2010-01-19keymap: support for the Samsung N140 keyboardMarco d'Itri
2010-01-14rules: acl - add COLOR_MEASUREMENT_DEVICE matchFrederic Crozat
2010-01-11Fix reverted floppy-device permissionsBryan Kadzban
Commit d93fb59c50a720e2a1ace2177cc824c00ff8eed6 ("rules: set mode of floppy device nodes to 0660") changed the create_floppy_devices -M argument to 0660, for udev-148. Commit 78171d9549fafdfc1e29d30915104a3ad55e116b reverted this, when it moved the call to create_floppy_devices out to another rules file, for udev-150. Presumably the 0660 mode was correct, and the 0640 reversion was not intentional; this restores 0660. Signed-off-by: Bryan Kadzban <bryan@kadzban.is-a-geek.net>
2010-01-07work around gtk-doc which breaks distcheckKay Sievers
2010-01-07rules: udev-acl - add firewire video devicesMarco d'Itri
2010-01-05keymap: Samsung R70/R71 force-release quirkClemens Buchacher
http://www.spinics.net/lists/hotplug/msg03269.html Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-01-05keymap: Document force-releaseMartin Pitt
Make a note in README.keymap.txt about stuck keys which need a force-release quirk.
2010-01-05keymap: Add Fujitsu Amilo Li 1718Martin Pitt
https://launchpad.net/bugs/250732
2010-01-03keymap: Lenovo Thinkpad USB Keyboard with TracepointJerone Young
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>
2009-12-27keymap: Add LG X110Martin Pitt
This is an MSI Wind clone. Reported on hal ML by Ozan Çağlayan <ozan@pardus.org.tr>
2009-12-27keymap: Fix typo in compal rulesDaniel Drake
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-27keymap: Add OLPC XO key mappingsDaniel Drake
This supports both XO-1 and XO-1.5. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-27keymap: Add Acer Aspire 1810TZMartin Pitt
https://launchpad.net/bugs/492657
2009-12-26keymap: add Acer TravelMate 8471Martin Pitt
https://launchpad.net/bugs/492657
2009-12-23keymap: Add Logitech S510 USB keyboardMartin Pitt
The Logitech S510 identifies just like the already existing "logitech-wave-cordless" variant, but with wildly different scancodes. So just merge the tables, since they won't collide. https://launchpad.net/bugs/259244
2009-12-22keymap: Add hotkey quirk for Acer Aspire One (AO531h/AO751h)Martin Pitt
From hal-info ML, thanks to Keng-Yü Lin!
2009-12-21add Samsung R70/R71 keymapClemens Buchacher
Required for the keyboard driver to recognize special keys such as Fn+F2 (battery), Fn+F3 (euro), Fn+F4 (switchmode), Fn+F6 (mute), Fn+F7 (XF86Launch2), Fn+up/down (brightness), Fn+left/right (volume). Fn+F5 (blank screen) and Fn+F8 still do not generate events after this change, howver. Signed-off-by: Clemens Buchacher <drizzd@aon.at> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-15firmware: convert shell script to CPiter PUNK
2009-12-15cdrom_id: remove deprecated device matchesKay Sievers
2009-12-15floppy: fix rule to create additional floppy device nodesKay Sievers
2009-12-15keymap: fix findkeyboardsMartin Pitt
Update findkeyboards for the recent ID_CLASS deprecation, use ID_INPUT_KEYBOARD instead. This simplifies the logic a bit, too.
2009-12-14keymap: handle atkbd force_release quirkJohannes Stezenbach
Some laptop keyboards don't generate release events for some hotkeys. Since linux-2.6.32 the list of scancodes for which to enable the force_release quirk can be set via sysfs. Apply this to Samsung N130. Signed-off-by: Johannes Stezenbach <js@sig21.net> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-1495-keymap.rules: Run on change events, tooMartin Pitt
2009-12-14keymap: add Samsung N130Johannes Stezenbach
Signed-off-by: Johannes Stezenbach <js@sig21.net> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-1070-acl.rules: ACL manage Android G1 dev phonesScott James Remnant
There doesn't seem to be any special class for their developer interface, so match by Vendor and Device id like we do for things like fingerprint readers. This is better than their current 0666 suggestion <g> Signed-off-by: Scott James Remnant <scott@ubuntu.com>
2009-12-10keymap: Add Acer Aspire 1810TMartin Pitt
https://launchpad.net/bugs/492657
2009-12-04Export ID_WWN_VENDOR_EXTENSION and ID_WWN_WITH_EXTENSIONDavid Zeuthen
Some SCSI devices use the same WWN and have a WWN extension that we need to take into account when creating the /dev/disk/by-id/wwn symlinks. Thus, introduce ID_WWN_WITH_EXTENSION. This property will contain either the WWN (if no extension is present) or the WWN with the vendor extension appended. Example: # /lib/udev/ata_id/ata_id --export /dev/sda |grep WWN ID_WWN=0x5001517387d61905 ID_WWN_WITH_EXTENSION=0x5001517387d61905 # /lib/udev/scsi_id --whitelisted --export -d /dev/sdb |grep WWN ID_WWN=0x600508b400105df7 ID_WWN_VENDOR_EXTENSION=0x0000e00000d80000 ID_WWN_WITH_EXTENSION=0x600508b400105df70000e00000d80000 # /lib/udev/scsi_id --whitelisted --export -d /dev/sdc |grep WWN ID_WWN=0x600508b400105df7 ID_WWN_VENDOR_EXTENSION=0x0000e00000db0000 ID_WWN_WITH_EXTENSION=0x600508b400105df70000e00000db0000 Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-12-03input-id: identify touchscreensDmitry Torokhov
Add detection of touchscreens to the input-id utility. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2009-12-03input_id: Check mouse button for ID_INPUT_MOUSEMartin Pitt
Before we bless an input device as a mouse, verify that it has a left button (BTN_MOUSE). Thanks to Dmitry Torokhov <dtor@mail.ru> for pointing out!
2009-12-03input_id: check event maskMartin Pitt
Check the capabilities/ev for the particular event class before testing bits in that event class. This avoids testing potentially bogus data if the device does not support that class of events at all. Thanks to Dmitry Torokhov for pointing out!
2009-12-03input_id: small optimizationMartin Pitt
In the parent traversal loop, use udev_device_get_parent_with_subsystem_devtype() to only grab "input" class devices.
2009-12-03input_id: Do not tag non-input devices with ID_INPUTMartin Pitt
Current rules only call it for input devices, but let's be correct.
2009-12-03input_id: Fix endless loop for non-input devicesMartin Pitt
When being called on a device which is not in the "input" subsystem, or doesn't have an "input" parent, it got stuck in an endless loop. Unfortunately this includes the virtual/input/mice multiplexer, which exposes this bug on just about every system.
2009-12-02input_id: code cleanupMartin Pitt
Now use libudev to clean up hardcoded /sys/ and /device/ paths, and to also support direct input device arguments. Now both "input4" and "event4" will work.
2009-11-30extras/input_id: Correctly identify touchpadsDmitry Torokhov
BTN_TOUCH (as well as ABS_PRESSURE) is used not only by touchpads but by touchscreens as well. The proper check for a touchpad is presence of BTN_TOOL_FINGER and absence of BTN_TOOL_PEN (the latter to filter out some tablets that use BTN_TOOL_FINGER). Tablet matching should be on either BTN_TOOL_PEN or BTN_STYLUS.
2009-11-3070-acl.rules: Use new-style input propertiesMartin Pitt
ID_CLASS is deprecated for input devices. Use new ID_INPUT_JOYSTICK instead.
2009-11-30extras: Add input_idMartin Pitt
input_id probes input/event devices for their class (keyboard, keys, mouse, touchpad, tablet, joystick). This is based on the corresponding hal code in hald/linux/device.c, input_test_{abs,rel,...}. This should provide enough functionality to get hal-less X.org working (which in particular needs to know exactly which devices are touchpads). Replace the brittle hacks in 60-persistent-input.rules with checking for the new ID_INPUT_* flags. This keeps the old ID_CLASS properties for now (but they are to be removed later on). Note: The current code has several hacks still, which are to be replaced with proper libudev calls later on.
2009-11-23modem-modeswitch: 61-option-modem-modeswitch.rules is only for Option NV devicesDan Williams
Make people aware that they shouldn't add devices not manufactured by Option NV to 61-option-modem-modeswitch.rules. modem-modeswitch only supports ejecting the fake CD for Option NV devices at this time. People should be using (and fixing) usb_modeswitch instead of modem-modeswitch.
2009-11-23Revert "extras/modem-modeswitch: Add Huawei E1550 GSM modem"Dan Williams
This reverts commit 53842b53820a0f0b2b0ff5b28caf01e3f7e26f22. The 'option-zerocd' method should *only* be used with Option NV devices since other manufacturers have completely different methods for killing their fake driver CD.
2009-11-23Revert "modem-modeswitch: add a device"Dan Williams
This reverts commit 5052297b6a8928d3ccfdd9996b71fdfff8bc8921. The 'option-zerocd' method should *only* be used with Option NV devices since other manufacturers have completely different methods for killing their fake driver CD.
2009-11-23scsi_id: Export WWN and Unit Serial NumberDavid Zeuthen
Since the Unit Serial Number and the WWN are useful bits of information export them as properties in the udev database. These bits of information are often printed on the physical disk, see http://people.freedesktop.org/~david/FUJITSU-MAY2036RC-sas-disk-picture.jpg and displaying them separately in the UI (or in /dev/disk) might help users identify the physical disk. This patch exports these bits of information as ID_WWN and ID_SCSI_SERIAL. Note that ata_id also use the ID_WWN property since commit 66094a4a7fc1d303e80785d586800eae9841502b (2009-11-04). Also print out ID_SCSI=1 so users of the udev database knows the disk speaks SCSI. Here's the scsi_id output from one of my SAS disks with these changes: ID_SCSI=1 ID_VENDOR=FUJITSU ID_VENDOR_ENC=FUJITSU\x20 ID_MODEL=MAY2036RC ID_MODEL_ENC=MAY2036RC\x20\x20\x20\x20\x20\x20\x20 ID_REVISION=0103 ID_TYPE=disk ID_SERIAL=3500000e01b83f520 ID_SERIAL_SHORT=500000e01b83f520 ID_WWN=0x500000e01b83f520 ID_SCSI_SERIAL=B3G1P8500RWT Unfortunately we can't overload ID_SERIAL for two reasons 1. ID_SERIAL (and ID_SERIAL_SHORT) exported by scsi_id isn't really the unit serial number (as defined by SCSI) - it is sometimes the WWN (since it is more unique than the Unit Serial Number) and complex rules (to make the serial unique) govern what value to use. 2. It would break existing setups if the value of ID_SERIAL changed Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-11-20README.keymap.txt: small clarificationMartin Pitt
2009-11-20ata_id: skip ATA commands if we find an optical driveKay Sievers
Some drives are reported to erase CD-RW media with the ATA commands we send. Thanks to Christoph Stritt <phoenix@jobob.com> for his debugging. Original bug is here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556635
2009-11-12modem-modeswitch: add a deviceHarald Hoyer
2009-11-10cdrom_id: Still check profiles even if there is no mediaDavid Zeuthen
Even when there is no medium in the drive, we should still check the profiles supported by the drive. Otherwise we fail to detect things like Blu-ray drives. See https://bugzilla.gnome.org/show_bug.cgi?id=600273 for more information. Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-11-09gudev: Remove LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE from priv headerDavid Zeuthen
Since libudev is no longer unstable either. Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-11-08gudev: Fix up GUdevDeviceNumberDavid Zeuthen
Actually dev_t is an unsigned quad type (e.g. 64-bit even on 32-bit x86) so defining it to be an integer is wrong and not future proof. Thus, redefine it to actually be a dev_t (as originally wanted) and instead add a work-around for GNOME bug #584517, see https://bugzilla.gnome.org/show_bug.cgi?id=584517 for details. This way, GObject Introspection will still work. This change is technically an API/ABI break but - all released GUdev versions requires the user to understand that the API/ABI is unstable by requiring the G_UDEV_API_IS_SUBJECT_TO_CHANGE symbols to be defined - functions using GUdevDeviceNumber are rarely used so we don't bump the so number. Signed-off-by: David Zeuthen <davidz@redhat.com>