-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

cristi wrote:
>> My user is plugdev group, tried also the /etc/fstab part but still no
>> go(when that happenedi got the hole /proc/bus/usb/ dir on my desktop)
>> but I had no usbfs in my /etc/fstab & all usebdevices worked fine till
>> now is that line mandatory somehow?

When you plug in your camera into your USB, what does `lsusb` show? Here:

beast ~ # lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 010: ID 04a9:3055 Canon, Inc. PowerShot G2
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 046d:c00b Logitech, Inc. MouseMan Wheel
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000



Then, looking in /proc/bus/usb/[Bus-id_of_your_camera]

beast ~ # ll /proc/bus/usb/003/
total 0
- -rw-rw---- 1 root usb     43 Jun 23 08:39 001
- -rw-rw---- 1 root plugdev 57 Jun 23 18:32 010


You see, the new device created here is the root:pludged one. What does
yours show? The thing you need to keep in mind here is that you have to
have rw permissions to that new device file, else you get that error. If
yours is roor:root or something, do a chown of it and then try as
user... the chances are it'll work (until you next plug your camera is
of course).

Doing a grep for plugdev in /etc returns /etc/hotplug/usb/usbcam ...
seems that file is responsible for the permissions, but what happens
then is a mystery to me ;-)

As for that line being mandatory, no I don't believe so, but about 1
year ago I had the same issues, got talking with some usb-gurus and they
said to add that. At that time it did the trick, and since then I've
kept it ;-)

Greetings,
Ralph



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEnBnLCt0ZF9kLPvYRAlxvAJ4uPDxfpIgH8XNx7zItpTYA1mBGdACfe7WY
h35yYDMAsDN8pn8cgntDU1w=
=2Wk9
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list

Reply via email to