Donate Share

libmtp

Tracker: Bugs

5 iRiver Clix 2 gen stuck - ID: 1862005
Last Update: Settings changed ( snirkel )

I've transfered quite a few files to the iRiver in MTP mode but now can't
connect at all. libmtp utilities whine about LIBMTP PANICs. Amarok can't
connect at all.

As root, mtp-detect gives:
libmtp version: 0.2.4

Attempting to connect device(s)
PTP: Opening session
Detect: Successfully connected 1 devices
Error 2: PTP Layer error 02fd: get_all_metadata_fast(): could not get
proplist of all objects.
Error 2: (Look this up in ptp.h for an explanation.)
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get
object handles.
Error 2: (Look this up in ptp.h for an explanation.)
USB low-level info:
Using kernel interface "usbfs"
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 4102
idProduct: 1126
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Device flags: 0x00000000
Microsoft device descriptor 0xee:
0000: 1203 4d00 5300 4600 5400 3100 3000 3000 ..M.S.F.T.1.0.0.
0010: 0100 ..
Device info:
Manufacturer: iriver
Model: iriver clix
Device version: MTP-1.14-N-ENG
Serial number: AA5504BABE4F3231313230310F0F0607
Vendor extension ID: 0x00000006
Vendor extension description: microsoft.com/WMDRMPD: 10.1;
microsoft.com/WMPPD: 10.0; audible.com: 1.0; microsoft.com/AAVT: 1.0;
microsoft.com/WMDRMND: 1.0;
Detected object size: 64 bits
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
100b: Delete object
100c: Send object info
100d: Send object
100f: Format storage
1014: Get device property description
1015: Get device property value
1016: Set 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
9806: Set object property list
9808: Send object property list
9810: Get object references
9811: Set object references
9101: Get secure time challenge
9102: Get secure time response
9103: Set license response
9104: Get sync list
9105: Send meter challenge query
9106: Get meter challenge
9107: Get meter response
9108: Clean data store
9109: Get license state
910a: Send WMDRM-PD Command
910b: Send WMDRM-PD Request
9201: Report Added/Deleted Items
9170: Open Media Session
9171: Close Media Session
9172: Get Next Data Block
9173: Set Current Time Position
9180: Send Registration Request
9181: Get Registration Response
9182: Get Proximity Challenge
9183: Send Proximity Response
9184: Send WMDRM-ND License Request
9185: Get WMDRM-ND License Response
Events supported:
None.
Device Properties Supported:
0x5001: Battery Level
0xd401: Synchronization Partner
0xd402: Friendly Device Name
0xd405: Device Icon
0xd101: Secure Time
0xd102: Device Certificate
0xd100: Unknown property
Playable File (Object) Types and Object Properties Supported:
3000: Undefined Type
ptp2/ptp_usb_getdata: detected a broken PTP header, code field insane.
3001: Association/Directory
PTP: Sequence number mismatch 21 vs expected 22.
3004: Text
PTP: Sequence number mismatch 22 vs expected 23.
3009: MP3
PTP: Sequence number mismatch 23 vs expected 24.
300a: MS AVI
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
PTP: Sequence number mismatch 24 vs expected 25.
300c: ASF
PTP: Sequence number mismatch 25 vs expected 26.
3801: JPEG
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
PTP: Sequence number mismatch 26 vs expected 27.
b901: WMA
PTP: Sequence number mismatch 27 vs expected 28.
b902: OGG
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
PTP: Sequence number mismatch 28 vs expected 29.
b904: Audible.com Codec
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
PTP: Sequence number mismatch 29 vs expected 30.
b981: WMV
PTP: Sequence number mismatch 30 vs expected 31.
ba03: Abstract Audio Album
PTP: Sequence number mismatch 31 vs expected 32.
ba05: Abstract Audio Video Playlist
PTP: Sequence number mismatch 32 vs expected 33.
ba82: XMLDocument
PTP: Sequence number mismatch 33 vs expected 34.
Storage Devices:
StorageID: 0x00010001
StorageType: 0x0003
FilesystemType: 0x0002
AccessCapability: 0x0000
MaxCapacity: 8178892800
FreeSpaceInBytes: 4282351616
FreeSpaceInObjects: 4294967295
StorageDescription: iriver clix files
VolumeIdentifier: AA5504BABE4F3231313230310F0F0607
Special directories:
Default music folder: 0x00000000
Default playlist folder: 0x00000000
Default picture folder: 0x00000000
Default video folder: 0x00000000
Default organizer folder: 0x00000000
Default zencast folder: 0x00000000
Default album folder: 0x00000000
Default text folder: 0x00000000
MTP-specific device properties:
ptp2/ptp_usb_getdata: detected a broken PTP header, code field insane.
Friendly name: (NULL)
Synchronization partner: (NULL)
PTP: Sequence number mismatch 35 vs expected 37.
libmtp supported (playable) filetypes:
Text file
ISO MPEG-1 Audio Layer 3
Audio Video Interleave
Microsoft Advanced Systems Format
JPEG file
Microsoft Windows Media Audio
Ogg container format
Audible.com Audio Codec
Microsoft Windows Media Video
XML file
PTP: Sequence number mismatch 36 vs expected 38.
PTP: Sequence number mismatch 37 vs expected 39.
Unable to acquire device certificate, perhaps this device does not support
this
Error 2: PTP Layer error 02fc: get_device_unicode_property(): failed to get
unicode property.
Error 2: (Look this up in ptp.h for an explanation.)
ptp2/ptp_usb_getdata: detected a broken PTP header, code field insane.
WMPInfo.xml Does not exist on this device
PTP: Closing session
ERROR: Could not close session!
inep: usb_get_endpoint_status(): Connection timed out
outep: usb_get_endpoint_status(): Connection timed out
usb_clear_halt() on IN endpoint: Connection timed out
usb_clear_halt() on OUT endpoint: Connection timed out
usb_clear_halt() on INTERRUPT endpoint: Connection timed out
OK.

