[Clfs-commits] [CLFS Trac] #199: Camera not detected by non root user.

CLFS Trac trac at cross-lfs.org
Fri Jan 9 03:39:43 PST 2009


#199: Camera not detected by non root user.
------------------------+---------------------------------------------------
 Reporter:  siege2050   |       Owner:  clfs-commits at lists.cross-lfs.org
     Type:  defect      |      Status:  new                             
 Priority:  major       |   Milestone:                                  
Component:  CBLFS Wiki  |     Version:  CBLFS                           
 Keywords:              |  
------------------------+---------------------------------------------------
 Wasn't sure where to submit this but after building a CBLFS system I
 discovered that my usb camera would not open in any program including
 digikam under users other than root. I am not sure that this is the proper
 fix for such a problem but here is what I did. After struggling with the
 problem for some time I looked at the 50-udev-default.rules file and
 noticed that there was no group listed for the libusb device nodes and the
 permissions were 0644. When the camera was detected it showed itself under
 /dev/usb/002/random number here. I right clicked and the permissions would
 not allow the group to read or write so I edited the file 50-udev-
 default.rules from this

 SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device",
 NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"



 to this


 SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device",
 NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", GROUP="usb", MODE="0664"

 Now I was able to open as non root user. Like I said I wasn't sure where
 to submit this but I thought it would save someone a headache.

-- 
Ticket URL: <http://trac.cross-lfs.org/ticket/199>
CLFS Trac <http://trac.cross-lfs.org>
The Cross Linux From Scratch Project.


More information about the Clfs-commits mailing list