chiark / gitweb /
elogind.git
14 years agocdrom_id: suppress ID_CDROM_MEDIA_STATE=blank for plain non-writable CDROM media
Kay Sievers [Mon, 25 May 2009 22:50:45 +0000 (00:50 +0200)]
cdrom_id: suppress ID_CDROM_MEDIA_STATE=blank for plain non-writable CDROM media

Some broken fake cdrom drives return ID_CDROM_MEDIA_STATE=blank.

  $ /lib/udev/cdrom_id -d /dev/sr1
  main: probing: '/dev/sr1'
  cd_inquiry: INQUIRY: [Nokia   ][S60             ][1.0 ]
  cd_profiles: GET CONFIGURATION: number of profiles 76
  cd_profiles: current profile 0x08
  cd_media_toc: READ TOC: len: 12
  cd_media_toc: last track 1 starts at block 0
  cd_media_info: disk type 00
  ID_CDROM=1
  ID_CDROM_MRW=1
  ID_CDROM_MRW_W=1
  ID_CDROM_MEDIA=1
  ID_CDROM_MEDIA_CD=1
  ID_CDROM_MEDIA_STATE=blank

Others work fine, but ID_CDROM_MEDIA_STATE is not needed for non-writable CDROM media:

  $ /lib/udev/cdrom_id -d /dev/sr1
  main: probing: '/dev/sr1'
  cd_inquiry: INQUIRY: [SanDisk ][U3 Cruzer Micro ][8.02]
  cd_profiles: GET CONFIGURATION: number of profiles 72
  cd_profiles: current profile 0x08
  cd_media_toc: READ TOC: len: 20
  cd_media_toc: track=1 info=0x4(data) start_block=0
  cd_media_toc: last track 1 starts at block 0
  cd_media_info: disk type 00
  ID_CDROM=1
  ID_CDROM_MRW=1
  ID_CDROM_MRW_W=1
  ID_CDROM_MEDIA=1
  ID_CDROM_MEDIA_CD=1
  ID_CDROM_MEDIA_STATE=complete
  ID_CDROM_MEDIA_SESSION_COUNT=1
  ID_CDROM_MEDIA_TRACK_COUNT=1
  ID_CDROM_MEDIA_TRACK_COUNT_DATA=1

14 years agotest: check string substitutions in OWNER and GROUP
Benjamin Gilbert [Fri, 22 May 2009 18:54:46 +0000 (20:54 +0200)]
test: check string substitutions in OWNER and GROUP

String substitutions in OWNER and GROUP keys were broken in udev 137-142.
Explicitly test for this, since such breakage will not manifest in typical
rulesets.

14 years agorules: add SUBSYSTEM match to scsi rules
Kay Sievers [Fri, 22 May 2009 14:44:53 +0000 (16:44 +0200)]
rules: add SUBSYSTEM match to scsi rules

On Fri, May 22, 2009 at 16:15, Alan Jenkins <alan-jenkins@tuffmail.co.uk> wrote:
> I've been looking at what is responsible for all the path lookup activity in
> coldplug.  On my debian stable system, it looks like every device gets its
> parent looked up in sysfs.  I think this is due to SUBSYSTEMS matches.
>
> I see the udev default rules are different, but it looks like they still
> test for SUBSYSTEMS on every single device. Should we add SUBSYSTEM="scsi_generic"
> to these three rules?

14 years agoupdate NEWS
Kay Sievers [Thu, 21 May 2009 21:52:09 +0000 (23:52 +0200)]
update NEWS

14 years agoudevadm: settle - make --timeout=0 working
Kay Sievers [Thu, 21 May 2009 21:49:53 +0000 (23:49 +0200)]
udevadm: settle - make --timeout=0 working

14 years agoudevd: implement a more efficient queue file format
Alan Jenkins [Thu, 21 May 2009 20:22:37 +0000 (22:22 +0200)]
udevd: implement a more efficient queue file format

