summaryrefslogtreecommitdiff
path: root/extras
AgeCommit message (Collapse)Author
2009-08-30use nanosleep() instead of usleep()Daniel Mierswa
POSIX.1-2001 declares usleep() function obsolete and POSIX.1-2008 removes it. [Kay Sievers] - include time.h - use const for timespec - scsi_id: drop rand() in retry loop - modem-probe: rename msuspend() to msleep()
2009-08-26Revert "extras/keymap: Fix case matching for Micro-Star"Martin Pitt
This reverts commit 66bf63c05cdc4e9b09818aa5fab0b9d319a1c91c. Further debugging in https://launchpad.net/bugs/178860 showed that for some weird reason the correct key codes already come out of the "Video Bus" input device, and the previous commit would cause them to appear a second time through the standard keyboard device. This is a kernel bug in the end, but let's not break working things prematurely.
2009-08-26extras/keymap: Fix case matching for Micro-StarMartin Pitt
Some Micro-Star boards apparently have mixed case vendor, instead of all-caps. Update the glob to catch all such cases. https://launchpad.net/bugs/178860
2009-08-24extras/keymap: Fix hold key on Acer Aspire 6920Martin Pitt
The Hold key locks the panel and is hardwired. It doesn't have a sensible keycode to map to, and shouldn't be overloaded either.
2009-08-24extras/modem-modeswitch: eject ZTE MF6xx fake CD-ROMsMartin Pitt
modem-modeswitch does not fully work on ZTE MF6xx modems, their fake CD-ROMs need to be properly ejected in order for the actual modem to appear. Add udev rule for this device (19d2:2000 in CD-ROM mode). https://launchpad.net/bugs/281335
2009-08-24extras/keymap: Add Acer Aspire 6920Martin Pitt
https://launchpad.net/bugs/407940
2009-08-20hid2hci: remove superfluous bmAttributes matchMario Limonciello
For the retrigger of the device on remove we were trying to match bmAttributes of self powered which is unnecessary.
2009-08-16rule_generator: net - fix MATCHDEVIDKay Sievers
This got lost for some reason with an earlier change. Thanks to Marco d'Itri <md@linux.it> for noticing.
2009-08-14udev-acl: allow to skip ACL handlingKay Sievers
2009-08-08Fix “make distcheck” run outside of the source directory.Diego Elio 'Flameeyes' Pettenò
Pass the path to keys.txt as second parameter of check-keymaps.sh so that it can be found in the right path.
2009-08-08fix spellingAlan Jenkins
Fix spelling in docbook comments, code comments, and a local variable name. Thanks to "ispell -h" for docbook HTML and "scspell" for source code. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-08-07Fix building of documentation when doing out-of-source builds.Diego Elio 'Flameeyes' Pettenò
Since gtk-mkhtml is executed in a sub-directory of the build directory, and make does not know of that, the $(buildir) variable will still be "." and the $(srcdir) will not properly be found. For this reason, use the absolute variants for the two functions, which won't be changing.
2009-08-07Use the keymap check during “make distcheck” rather than “check”.Diego Elio 'Flameeyes' Pettenò
Since the check-keymaps.sh script checks for validity the source directory and the Makefile.am file, instead of running it during user-oriented “make check”, run it during developed-oriented “make distcheck”. An invalid keymap will abort the execution which will prevent shipping an incomplete Makefile.am. To properly support out-of-source builds, pass as single parameter to the test the path to the source directory.
2009-08-07Finally, also merge gudev into the top-level Makefile.am.Diego Elio 'Flameeyes' Pettenò
The Introspection rules are not tested yet; more touch-ups have been made for them.
2009-08-07Merge keymap building in the top-level Makefile.am.Diego Elio 'Flameeyes' Pettenò
Slight adjustment around the tests and the rules for the new working directory.
2009-08-07Also merge into the top-level Makefile.am the simpler extras.Diego Elio 'Flameeyes' Pettenò
2009-08-07Merge libudev, udev, and the unconditional extras in a single Makefile.am.Diego Elio 'Flameeyes' Pettenò
Instead of using multiple recursive Makefile.am files, use a single Makefile.am that sets and builds all the basic suite of libraries and binaries for udev. This reduces the number of files in the source tree, and also reduces drastically the build time when using parallel-make. With this setup, all the compile steps will be executed in parallel, and just the linking stage will be (partially) serialised on the libraries creation.
2009-08-07extras/keymap: Fix Bluetooth key on Acer Aspire 6920Martin Pitt
See https://launchpad.net/bugs/407940
2009-08-07extras/keymap: Add Samsung NC20Martin Pitt
Reported by Dirk Thierbach <dthierbach@gmx.de> on hal ML.
2009-08-07hid2hci: install re-trigger for hid device when recovering from S3Mario Limonciello
2009-08-05udev-acl: add joystick devicesAnssi Hannula
User needs read-write access to joystick devices in order to use force feedback features.
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.