udev problems

Gary Peck gbpeck at sbcglobal.net
Mon Sep 27 00:58:23 UTC 2004


On Sat, Sep 25, 2004 at 05:06:51PM +0200, Thomas Zehetbauer wrote:
> On Sam, 2004-09-25 at 16:27 +0200, Thomas Zehetbauer wrote:
> > Must have been a problem with one of my USB ports, using another port it
> > now created the device node, but as expected not regarding console.perms
> 
> Even worse it resets the ownership of /dev/ttyUSB* each time I press the
> hotsync button.

Yeah, that's because the device node gets recreated each time you
hotsync. Moreover, console.perms refers to /dev/pilot, which used to be
a symlink to /dev/ttyUSB1. Under udev, however, that symlink no longer
exists and so the permissions in console.perms never get applied.

The solution is to create a /etc/udev/rules.d/10-local.rules file with
the following in it:

# palm pilot
KERNEL="ttyUSB1",       SYMLINK="pilot"

Maybe it would make sense to have this in the default udev config?
Otherwise, people that had the /dev/pilot link before udev will
experience breakage.

Gary





More information about the test mailing list