Directory lookups show up in profiling. The queue files are responsible
for a large proportion of file-related system calls in udev coldplug.

Instead of creating a file for each event, append their details to a
log file.  The file is periodically rebuilt (garbage-collected) to
prevent it from growing indefinitely.

This single queue file replaces both the queue directory and the
uevent_seqnum file. On desktop systems the file tends not to grow
beyond one page. So it should also save a small amount of memory in
tmpfs.

Tests on a running EeePC indicate average savings of 5% *udevd* cpu time
as measured by oprofile. __link_path_walk is reduced from 1.5% to
1.3%. It is not completely clear where the rest of the gains come from.

In tests running ~400 events, the queue file is rebuilt about 5 times.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
14 years agoudevd: remove tiny bit of dead code
Alan Jenkins [Thu, 21 May 2009 16:31:43 +0000 (18:31 +0200)]
udevd: remove tiny bit of dead code

14 years agofix location of database files
Kay Sievers [Wed, 20 May 2009 23:44:45 +0000 (01:44 +0200)]
fix location of database files

14 years agokeep the ifdef'd udevd testing/profiling hack
Kay Sievers [Wed, 20 May 2009 23:20:18 +0000 (01:20 +0200)]
keep the ifdef'd udevd testing/profiling hack

14 years agorequire key names in uppercase
Kay Sievers [Wed, 20 May 2009 21:45:32 +0000 (23:45 +0200)]
require key names in uppercase

Drop pretty expensive case-insensitive matching, and key names in
mixed or lowercase are not supported anyway.

14 years agoremove unused GL_FORMAT from rules parser
Kay Sievers [Wed, 20 May 2009 21:12:22 +0000 (23:12 +0200)]
remove unused GL_FORMAT from rules parser

14 years agoupdate TODO
Kay Sievers [Wed, 20 May 2009 17:43:26 +0000 (19:43 +0200)]
update TODO

14 years agouse openat(), unlinkat(), fstatat()
Kay Sievers [Wed, 20 May 2009 16:58:52 +0000 (18:58 +0200)]
use openat(), unlinkat(), fstatat()

14 years agoedd_id: use openat()
Kay Sievers [Wed, 20 May 2009 16:10:26 +0000 (18:10 +0200)]
edd_id: use openat()

14 years agouse more efficient string copying
Kay Sievers [Wed, 20 May 2009 15:57:52 +0000 (17:57 +0200)]
use more efficient string copying

14 years agoudevadm: settle - fix timeout
Alan Jenkins [Wed, 20 May 2009 14:12:22 +0000 (16:12 +0200)]
udevadm: settle - fix timeout

The timeout wasn't working when settle was run as root:
  # udevadm control --stop-exec-queue
  # udevadm trigger
  # udevadm settle --timeout=1
  ... (hangs)

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
14 years agoremove format char string truncation syntax
Kay Sievers [Tue, 19 May 2009 10:56:17 +0000 (12:56 +0200)]
remove format char string truncation syntax

14 years agoOWNER/GROUP: fix if logic
Scott James Remnant [Thu, 14 May 2009 11:42:44 +0000 (12:42 +0100)]
OWNER/GROUP: fix if logic

The introduction of the --resolve-names=early/never code introduced a
bug to the OWNER/GROUP lookup.  Previously if the name had contained $,
lookup would have been performed later; after the patch, the key ended
up being ignored!

14 years agorule-generator: cd - skip by-path links if we create by-id links
Kay Sievers [Thu, 14 May 2009 10:57:19 +0000 (12:57 +0200)]
rule-generator: cd - skip by-path links if we create by-id links

14 years agoRevert "rules: v4l do not mix vbi and video nodes"
Kay Sievers [Wed, 13 May 2009 22:32:25 +0000 (00:32 +0200)]
Revert "rules: v4l do not mix vbi and video nodes"

