summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-08release 141Kay Sievers
2009-04-08libudev: monitor - ignore messages from unusual sourcesScott James Remnant
For added protection, ignore any unicast message received on the netlink socket or any multicast message on the kernel group not received from the kernel. Signed-off-by: Scott James Remnant <scott@ubuntu.com>
2009-04-08libudev: monitor - unify socket message handlingKay Sievers
2009-04-08path_encode: fix max length calculationKay Sievers
Sebastian Krahmer wrote: > it should reserve 4 times not 3 times len :)
2009-04-06avoid leaking netlink socket fd to external programsAlan Jenkins
The netlink socket is now used by udev event processes. We should take care not to pass it to the programs they execute. This is the same way the inotify fd was handled. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-03-30IMPORT: 2048 -> 4096 bytes bufferKay Sievers
2009-03-29"UDEV_MONITOR_KERNEL/UDEV" -> "kernel/udev"Kay Sievers
2009-03-29send monitor events back to netlink socketKay Sievers
Instead of of our own private monitor socket, we send the processed event back to our netlink socket, to the multicast group 2 -- so any number of users can listen to udev events, just like they can listen to kernel emitted events on group 1.
2009-03-28usb_id: remove unused variableKay Sievers
2009-03-26libudev: GPL -> LGPLKay Sievers
2009-03-25usb_id: add ID_VENDOR_ID, ID_MODEL_ID, ID_USB_INTERFACE_NUM, ID_USB_DRIVERKay Sievers
$ extras/usb_id/usb_id -x /class/tty/ttyUSB1 ID_VENDOR=HUAWEI_Technology ID_VENDOR_ENC=HUAWEI\x20Technology ID_VENDOR_ID=12d1 ID_MODEL=HUAWEI_Mobile ID_MODEL_ENC=HUAWEI\x20Mobile ID_MODEL_ID=1003 ID_REVISION=0000 ID_SERIAL=HUAWEI_Technology_HUAWEI_Mobile ID_TYPE=generic ID_BUS=usb ID_USB_INTERFACES=:ffffff:080650: ID_USB_INTERFACE_NUM=01 ID_USB_DRIVER=option
2009-03-25rules: replace IDE driver with media matchKay Sievers
2009-03-24rules: serial - support ttyACM devicesKay Sievers
2009-03-23rules: remove ram* from persisten disk links blacklistKay Sievers
2009-03-23rules: exclude mtd* from persistent disk linksDavid Brownell
2009-03-22rules: rename ide-floppy to ide-gdBorislav Petkov
The driver's name changed in the 2.6.28 timeframe.
2009-03-18udevadm: monitor - clarify printed headerKay Sievers
2009-03-18udevadm: test - handling trailing '/' in devpathKay Sievers
On Wed, Mar 18, 2009 at 16:00, Matthias Schwarzott <zzam@gentoo.org> wrote: found out how the error occurs: It is a difference between A. udevadm test /sys/class/mem/null/ and B. udevadm test /sys/class/mem/null Case A was the case that showed the error behaviour. It seems udevadm is confused by the trailing slash. This behaviour seems to be there since ages.
2009-03-18version bumpKay Sievers
2009-03-18rules: fix extra quote in 50-udev-default.rulesKay Sievers
Patch from Gerardo Exequiel Pozzi.
2009-03-17udevadm: trigger - add "--action" to --helpRobby Workman
2009-03-16vol_id: fix language in manpageAdam Buchbinder
The documentation for the --offset option wasn't in complete sentences. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-16create_floppy_devices: expand manpageAdam Buchbinder
Include a table of what the CMOS types are, and note that nothing will be created unless the -t option is specified. Also clean up the formatting and bump the date. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-16cdrom_id: update manpageAdam Buchbinder
Include usage information on the -d/--debug flag. Also bump the date. Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-16usb_id: add manpageAdam Buchbinder
Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
2009-03-16rules: md-raid.rules fixMichal Soltys
md/array_state in case of partition doesn't exist, so all uevents for partitions didn't execute any SYMLINK rules Signed-off-by: Michal Soltys <soltys@ziu.info>
2009-03-13release 140Kay Sievers
2009-03-12udevadm: settle - synchronise with the udev daemonScott James Remnant
There's still a slight race condition when using udevadm settle, if the udev daemon has a pending inotify event but hasn't yet generated the "change" uevent for it, the kernel and udev sequence numbers will match and settle will exit. Now udevadm settle will send a control message to udevd, which will respond by sending SIGUSR1 back to the waiting udevadm settle once it has completed the main loop iteration in which it received the control message. If there were no pending inotify events, this will simply wake up the udev daemon and allow settle to continue. If there are pending inotify events, they are handled first in the main loop so when settle is continued they will have been turned into uevents and the kernel sequence number will have been incremented. Since the inotify event is pending for udevd when the close() system call returns (it's queued as part of the kernel handling for that system call), and since the kernel sequence number is incremented by writing to the uevent file (as udevd does), this solves the race. When the settle continues, if there were pending inotify events that udevd had not read, they are now pending uevents which settle can wait for. Signed-off-by: Scott James Remnant <scott@ubuntu.com>
2009-03-11udevadm: settle - use timeout signal, instead of loop counterKay Sievers
2009-03-11libudev: ctrl - return error after sending ctrl messageKay Sievers
2009-03-07update TODOKay Sievers
2009-03-07udevadm: add text for new options to command and man pageKay Sievers
2009-03-06libvolume_id: bump ageHarald Hoyer
Because you added the symbol volume_id_set_uuid_sub() in commit 14e18278, you have to increase the library minor version.
2009-03-05udevd: switch watch symlinks to devpathKay Sievers
Some broken tools get confused following links to /sys, switch to link targets carrying the devpath instead of the syspath, like the queue links.
2009-03-04udevadm: settle - add --seq-start= --seq-end=Kay Sievers
It might be useful in some cases not to wait for "all" events. $ read START < /sys/kernel/uevent_seqnum $ (do something which may create uevents) $ udevadm settle --seq-start=$START
2009-03-04libudev: queue - use lstat() to check existence of symlinkKay Sievers
2009-03-04rules: Fedora updateKay Sievers
2009-03-04update TODOKay Sievers
2009-03-03volume_id: ntfs - fix uuid settingKay Sievers
In my scenario, the ntfs prober did *not* detect the presence of a ntfs filesystem (i.e. vol_id --probe-all returned *only* ext3). However, if you examine the source of the ntfs prober, it overwrites the uuid field of the volume_id object long before it actually decides there's a valid filesystem there - this resulted in vol_id returning the rather bizarre combination of type=ext3, but a uuid populated by the ntfs prober. https://bugs.edge.launchpad.net/ubuntu/+source/udev/+bug/337015
2009-03-03update TODOKay Sievers
2009-03-03fix compile error in debug modeMichael Prokop
When building with './configure --enable-debug && make' it fails with: udev-rules.c: In function ‘dump_token’: udev-rules.c:366: error: ‘struct <anonymous>’ has no member named ‘i’ Signed-off-by: Michael Prokop <mika@grml.org>
2009-03-03version bumpKay Sievers
2009-02-26release 139Kay Sievers
2009-02-26udevadm: info - export all devices with --export-dbKay Sievers
2009-02-26usb_id: fix commentKay Sievers
2009-02-26usb_id: fix NULL string usageKay Sievers
2009-02-26usb_id: return values if called directly for an usb_deviceKay Sievers
2009-02-26usb_id: add ID_USB_INTERFACES=:0e0100:0e0200:010100:010200:Kay Sievers
2009-02-26use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCEKay Sievers
2009-02-26add m4/ subdirKay Sievers