On Tuesday 08 February 2005 17:59, Marco d'Itri shaped the electrons to 
shout:
> On Feb 08, Ricardo Galli <[EMAIL PROTECTED]> wrote:
> > > BUS="usb", SYSFS{manufacturer}="Palm. Inc.", KERNEL="ttyUSB[024]",
> > > NAME="%k", SYMLINK="pilot"
> >
> > After further testing I realised is not always true, i.e. is not
> > always repeatable.
>
> I'm waiting for more information on this.

From me? Not much more, it fails almost always, few times it works fine, 
as before. Couldn't find any pattern, it seems to occurs ramdonly.

>
> > The other proble, perhaps more important, is that udev doesn't change
> > the device -as before- to the "dialout" group.
>
> This is expected. Read the changelog and udev(8).

No, because it does change the owner of the wrong device file (remember 
Palm creates two device files):


[EMAIL PROTECTED]:~$ ls -lt /dev | head -5
total 0
crw-rw-rw-  1 root dialout   5,   2 2005-02-12 00:36 ptmx
lrwxrwxrwx  1 root root           7 2005-02-12 00:36 pilot -> ttyUSB1
crw-rw----  1 root dialout 188,   1 2005-02-12 00:36 ttyUSB1
crw-rw----  1 root root    188,   0 2005-02-12 00:36 ttyUSB0

The link should point to ttyUSB0 and you see ttyUSB1 group was changed to 
dialout. ttyUSB0 should be changed instead.


[EMAIL PROTECTED]:~$ cat /etc/udev/rules.d/palm.rules

BUS="usb", SYSFS{manufacturer}="Palm. Inc.", KERNEL="ttyUSB[024]", 
NAME="%k", SYMLINK="pilot"


-- 
  ricardo galli       GPG id C8114D34
  http://mnm.uib.es/gallir/
  We all live in a #FFFF00 submarine

Reply via email to