chiark / gitweb /
elogind.git
10 years agofix NAME="" logic
Kay Sievers [Fri, 30 Jan 2009 02:53:09 +0000 (03:53 +0100)]
fix NAME="" logic

Reported-By: Soh Kam Yung <sohkamyung@gmail.com>
10 years agorules: Gentoo update
Matthias Schwarzott [Tue, 27 Jan 2009 10:56:45 +0000 (11:56 +0100)]
rules: Gentoo update

10 years agoversion bump
Kay Sievers [Sun, 25 Jan 2009 20:25:41 +0000 (21:25 +0100)]
version bump

10 years agoman: fix grammar
Kay Sievers [Sun, 25 Jan 2009 20:21:43 +0000 (21:21 +0100)]
man: fix grammar

Reported-by: Robert Peterson <rpeterso@redhat.com>
10 years agodoc: writing udev rules - refer to 'udevadm info' instead of 'udevinfo'
Miklos Vajna [Fri, 23 Jan 2009 02:55:24 +0000 (03:55 +0100)]
doc: writing udev rules - refer to 'udevadm info' instead of 'udevinfo'

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
10 years agovol_id: add missing id->type to swap0
Karel Zak [Fri, 23 Jan 2009 23:37:23 +0000 (00:37 +0100)]
vol_id: add missing id->type to swap0

Signed-off-by: Karel Zak <kzak@redhat.com>
10 years agovol_id: fix ddf version string
Karel Zak [Fri, 23 Jan 2009 23:37:22 +0000 (00:37 +0100)]
vol_id: fix ddf version string

The version string in DDF suberblock does not include the null terminator
and the snprintf() function writes at most "size" bytes *including* the
null byte.

old version:
ID_FS_VERSION=02.00.0
new version:
ID_FS_VERSION=02.00.00

Signed-off-by: Karel Zak <kzak@redhat.com>
10 years agorelease 137
Kay Sievers [Fri, 23 Jan 2009 02:05:05 +0000 (03:05 +0100)]
release 137

10 years agoudevadm: settle - fix typo
Kay Sievers [Fri, 23 Jan 2009 01:19:12 +0000 (02:19 +0100)]
udevadm: settle - fix typo

10 years agousb_id: handle ATAPI devices like SCSI devices
Kay Sievers [Thu, 22 Jan 2009 18:23:33 +0000 (19:23 +0100)]
usb_id: handle ATAPI devices like SCSI devices

Some weird mass storage devices identify the disks as ATAPI/cdrom
devices, and all disks in such enclusure get the same ids which
overwrite each other, in such cases, get the typ of device from the
scsi device, which has more knowledge what kind of device it really
is.

10 years agoudevd: add back SA_RESTART
Kay Sievers [Wed, 21 Jan 2009 17:55:59 +0000 (18:55 +0100)]
udevd: add back SA_RESTART

<Keybuk> poll, select, ppoll, pselect, epoll, etc. are *explicitly* NOT restarted in case of signal
<kay> ok

10 years agosplit up long line
Kay Sievers [Wed, 21 Jan 2009 14:11:38 +0000 (15:11 +0100)]
split up long line

10 years agoMerge commit '9032f119f07ad3b5116b3d4858816d851d4127de'
Kay Sievers [Wed, 21 Jan 2009 13:43:22 +0000 (14:43 +0100)]
Merge commit '9032f119f07ad3b5116b3d4858816d851d4127de'

10 years agoMerge commit '5f03ed8a56d308af72db8a48ab66ed68667af2c6'
Kay Sievers [Wed, 21 Jan 2009 13:42:30 +0000 (14:42 +0100)]
Merge commit '5f03ed8a56d308af72db8a48ab66ed68667af2c6'

Conflicts:
udev/udevd.c

10 years agoincrease netif renaming timeout from 30 to 90 seconds
Kay Sievers [Wed, 21 Jan 2009 10:17:58 +0000 (11:17 +0100)]
increase netif renaming timeout from 30 to 90 seconds

10 years agoreap children faster
Olaf Kirch [Wed, 21 Jan 2009 10:17:11 +0000 (11:17 +0100)]
reap children faster

