El Sábado, 2 de Diciembre de 2006 18:27, Dan Nicholson escribió: > Do you have permissions as an ordinary user? If it's a usb camera, it > should be following the udev rule we install with libusb: > SUBSYSTEM=="usb_device", GROUP="usb". Is that not working? Are the > permissions not coming out correctly in /dev/bus/usb? > > I don't think pam has anything directly to do with gphoto. When you > say gphoto can't detect your camera, what do you mean? The > autodetection in HAL isn't working? Running gphoto from the command > line doesn't work?
Hi. 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. - Yes, hal detects the camera. And it knows it's a camera, not an unknown usb device. In kde, the hal window pops up with any user. Even for users that aren't in the usb group. - No, gphoto can't detect it. bash-3.1$ gphoto2 --auto-detect Modelo Puerto ---------------------------------------------------------- Answering to another posts: - I can't mount the camera, because it's ptp-only. It doesn't work as a usb mass-storage device. And it doesn't create /dev/sda*, only usb devices. The camera is kodak cx75725. I don't see anything in the logs, about failing to access a device, wrong permissions, or whatever. I have these udev rules: # 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 SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; B=$${X%%%%.* } D=$${X#*.}; echo bus/usb/$$B/$$D'", NAME="%c" KERNEL=="hiddev*", NAME="usb/%k" KERNEL=="auer*", NAME="usb/%k" KERNEL=="legousbtower*", NAME="usb/%k" KERNEL=="dabusb*", NAME="usb/%k" BUS=="usb", KERNEL=="lp[0-9]*", GROUP="lp", NAME="usb/%k" Any help? I'm a bit lost. Thanks, Alberto -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page