summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-08udevadm: info - add space after R:, A:, W: on database exportKay Sievers
<zzam> kay: udevadmin info -e prints all lines with a space after the :, but the W: line <kay> zzam: yeah, seems so, and the R: and the A: <zzam> yeah
2009-07-08udevd: detach event from worker if we kill a workerKay Sievers
Jul 8 09:36:41 udevd[663]: worker [5491] did not accept message, kill it Jul 8 09:36:41 udevd[663]: worker [5491] unexpectedly returned with 0 Jul 8 09:36:41 udevd[663]: worker [5551] unexpectedly returned with 0 Jul 8 09:36:41 kernel: [ 156.832086] <6>udevd[663]: segfault at 4 ip 00959fbc sp bfbe7b78 error 6 in udevd[94f000+1c000] https://bugs.launchpad.net/ubuntu/+source/udev/+bug/396957
2009-07-08libudev: enumerate - sort with qsort()Kay Sievers
On machines with many thousands of devices: $ time find /sys -name uevent | wc -l 74876 real 0m33.171s user 0m3.329s sys 0m29.719s the current udevtrigger spends minutes sorting the device list: $ time /sbin/udevadm trigger --dry-run real 4m56.739s user 4m45.743s sys 0m7.862s with qsort() it looks better: $ time udev/udevadm trigger --dry-run real 0m6.495s user 0m0.473s sys 0m5.923s
2009-07-08libudev: device - free values before updating themKay Sievers
2009-07-08configure.ac: version bumpKay Sievers
2009-07-07use MIN() MAX() from param.hKay Sievers
2009-07-07README: add CONFIG_BLK_DEV_BSGKay Sievers
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-06release 144Kay Sievers
2009-07-05build: add *exec* to the internal rootlibdir nameKay Sievers
Automake like variables with *exec* in the directory names, to decide, that it isn't *data*: http://www.gnu.org/software/hello/manual/automake/The-Two-Parts-of-Install.html#The-Two-Parts-of-Install
2009-07-04update NEWSKay Sievers
2009-07-04libudev: monitor - handle kernel supplied DEVNAME properlyKay Sievers
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-02udevadm: test - print list of propertiesKay Sievers
2009-07-02Merge branch 'firmware' of ↵Kay Sievers
git://git.kernel.org/pub/scm/linux/kernel/git/jcm/udev-jcm
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-07-01rules: set group ownership of new firewire driver device filesStefan Richter
The newer firewire-core driver exposes per-device character device files, called /dev/fw[0-9]*, in contrast to the older raw1394, video1394, dv1394 drivers which created one global file or per-controller files. This allows to set ownership, permissions, or/ and access control lists for each device file based on device type markers obtained from sysfs. The "units" attribute which is used for this purpose has become available in Linux 2.6.31(-rc1) by commit 0210b66dd88a2a1e451901b00378a2068b6ccb35. The added rules match identifiers of - IIDC devices: industrial cameras and some webcams, - AV/C devices: camcorders, set-top boxes, TV sets, audio devices, and similar devices. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2009-06-28man: udev - add private properties like ENV{.FOO}="bar"Kay Sievers
2009-06-28update NEWSKay Sievers
2009-06-28scsi_id: delete no longer needed config fileKay Sievers
2009-06-28rules: make ata_id properties the default for all ATA block devicesKay Sievers
We need to call ata_id as the default for libata sd* devices. We want ID_BUS=ata, and the ATA device proeprties, and be independent of the SCSI emulation with the truncated values. The links in /dev/disk/by-id/{ata-*,scsi-*} are still the same.
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-28do not exports properties starting with a '.'Kay Sievers
Private variables can be marked like: ENV{.FOO}="bar"
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-22configure.ac: version bumpKay Sievers
2009-06-22udev/.gitignore: add udev.pcKay Sievers
2009-06-22libudev: queue - add comments for queue formatKay Sievers
udev/udev.pc
2009-06-22TODO: add cleanup of ATA_COMPATKay Sievers
2009-06-22configure.ac: version bumpKay Sievers
2009-06-20configure.ac: add AM_SILENT_RULESKay Sievers
2009-06-19release 143Kay Sievers
2009-06-19docs: install writing_udev_rulesKay Sievers
2009-06-19Merge branch 'master' of git+ssh://master.kernel.org/pub/scm/linux/hotplug/udevKay Sievers
2009-06-19udev.pc: addKay 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-19NEWS: updateKay Sievers
2009-06-19INSTALL: use /sbin instead of %{sbindir}Kay Sievers
2009-06-19extras/keymap: install findkeyboards in /lib/udevKay Sievers
2009-06-17README: updateKay 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-17rules: do not install usb-id/pci-id rules when --disable-extras is usedKay Sievers
2009-06-17README: add /lib/udev/ is privateKay Sievers
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-17rules: Gentoo updateMatthias Schwarzott
2009-06-17extras/keymap: use LIBEXECDIR instead /lib/udevKay Sievers
2009-06-17libudev: install in $libdir and move later to $rootlibdirKay Sievers
That way, libudev.la will not get out of sync with the location of the development so link.
2009-06-17configure.ac: print error if gperf is missingKay Sievers