Ticket #199 (closed defect: wontfix)

Opened 9 years ago

Last modified 9 years ago

Camera not detected by non root user.

Reported by: siege2050 Owned by: clfs-commits@…
Priority: major Milestone:
Component: CBLFS Wiki Version: CBLFS
Keywords: Cc:

Description

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.

Change History

comment:1 Changed 9 years ago by jim

  • Status changed from new to closed
  • Resolution set to wontfix

Why not add this to the CBLFS wiki. Anyone can make updates to CBLFS as long as the keep the format in tact.

Note: See TracTickets for help on using tickets.