On 12/3/06, Alberto Hernando <[EMAIL PROTECTED]> wrote:

I'll explain a bit more:
- Yes, it's an usb camera.
- The usb permissions look like this:
crw-rw---- 1 root root 442,    0 2006-12-03 13:43 /dev/usbdev1.1_ep00
crw-rw---- 1 root root 442,    0 2006-12-03 13:43 /dev/usbdev1.1_ep81
crw-rw---- 1 root root 442,    1 2006-12-03 13:43 /dev/usbdev1.2_ep00
crw-rw---- 1 root root 442,    1 2006-12-03 13:43 /dev/usbdev1.2_ep81
crw-rw---- 1 root root 442,    1 2006-12-03 13:43 /dev/usbdev1.2_ep82
crw-rw---- 1 root root 442,    1 2006-12-03 13:43 /dev/usbdev1.2_ep83
crw-rw---- 1 root root 442,    2 2006-12-03 12:57 /dev/usbdev1.3_ep00
crw-rw---- 1 root root 442,    2 2006-12-03 12:57 /dev/usbdev1.3_ep01
crw-rw---- 1 root root 442,    2 2006-12-03 12:57 /dev/usbdev1.3_ep81
crw-rw---- 1 root root 442,    2 2006-12-03 12:57 /dev/usbdev1.3_ep82
crw-rw---- 1 root root 442, 2048 2006-12-03 13:43 /dev/usbdev2.1_ep00
crw-rw---- 1 root root 442, 2048 2006-12-03 13:43 /dev/usbdev2.1_ep81
I have other usb devices, like a webcam and a pendrive. Both of them work
perfectly. The webcam is now plugged in.

I see below that you do have the /dev/bus rule. Do you have
/dev/bus/usb nodes and what are their permissions? They should be
group writable by the usb group and your user should be part of the
usb group. This rule is on the libusb page in BLFS.

$ ls -lR /dev/bus/usb/
/dev/bus/usb/:
total 0
drwxr-xr-x 2 root root  60 2006-11-14 22:15 1
drwxr-xr-x 2 root root  80 2006-11-14 22:15 2
drwxr-xr-x 2 root root  80 2006-11-14 22:15 3
drwxr-xr-x 2 root root 100 2006-11-14 22:15 4

/dev/bus/usb/1:
total 0
crw-rw---- 1 root usb 189, 0 2006-11-14 22:15 1
...

- No, gphoto can't detect it.
bash-3.1$ gphoto2 --auto-detect
Modelo                         Puerto
----------------------------------------------------------

<snip>

# USB PTP Class Camera
BUS=="usb", SYSFS{bDeviceClass}=="06", MODE="0660", SYMLINK="camera",
GROUP="camera" (this one doesn't seem to do anything)
# USB devices go in their own subdirectory

Oh yeah. Which version of libgphoto did you install? I haven't looked
in a while, but recent versions have the ability to install udev
rules. The rules I have have this rule:

# Kodak CX7525
SYSFS{idVendor}=="040a", SYSFS{idProduct}=="0586", MODE="0660", GROUP="camera"

Which would put it in the camera group. I assume you're in the camera
group. Maybe it would help if you could run strace on the gphoto
command to see what's happening. I can't really tell where your issue
is.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to