This reverts commit 6205f1186e4980544ea425d31770358d1b2579e4.

14 years agofix possible endless loop for GOTO to non-existent LABEL
Kay Sievers [Wed, 13 May 2009 16:01:32 +0000 (18:01 +0200)]
fix possible endless loop for GOTO to non-existent LABEL

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526365

14 years agorules: v4l do not mix vbi and video nodes
Kay Sievers [Wed, 13 May 2009 15:55:08 +0000 (17:55 +0200)]
rules: v4l do not mix vbi and video nodes

14 years agoversion bump
Kay Sievers [Wed, 13 May 2009 01:13:08 +0000 (03:13 +0200)]
version bump

14 years agorelease 142
Kay Sievers [Wed, 13 May 2009 00:35:37 +0000 (02:35 +0200)]
release 142

14 years agodelete libvolume_id
Kay Sievers [Tue, 12 May 2009 11:28:01 +0000 (13:28 +0200)]
delete libvolume_id

14 years agodelete vol_id and require util-linux-ng's blkid
Kay Sievers [Mon, 11 May 2009 02:12:23 +0000 (04:12 +0200)]
delete vol_id and require util-linux-ng's blkid

14 years agoupdate TODO
Kay Sievers [Mon, 11 May 2009 01:53:55 +0000 (03:53 +0200)]
update TODO

14 years agoadd "static" back to the inline functions
Kay Sievers [Thu, 7 May 2009 11:24:40 +0000 (13:24 +0200)]
add "static" back to the inline functions

<Keybuk> kay: udev git head ftbfs
<Keybuk> udev-watch.o: In function `udev_selinux_init':
<Keybuk> /../udev/udev.h:130: multiple definition of `udev_selinux_init'

14 years agorules: fix ieee1394 rules
Kay Sievers [Tue, 5 May 2009 10:43:42 +0000 (12:43 +0200)]
rules: fix ieee1394 rules

14 years agoremove asmlinkage
Kay Sievers [Tue, 5 May 2009 00:39:16 +0000 (02:39 +0200)]
remove asmlinkage

14 years agoremove all PHYSDEVPATH handling and warning about
Kay Sievers [Mon, 4 May 2009 20:08:05 +0000 (22:08 +0200)]
remove all PHYSDEVPATH handling and warning about

14 years agooops, removed ppp entry from rules got committed
Kay Sievers [Mon, 4 May 2009 12:10:05 +0000 (14:10 +0200)]
oops, removed ppp entry from rules got committed

14 years agohandle devtmpfs nodes
Kay Sievers [Mon, 4 May 2009 02:52:31 +0000 (04:52 +0200)]
handle devtmpfs nodes

UDev follows the kernel given name, and re-uses the kernel created
device node. If the kernel and spcecified udev rules disagree, the
udev specified node node is created and the kernel-created on is
deleted.

14 years agorule-generator: net - whitelist NICs that violate MAC local scheme
Lubomir Rintel [Sun, 3 May 2009 13:37:30 +0000 (15:37 +0200)]
rule-generator: net - whitelist NICs that violate MAC local scheme

According to list of assigned ethernet codes [1] referred to by
IANA [2] certain global addresses do not follow the assignement
scheme and use numbers reserved for local use. Several such adapters
are quite widely used, generate rules for them.

[1] http://www.cavebear.com/archive/cavebear/Ethernet/vendor.html
[2] http://www.iana.org/assignments/ethernet-numbers

14 years agorules: remove initramfs comment
Kay Sievers [Sun, 3 May 2009 12:44:23 +0000 (14:44 +0200)]
rules: remove initramfs comment

14 years agoudevd: revert initial device node creation
Kay Sievers [Sat, 2 May 2009 03:23:02 +0000 (05:23 +0200)]
udevd: revert initial device node creation

14 years agorules: add "event*" match
Kay Sievers [Fri, 1 May 2009 15:52:21 +0000 (17:52 +0200)]
rules: add "event*" match

