Menu

#1566 Device 0 (VID=12d1 and PID=1082) is UNKNOWN.

pending
None
1
2016-10-05
2016-05-25
Anonymous
No

Can't connect my device in MTP. OS: ubunut. I am using Honor 5X. Updated to marshmallow in last week. Not really an issue reporter. Can provide more information.

Discussion

  • Anonymous

    Anonymous - 2016-05-25

    RUN:$ sudo mtpfs -o allow_other /media/mtp/
    Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
    Device 0 (VID=12d1 and PID=1082) is UNKNOWN.
    Please report this VID/PID and the device model to the libmtp development team
    Found 1 device(s):
    12d1:1082 @ bus 1, dev 111
    Attempting to connect device
    Android device detected, assigning default bug flags
    ^Cazim@azim-qburst-desktop:~$ sudo mtpfs -o allow_other /media/mtp/
    Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
    Device 0 (VID=12d1 and PID=1082) is UNKNOWN.
    Please report this VID/PID and the device model to the libmtp development team
    Found 1 device(s):
    12d1:1082 @ bus 1, dev 111
    Attempting to connect device
    Android device detected, assigning default bug flags
    Error 7: Found a bad handle, trying to ignore it.
    Error 2: PTP Layer error 02ff: get_handles_recursively(): could not get object handles.
    Error 2: Error 02ff: PTP: I/O error
    Error 7: Found a bad handle, trying to ignore it.

    ...
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 7: Found a bad handle, trying to ignore it.
    Error 2: PTP Layer error 02ff: get_handles_recursively(): could not get object handles.
    Error 2: Error 02ff: PTP: I/O error
    Listing File Information on Device with name: (NULL)
    LIBMTP_Get_Storage() failed:-1
    Error 2: PTP Layer error 02ff: Error getting friendlyname.
    Error 2: Error 02ff: PTP: I/O error

     
  • Marcus Meissner

    Marcus Meissner - 2016-05-27

    the id is in the current release. (a huaweii ascend p8)

    it should have howveer worked as root,

     
  • Marcus Meissner

    Marcus Meissner - 2016-06-05
    • status: open --> pending
    • assigned_to: Marcus Meissner
     
  • Anonymous

    Anonymous - 2016-06-20

    mtp-detect response:

    $mtp-detect
    Unable to read MTPZ public exponent from ~/.mtpz-data, MTPZ disabledlibmtp version: 1.1.6
    
    Listing raw device(s)
       No raw devices found.
    

    lsusb -v response

    There are more. But thinking Bus 001 Device 011: is what you need.

    Bus 001 Device 011: ID 12d1:1082 Huawei Technologies Co., Ltd. 
    Couldn't open device, some information will be missing
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
      bDeviceClass            0 (Defined at Interface level)
      bDeviceSubClass         0 
      bDeviceProtocol         0 
      bMaxPacketSize0        64
      idVendor           0x12d1 Huawei Technologies Co., Ltd.
      idProduct          0x1082 
      bcdDevice           ff.ff
      iManufacturer           1 
      iProduct                2 
      iSerial                 3 
      bNumConfigurations      1
      Configuration Descriptor:
        bLength                 9
        bDescriptorType         2
        wTotalLength           62
        bNumInterfaces          2
        bConfigurationValue     1
        iConfiguration          0 
        bmAttributes         0xc0
          Self Powered
        MaxPower              500mA
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        0
          bAlternateSetting       0
          bNumEndpoints           3
          bInterfaceClass       255 Vendor Specific Class
          bInterfaceSubClass    255 Vendor Specific Subclass
          bInterfaceProtocol      0 
          iInterface              4 
          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     0x01  EP 1 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     0x82  EP 2 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x001c  1x 28 bytes
            bInterval               6
        Interface Descriptor:
          bLength                 9
          bDescriptorType         4
          bInterfaceNumber        1
          bAlternateSetting       0
          bNumEndpoints           2
          bInterfaceClass         8 Mass Storage
          bInterfaceSubClass      6 SCSI
          bInterfaceProtocol     80 Bulk-Only
          iInterface              5 
          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
    
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Device Descriptor:
      b...
      ...
      ...
       Port 4: 0000.0100 power
       Port 5: 0000.0100 power
       Port 6: 0000.0100 power
    Device Qualifier (for other device speed):
      bLength                10
      bDescriptorType         6
      bcdUSB               2.00
      bDeviceClass            9 Hub
      bDeviceSubClass         0 Unused
      bDeviceProtocol         0 Full speed (or root) hub
      bMaxPacketSize0        64
      bNumConfigurations      1
    Device Status:     0x0001
      Self Powered
    
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Couldn't open device, some information will be missing
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
     ..
     ...
     ...0
          bAlternateSetting       0
          bNumEndpoints           1
          bInterfaceClass         9 Hub
          bInterfaceSubClass      0 Unused
          bInterfaceProtocol      0 Full speed (or root) hub
          iInterface              0 
          Endpoint Descriptor:
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0004  1x 4 bytes
            bInterval              12
    
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Couldn't open device, some information will be missing
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               3.00
      bDeviceClass            9 Hub
      bDeviceSubClass         0 Unused
      ...
      ...
      ...
      ...
      ...
      ...
            bLength                 7
            bDescriptorType         5
            bEndpointAddress     0x81  EP 1 IN
            bmAttributes            3
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0005  1x 5 bytes
            bInterval              10
    
    Bus 003 Device 002: ID 045e:07b9 Microsoft Corp. 
    Couldn't open device, some information will be missing
    Device Descriptor:
      bLength                18
      bDescriptorType         1
      bcdUSB               2.00
    ...
    ...
    ...
    
              Transfer Type            Interrupt
              Synch Type               None
              Usage Type               Data
            wMaxPacketSize     0x0008  1x 8 bytes
            bInterval              24
    
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Couldn't open device, some information will be missing
    Device Descriptor:
      bLength                18
      bDescriptorType         1
     ...
     ...
     ...
            wMaxPacketSize     0x0004  1x 4 bytes
            bInterval              12
    

    Tried add entry in https://sourceforge.net/p/libmtp/code/ci/HEAD/tree/src/music-players.h#l2713. But didn't know how. The description is "ascend p8". It should be "honor 5X".

     
  • Ivannnn

    Ivannnn - 2016-10-05

    Nubia ZTE z7 Max
    $ jmtpfs /media/exfat
    Device 0 (VID=19d2 and PID=ffce) is UNKNOWN.
    Please report this VID/PID and the device model to the libmtp development team
    Device 1 (VID=04e8 and PID=685e) is a Samsung Galaxy Y.

     

Anonymous
Anonymous

Add attachments
Cancel