Also as root:
mtp-tracks
Attempting to connect device(s)
PTP: Opening session
PTP_ERROR_IO: Trying again after re-initializing USB interface
PTP: Opening session
LIBMTP PANIC: Could not open session! (Return code 765)
Try to reset the device.
LIBMTP PANIC: configure_usb_devices() error code: 7 on line 1561
mtp-folders: There has been an error connecting. Exit

The device seems ok. The last several sets of albums are now all lumped
under Unknown Artist/Unknown Album.

I have amarok configured to put the tracks in folders (Artist name/Album
name).

I had tried using gnomad2 and did not get this particular problem. I reset
the device and then tried using Amarok with the layout above.


Judd Rogers ( juddrogers ) - 2008-01-02 06:44

5

Closed

Out of Date

Linus Walleij

None

None

Public


Comments ( 7 )

Date: 2008-09-30 08:48
Sender: juddrogers

Trying again with media-libs/libmtp-0.3.3

Things work much the same. Get several albums installed then the whole
thing falls apart.
amarok transfered about half the albums then fails consistently with the
rest.
Told device to rebuild its internal index and tried mtp-detect:
mtp-detect > /tmp/mtp-detect
PTP: Opening session
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
ptp2/ptp_usb_getdata: read 1 bytes too much, expect problems!
PTP: Closing session
inep: usb_get_endpoint_status(): Connection timed out
outep: usb_get_endpoint_status(): Connection timed out
usb_clear_halt() on IN endpoint: Connection timed out
usb_clear_halt() on OUT endpoint: Connection timed out
usb_clear_halt() on INTERRUPT endpoint: Connection timed out

So back to the same usb errors. Likely the MTP directory structure is
broken.

Back to MSC for me! :-)


Date: 2008-09-18 00:43
Sender: juddrogers

OK. I've given up on MTP for now. If I get back to it, I'll post a bug
should it not work with the new version.


Date: 2008-09-17 22:23
Sender: snirkelProject AdminAccepting Donations

I need a test with libmtp 0.3.x to continue on this one,
I assume it works nowadays else.


Date: 2008-01-03 14:05
Sender: juddrogers


Can't test with Windows media player (I only have Windows ME).
The device itself seems fine: tracks are in the database, everything seems
to play.

What are these sequence number issues about? I was assuming this was data
from the DB.

I saw these messages often. I would then disconnect, re-connect and all
would be good again. Until the last time anyway :-^


Date: 2008-01-03 13:49
Sender: snirkelProject AdminAccepting Donations


iRiver engineers and tech support are likely able to answer
such questions... :-/

Are the tracks displaying correctly under MS Windows?

If the bug appears in Windows Media Player as well, it is
certainly a firmware issue.


Date: 2008-01-03 02:44
Sender: juddrogers


I can reset the iRiver (discarding all tracks).

Is there any way to figure out why the device is confused?


Date: 2008-01-02 19:22
Sender: snirkelProject AdminAccepting Donations


The problem seems to be that the USB stack runs Amok.
Both reported errors are at the USB level, then the rest is
consequences of these (probably). It can be a side-effect of
internal fragmentation or corrupt database, is there some
disk clean-up option on the iRivers?


Attached File

No Files Currently Attached

Changes ( 10 )

Field Old Value Date By
status_id Open 2009-08-03 20:31 snirkel
close_date - 2009-08-03 20:31 snirkel
allow_comments 1 2009-08-03 20:31 snirkel
status_id Pending 2008-09-18 00:43 juddrogers
close_date 2008-09-17 22:23 2008-09-18 00:43 juddrogers
resolution_id Postponed 2008-09-17 22:23 snirkel
status_id Open 2008-09-17 22:23 snirkel
close_date - 2008-09-17 22:23 snirkel
resolution_id None 2008-01-02 19:22 snirkel
assigned_to nobody 2008-01-02 19:22 snirkel