14 years agobuild: use AC_MSG_RESULT
Kay Sievers [Fri, 1 May 2009 03:09:51 +0000 (05:09 +0200)]
build: use AC_MSG_RESULT

14 years agoupdate TODO
Kay Sievers [Wed, 29 Apr 2009 13:57:41 +0000 (15:57 +0200)]
update TODO

14 years agoaccept DEVNAME from the kernel as a hint for the node name
Kay Sievers [Tue, 28 Apr 2009 13:59:45 +0000 (15:59 +0200)]
accept DEVNAME from the kernel as a hint for the node name

14 years agorules: add rfcomm* to group dialout
Kay Sievers [Tue, 28 Apr 2009 09:24:25 +0000 (11:24 +0200)]
rules: add rfcomm* to group dialout

https://bugs.launchpad.net/bugs/368109

14 years agorules: input - fix comments
Kay Sievers [Mon, 27 Apr 2009 01:50:48 +0000 (03:50 +0200)]
rules: input - fix comments

14 years agorules: input - add links for USB/platform non-kbd/mouse devices
Kay Sievers [Mon, 27 Apr 2009 01:23:41 +0000 (03:23 +0200)]
rules: input - add links for USB/platform non-kbd/mouse devices

14 years agorule_generator: net - fix usb comment generation
Kay Sievers [Sun, 26 Apr 2009 18:53:30 +0000 (20:53 +0200)]
rule_generator: net - fix usb comment generation

On Sat, Apr 4, 2009 at 22:17, Omair Eshkenazi <stimpson@phys.huji.ac.il> wrote:
> I noticed that in (70-)persistent-net.rules, the comments for USB devices
> are missing the device/vendor id's. Example:
> # USB device 0x:0x (rt73usb)

14 years agodrop "extern" keyword from non-static function
Kay Sievers [Sun, 26 Apr 2009 11:59:39 +0000 (13:59 +0200)]
drop "extern" keyword from non-static function

14 years agoupdate NEWS
Kay Sievers [Fri, 24 Apr 2009 00:27:44 +0000 (02:27 +0200)]
update NEWS

14 years agorules: create /dev/cpu/<n>/cpuid world readable
Andre Przywara [Thu, 23 Apr 2009 22:29:53 +0000 (00:29 +0200)]
rules: create /dev/cpu/<n>/cpuid world readable

I don't see any security implications, to be actually useful,
/dev/cpu/<n>/cpuid should be world readable. The cpuid instruction
can be called from userspace anyway, so there is nothing to hide.
The device does not support any write operation, so 0444 should
suffice.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
14 years agolibudev: monitor - export filter_update()
Kay Sievers [Thu, 23 Apr 2009 16:05:10 +0000 (18:05 +0200)]
libudev: monitor - export filter_update()

14 years agolibudev: queue - clarify comments
Kay Sievers [Thu, 23 Apr 2009 13:16:26 +0000 (15:16 +0200)]
libudev: queue - clarify comments

14 years agocdrom_id: skip media tests if CDROM_DRIVE_STATUS != CDS_DISC_OK
Kay Sievers [Thu, 23 Apr 2009 13:04:16 +0000 (15:04 +0200)]
cdrom_id: skip media tests if CDROM_DRIVE_STATUS != CDS_DISC_OK

14 years agolibudev: queue - fix get_seqnum_is_finished()
Kay Sievers [Thu, 23 Apr 2009 11:23:45 +0000 (13:23 +0200)]
libudev: queue - fix get_seqnum_is_finished()