udevd's event_queue_manager loop is pretty sensitive to the
delays of exiting child processes. I found that it helps boot
times if we try to reap children as quickly as possible.

This patch changes event_queue_manager to call sigchilds_waiting
if it finds a signal has been received.

Signed-off-by: Olaf Kirch <okir@suse.de>
10 years agoopen-code pollfd setup
Kay Sievers [Wed, 21 Jan 2009 10:09:27 +0000 (11:09 +0100)]
open-code pollfd setup

10 years agoExpose delayed name resolution
Scott James Remnant [Tue, 20 Jan 2009 21:36:09 +0000 (21:36 +0000)]
Expose delayed name resolution

udevd had the ability to delay name resolution until the event, but this
was never exposed.  Add a --resolve-names=late option to do so.

10 years agoAllow user and group lookup to be disabled.
Scott James Remnant [Tue, 20 Jan 2009 21:33:02 +0000 (21:33 +0000)]
Allow user and group lookup to be disabled.

In certain cut-down situations such as an installer or inside the
initramfs, we simply don't have any kind of name service.  While we
could use rules without OWNER or GROUP, it's better to have the same
rules as a full system and have udevd ignore those parts of the rules.

Adds a --resolve-names=never switch to udevd that has this effect.

10 years agoudevd: use ppoll instead of signal pipes
Olaf Kirch [Tue, 20 Jan 2009 11:49:20 +0000 (12:49 +0100)]
udevd: use ppoll instead of signal pipes

udevd uses a rather old-fashioned way of handling signals
while waiting for input through select (ie by using an unnamed
pipe, to which the signal handler writes one byte for every signal
received). This is rather awkward and may potentially even block
if we receive more signals than the kernel's pipe buffer.

This patch replaces all of that with ppoll, which was designed
for this purpose.

It also removes the SA_RESTART flag from all installed signal
handlers, because otherwise the ppoll call would just be restarted
after handling eg a SIGCHLD.

Signed-off-by: Olaf Kirch <okir@suse.de>
10 years agoremove stray initializer
Alan Jenkins [Fri, 16 Jan 2009 20:35:34 +0000 (20:35 +0000)]
remove stray initializer

Picked up by "gcc -Wextra".

udevadm.c:83: warning: initialized field overwritten
udevadm.c:83: warning: (near initialization for ‘cmds[2].help’)

This is just a cleanup.  It doesn't change the code generated by gcc.

10 years agoman: typo fixes
Alan Jenkins [Fri, 16 Jan 2009 20:26:16 +0000 (20:26 +0000)]
man: typo fixes

10 years agocleanup old names before creating the new names
Kay Sievers [Fri, 16 Jan 2009 20:15:53 +0000 (21:15 +0100)]
cleanup old names before creating the new names

Scott found that the node /dev/pktcdvd can not be replaced by
/dev/pktcdvd/control by changing the rules, and re-trigger the
event. We used to create the new names before we cleaned up the
old ones, which can not work if we need to create subdir with
the same name.

10 years agoremove name from index if the node name has changed
Kay Sievers [Fri, 16 Jan 2009 20:14:13 +0000 (21:14 +0100)]
remove name from index if the node name has changed

Scott discovered that a changed rule, which renames a device node
leaves the old node name around as a symlink. So drop the reference
to the old name.

10 years agoupdate NEWS
Kay Sievers [Fri, 16 Jan 2009 19:54:11 +0000 (20:54 +0100)]
update NEWS

10 years agoudevadm: test - remove --force option
Kay Sievers [Thu, 15 Jan 2009 19:20:16 +0000 (20:20 +0100)]
udevadm: test - remove --force option

Since a while we change the database with a "test" run, but do not update
the node and symlinks. We need to "force" all the time, to keep things
in sync.

10 years agovolume_id: support via raid version 2
Sven Jost [Thu, 15 Jan 2009 18:09:12 +0000 (19:09 +0100)]
volume_id: support via raid version 2

10 years agodo not complain about a missing /etc/udev/rules.d/
Kay Sievers [Thu, 15 Jan 2009 16:52:17 +0000 (17:52 +0100)]
do not complain about a missing /etc/udev/rules.d/

Scott mentioned that initramfs does not neccessarily have that
directory, so do not log an error.

