Blog Realm

Log In

Main Page

Blog Page

Feed Syndication:

gphotofs regressions Page

AusImage Realm Blog

12-02-2009 - 9:45pm

Link | Comments

gphotofs regressions

I have spent many a spare moment since Jaunty trying to understand why my Kodak digital camera import became broken. I am fairly confident it has to do with the switch to gphotofs. For what ever reason, it finds two devices of the same name and attempts to mount each causing a 'lock error' to be raised for the second attempt. I have chosen to blog about this regression after having my lp bug languish during Jaunty only to get worse in Karmic.

Now on Karmic, it is crap shoot whether the 'locked device' situation allows any functional import window to show. At least in Jaunty, I was able to just dismiss the error dialog and import the images from the first. I am currently using 'sneaker-net' to enable me to pull images with the SD card in the camera onto my Mini 9.

I have tried the gphotofs terminal tools and caught the following log with and without the external SD card installed:

[...]
0.362264 gphoto2-camera(2): Setting abilities ('Kodak DX7590')...
0.362302 gphoto2-setting(2): Setting key 'model' to value 'Kodak DX7590' (gphoto2)
0.362342 gphoto2-setting(2): Saving 4 setting(s) to file "/home/ausimage/.gphoto/settings"
0.362513 gphoto2-port-info-list(2): Looking for path 'usb:' (12 entries available)...
0.362561 gphoto2-port-info-list(2): Getting info of entry 5 (12 available)...
0.362600 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
0.363814 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.363865 gphoto2-port(2): Setting settings...
0.363903 libusb(2): gp_port_usb_update(old int=0, conf=-1, alt=-1), (new int=0, conf=-1, alt=-1)
0.363940 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.363977 gphoto2-setting(2): Saving 4 setting(s) to file "/home/ausimage/.gphoto/settings"
0.364566 foreach(2): Executing action 'List Files' for folder '/'.
0.366917 gphoto2-camera(2): Listing files in '/'...
0.366991 gphoto2-camera(2): Initializing camera...
0.367040 gphoto2-port-usb(1): Looking for USB device (vendor 0x40a, product 0x57f)... found.
0.367078 gphoto2-port-usb(2): inep to look for is 81
0.367112 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 01, intep 82, class 06, subclass 01
0.367166 gphoto2-camera(2): Loading '/usr/lib/libgphoto2/2.4.6/ptp2'...
0.367486 gphoto2-port(2): Opening USB port...
0.367528 libusb(2): gp_port_usb_open()
0.367614 libusb(2): claiming interface 0
0.367687 ptp2(2): maxpacketsize 64
0.367768 gphoto2-port(2): Setting timeout to 8000 millisecond(s)...
0.367815 ptp(2): PTP: Opening session
0.367859 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.367900 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00  ................

0.369300 ptp2/ptp_usb_getresp(2): reading response
0.369343 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.369384 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.370300 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.370344 gphoto2-port(3): Empty hexdump of empty buffer
0.370383 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.371298 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.371339 gphoto2-port(3): Empty hexdump of empty buffer
0.371373 ptp2/usb_getresp(0): request code 0x1002 getting resp error 0x02ff
0.371409 ptp2/camera_init(0): ptp_opensession returns 2ff
0.371444 ptp2/device_reset_request(2): sending reset
0.371479 gphoto2-port(2): Writing message (request=0x66 value=0x0 index=0x0 size=0=0x0)...
0.371524 gphoto2-port(3): No hexdump (NULL buffer)
0.372291 ptp(2): PTP: Opening session
0.372336 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.372376 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00  ................

0.373293 ptp2/ptp_usb_getresp(2): reading response
0.373329 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.373367 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.374299 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.374343 gphoto2-port(3): Empty hexdump of empty buffer
0.374381 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.375297 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.375337 gphoto2-port(3): Empty hexdump of empty buffer
0.375372 ptp2/usb_getresp(0): request code 0x1002 getting resp error 0x02ff
0.375407 ptp2/camera_init(0): ptp_opensession returns 2ff
0.375441 ptp2/device_reset_request(2): sending reset
0.375474 gphoto2-port(2): Writing message (request=0x66 value=0x0 index=0x0 size=0=0x0)...
0.375589 gphoto2-port(3): No hexdump (NULL buffer)
0.376290 ptp(2): PTP: Opening session
0.376331 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.376370 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00  ................

0.377292 ptp2/ptp_usb_getresp(2): reading response
0.377328 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.377366 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.378299 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.378342 gphoto2-port(3): Empty hexdump of empty buffer
0.378381 gphoto2-port(2): Reading 512=0x200 bytes from port...
0.379297 gphoto2-port(2): Could only read 0 out of 512 byte(s)
0.379338 gphoto2-port(3): Empty hexdump of empty buffer
0.379372 ptp2/usb_getresp(0): request code 0x1002 getting resp error 0x02ff
0.379407 ptp2/camera_init(0): ptp_opensession returns 2ff
0.379440 ptp2/device_reset_request(2): sending reset
0.379473 gphoto2-port(2): Writing message (request=0x66 value=0x0 index=0x0 size=0=0x0)...
0.379512 gphoto2-port(3): No hexdump (NULL buffer)
0.380307 context(0): PTP I/O error

*** Error ***              
PTP I/O error
0.380406 gphoto2-port(2): Closing port...
0.380526 context(0): An error occurred in the io-library ('Unspecified error'): No error description available

*** Error ***              
An error occurred in the io-library ('Unspecified error'): No error description available
*** Error (-1: 'Unspecified error') *** 
[...]

The docs and searching has not produced much in answers. I would love to see this remedied for Lucid Lynx in April. It is things like this that will make it or break it for users of Ubuntu. Feel free to contact me if you have a solution.


Blog Ubuntu NewYork


Send your comments for this entry.

This form will publish your comments for all to view on this comments page. You may prefer to email tjaustinbardo AT gmail DOT com for more private comments. Your comments are very much appreciated.

Title:

From:

Comments:

Enter Code

Creative Commons Attribution-NonCommercial-ShareAlike License

modified: December 02, 2009, at 07:12 PM