On Thu, Apr 23, 2009 at 11:39, Alan Jenkins <alan-jenkins@tuffmail.co.uk> wrote:
> I'm puzzled by this function:
>
>        /* if we have not seen this seqnum, check if it is/was already queued */
>        if (seqnum < udev_queue->last_seen_udev_seqnum) {
>                udev_queue_get_udev_seqnum(udev_queue);
>                if (seqnum < udev_queue->last_seen_udev_seqnum)
>
> Shouldn't the test be (seqnum > udev_queue->last_seen_udev_seqnum) ?

14 years agolibudev: monitor - add udev_monitor_filter_remove
Kay Sievers [Thu, 23 Apr 2009 02:07:51 +0000 (04:07 +0200)]
libudev: monitor - add udev_monitor_filter_remove

14 years agoudevadm: monitor - add <subsytem>:<devtype> support
Kay Sievers [Thu, 23 Apr 2009 02:07:15 +0000 (04:07 +0200)]
udevadm: monitor - add <subsytem>:<devtype> support

15 years agolibudev: monitor - do not filter messages with wrong magic
Kay Sievers [Thu, 23 Apr 2009 01:33:58 +0000 (03:33 +0200)]
libudev: monitor - do not filter messages with wrong magic

15 years agolibudev: monitor - switch to filter_add_match_subsystem_devtype()
Kay Sievers [Thu, 23 Apr 2009 01:24:38 +0000 (03:24 +0200)]
libudev: monitor - switch to filter_add_match_subsystem_devtype()

15 years agolibudev: monitor - use simpler hash
Kay Sievers [Wed, 22 Apr 2009 16:38:16 +0000 (18:38 +0200)]
libudev: monitor - use simpler hash

15 years agoedd_id: add cciss devices
John Wright [Wed, 22 Apr 2009 12:53:35 +0000 (14:53 +0200)]
edd_id: add cciss devices

Since cciss devices can be BIOS boot devices just as well as sd* and
hd*, the edd_id program should be run on them so that the later
/dev/disk/by-id/edd-* rules will work.

15 years agoudevadm monitor - add --subsystem-match=
Kay Sievers [Wed, 22 Apr 2009 03:00:15 +0000 (05:00 +0200)]
udevadm monitor - add --subsystem-match=

15 years agoupdate TODO
Kay Sievers [Wed, 22 Apr 2009 02:32:25 +0000 (04:32 +0200)]
update TODO

15 years agoudevadm: monitor - print error if we can not bind to socket
Kay Sievers [Wed, 22 Apr 2009 02:11:18 +0000 (04:11 +0200)]
udevadm: monitor - print error if we can not bind to socket

15 years agolibudev: monitor - add client socket filter for subsystem value
Kay Sievers [Wed, 22 Apr 2009 01:50:11 +0000 (03:50 +0200)]
libudev: monitor - add client socket filter for subsystem value

Messages send back by the udev daemon to the netlink socket are
multiplexed by the kernel and delivered to multiple clients. The
clients can upload a socket filter to let the kernel drop messages
not belonging to a certain subsystem. This prevent needless wakeups
and message processing for users who are only interested in a
subset of available events.

Recent kernels allow untrusted users to listen to the netlink
messages.

The messages send by the udev daemon are versioned, to prevent any
custom software reading them without libudev. The message wire format
may change with any udev version update.

15 years agocdrom_id: add and use ID_CDROM_MEDIA to decide if we run vol_id
Kay Sievers [Tue, 21 Apr 2009 01:27:14 +0000 (03:27 +0200)]
cdrom_id: add and use ID_CDROM_MEDIA to decide if we run vol_id

Some broken mobile phones offer a faked cdrom drive with a media
without any tracks.

15 years agoudevd: at startup create /dev/null, /dev/console, /dev/kmsg
Kay Sievers [Sun, 19 Apr 2009 01:25:04 +0000 (03:25 +0200)]
udevd: at startup create /dev/null, /dev/console, /dev/kmsg

15 years agoupdate NEWS
Kay Sievers [Sat, 18 Apr 2009 11:24:20 +0000 (13:24 +0200)]
update NEWS

15 years agoTODO: add packet filter
Kay Sievers [Sat, 18 Apr 2009 11:23:55 +0000 (13:23 +0200)]
TODO: add packet filter

15 years agotest-libudev: update monitor source
Kay Sievers [Sat, 18 Apr 2009 11:23:10 +0000 (13:23 +0200)]
test-libudev: update monitor source

15 years agocdrom_id: add Xen cdrom support
Kay Sievers [Thu, 16 Apr 2009 22:29:56 +0000 (00:29 +0200)]
cdrom_id: add Xen cdrom support

15 years agopath_id: support identification of Xen virtual block devices
Ian Campbell [Thu, 16 Apr 2009 20:46:18 +0000 (22:46 +0200)]
path_id: support identification of Xen virtual block devices

15 years agoupdate NEWS
Kay Sievers [Thu, 16 Apr 2009 20:36:26 +0000 (22:36 +0200)]
update NEWS

15 years agorules: remove DVB shell script
Kay Sievers [Thu, 16 Apr 2009 20:35:59 +0000 (22:35 +0200)]
rules: remove DVB shell script

15 years agoudevd: log error for too old kernels or CONFIG_SYSFS_DEPRECATED
Kay Sievers [Thu, 16 Apr 2009 20:34:26 +0000 (22:34 +0200)]
udevd: log error for too old kernels or CONFIG_SYSFS_DEPRECATED

15 years agolibudev: monitor - clarify socket handling documentation
Kay Sievers [Wed, 15 Apr 2009 23:49:16 +0000 (01:49 +0200)]
libudev: monitor - clarify socket handling documentation

15 years agolibudev: path_encode - always return 0 if encoded string does not fit into size
Kay Sievers [Wed, 15 Apr 2009 19:47:04 +0000 (21:47 +0200)]
libudev: path_encode - always return 0 if encoded string does not fit into size

15 years agoversion bump
Kay Sievers [Tue, 14 Apr 2009 19:02:39 +0000 (21:02 +0200)]
version bump

15 years agorelease 141
Kay Sievers [Wed, 8 Apr 2009 23:35:53 +0000 (16:35 -0700)]
release 141

15 years agolibudev: monitor - ignore messages from unusual sources
Scott James Remnant [Wed, 8 Apr 2009 23:16:14 +0000 (16:16 -0700)]
libudev: monitor - ignore messages from unusual sources

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>
15 years agolibudev: monitor - unify socket message handling
Kay Sievers [Wed, 8 Apr 2009 14:46:54 +0000 (07:46 -0700)]
libudev: monitor - unify socket message handling

15 years agopath_encode: fix max length calculation
Kay Sievers [Wed, 8 Apr 2009 13:06:01 +0000 (06:06 -0700)]
path_encode: fix max length calculation

Sebastian Krahmer wrote:
> it should reserve 4 times not 3 times len :)