10 years agorules: add drm devices to group "video"
Kay Sievers [Thu, 15 Jan 2009 16:06:14 +0000 (17:06 +0100)]
rules: add drm devices to group "video"

https://bugs.launchpad.net/bugs/317430

10 years agolibudev: use 4096 bytes buffer for attribute reading
Kay Sievers [Wed, 14 Jan 2009 20:54:31 +0000 (21:54 +0100)]
libudev: use 4096 bytes buffer for attribute reading

10 years agorules: fix typo in ide cd rule
Kay Sievers [Sat, 10 Jan 2009 16:44:09 +0000 (17:44 +0100)]
rules: fix typo in ide cd rule

Thanks to Scott, who found that.

10 years agofix naming for tape nst devices in /dev/tape/by-path/
Lennart Poettering [Sat, 10 Jan 2009 00:37:03 +0000 (01:37 +0100)]
fix naming for tape nst devices in /dev/tape/by-path/

$env{ID_PATH} includes the "-nst" suffix anyway, so we shouldn't append
it a second time as part of the rule creating the device file symlink.

Signed-off-by: Lennart Poettering <lennart@poettering.net>
10 years agoversion bump
Kay Sievers [Sat, 10 Jan 2009 00:38:54 +0000 (01:38 +0100)]
version bump

10 years agorelease 136
Kay Sievers [Tue, 6 Jan 2009 21:01:50 +0000 (22:01 +0100)]
release 136

10 years agoextras: fix mis-spelling of "environment"
Adam Buchbinder [Tue, 6 Jan 2009 18:43:01 +0000 (19:43 +0100)]
extras: fix mis-spelling of "environment"

10 years agolibudev: test - add udev_device_get_property_value()
Kay Sievers [Tue, 6 Jan 2009 15:52:40 +0000 (16:52 +0100)]
libudev: test - add udev_device_get_property_value()

10 years agolibudev: device - add udev_device_get_property_value()
Kay Sievers [Mon, 5 Jan 2009 23:26:28 +0000 (00:26 +0100)]
libudev: device - add udev_device_get_property_value()

10 years agorules: zaptel - add "dialout" group
Kay Sievers [Mon, 5 Jan 2009 16:51:22 +0000 (17:51 +0100)]
rules: zaptel - add "dialout" group

10 years agorules: reorder block rules
Kay Sievers [Mon, 5 Jan 2009 11:34:55 +0000 (12:34 +0100)]
rules: reorder block rules

10 years agoudevadm: s/udevinfo/udevadm info/
Kay Sievers [Mon, 5 Jan 2009 11:28:09 +0000 (12:28 +0100)]
udevadm: s/udevinfo/udevadm info/

10 years agousb_id: s/image/media/
Kay Sievers [Mon, 5 Jan 2009 02:44:28 +0000 (03:44 +0100)]
usb_id: s/image/media/

10 years agoenable skipping of "naming-only" rules
Kay Sievers [Mon, 5 Jan 2009 01:55:37 +0000 (02:55 +0100)]
enable skipping of "naming-only" rules

10 years agoupdate NEWS
Kay Sievers [Mon, 5 Jan 2009 01:55:16 +0000 (02:55 +0100)]
update NEWS

10 years agoupdate NEWS
Kay Sievers [Sun, 4 Jan 2009 16:38:33 +0000 (17:38 +0100)]
update NEWS

10 years agorules: Ubuntu merge - s/uucp/dialout/
Kay Sievers [Sun, 4 Jan 2009 16:01:47 +0000 (17:01 +0100)]
rules: Ubuntu merge - s/uucp/dialout/

10 years agorules: replace DVB shell script rule
Kay Sievers [Sat, 3 Jan 2009 21:30:05 +0000 (22:30 +0100)]
rules: replace DVB shell script rule

10 years agorules: Ubuntu merge - use group "tape"
Kay Sievers [Sat, 3 Jan 2009 15:25:15 +0000 (16:25 +0100)]
rules: Ubuntu merge - use group "tape"

10 years agorules: Ubuntu merge - use group "cdrom"
Kay Sievers [Sat, 3 Jan 2009 14:50:17 +0000 (15:50 +0100)]
rules: Ubuntu merge - use group "cdrom"

