Permissions to access USB camera under debian

Permissions to access USB camera under debian

Micha Feigin michf at post.tau.ac.il
Tue Jul 2 20:41:21 IDT 2013


Doesn't seem to be a camera group (there is a camera user, which may 
affect that), no v4l and video under the dev tree.
Only thing I found that changes under dev during connection is these two 
files:

lrwxrwxrwx 1 root root 18 Jul  2 13:35 /dev/char/189:389 -> 
../bus/usb/004/006
crw-rw-r-T 1 root root 189, 389 Jul  2 13:35 /dev/bus/usb/004/006

So I don't think that it shows up as a camera but rather as a USB device 
(which makes sense as it's a depth camera that returns three images per 
frame with some extra related parameters, not a regular camera)
Looks like I need to change something in the system setup to change the 
default group or something similar

Device shows up as this:
1865748.404803] usb 4-2: new high-speed USB device number 6 using ehci-pci
[1865748.537404] usb 4-2: New USB device found, idVendor=1ad2, 
idProduct=0075
[1865748.537410] usb 4-2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[1865748.537413] usb 4-2: Product: 3D-SR4000
[1865748.537417] usb 4-2: Manufacturer: MESA

Thanks

On 07/02/2013 01:14 PM, shimi wrote:
>
> On Tue, Jul 2, 2013 at 8:09 PM, Micha Feigin <michf at post.tau.ac.il 
> <mailto:michf at post.tau.ac.il>> 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.
>
>
> Do you have a 'camera' group? Alternatively you could look for *v4l* 
> and *video* under the /dev tree...
>
> HTH,
>
> -- Shimi
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20130702/6ada4ccd/attachment.html>


More information about the Linux-il mailing list