From: <ra4...@la...> - 2011-08-26 13:35:21
|
On Fri, 26 Aug 2011 14:55:07 +0200 Marcus Meissner <mei...@su...> wrote: > On Fri, Aug 26, 2011 at 08:52:11AM -0400, ra4...@la... wrote: > > On Thu, 25 Aug 2011 20:22:00 -0400 > > ra4...@la... wrote: > > > > > On Thu, 25 Aug 2011 22:35:17 +0200 > > > Marcus Meissner <ma...@je...> wrote: > > > > > > > On Thu, Aug 25, 2011 at 12:25:18PM -0400, Celejar wrote: > > > > > Hi, > > > > > > > > > > I had rather a headache getting gphoto2 to work with my Kodak Easyshare > > > > > c1530 - it stubbornly refused to see the camera ("Error (-105: 'Unknown > > > > > model'"). It turns out that the solution was really quite simple (and > > > > > the camera's fault, not gphoto's): the camera needs to be switched from > > > > > using some proprietary Kodak protocol to standard PTP over USB. As > > > > > fand0r explains: > > > > > > > > > > > On Camera enter setup and in Software section on the bottom choose > > > > > > Other Software instead of Kodak Downloader. > > > > > > > > > > http://ubuntuforums.org/showpost.php?s=a96c3f4c70f63e33473f0a052555d5e1&p=11062338&postcount=5 > > > > > > > > > > So: > > > > > > > > > > 1) The c1530 can be added to the list of supported cameras > > > > > (http://gphoto.org/proj/libgphoto2/support.php) > > > > > > > > > > 2) The notes in the FAQ > > > > > (http://gphoto.sourceforge.net/doc/manual/FAQ.html#FAQ-easyshare-dock) > > > > > and manual (http://www.gphoto.org/doc/manual/using-gphoto2.html) about > > > > > the Easyshare should have this tip added. > > > > > > > > > > Thanks for your work on this software! > > > > > > > > Do you have the USB ids for adding it? > > > > > > 040a:0617 Kodak Co. > > > > Is the setting really different between a Kodak proprietary protocol and PTP? argh :( > > > > > > Apparently so :/ > > > > The situation is even weirder than we thought - the above USB id is > > reported only *when the camera is operating in PTP standard mode*; when > > set to Kodak proprietary, the USB id is reported as 'ID 040a:0600 Kodak > > Co.' [When I did 'lsusb' in response to your request, I thought > > something looked wrong - I thought I remembered a different one. I > > subsequently checked, and sure enough, it depends on the camera's mode.] > > This is good, as it clearly differs the methods. > > What is the lsusb -v snippet of jsut the camera when in this mode? In standard mode: Bus 005 Device 007: ID 040a:0617 Kodak Co. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x040a Kodak Co. idProduct 0x0617 bcdDevice 1.00 iManufacturer 1 Eastman Kodak Company iProduct 2 KODAK EASYSHARE Camera, C1530 iSerial 3 KCGLW12009628 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 6 Imaging bInterfaceSubClass 1 Still Image Capture bInterfaceProtocol 1 Picture Transfer Protocol (PIMA 15470) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 16 Device Status: 0x0000 In proprietary mode: Bus 005 Device 008: ID 040a:0600 Kodak Co. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x040a Kodak Co. idProduct 0x0600 bcdDevice 1.00 iManufacturer 1 Eastman Kodak Company iProduct 2 KODAK EASYSHARE Camera, C1530 iSerial 3 KCGLW12009628 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Device Status: 0x0000 (Bus Powered) Note that when attached in this mode, the kernel finds the 'scsi CD drive' /dev/sr1, but that does not contain the photos - just some Kodak software. From dmesg: Aug 26 09:30:16 localhost kernel: [18902.649048] usb 5-1: new full speed USB device number 8 using uhci_hcd Aug 26 09:30:16 localhost mtp-probe: checking bus 5, device 8: "/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-1" Aug 26 09:30:17 localhost kernel: [18903.088322] scsi5 : usb-storage 5-1:1.0 Aug 26 09:30:17 localhost mtp-probe: bus: 5, device: 8 was not an MTP device Aug 26 09:30:18 localhost kernel: [18904.095123] scsi 5:0:0:0: CD-ROM Kodak C1530 STARTUP 0617 PQ: 0 ANSI: 0 Aug 26 09:30:18 localhost kernel: [18904.111107] sr1: scsi3-mmc drive: 1x/52x cd/rw xa/form2 cdda tray Aug 26 09:30:18 localhost kernel: [18904.111256] sr 5:0:0:0: Attached scsi CD-ROM sr1 Aug 26 09:30:18 localhost kernel: [18904.111340] sr 5:0:0:0: Attached scsi generic sg2 type 5 Aug 26 09:32:33 localhost kernel: [19039.524243] ISO 9660 Extensions: Microsoft Joliet Level 1 Aug 26 09:32:33 localhost kernel: [19039.532238] ISOFS: changing to secondary root : |