Comment 2 for bug 1044747

Revision history for this message
Typhoe (spamistrash) wrote :

In syslog, these lines are repeted again and again:

Sep 1 18:07:31 g75vw kernel: [ 1075.064067] usb 3-2.1.2: new high-speed USB device number 108 using xhci_hcd
Sep 1 18:07:31 g75vw kernel: [ 1075.080955] usb 3-2.1.2: New USB device found, idVendor=04e8, idProduct=6860
Sep 1 18:07:31 g75vw kernel: [ 1075.080962] usb 3-2.1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Sep 1 18:07:31 g75vw kernel: [ 1075.080966] usb 3-2.1.2: Product: GT-I9300
Sep 1 18:07:31 g75vw kernel: [ 1075.080969] usb 3-2.1.2: Manufacturer: samsung
Sep 1 18:07:31 g75vw kernel: [ 1075.080971] usb 3-2.1.2: SerialNumber: 4df1b2e6569d5f8d
Sep 1 18:07:31 g75vw kernel: [ 1075.081206] usb 3-2.1.2: ep 0x82 - rounding interval to 32768 microframes, ep desc says 0 microframes
Sep 1 18:07:31 g75vw kernel: [ 1075.081214] usb 3-2.1.2: ep 0x4 - rounding interval to 32768 microframes, ep desc says 0 microframes
Sep 1 18:07:31 g75vw kernel: [ 1075.081222] usb 3-2.1.2: ep 0x85 - rounding interval to 32768 microframes, ep desc says 0 microframes
Sep 1 18:07:31 g75vw kernel: [ 1075.081228] usb 3-2.1.2: ep 0x7 - rounding interval to 32768 microframes, ep desc says 0 microframes
Sep 1 18:07:31 g75vw kernel: [ 1075.122317] usb 3-2.1.2: USB disconnect, device number 108

mtp-detect doesn't always detect my phone:

typhoe@g75vw:~$ sudo mtp-detect
libmtp version: 1.1.4

Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y.
   Found 1 device(s):
   Samsung: GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y (04e8:6860) @ bus 3, dev 90
Attempting to connect device(s)
ignoring usb_claim_interface = -99PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
inep: usb_get_endpoint_status(): No such device
outep: usb_get_endpoint_status(): No such device
usb_clear_halt() on IN endpoint: No such device
usb_clear_halt() on OUT endpoint: No such device
usb_clear_halt() on INTERRUPT endpoint: No such device
usb_open(): No such device
LIBMTP PANIC: Could not init USB on second attempt
Unable to open raw device 0
OK.

then again, the same command:

typhoe@g75vw:~$ sudo mtp-detect
libmtp version: 1.1.4

Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y.
   Found 1 device(s):
   Samsung: GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y (04e8:6860) @ bus 3, dev 9
Attempting to connect device(s)
Android device detected, assigning default bug flags
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.
< repeat for more than 300 times >
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
USB low-level info:
   Interface has a kernel driver attached.
   bcdUSB: 512
   bDeviceClass: 0
   bDeviceSubClass: 0
   bDeviceProtocol: 0
   idVendor: 04e8
   idProduct: 6860
   IN endpoint maxpacket: 512 bytes
   OUT endpoint maxpacket: 512 bytes
   Raw device info:
      Bus location: 3
      Device number: 9
      Device entry info:
         Vendor: Samsung
         Vendor id: 0x04e8
         Product: GT P7310/P7510/N7000/I9070/I9100/I9300 Galaxy Tab 7.7/10.1/S2/S3/Nexus/Note/Y
         Vendor id: 0x6860
         Device flags: 0x48008107
Device info:
   Manufacturer: samsung
   Model: GT-I9300
   Device version: 1.0
   Serial number: 4df1b2e6569d5f8d
   Vendor extension ID: 0x00000006
   Vendor extension description: microsoft.com: 1.0; android.com: 1.0;
   Detected object size: 64 bits
   Extensions:
        microsoft.com: 1.0
        android.com: 1.0
