On Wed, Apr 28, 2010 at 09:00:40PM +0200, Marco Beishuizen wrote:
> On Wed, 28 Apr 2010, Roland Smith wrote:
> 
> > Are the permissions correct? Check with 'ls -l /dev/usb/ /dev/ugen*'.
> > Is your user-id in the usb group? Check by running 'id' as the normal user.
> >
> > If all that is in order, remove all lines except the three above from
> > /etc/devfs.rules, and try again.
> 
> Running id as user looks ok:
> 
> uid=1001(marco) gid=0(wheel) groups=0(wheel),5(operator),1001(usb)
> 
> But the permissions are not:
> 
> ls -l /dev/usb/ /dev/ugen*
> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen0.1 -> usb/0.1.0
> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen1.1 -> usb/1.1.0
> lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.2 -> usb/1.2.0
> lrw-rw-r--  1 root  usb  9 Apr 28 21:05 /dev/ugen1.3 -> usb/1.3.0
> lrw-rw-r--  1 root  usb  9 Apr 28 19:05 /dev/ugen2.1 -> usb/2.1.0
> 
> /dev/usb/:
> total 0
> crw-------  1 root  operator    0,  87 Apr 28 19:05 0.1.0
> crw-------  1 root  operator    0,  93 Apr 28 19:05 0.1.1
> crw-------  1 root  operator    0,  89 Apr 28 19:05 1.1.0
> crw-------  1 root  operator    0,  94 Apr 28 19:05 1.1.1
> crw-------  1 root  operator    0, 104 Apr 28 21:05 1.2.0
> crw-------  1 root  operator    0, 105 Apr 28 21:05 1.2.1
> crw-------  1 root  operator    0, 117 Apr 28 21:05 1.3.0
> crw-------  1 root  operator    0, 119 Apr 28 21:05 1.3.1
> crw-------  1 root  operator    0,  91 Apr 28 19:05 2.1.0
> crw-------  1 root  operator    0,  95 Apr 28 19:05 2.1.1

In that case I think that there is something wrong with your rules. Running
'devfs rule show' should show the current active ruleset.

Make sure that there is a newline at the end of your 'usb/*' rule! Otherwise
the shell script that parses /etc/devfs.rules will not spot the last line.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpn7ALzF82Vj.pgp
Description: PGP signature

Reply via email to