summaryrefslogtreecommitdiff
path: root/extras
AgeCommit message (Collapse)Author
2009-07-25make: build internal tools against libudev-private.laKay Sievers
2009-07-24hid2hci: rewrite (and break) rules and device handlingKay Sievers
We must never access random devices in /dev which do not belong to the event we are handling. Hard-coding /dev/hidrawX, and looping over all devices is absolutely not acceptable --> hook into hidraw events. We can not relay on (rather random) properties merged into the parent device by earlier rules --> use libudev to find the sibling device with a matching interface. Libusb does not fit into udev's use case. We never want want to scan and open() all usb devices in the system, just to find the device we are already handling the event for --> put all the stupid scanning into a single function and prepare for a fixed libusb or drop it later.
2009-07-23path_id: fix typo in commentKay Sievers
2009-07-23extras/keymap: Fix crash for unknown keysMartin Pitt
The keymap table has some holes in it, which caused the interactive mode to crash for unknown keys. In these cases, print the numeric key code instead.
2009-07-23extras/modem-modeswitch: Add Huawei E1550 GSM modemErik Forsberg
What's odd is that this is a huawei modem, not an option modem, so one would expect it to work better with usb_modeswitch and it's -H (huawei) mode - but that's not the case, I've tested that as well. https://launchpad.net/bugs/401655
2009-07-22path_id: make global variable staticKay Sievers
2009-07-22hid2hci: remove hid structures and include kernel headerKay Sievers
2009-07-22hid2hci: support to hid2hci for recovering Dell BT devices after S3Mario Limonciello
2009-07-21v4l_id: exit with 0 when --help is givenKay Sievers
2009-07-20extras/keymap: Add Samsung SX22SMartin Pitt
Reported on hal ML by Sergey Astanin <s.astanin@gmail.com>.
2009-07-18extras/keymap: teach findkeyboards about USB keyboardsMartin Pitt
2009-07-18extras/keymap: Add Fujitsu Amilo MMartin Pitt
https://launchpad.net/bugs/48547
2009-07-18extras/keymap: cover more Compaq Evo modelsMartin Pitt
https://launchpad.net/bugs/35382 shows that may Evo N* models share the same keymap, so generalize the existing rule.
2009-07-18extras/keymap: Add HP Presario 2100Martin Pitt
https://launchpad.net/bugs/20223
2009-07-18extras/keymap: add recently added keymap files to Makefile.amMartin Pitt
2009-07-18extras/keymap: fix check-keymaps.sh for inline mappingsMartin Pitt
Do not complain about missing keymap files when giving scancode/keyname pairs on the keymap command line in the rules.
2009-07-18keymap: inline one-line key mapsMartin Pitt
Remove key map files which have only one override. Instead, use keymap tools' new feature of specifying scancode/keyname pairs directly at the command line. Also add a comment to 95-keymap.rules about how to specify key mappings in the rules.
2009-07-18keymap tool: support scancode/keycode pair argumentsMartin Pitt
This avoids having to create and parse an entire keymap file for cases where just one or two keys have to be remapped.
2009-07-18keymap tool: improve helpMartin Pitt
Do not duplicate help strings, and add missing calling variant for interactivity.
2009-07-18extras/keymap: add Compal Hel80iMartin Pitt
https://launchpad.net/bugs/198530
2009-07-18extras/keymap: add Everex Stepnote XT5000TMartin Pitt
Reported in https://launchpad.net/bugs/400921
2009-07-16extras/keymap: add Zepto ZNoteMartin Pitt
Reported on https://launchpad.net/bugs/400252
2009-07-16add keymap for Clevo D410J laptopMartin Pitt
Reported as hal-info patch by Németh Márton <nm127@freemail.hu> on hal ML.
2009-07-06scsi_id: correct error handling in prepend_vendor_modelIan Campbell
The callers of prepend_vendor_model both expect < 0 to be returned on error and the index to be returned otherwise. However prepend_vendor_model actually returns 1 on error. Fix this by correctly returning -1. Older kernels (before e5b3cd42: "SCSI: sanitize INQUIRY strings") truncated the model field in sysfs (or propagated bad results from the target) to less than the expected/required 16 characters which meant that the SCSI id was mangled into: # /sbin/scsi_id -g -s /block/sdg S146cee20VIRTUAL-DISK when it should have been: # /sbin/scsi_id -g -s /block/sdg SIET VIRTUAL-DISK 146cee20 Notice how the serial number has been pasted over the vendor+model at index 1 instead of being added at the end. In the former case: # cat /sys/devices/platform/host5/session1/target5:0:0/5:0:0:1/model | od -t c -t x1 0000000 V I R T U A L - D I S K \n 56 49 52 54 55 41 4c 2d 44 49 53 4b 0a But it should have been: # cat /sys/devices/platform/host5/session1/target5:0:0/5:0:0:1/model | od -t c -t x1 0000000 V I R T U A L - D I S K 56 49 52 54 55 41 4c 2d 44 49 53 4b 20 20 20 20 0000020 \n 0a Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
2009-07-04build: do not delete .la filesKay Sievers
2009-07-03extras/udev-acl: add smartcard readersMartin Pitt
gnupg, psc-lite, etc. will ship udev rules for supported smartcard readers soon. Add the ACL management bit. Thanks to Michael Bienia!
2009-07-01firmware: search for third party or sysadmin supplied firmware updatesJon Masters
We currently search /lib/firmware and /lib/firmware/`uname -r` for firmware files for device drivers loaded by the currently running kernel. These are often packaged by distributions as a subpackage of the kernel or as a separate package containing firmware. But these files cannot easily be updated by third parties or sysadmins independently of that package. This patch causes udev to also look for firmware files in an "updates" directory, which is almost identical in purpose to the module-init-tools "updates" directories insomuch as local changes can go in here and will take preference over firmware supplied by any distribution.
2009-06-28scsi_id: delete no longer needed config fileKay Sievers
2009-06-28ata_id: sync ID_SERIAL(_SHORT) with other *_id toolsKay Sievers
ID_SERIAL is the full serial number used for the links, ID_SERIAL_SHORT is the device serial number.
2009-06-28scsi_id: --reformat_serial - use udev_util_replace_whitespace()Kay Sievers
2009-06-26hid2hci: narrow matches to real HCI devicesMartin Pitt
The previous rules just checked bInterfaceProtocol but not the actual device and interface class. This caused the hci rules to be applied for Dell USB hubs and attached input devices like keyboards and mouses as well, breaking them completely. Tighten the match to also check device and interface class/subclass. https://launchpad.net/bugs/392144
2009-06-20configure.ac: add AM_SILENT_RULESKay Sievers
2009-06-19extras/keymap: Update findkeyboards locationMartin Pitt
Recent commit 3b338b6 moved findkeyboards from /usr/share/udev to /lib/udev/. Update documentation accordingly.
2009-06-19udev-acl: Manage hplip device permissionsMartin Pitt
hplip tools need user access to the devices for checking ink levels and user-level configuration. This was formerly done with hal FDIs. As per discussion with Till Kamppeter.
2009-06-19extras/keymap: install findkeyboards in /lib/udevKay Sievers
2009-06-17extras: delete man pages for private udev toolsKay Sievers
These are mostly dummy man pages, without real content, some even outdated. None of these tools are part of any offered public interface, and they should not pretend to be by offering a man page.
2009-06-17keymap: Update findkeyboard path in docsMartin Pitt
findkeyboards is now in /usr/share/udev/ after the migration to udev proper. Update path in README.keymap.txt.
2009-06-17extras/keymap: use LIBEXECDIR instead /lib/udevKay Sievers
2009-06-17extras/modem-modeswitch: move from udev-extrasDan Williams
2009-06-17extras/keymap: Fix WLAN button on ThinkPadsMartin Pitt
Fn+F5 was previously assigned to "radio" which is fairly useless under X. Switch it to "wlan". Reported in http://bugs.debian.org/504643
2009-06-17keymap: move from udev-extrasMartin Pitt
2009-06-17cleanup ./configure installation directory optionsKay Sievers
2009-06-16usb-db: move from udev-extrasLennart Poettering
2009-06-16v4l_id: 70-v4l.rules -> 60-persistent-v4l.rulesKay Sievers
2009-06-16gudev: fix typo in configure optionKay Sievers
2009-06-16hid2hci: move from udev-extrasMario Limonciello
2009-06-16v4l_id: move from udev-extrasKay Sievers
2009-06-16udev-acl: handle missing action when called in CK modeKay Sievers
2009-06-16gudev: move from udev-extrasDavid Zeuthen
GObject libudev access. Initial version from Bastien Nocera, current version by David Zeuthen.
2009-06-16udev-acl: move from udev-extrasKay Sievers
The build of extras with larger external dependencies is wrapped in: --enable-extras