$ examples/detect
libmtp version: 0.2.2
Attempting to connect device(s)
PTP: Opening session
PTP_ERROR_IO: Trying again after re-initializing USB interface
PTP: Opening session
Detect: Successfully connected 1 devices
USB low-level info:
Using kernel interface "usbfs"
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 0781
idProduct: 7400
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Device flags: 0x00000043
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: SanDisk Corporation
Model: Sansa m2xx
Device version: Version 1.3.0A
Serial number: 0781025AA0030078
Vendor extension ID: 0x00000006
Vendor extension description: microsoft.com/WMDRMPD: 10.1;audible.com: 1.0;
Detected object size: 32 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
1010: Reset device
1014: Get device property description
1015: Get device property value
1016: Set device property value
1017: Reset device property value
9810: Get object references
9811: Set object references
9802: Get object property description
9801: Get object properties supported
9803: Get object property value
9804: Set object property value
9805: Get object property list
9806: Set object property list
101b: Get partial object
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
Events supported:
None.
Device Properties Supported:
0xd100: Unknown property
0x5001: Battery Level
0xd401: Synchronization Partner
0xd402: Friendly Device Name
0xd101: Secure Time
0xd102: Device Certificate
Playable File (Object) Types and Object Properties Supported:
3009: MP3
dc44: Name STRING data type GET/SET
dc8a: Rating UINT16 data type ANY 16BIT VALUE form GET/SET
dc8b: Track UINT16 data type ANY 16BIT VALUE form GET/SET
dc97: EffectiveRating UINT16 data type ANY 16BIT VALUE form GET/SET
de9a: AudioBitRate UINT32 data type range: MIN 8000, MAX 320000, STEP 1 READ ONLY
dc46: Artist STRING data type GET/SET
dc8c: Genre STRING data type GET/SET
de93: SampleRate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY
de94: NumberOfChannels UINT16 data type enumeration: 1, 2, READ ONLY
dc9a: AlbumName STRING data type GET/SET
dc89: Duration UINT32 data type ANY 32BIT VALUE form GET/SET
de99: AudioWAVECodec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222, GET/SET
dc99: OriginalReleaseDate STRING data type GET/SET
dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY
dc07: ObjectFileName STRING data type GET/SET
dc09: DateModified STRING data type GET/SET
dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
b901: WMA
dc44: Name STRING data type GET/SET
dc8a: Rating UINT16 data type ANY 16BIT VALUE form GET/SET
dc8b: Track UINT16 data type ANY 16BIT VALUE form GET/SET
dc97: EffectiveRating UINT16 data type ANY 16BIT VALUE form GET/SET
de9a: AudioBitRate UINT32 data type range: MIN 5000, MAX 320000, STEP 1 READ ONLY
dc46: Artist STRING data type GET/SET
dc8c: Genre STRING data type GET/SET
de93: SampleRate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY
de94: NumberOfChannels UINT16 data type enumeration: 1, 2, READ ONLY
dc9a: AlbumName STRING data type GET/SET
dc89: Duration UINT32 data type ANY 32BIT VALUE form GET/SET
de99: AudioWAVECodec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222, GET/SET
dc99: OriginalReleaseDate STRING data type GET/SET
dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY
dc07: ObjectFileName STRING data type GET/SET
dc09: DateModified STRING data type GET/SET
dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
3008: MS Wave
dc44: Name STRING data type GET/SET
dc8a: Rating UINT16 data type ANY 16BIT VALUE form GET/SET
dc8b: Track UINT16 data type ANY 16BIT VALUE form GET/SET
dc97: EffectiveRating UINT16 data type ANY 16BIT VALUE form GET/SET
de9a: AudioBitRate UINT32 data type range: MIN 1, MAX 320000, STEP 1 READ ONLY
dc46: Artist STRING data type GET/SET
dc8c: Genre STRING data type GET/SET
de93: SampleRate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY
de94: NumberOfChannels UINT16 data type enumeration: 1, 2, READ ONLY
dc9a: AlbumName STRING data type GET/SET
dc89: Duration UINT32 data type ANY 32BIT VALUE form GET/SET
de99: AudioWAVECodec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222, GET/SET
dc99: OriginalReleaseDate STRING data type GET/SET
dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY
dc07: ObjectFileName STRING data type GET/SET
dc09: DateModified STRING data type GET/SET
dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
b904: Audible.com Codec
dc44: Name STRING data type GET/SET
dc46: Artist STRING data type GET/SET
dc89: Duration UINT32 data type ANY 32BIT VALUE form GET/SET
da00: unknown(da00) UINT32 data type enumeration: 0, 1, 2, 3, 4, 5, 6, 7, 8, GET/SET
da02: unknown(da02) UINT32 data type ANY 32BIT VALUE form READ ONLY
da03: unknown(da03) UINT16 data type enumeration: 0, 1, READ ONLY
da01: unknown(da01) STRING data type GET/SET
da04: unknown(da04) array of UINT8 data type ANY 8BIT VALUE form GET/SET
Unknown OPFF type 4
dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY
dc07: ObjectFileName STRING data type GET/SET
dc09: DateModified STRING data type GET/SET
dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
3001: Association/Directory
dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY
dc07: ObjectFileName STRING data type GET/SET
dc09: DateModified STRING data type GET/SET
dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
ba05: Abstract Audio Video Playlist
dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY
dc07: ObjectFileName STRING data type GET/SET
dc09: DateModified STRING data type GET/SET
dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
3000: Undefined Type
dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY
dc07: ObjectFileName STRING data type GET/SET
dc09: DateModified STRING data type GET/SET
dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
b802: Firmware
dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY
dc07: ObjectFileName STRING data type GET/SET
dc09: DateModified STRING data type GET/SET
dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
ba03: Abstract Audio Album
dc44: Name STRING data type GET/SET
dc46: Artist STRING data type GET/SET
dc8c: Genre STRING data type GET/SET
dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY
dc07: ObjectFileName STRING data type GET/SET
dc09: DateModified STRING data type GET/SET
dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
ba11: M3U Playlist
dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY
dc07: ObjectFileName STRING data type GET/SET
dc09: DateModified STRING data type GET/SET
dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
Storage Devices:
StorageID: 0x00010001
StorageType: 0x0003
FilesystemType: 0x0002
AccessCapability: 0x0000
MaxCapacity: 1040941056
FreeSpaceInBytes: 173917307
FreeSpaceInObjects: 3525
StorageDescription: TCNAND0
VolumeIdentifier: 0781025AA0030078
Special directories:
Default music folder: 0x20000008
Default playlist folder: 0x2000000b
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:
Friendly name: Sansa m240
Synchronization partner: Longhorn Sync Engine
Battery level 100 of 100 (100%)
libmtp supported (playable) filetypes:
ISO MPEG-1 Audio Layer 3
Microsoft Windows Media Audio
RIFF WAVE file
Audible.com Audio Codec
Firmware file
Secure Time:
#20071102
03:48:38Z#DRM_CLK_NEEDS_REFRESHAG>
Device Certificate:
q6ytrq+goaKjpKWmp6ipqgoKCgo=lYA9qYhXaaH+urr5qkoCvAnA4je8WnN1Tyg/gU8HNFXccCGNQv5CNA==q28RvEUhvZ0Kp7ojJnSQCe2uGOs=yIl7+mzTRJmmd8K4C9uK//w9hXvUFyi1c9nyx92T/A7uXy7cVwEzIA==JFYhahWHqdIvtzaly2gkWUtRj/M=2.4.102.109lYA9qYhXaaH+urr5qkoCvAnA4je8WnN1Tyg/gU8HNFXccCGNQv5CNAIEZm3rQkh5OGOLVt1xu3CqhOZ+9tUuW8Va/geD3eoTNjTOctPm0xysr1UYSANDISKDnC
TechDnC
TechWideWorldImportersSansa
m200200010102http://go.microsoft.com/fwlink/?LinkId=25817!CNhvvz1WaNV1AFUmetxkvm9iD4UrE9cnGUi!qcqdxMiXmD1*ikYGA==101012102405120lQk10G9w1mPBGE0Z9edXxUUqaXISl3W619pekqQEwh8rgLhZTHHRPQ==RVBIEdZTtBlur/c6QZ/UY3U7thitRY1SPdhvf7EhGpJWUPZQXZR8Cg==2000465mJCkdIQQQIfEK7cGBY8RUf24ewwE4FAtxXZ3kWAMiqPatkZnb9TYMw==X2lDpZFZorlvqeq+L2Wb6Qwq/hza5Qu/qIDfRxDGpT8mvPm8eacQUg==1a1t3hxrg!qbOgktnbYaEEi4teCse!gz6RvTPuC!zizKJlpU7xoduSw==dC+gyydiIowBnJ8vNO56gz5VsxLQARvjwFpjhZOwSuD5w1OD/4VwQg==
Device description WMPInfo.xml file:
PTP: Closing session
OK.