From: Johannes B. <dfn...@gm...> - 2009-03-20 22:05:48
|
Hello list, I have a digital camera which is auto-detected as Olympus C-2040Z, but which actually is an Olympus C-300ZOOM. The FAQ stated that digital cameras which are auto-detected as a C-2040Z might be remote controlled over USB if the kernel doesn't claim the USB device. Therefore I compiled usb-storage as a module and removed it, so when attaching the camera it couldn't claim the device. Then, trying to gphoto2 --caputure-image revealed: [...] 1.562634 gphoto2-camera(2): Initializing camera... 1.562642 gphoto2-port-usb(1): Looking for USB device (vendor 0x7b4, product 0x105)... found. 1.562650 gphoto2-port-usb(1): USB device (vendor 0x7b4, product 0x105) is a mass storage device, and might not function with gphoto2. Reference: http://www.linux-usb.org/USB-guide/x498.html 1.562656 gphoto2-port-usb(2): inep to look for is 83 1.562660 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 83, outep 04, intep ffffffff, class 08, subclass 06 1.562666 gphoto2-camera(2): Loading '/usr/lib64/libgphoto2/2.4.3/sierra'... 1.562791 gphoto2-port(2): Opening USB port... 1.562797 libusb(2): gp_port_usb_open() 1.562816 libusb(2): claiming interface 0 1.562849 gphoto2-port(2): Setting settings... 1.562854 libusb(2): gp_port_usb_update(old int=0, conf=1, alt=0), (new int=0, conf=1, alt=0) 1.562861 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 1.562869 sierra/sierra/library.c(2): Sending initialization sequence to the camera 1.562877 sierra/sierra/sierra.c(2): Establishing connection 1.562882 gphoto2-port(2): Setting timeout to 5000 millisecond(s)... 1.562888 sierra/sierra/library.c(2): sierra_get_int_register: register 0x01... 1.562897 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_write_packet 1.562902 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_RDY 1.562913 gphoto2-port(2): Writing 31=0x1f byte(s) to port... 1.597476 gphoto2-port(3): Hexdump of 31 = 0x1f bytes follows: 0000 55 53 42 43 52 3d 00 00-10 00 00 00 00 00 0c c0 USBCR=.......... 0010 00 00 00 00 00 00 00 00-10 00 00 00 00 00 00 ............... 1.597490 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_RDY *** FAILED 1.597499 sierra(2): Operation failed (-35)! 1.597506 sierra(2): Operation failed (-35)! 1.597513 gphoto2-port(2): Setting timeout to 50 millisecond(s)... 1.597519 sierra/sierra/library.c(2): sierra_set_string_register: reg 84, value '\' 1.597530 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_write_packet 1.597535 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_RDY 1.597542 gphoto2-port(2): Writing 31=0x1f byte(s) to port... 1.597554 gphoto2-port(3): Hexdump of 31 = 0x1f bytes follows: 0000 55 53 42 43 52 3d 00 00-10 00 00 00 00 00 0c c0 USBCR=.......... 0010 00 00 00 00 00 00 00 00-10 00 00 00 00 00 00 ............... 1.597563 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_RDY *** FAILED 1.597572 sierra(2): Operation failed (-35)! 1.597584 sierra(2): Operation failed (-35)! 1.597594 sierra(2): Operation failed (-35)! 1.597603 sierra/sierra/sierra.c(2): *** folder support: no 1.597609 gphoto2-port(2): Setting timeout to 2000 millisecond(s)... 1.597617 sierra/sierra/sierra.c(2): Closing connection 1.597628 sierra/sierra/sierra.c(2): ****************** sierra initialization OK 1.597639 sierra/sierra/sierra.c(2): Establishing connection 1.597644 gphoto2-port(2): Setting timeout to 5000 millisecond(s)... 1.597651 sierra/sierra/library.c(2): * sierra_capture 1.597661 sierra/sierra/library.c(2): sierra_get_int_register: register 0x33... 1.597667 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_write_packet 1.597672 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_RDY 1.597678 gphoto2-port(2): Writing 31=0x1f byte(s) to port... 1.597691 gphoto2-port(3): Hexdump of 31 = 0x1f bytes follows: 0000 55 53 42 43 52 3d 00 00-10 00 00 00 00 00 0c c0 USBCR=.......... 0010 00 00 00 00 00 00 00 00-10 00 00 00 00 00 00 ............... 1.597700 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_RDY *** FAILED 1.597707 sierra(2): Operation failed (-35)! 1.597712 sierra(2): Operation failed (-35)! 1.597719 gphoto2-port(2): Getting timeout... 1.597725 gphoto2-port(2): Current timeout: 5000 milliseconds 1.597730 gphoto2-port(2): Setting timeout to 20000 millisecond(s)... 1.597738 sierra/sierra/library.c(2): sierra_sub_action: action 2, sub action 0 1.597751 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_write_packet 1.597763 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_RDY 1.597774 gphoto2-port(2): Writing 31=0x1f byte(s) to port... 1.597780 gphoto2-port(3): Hexdump of 31 = 0x1f bytes follows: 0000 55 53 42 43 52 3d 00 00-10 00 00 00 00 00 0c c0 USBCR=.......... 0010 00 00 00 00 00 00 00 00-10 00 00 00 00 00 00 ............... 1.597792 sierra/sierra/sierra-usbwrap.c(2): usb_wrap_RDY *** FAILED 1.597797 sierra(2): Operation failed (-35)! 1.597805 sierra(2): Operation failed (-35)! 1.597811 sierra(2): Operation failed (-35)! 1.597820 sierra(2): Operation failed (-35)! 1.597830 sierra/sierra/sierra.c(2): Operation failed (-35)! 1.597839 sierra/sierra/sierra.c(2): Closing connection 1.597850 gphoto2-camera(2): Operation failed! ERROR: Could not capture. *** Error (-35: 'Error writing to the port') *** [...] Is there any possibility the camera speaks sierra or is it just not possible? I once found a compatibility list which listed that camera, but am unable to find it again (definitely should make more bookmarks). Kind regards, Johannes |