Supported operations:
   1001: get device info
   1002: Open session
   1003: Close session
   1004: Get storage IDs
   1005: Get storage info
   1006: Get number of objects
   1007: Get object handles
   1008: Get object info
   1009: Get object
   100a: Get thumbnail
   100b: Delete object
   100c: Send object info
   100d: Send object
   1014: Get device property description
   1015: Get device property value
   1016: Set device property value
   1017: Reset device property value
   101b: Get partial object
   9801: Get object properties supported
   9802: Get object property description
   9803: Get object property value
   9804: Set object property value
   9805: Get object property list
   9810: Get object references
   9811: Set object references
   95c1: Unknown (95c1)
   95c2: Unknown (95c2)
   95c3: Unknown (95c3)
   95c4: Unknown (95c4)
   95c5: Unknown (95c5)
Events supported:
   0x4002
   0x4003
   0x4004
   0x4005
Device Properties Supported:
   0xd401: Synchronization Partner
   0xd402: Friendly Device Name
   0x5003: Image Size
Playable File (Object) Types and Object Properties Supported:
   3000: Undefined Type
   3001: Association/Directory
   3004: Text
   3005: HTML
   3008: MS Wave
   3009: MP3
   300b: MPEG
   3801: JPEG
   3802: TIFF EP
   3807: GIF
   3808: JFIF
   380b: PNG
   380d: TIFF
   b901: WMA
   b902: OGG
   b903: AAC
   b982: MP4
   b983: MP2
   b984: 3GP
   ba05: Abstract Audio Video Playlist
   ba10: WPL Playlist
   ba11: M3U Playlist
   ba14: PLS Playlist
   ba82: XMLDocument
   b906: FLAC
Storage Devices:
   StorageID: 0x00020001
      StorageType: 0x0004 removable RAM storage
      FilesystemType: 0x0002 generic hierarchical
      AccessCapability: 0x0000 read/write
      MaxCapacity: 31376916480
      FreeSpaceInBytes: 17868800000
      FreeSpaceInObjects: 1073741824
      StorageDescription: Carte SD
      VolumeIdentifier: (null)
   StorageID: 0x00010001
      StorageType: 0x0003 fixed RAM storage
      FilesystemType: 0x0002 generic hierarchical
      AccessCapability: 0x0000 read/write
      MaxCapacity: 12187213824
      FreeSpaceInBytes: 838205340
      FreeSpaceInObjects: 1073741824
      StorageDescription: Mémoire de stockage interne
      VolumeIdentifier: (null)
Special directories:
   Default music folder: 0xffffffff
   Default playlist folder: 0xffffffff
   Default picture folder: 0x00002818
   Default video folder: 0xffffffff
   Default organizer folder: 0xffffffff
   Default zencast folder: 0xffffffff
   Default album folder: 0xffffffff
   Default text folder: 0xffffffff
MTP-specific device properties:
   Friendly name: (NULL)
   Synchronization partner: (NULL)
libmtp supported (playable) filetypes:
   Folder
   Text file
   HTML file
   RIFF WAVE file
   ISO MPEG-1 Audio Layer 3
   MPEG video stream
   JPEG file
   GIF bitmap file
   JFIF file
   Portable Network Graphics
   TIFF bitmap file
   Microsoft Windows Media Audio
   Ogg container format
   Advanced Audio Coding (AAC)/MPEG-2 Part 7/MPEG-4 Part 3
   MPEG-4 Part 14 Container Format (Audio+Video Emphasis)
   ISO MPEG-1 Audio Layer 2
   Abstract Playlist file
   XML file
   Free Lossless Audio Codec (FLAC)
ERROR: Could not close session!
inep: usb_get_endpoint_status(): No such file or directory
outep: usb_get_endpoint_status(): No such file or directory
usb_clear_halt() on IN endpoint: Protocol error
usb_clear_halt() on OUT endpoint: Protocol error
usb_clear_halt() on INTERRUPT endpoint: Protocol error
OK.