10 years agorequire 2.6.22+ kernel
Kay Sievers [Sat, 3 Jan 2009 14:35:41 +0000 (15:35 +0100)]
require 2.6.22+ kernel

10 years agousb_id: use devtype lookup
Kay Sievers [Sat, 3 Jan 2009 14:26:34 +0000 (15:26 +0100)]
usb_id: use devtype lookup

10 years agolibudev: bump revision
Kay Sievers [Sat, 3 Jan 2009 14:26:08 +0000 (15:26 +0100)]
libudev: bump revision

10 years agolibudev: subsytem -> subsystem
Kay Sievers [Sat, 3 Jan 2009 14:24:59 +0000 (15:24 +0100)]
libudev: subsytem -> subsystem

10 years agolibudev: device - remove udev_device_get_parent_with_subsystem
Marcel Holtmann [Sat, 3 Jan 2009 10:13:51 +0000 (11:13 +0100)]
libudev: device - remove udev_device_get_parent_with_subsystem

10 years agolibudev: device - lookup subsystem and devtype together
Marcel Holtmann [Sat, 3 Jan 2009 10:10:10 +0000 (11:10 +0100)]
libudev: device - lookup subsystem and devtype together

10 years agolibudev: device - read "uevent" only if info is not already loaded
Kay Sievers [Sat, 3 Jan 2009 03:55:15 +0000 (04:55 +0100)]
libudev: device - read "uevent" only if info is not already loaded

10 years agoman: udev - update NAME assignment
Michal Soltys [Fri, 2 Jan 2009 13:07:54 +0000 (14:07 +0100)]
man: udev - update NAME assignment

10 years agolibudev: device - add devtype support
Marcel Holtmann [Fri, 2 Jan 2009 03:14:47 +0000 (04:14 +0100)]
libudev: device - add devtype support

10 years agorules: input - make sure needed variables are set
Kay Sievers [Fri, 2 Jan 2009 02:26:44 +0000 (03:26 +0100)]
rules: input - make sure needed variables are set

10 years agolibudev: enumerate - add lookup by property
Kay Sievers [Mon, 29 Dec 2008 06:42:19 +0000 (07:42 +0100)]
libudev: enumerate - add lookup by property

10 years agobuild: default to --prefix=/usr --exec-prefix=""
Kay Sievers [Mon, 29 Dec 2008 05:20:17 +0000 (06:20 +0100)]
build: default to --prefix=/usr --exec-prefix=""

10 years agorequire non-SYSFS_DEPRECATED 2.6.20+ kernel
Kay Sievers [Mon, 29 Dec 2008 05:04:09 +0000 (06:04 +0100)]
require non-SYSFS_DEPRECATED 2.6.20+ kernel

10 years agousb_id: add "image" class
Kay Sievers [Mon, 29 Dec 2008 04:54:44 +0000 (05:54 +0100)]
usb_id: add "image" class

10 years agobuild: use autoreconf --symlink
Kay Sievers [Mon, 29 Dec 2008 04:47:53 +0000 (05:47 +0100)]
build: use autoreconf --symlink

10 years agoif needed, store database entries also for devices which do not have a device node
Kay Sievers [Sun, 28 Dec 2008 00:49:01 +0000 (01:49 +0100)]
if needed, store database entries also for devices which do not have a device node

10 years agorules: provide /dev/raw/rawctl
Kay Sievers [Fri, 26 Dec 2008 00:41:36 +0000 (01:41 +0100)]
rules: provide /dev/raw/rawctl

On Fri, Dec 26, 2008 at 01:26, Karel Zak <kzak@redhat.com> wrote:
> On Fri, Dec 26, 2008 at 12:39:16AM +0100, Kay Sievers wrote:
>> On Fri, Dec 26, 2008 at 00:26, Karel Zak <kzak@redhat.com> wrote:

>> >  The upstream raw(8) command supports /dev/rawctl and also
>> >  /dev/raw/rawctl.  I think it makes more sense to use raw/rawctl when
>> >  you have all your raw devices in raw/ subdirectory (e.g. /dev/raw/raw<N>).
>>
>> The raw tool looks for /dev/rawctl first and the fallback to
>> /dev/raw/rawctl is named DEVFS_*. Should we turn that order around and
>> remove the devfs notion from the raw tool and let udev create a
>> dev/raw/rawctl node?
>
>  Yeah. Fixed, committed and pushed.
>
>  $ strace -e open ./raw
>  open("/dev/raw/rawctl", O_RDWR)         = -1 ENOENT (No such file or directory)
>  open("/dev/rawctl", O_RDWR)             = -1 ENOENT (No such file or directory)
>
>  I have also removed the #ifdef OLD_RAW_DEVS (/dev/raw<N>) junk.

10 years agorules: isdn - remove /dev/isdn/capi20 symlink
Kay Sievers [Mon, 22 Dec 2008 16:11:01 +0000 (17:11 +0100)]
rules: isdn - remove /dev/isdn/capi20 symlink

10 years agorules: put alsa in group "audio"
Kay Sievers [Mon, 22 Dec 2008 15:19:38 +0000 (16:19 +0100)]
rules: put alsa in group "audio"

10 years agorules: remove /dev/dsp /dev/audio
Kay Sievers [Mon, 22 Dec 2008 15:16:46 +0000 (16:16 +0100)]
rules: remove /dev/dsp /dev/audio

10 years agorules: second round merging with Ubuntu rules
Kay Sievers [Mon, 22 Dec 2008 15:15:37 +0000 (16:15 +0100)]
rules: second round merging with Ubuntu rules

10 years agorule_generator: fix enumeration for write_cd_rules
Harald Hoyer [Mon, 22 Dec 2008 11:26:06 +0000 (12:26 +0100)]
rule_generator: fix enumeration for write_cd_rules

quote +, as it would be taken as a part of the regexp otherwise
https://bugzilla.redhat.com/show_bug.cgi?id=477535

10 years agorules: do not put raw1394 in "video" group
Kay Sievers [Mon, 22 Dec 2008 13:58:11 +0000 (14:58 +0100)]
rules: do not put raw1394 in "video" group

A note on /dev/raw1394's security implications:
1. You cannot access local memory through raw1394, except
for ROMs and CSRs that are exposed to other nodes any way.

2. It is extremely hard to manipulate data on attached
SBP-2 devices (FireWire storage devices).

3. You can disturb operation of the FireWire bus, e.g.
creating a DoS situation for audio/video applications, for
SBP-2 devices, or eth1394 network interfaces.

4. If another PC is attached to the FireWire bus, it may be
possible to read or overwrite the entire RAM of that remote PC.
This depends on the PC's configuration. Most FireWire controllers
support this feature (yes, it's not a bug, or at least wasn't
intended to be one...) but not all OSs enable the feature.

Actually, a cheap setup to achieve #1 by #4 is to have two
FireWire controllers in the PC and connect them.

https://bugs.launchpad.net/ubuntu/+source/kino/+bug/6290/comments/21

10 years agorules: remove legacy symlinks
Kay Sievers [Mon, 22 Dec 2008 12:34:54 +0000 (13:34 +0100)]
rules: remove legacy symlinks

10 years agorules: rtc - create rtc compat link only for cmos type rtc
Kay Sievers [Sun, 21 Dec 2008 12:48:55 +0000 (13:48 +0100)]
rules: rtc - create rtc compat link only for cmos type rtc

10 years agorules: remove /dev/raw/raxctl symlink, it's a devfs leftover
Kay Sievers [Sun, 21 Dec 2008 12:42:08 +0000 (13:42 +0100)]
rules: remove /dev/raw/raxctl symlink, it's a devfs leftover

10 years agorules: more changes toward Ubuntu rules merge
Kay Sievers [Sun, 21 Dec 2008 12:17:37 +0000 (13:17 +0100)]
rules: more changes toward Ubuntu rules merge

dv1394*: no kernel name symlink
lp*: no par* symlink
hwrng: no kernel name symlink

10 years agorules: more changes toward Ubuntu rules merge
Kay Sievers [Sun, 21 Dec 2008 12:01:40 +0000 (13:01 +0100)]
rules: more changes toward Ubuntu rules merge

specialix_rioctl: no kernel name symlink
specialix_sxctl: no kernel name symlink
bus/usb: 0644 -> 0664
ppdev: lp
dri: 0666 -> 0660
js: no kernel name symlink