15 years agoavoid leaking netlink socket fd to external programs
Alan Jenkins [Mon, 6 Apr 2009 09:18:41 +0000 (10:18 +0100)]
avoid leaking netlink socket fd to external programs

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>
15 years agoIMPORT: 2048 -> 4096 bytes buffer
Kay Sievers [Mon, 30 Mar 2009 18:09:08 +0000 (20:09 +0200)]
IMPORT: 2048 -> 4096 bytes buffer

15 years ago"UDEV_MONITOR_KERNEL/UDEV" -> "kernel/udev"
Kay Sievers [Sun, 29 Mar 2009 18:08:52 +0000 (20:08 +0200)]
"UDEV_MONITOR_KERNEL/UDEV" -> "kernel/udev"

15 years agosend monitor events back to netlink socket
Kay Sievers [Sun, 29 Mar 2009 02:24:39 +0000 (04:24 +0200)]
send monitor events back to netlink socket

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.

15 years agousb_id: remove unused variable
Kay Sievers [Sat, 28 Mar 2009 19:57:01 +0000 (20:57 +0100)]
usb_id: remove unused variable

15 years agolibudev: GPL -> LGPL
Kay Sievers [Thu, 26 Mar 2009 18:29:36 +0000 (19:29 +0100)]
libudev: GPL -> LGPL

15 years agousb_id: add ID_VENDOR_ID, ID_MODEL_ID, ID_USB_INTERFACE_NUM, ID_USB_DRIVER
Kay Sievers [Wed, 25 Mar 2009 20:24:21 +0000 (21:24 +0100)]
usb_id: add ID_VENDOR_ID, ID_MODEL_ID, ID_USB_INTERFACE_NUM, ID_USB_DRIVER

$ 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

15 years agorules: replace IDE driver with media match
Kay Sievers [Wed, 25 Mar 2009 12:40:55 +0000 (13:40 +0100)]
rules: replace IDE driver with media match

15 years agorules: serial - support ttyACM devices
Kay Sievers [Tue, 24 Mar 2009 00:55:47 +0000 (01:55 +0100)]
rules: serial - support ttyACM devices

15 years agorules: remove ram* from persisten disk links blacklist
Kay Sievers [Mon, 23 Mar 2009 20:09:02 +0000 (21:09 +0100)]
rules: remove ram* from persisten disk links blacklist

15 years agorules: exclude mtd* from persistent disk links
David Brownell [Mon, 23 Mar 2009 20:03:00 +0000 (21:03 +0100)]
rules: exclude mtd* from persistent disk links

15 years agorules: rename ide-floppy to ide-gd
Borislav Petkov [Sun, 22 Mar 2009 12:22:49 +0000 (13:22 +0100)]
rules: rename ide-floppy to ide-gd

The driver's name changed in the 2.6.28 timeframe.

15 years agoudevadm: monitor - clarify printed header
Kay Sievers [Wed, 18 Mar 2009 17:47:23 +0000 (18:47 +0100)]
udevadm: monitor - clarify printed header

15 years agoudevadm: test - handling trailing '/' in devpath
Kay Sievers [Wed, 18 Mar 2009 17:42:16 +0000 (18:42 +0100)]
udevadm: test - handling trailing '/' in devpath

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.

15 years agoversion bump
Kay Sievers [Wed, 18 Mar 2009 16:54:00 +0000 (17:54 +0100)]
version bump

15 years agorules: fix extra quote in 50-udev-default.rules
Kay Sievers [Wed, 18 Mar 2009 01:32:12 +0000 (02:32 +0100)]
rules: fix extra quote in 50-udev-default.rules

Patch from Gerardo Exequiel Pozzi.

15 years agoudevadm: trigger - add "--action" to --help
Robby Workman [Tue, 17 Mar 2009 09:31:32 +0000 (10:31 +0100)]
udevadm: trigger - add "--action" to --help

15 years agovol_id: fix language in manpage
Adam Buchbinder [Mon, 16 Mar 2009 20:22:54 +0000 (16:22 -0400)]
vol_id: fix language in manpage

The documentation for the --offset option wasn't in complete
sentences.

Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
15 years agocreate_floppy_devices: expand manpage
Adam Buchbinder [Mon, 16 Mar 2009 20:22:53 +0000 (16:22 -0400)]
create_floppy_devices: expand manpage

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>
15 years agocdrom_id: update manpage
Adam Buchbinder [Mon, 16 Mar 2009 20:22:52 +0000 (16:22 -0400)]
cdrom_id: update manpage

Include usage information on the -d/--debug flag. Also bump the date.

Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
15 years agousb_id: add manpage
Adam Buchbinder [Mon, 16 Mar 2009 20:22:51 +0000 (16:22 -0400)]
usb_id: add manpage

Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
15 years agorules: md-raid.rules fix
Michal Soltys [Mon, 16 Mar 2009 00:29:19 +0000 (01:29 +0100)]
rules: md-raid.rules fix

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>