From: SourceForge.net <no...@so...> - 2011-05-21 07:51:52
|
Bugs item #3000202, was opened at 2010-05-11 23:07 Message generated for change (Comment added) made by marcusmeissner You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=3000202&group_id=8874 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: camlib/other Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Jim Nelson (yorbajim) Assigned to: Marcus Meissner (marcusmeissner) Summary: Nexus One support Initial Comment: It appears that the Google Nexus One camera is not fully support by gPhoto2. It does report it as a media device and the entire filesystem may be traversed, but that means loading images that are not photos proper (i.e. cached images from applications, etc.) We've been unable to find evidence that the Nexus One supports PTP, which would solve a lot of this problem. Hopefully there's some way in gPhoto2 to support this device in a manner more consistent to other smart phones. ---------------------------------------------------------------------- >Comment By: Marcus Meissner (marcusmeissner) Date: 2011-05-21 07:51 Message: not much we can do, and if we learn about hidden remote control abilities we can revisit. ---------------------------------------------------------------------- Comment By: Hubert Figuiere (hfiguiere) Date: 2011-05-21 03:03 Message: The Nexus One is a USB Mass Storage. It supposedly support DCIM (it has a DCIM root folder) but still violate the DCF spec. See http://code.google.com/p/android/issues/detail?id=2960 There is nothing else to do. ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2011-05-20 20:55 Message: i dont think the Nexus or the HTC expose the camera to the USB port. the descriptor is just a USB Mass Storage descriptor and probably reflects the phones memory+card? I also suspect there is no magic files in use :/ ---------------------------------------------------------------------- Comment By: https://www.google.com/accounts () Date: 2011-05-20 19:31 Message: A HTC Legend gives the following output Modell Port ---------------------------------------------------------- Mass Storage Camera disk:/media/16WORKSPACE and lsusb (Phone section): Bus 001 Device 007: ID 0bb4:0c97 High Tech Computer Corp. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0bb4 High Tech Computer Corp. idProduct 0x0c97 bcdDevice 2.26 iManufacturer 1 HTC iProduct 2 Android Phone iSerial 3 HT03MNX00187 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 55 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 500mA 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 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 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 0x0200 1x 512 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 66 bInterfaceProtocol 1 iInterface 7 ADB Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0001 Self Powered Some music players use a hidden .file to indicate the media library root directory. Isn't there a similar thing in PTP? ---------------------------------------------------------------------- Comment By: Vtor Baptista (vitorbaptista) Date: 2010-05-18 14:53 Message: Here's Nexus One's output. It might be useful. When I connect my N1 to my PC, it (the phone) asks me if I want to mount it or not. If I don't mount, gphoto2 --auto-detect gives no output. If I do, it gives: Modelo Porta ---------------------------------------------------------- Mass Storage Camera disk:/media/3938-3366 Either way, lsusb -v gives: lsusb -v ----- Bus 002 Device 005: ID 18d1:4e12 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x18d1 idProduct 0x4e12 bcdDevice 2.26 iManufacturer 1 Google, Inc. iProduct 2 Nexus One iSerial 3 HT9CWP807247 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 55 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 500mA 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 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 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 0x0200 1x 512 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 66 bInterfaceProtocol 1 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0001 Self Powered ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2010-05-13 20:06 Message: for mass storage we defer to the regular other methods of linux usually... otherwise, gphoto tries to export all useable files on the device, not just DCIM/, some users want just images, some want all files ---------------------------------------------------------------------- Comment By: Jim Nelson (yorbajim) Date: 2010-05-13 18:18 Message: I don't have the phone in front of me anymore, but when I ran an auto-detect gphoto2 reported it as a Mass Media Device. I don't have lsusb output, unfortunately. I agree, this would be a lot easier if the Nexus One supported PTP. It does have a camera on it, though. Even if gPhoto2 simply reported its filesystem base as /DCIM that would go a long way to solving this problem. ---------------------------------------------------------------------- Comment By: Marcus Meissner (marcusmeissner) Date: 2010-05-13 08:56 Message: that pretty much depends on the phone, not gphoto gphoto2 --auto-detect ? also "lsusb -v" output would be fine. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108874&aid=3000202&group_id=8874 |