10 years ago"'/sbin/modprobe abnormal' exit" - also print program options
Kay Sievers [Fri, 19 Dec 2008 23:03:53 +0000 (00:03 +0100)]
"'/sbin/modprobe abnormal' exit" - also print program options

10 years agorules: first simple step merging with Ubuntu rules
Kay Sievers [Fri, 19 Dec 2008 15:49:56 +0000 (16:49 +0100)]
rules: first simple step merging with Ubuntu rules

10 years agorules: remove ide-scsi
Kay Sievers [Fri, 19 Dec 2008 03:37:09 +0000 (04:37 +0100)]
rules: remove ide-scsi

10 years agobuild: just use autoreconf -i
Kay Sievers [Fri, 19 Dec 2008 00:30:41 +0000 (01:30 +0100)]
build: just use autoreconf -i

Thanks to Scott for mentioning!

10 years agopath_id: rework SAS persistent names
Jeremy Higdon [Thu, 18 Dec 2008 12:42:28 +0000 (13:42 +0100)]
path_id: rework SAS persistent names

10 years agobuild: add -lsepol
Kay Sievers [Tue, 16 Dec 2008 15:17:53 +0000 (16:17 +0100)]
build: add -lsepol

Harald needs it for static binaries.

10 years agolibudev: include <sys/types.h>
Kay Sievers [Tue, 16 Dec 2008 13:48:33 +0000 (14:48 +0100)]
libudev: include <sys/types.h>

10 years agovolume_id: support sub-uuid's and plug in btrfs device uuid
Kay Sievers [Tue, 9 Dec 2008 17:14:23 +0000 (18:14 +0100)]
volume_id: support sub-uuid's and plug in btrfs device uuid

10 years agorules: add "do not edit header"
Kay Sievers [Tue, 9 Dec 2008 14:35:56 +0000 (15:35 +0100)]
rules: add "do not edit header"

10 years agovolume_id: btrfs - update format
Kay Sievers [Tue, 9 Dec 2008 14:33:23 +0000 (15:33 +0100)]
volume_id: btrfs - update format

10 years agorules: move aoe rules to default rules file
Kay Sievers [Tue, 9 Dec 2008 03:18:21 +0000 (04:18 +0100)]
rules: move aoe rules to default rules file

10 years agorules: add rules for AoE devices
Ryan Thomas [Tue, 9 Dec 2008 00:10:03 +0000 (19:10 -0500)]
rules: add rules for AoE devices

In the interest of standardizing udev rules, please consider the
following patch that adds udev rules for the ATA over Ethernet character
and block devices.  The aoe module has been a long-time member of the
kernel and needs inclusion in the standard udev rules.

10 years agoudevadm: settle - allow --timeout=0 and --quiet
Kay Sievers [Mon, 8 Dec 2008 15:48:54 +0000 (16:48 +0100)]
udevadm: settle - allow --timeout=0 and --quiet

10 years agomake: do not delete autotools generated file with distclean
Kay Sievers [Sat, 6 Dec 2008 03:03:08 +0000 (04:03 +0100)]
make: do not delete autotools generated file with distclean

                                        [...] running the command
`make maintainer-clean' should not delete `configure' even if
`configure' can be remade using a rule in the Makefile.  More
generally, `make maintainer-clean' should not delete anything that
needs to exist in order to run `configure' and then begin to build
the program.  This is the only exception; `maintainer-clean' should
delete everything else that can be rebuilt.

10 years agomake: install serial rules file
Kay Sievers [Thu, 4 Dec 2008 01:04:50 +0000 (02:04 +0100)]
make: install serial rules file

