2013/7/2 Evgeniy Ginzburg <[email protected]>: > ls /dev/ before and after connecting camera let you determine which /dev/ > nodes are creared. *if* device nodes are created... > ls -l /dev/something gives you user and group this device node created > under. > id [username] gives you in which groups this user enlisted. > Add this user to group that have read/write access to node. > If unfortunately device node under root:root you'll have to mess with udev > rules. I would go with the suggestion above on udev rules, if your kernel has drivers for the device, some automagically generated rules may already exist, on Debian that would be /etc/udev/rules.d/ As a quick and dirty fix you can of course just run chmod a+rw on the device node. Also tail syslog while connecting/disconnecting the device and maybe also during the access attempt there's a wealth of good info there.
HTH, Eliyahu - אליהו > > Regards, Evgeniy. > > On Jul 2, 2013 8:09 PM, "Micha Feigin" <[email protected]> wrote: >> >> Hi All, >> >> I'm trying to connect a camera (Mesa Imaging Swissranger specifically) to >> a Debian unstable box. I'm getting an error that the user does not have >> permissions to open the USB device (needs read/write access). Couldn't find >> any relevant group to add my user to to solve the problem. Any idea as to >> how to grant access? >> >> I've manged to get some information when running as sudo although it still >> was a bit problematic, and I'd rather explore the issue as a regular user >> and not root. >> >> Thanks >> >> _______________________________________________ >> Linux-il mailing list >> [email protected] >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > _______________________________________________ > Linux-il mailing list > [email protected] > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > _______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
