vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am trying to get my Canon Optura 20 to be recognized by gphoto2 on my Slackware 10.2 box. When I plug it into a USB port, the kernel prints the following in my messages file: Feb 15 21:16:39 MyBox kernel: usb 3-2: new full speed USB device using uhci_hcd and address 4 whereas in syslog I have Feb 15 21:16:40 MyBox kernel: usb 3-2: khubd timed out on ep0in After this, if I do cat /proc/bus/usb/devices, one of the entries printed out is T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1 P: Vendor=04a9 ProdID=307f Rev= 0.01 S: Manufacturer=CANON Inc. S: Product=Canon DVC C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=96ms I guess this means that the device has been recognized all right. In addition, gphoto2 --list-ports returns Devices found: 1 Path Description -------------------------------------------------------------- usb: Universal Serial Bus However, gphoto2 --auto-detect can't recognize the camera. What I am missing? The syslog entry does not look good, but I have no clue of its meaning. I am running a 2.6.11 kernel. Suggestions, anyone? |
| |||
| to be able to use (lib)gphoto2 the following steps must be accomplished : + ensure that the hotplug is able to recognize the supported cameras. This step must be achieved with the following command : $ /usr/lib/libgphoto2/print-usb-usermap > /etc/hotplug/usb/usbcam.usermap + if necessary, create the group 'camera' with the command below. This is needed to be able to restrict the access to the cameras which will be connected to the workstation : $ groupadd -g 222 camera + add to the group 'camera' all the users who will be authorized to access to the cameras who will be used. + Copy the script usbcam.group (which is in /usr/share/doc/libgphoto2/linux-hotplug/ directory) in /etc/hotplug/usb/usbcam and make this one executable : $ cp /usr/share/doc/libgphoto2/linux-hotplug/usbcam.group /etc/hotplug/usb/usbcam $ chmod +x /etc/hotplug/usb/usbcam |
| ||||
| |