Menu

#1743 Nikon Camera no longer gets detected

1.1.13
closed
None
1
2019-04-01
2017-12-04
No

I've previously connected my Nikon camera through MTP (PTP to be more precise) earlier this year, and it worked fine, I could access it through the file manager. Now when I try to detect it with mtp-detect, I get "No raw devices found."
lsusb -v gives me this:

Bus 003 Device 006: ID 04b0:0361 Nikon Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x04b0 Nikon Corp.
  idProduct          0x0361 
  bcdDevice            1.00
  iManufacturer           1 NIKON
  iProduct                2 NIKON DSC COOLPIX L340-PTP
  iSerial                 3 0000000000000000VNA780EA40148939
  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     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               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 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:     0x0000
  (Bus Powered)

Discussion

  • Anonymous

    Anonymous - 2019-04-01

    I don't understand why libmtp does not handle all devices whose interface protocol of a current USB interface configuration is declared as PTP. It would make life easier than waiting on adding all existing products into the embedded white list.

     
  • Marcus Meissner

    Marcus Meissner - 2019-04-01
    • status: open --> closed
    • assigned_to: Marcus Meissner
     
  • Marcus Meissner

    Marcus Meissner - 2019-04-01

    MTP devices do not have a device class, so all MTP devices need to be manually added.

    PTP devices have, and the device class is handled by libgphoto2 just fine.

    I probably can add PTP device class handling to libmtp, or see where the bug is actually.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB