[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Access to USB camera requires root access



Hello. I am a newbie when it comes to using USB devices.

Nevertheless, I opted for a Kodak easyshare C310. The camera is
supported well enough by linux, using gphoto2. It seems to be a PTP
device, not a mass storage device.

Plugging in the cable, I get message that the device is detected, but
nothing is displayed relative to storage (no /dev/sda1, etc.) so I
guess I can infer PTP from that.

/proc/bus/usb has entries in there, and it seems that /proc/bus/usb is
mounted as a usbdevfs (I think that's right). gtkam / gphoto2 can
access the device, but only if I use the tools as root. Otherwise, I
get permission denied errors.

I understand permissions generally, but how does one exactly change the
permissions on files within /proc? That seems to make no sense. A
'directory' seems to be there, but only when gphoto2 or gtkam is in
operation, and it's something like store_20000 according to gtkam

usbfs is indeed mounted. Do I need something in /etc/fstab, then?



-- 
------------------------------------------------------------------------
David E. Fox                              Thanks for letting me
dfox@tsoft.com                            change magnetic patterns
dfox@m206-157.dsl.tsoft.com               on your hard disk.
-----------------------------------------------------------------------



Reply to: