From: Petar B. <pe...@be...> - 2008-08-31 17:59:24
|
On Sunday 31 August 2008, Marcus Meissner wrote: > On Sun, Aug 31, 2008 at 06:38:24PM +0200, Petar Benke wrote: > > On Sunday 31 August 2008, Marcus Meissner wrote: > > > On Sun, Aug 31, 2008 at 02:36:53PM +0200, Petar Benke wrote: > > > > Hi all. Sorry for bothering you but I have problem with gphoto > > > > recognizing my camera Canon PowerShot A550. If I issue command > > > > > > > > gphoto2 --auto-detect > > > > > > > > as a normal user, it does not find anything. But, if I issue same > > > > command as a root, it correctly recognize camera. Also, if I run > > > > digiKam as a root everything runs smoothly. I found document at > > > > > > > > http://www.gphoto.org/doc/manual/permissions-usb.html#usb-on-linux-ud > > > >ev > > > > > > > > but I have problem understanding it, especially part with "foobar" so > > > > appreciate if someone can help me setting permissions and runing > > > > digiKam as non-root. I am using Vector Linux 5.8, derivate of > > > > Slackware. gphoto2 is compiled from gphoto-suite-2.4.2.tar.bz2 and > > > > here is the part of the debugging log (let me know if you need more): > > > > > > Is "lsusb" showing the device when plugged in? > > > > Yes (listed as root): > > > > lsusb > > Bus 2 Device 1: ID 0000:0000 > > Bus 2 Device 2: ID 062a:0201 Creative Labs > > Bus 1 Device 11: ID 04a9:3150 Canon, Inc. > > Bus 1 Device 1: ID 0000:0000 > > Bus 1 Device 3: ID 05e3:0608 Genesys Logic, Inc. > > Bus 3 Device 1: ID 0000:0000 > > > > > Is there a /proc/bus/usb/XXX/YYY or /dev/bus/usb/XXX/YYY entry? > > > > ls -l /proc/bus/usb/001 > > total 0 > > -rw-rw-rw- 1 root wheel 43 2008-08-28 23:59 001 > > -rw-rw-rw- 1 root wheel 43 2008-08-28 23:59 003 > > -rw-rw-rw- 1 root wheel 57 2008-08-31 18:36 011 > > > > ls -l /dev/bus/usb/1 > > total 0 > > lrwxrwxrwx 1 root root 18 2008-08-29 00:00 1 -> ../../../usbdev1.1 > > lrwxrwxrwx 1 root root 19 2008-08-31 18:36 11 -> ../../../usbdev1.11 > > lrwxrwxrwx 1 root root 18 2008-08-29 00:00 3 -> ../../../usbdev1.3 > > > > ls -l /dev/usbdev1.11 > > crw-rw---- 1 root root 189, 10 2008-08-31 18:36 /dev/usbdev1.11 > > Looks all good so far, also the permissions. > > Can you try with: > > USB_DEBUG=255 gphoto2 -L > > Ciao, Marcus As normal user: USB_DEBUG=255 gphoto2 -L usb_set_debug: Setting debugging level to 255 (on) usb_os_init: Found USB VFS at /dev/bus/usb usb_os_find_busses: Found 2 usb_os_find_busses: Found 1 usb_os_find_busses: Found 3 usb_os_find_devices: Couldn't open /dev/bus/usb/2/1 usb_os_find_devices: Couldn't open /dev/bus/usb/2/2 usb_os_find_devices: Couldn't open /dev/bus/usb/1/12 usb_os_find_devices: Couldn't open /dev/bus/usb/1/1 usb_os_find_devices: Couldn't open /dev/bus/usb/1/3 usb_os_find_devices: Couldn't open /dev/bus/usb/3/1 usb_set_debug: Setting debugging level to 255 (on) usb_os_init: Found USB VFS at /dev/bus/usb usb_os_find_busses: Found 2 usb_os_find_busses: Found 1 usb_os_find_busses: Found 3 usb_os_find_devices: Couldn't open /dev/bus/usb/2/1 usb_os_find_devices: Couldn't open /dev/bus/usb/2/2 usb_os_find_devices: Couldn't open /dev/bus/usb/1/12 usb_os_find_devices: Couldn't open /dev/bus/usb/1/1 usb_os_find_devices: Couldn't open /dev/bus/usb/1/3 usb_os_find_devices: Couldn't open /dev/bus/usb/3/1 usb_set_debug: Setting debugging level to 255 (on) usb_os_init: Found USB VFS at /dev/bus/usb usb_os_find_busses: Found 2 usb_os_find_busses: Found 1 usb_os_find_busses: Found 3 usb_os_find_devices: Couldn't open /dev/bus/usb/2/1 usb_os_find_devices: Couldn't open /dev/bus/usb/2/2 usb_os_find_devices: Couldn't open /dev/bus/usb/1/12 usb_os_find_devices: Couldn't open /dev/bus/usb/1/1 usb_os_find_devices: Couldn't open /dev/bus/usb/1/3 usb_os_find_devices: Couldn't open /dev/bus/usb/3/1 usb_set_debug: Setting debugging level to 255 (on) usb_os_init: Found USB VFS at /dev/bus/usb usb_os_find_busses: Found 2 usb_os_find_busses: Found 1 usb_os_find_busses: Found 3 usb_os_find_devices: Couldn't open /dev/bus/usb/2/1 usb_os_find_devices: Couldn't open /dev/bus/usb/2/2 usb_os_find_devices: Couldn't open /dev/bus/usb/1/12 usb_os_find_devices: Couldn't open /dev/bus/usb/1/1 usb_os_find_devices: Couldn't open /dev/bus/usb/1/3 usb_os_find_devices: Couldn't open /dev/bus/usb/3/1 *** Error *** Could not detect any camera *** Error (-105: 'Unknown model') *** For debugging messages, please use the --debug option. Debugging messages may help finding a solution to your problem. If you intend to send any error or debug messages to the gphoto developer mailing list <gph...@li...>, please run gphoto2 as follows: env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -L Please make sure there is sufficient quoting around the arguments. As root: USB_DEBUG=255 gphoto2 -L usb_set_debug: Setting debugging level to 255 (on) usb_os_init: Found USB VFS at /dev/bus/usb usb_os_find_busses: Found 2 usb_os_find_busses: Found 1 usb_os_find_busses: Found 3 usb_os_find_devices: Found 1 on 2 usb_os_find_devices: Found 2 on 2 skipped 1 class/vendor specific interface descriptors skipped 1 class/vendor specific interface descriptors error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 12 on 1 usb_os_find_devices: Found 1 on 1 usb_os_find_devices: Found 3 on 1 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 1 on 3 usb_set_debug: Setting debugging level to 255 (on) usb_os_init: Found USB VFS at /dev/bus/usb usb_os_find_busses: Found 2 usb_os_find_busses: Found 1 usb_os_find_busses: Found 3 usb_os_find_devices: Found 1 on 2 usb_os_find_devices: Found 2 on 2 skipped 1 class/vendor specific interface descriptors skipped 1 class/vendor specific interface descriptors error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 12 on 1 usb_os_find_devices: Found 1 on 1 usb_os_find_devices: Found 3 on 1 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 1 on 3 usb_set_debug: Setting debugging level to 255 (on) usb_os_init: Found USB VFS at /dev/bus/usb usb_os_find_busses: Found 2 usb_os_find_busses: Found 1 usb_os_find_busses: Found 3 usb_os_find_devices: Found 1 on 2 usb_os_find_devices: Found 2 on 2 skipped 1 class/vendor specific interface descriptors skipped 1 class/vendor specific interface descriptors error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 12 on 1 usb_os_find_devices: Found 1 on 1 usb_os_find_devices: Found 3 on 1 error obtaining child information: Inappropriate ioctl for device usb_os_find_devices: Found 1 on 3 USB error: could not get bound driver: No data available There is no file in folder '/'. There is no file in folder '/store_00010001'. There is no file in folder '/store_00010001/DCIM'. There are 966 files in folder '/store_00010001/DCIM/100CANON'. #1 IMG_0002.JPG 645 KB 1600x1200 image/jpeg #2 IMG_0003.JPG 272 KB 1600x1200 image/jpeg #3 IMG_0004.JPG 648 KB 1600x1200 image/jpeg . . . There is no file in folder '/store_00010001/MISC'. -- Petar from benke.co.uk ICQ# 33725295 |