10 years agorules: add persistent /dev/serial/{by-id,by-path} rules
Kay Sievers [Thu, 4 Dec 2008 00:43:33 +0000 (01:43 +0100)]
rules: add persistent /dev/serial/{by-id,by-path} rules

 $ tree /dev/serial/
 /dev/serial/
 |-- by-id
 |   |-- usb-067b_2303-if00-port0 -> ../../ttyUSB0
 |   |-- usb-FTDI_FT232R_USB_UART_A7005uBP-if00-port0 -> ../../ttyUSB3
 |   |-- usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0 -> ../../ttyUSB1
 |   `-- usb-HUAWEI_Technology_HUAWEI_Mobile-if01-port0 -> ../../ttyUSB2
 `-- by-path
     |-- pci-0000:00:1d.0-usb-0:1:1.0-port0 -> ../../ttyUSB3
     |-- pci-0000:00:1d.7-usb-0:2.2.2:1.0-port0 -> ../../ttyUSB0
     |-- pci-0000:00:1d.7-usb-0:2.3:1.0-port0 -> ../../ttyUSB1
     `-- pci-0000:00:1d.7-usb-0:2.3:1.1-port0 -> ../../ttyUSB2

 $ tree /dev/serial/
 /dev/serial/
 |-- by-id
 |   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port0 -> ../../ttyUSB0
 |   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port1 -> ../../ttyUSB1
 |   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port2 -> ../../ttyUSB2
 |   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port3 -> ../../ttyUSB3
 |   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port0 -> ../../ttyUSB8
 |   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port1 -> ../../ttyUSB9
 |   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port2 -> ../../ttyUSB10
 |   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port3 -> ../../ttyUSB11
 |   `-- usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 -> ../../ttyUSB7
 `-- by-path
     |-- pci-0000:00:1d.2-usb-0:1.3:1.0-port0 -> ../../ttyUSB7
     |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port0 -> ../../ttyUSB4
     |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port1 -> ../../ttyUSB5
     |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port2 -> ../../ttyUSB6
     |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port0 -> ../../ttyUSB0
     |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port1 -> ../../ttyUSB1
     |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port2 -> ../../ttyUSB2
     |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port3 -> ../../ttyUSB3
     |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port0 -> ../../ttyUSB8
     |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port1 -> ../../ttyUSB9
     |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port2 -> ../../ttyUSB10
     `-- pci-0000:00:1d.7-usb-0:6.3:1.0-port3 -> ../../ttyUSB11

10 years agovolume_id: HPFS code clean up
Karel Zak [Wed, 3 Dec 2008 10:49:50 +0000 (11:49 +0100)]
volume_id: HPFS code clean up

* fix typo (hs vs. hbb)

 * set id->{version,usage,type} when all tests pass

 * be paranoid and don't use hs->version when "hs" source buffer was
   possibly modified by next volume_id_get_buffer() call.

Signed-off-by: Karel Zak <kzak@redhat.com>
10 years agorules: fix isdn rules
Kay Sievers [Wed, 3 Dec 2008 00:32:00 +0000 (01:32 +0100)]
rules: fix isdn rules

On Tue, Dec 2, 2008 at 21:07, Matthias Schwarzott <zzam@gentoo.org> wrote:
> It seems that the rules related to capi devices are not correct:
>
> KERNEL=="capi",         NAME="capi20", SYMLINK+="isdn/capi20"
> KERNEL=="capi*",        NAME="capi/%n"
>
> Changing the second rule to match only on KERNEL=="capi[0-9]*" is reported to
> make it work.
> So I can only guess that the problem is the second rule overwriting the NAME
> set by the first one.

10 years agoupdate configure and NEWS
Kay Sievers [Tue, 2 Dec 2008 18:26:33 +0000 (19:26 +0100)]
update configure and NEWS

10 years agoscsi_id: do not fail if no serial is found like for optical drives
Kay Sievers [Tue, 2 Dec 2008 18:23:38 +0000 (19:23 +0100)]
scsi_id: do not fail if no serial is found like for optical drives

10 years agorules: ATA_COMPAT do not try to match on sr*, it will never have vendor ATA
Kay Sievers [Tue, 2 Dec 2008 16:33:11 +0000 (17:33 +0100)]
rules: ATA_COMPAT do not try to match on sr*, it will never have vendor ATA

10 years agorelease 135
Kay Sievers [Tue, 2 Dec 2008 01:35:48 +0000 (02:35 +0100)]
release 135

10 years agoupdate configure and NEWS
Kay Sievers [Tue, 2 Dec 2008 00:10:24 +0000 (01:10 +0100)]
update configure and NEWS

10 years agofix network interface name swapping
Kay Sievers [Tue, 2 Dec 2008 00:04:23 +0000 (01:04 +0100)]
fix network interface name swapping