1$ examples/detect 2libmtp version: 0.2.2 3 4Attempting to connect device(s) 5PTP: Opening session 6PTP_ERROR_IO: Trying again after re-initializing USB interface 7PTP: Opening session 8Detect: Successfully connected 1 devices 9USB low-level info: 10 Using kernel interface "usbfs" 11 bcdUSB: 512 12 bDeviceClass: 0 13 bDeviceSubClass: 0 14 bDeviceProtocol: 0 15 idVendor: 0781 16 idProduct: 7400 17 IN endpoint maxpacket: 512 bytes 18 OUT endpoint maxpacket: 512 bytes 19 Device flags: 0x00000043 20Microsoft device descriptor 0xee: 21 0000: 1203 4d00 5300 4600 5400 3100 3000 3000 ..M.S.F.T.1.0.0. 22 0010: 0100 .. 23Device info: 24 Manufacturer: SanDisk Corporation 25 Model: Sansa m2xx 26 Device version: Version 1.3.0A 27 Serial number: 0781025AA0030078 28 Vendor extension ID: 0x00000006 29 Vendor extension description: microsoft.com/WMDRMPD: 10.1;audible.com: 1.0; 30 Detected object size: 32 bits 31Supported operations: 32 1001: get device info 33 1002: Open session 34 1003: Close session 35 1004: Get storage IDs 36 1005: Get storage info 37 1006: Get number of objects 38 1007: Get object handles 39 1008: Get object info 40 1009: Get object 41 100b: Delete object 42 100c: Send object info 43 100d: Send object 44 100f: Format storage 45 1010: Reset device 46 1014: Get device property description 47 1015: Get device property value 48 1016: Set device property value 49 1017: Reset device property value 50 9810: Get object references 51 9811: Set object references 52 9802: Get object property description 53 9801: Get object properties supported 54 9803: Get object property value 55 9804: Set object property value 56 9805: Get object property list 57 9806: Set object property list 58 101b: Get partial object 59 9101: Get secure time challenge 60 9102: Get secure time response 61 9103: Set license response 62 9104: Get sync list 63 9105: Send meter challenge query 64 9106: Get meter challenge 65 9107: Get meter response 66 9108: Clean data store 67 9109: Get license state 68 910a: Send WMDRM-PD Command 69 910b: Send WMDRM-PD Request 70Events supported: 71 None. 72Device Properties Supported: 73 0xd100: Unknown property 74 0x5001: Battery Level 75 0xd401: Synchronization Partner 76 0xd402: Friendly Device Name 77 0xd101: Secure Time 78 0xd102: Device Certificate 79Playable File (Object) Types and Object Properties Supported: 80 3009: MP3 81 dc44: Name STRING data type GET/SET 82 dc8a: Rating UINT16 data type ANY 16BIT VALUE form GET/SET 83 dc8b: Track UINT16 data type ANY 16BIT VALUE form GET/SET 84 dc97: EffectiveRating UINT16 data type ANY 16BIT VALUE form GET/SET 85 de9a: AudioBitRate UINT32 data type range: MIN 8000, MAX 320000, STEP 1 READ ONLY 86 dc46: Artist STRING data type GET/SET 87 dc8c: Genre STRING data type GET/SET 88 de93: SampleRate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY 89 de94: NumberOfChannels UINT16 data type enumeration: 1, 2, READ ONLY 90 dc9a: AlbumName STRING data type GET/SET 91 dc89: Duration UINT32 data type ANY 32BIT VALUE form GET/SET 92 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 93 dc99: OriginalReleaseDate STRING data type GET/SET 94 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY 95 dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY 96 dc07: ObjectFileName STRING data type GET/SET 97 dc09: DateModified STRING data type GET/SET 98 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET 99 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY 100 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY 101 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY 102 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY 103 b901: WMA 104 dc44: Name STRING data type GET/SET 105 dc8a: Rating UINT16 data type ANY 16BIT VALUE form GET/SET 106 dc8b: Track UINT16 data type ANY 16BIT VALUE form GET/SET 107 dc97: EffectiveRating UINT16 data type ANY 16BIT VALUE form GET/SET 108 de9a: AudioBitRate UINT32 data type range: MIN 5000, MAX 320000, STEP 1 READ ONLY 109 dc46: Artist STRING data type GET/SET 110 dc8c: Genre STRING data type GET/SET 111 de93: SampleRate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY 112 de94: NumberOfChannels UINT16 data type enumeration: 1, 2, READ ONLY 113 dc9a: AlbumName STRING data type GET/SET 114 dc89: Duration UINT32 data type ANY 32BIT VALUE form GET/SET 115 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 116 dc99: OriginalReleaseDate STRING data type GET/SET 117 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY 118 dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY 119 dc07: ObjectFileName STRING data type GET/SET 120 dc09: DateModified STRING data type GET/SET 121 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET 122 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY 123 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY 124 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY 125 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY 126 3008: MS Wave 127 dc44: Name STRING data type GET/SET 128 dc8a: Rating UINT16 data type ANY 16BIT VALUE form GET/SET 129 dc8b: Track UINT16 data type ANY 16BIT VALUE form GET/SET 130 dc97: EffectiveRating UINT16 data type ANY 16BIT VALUE form GET/SET 131 de9a: AudioBitRate UINT32 data type range: MIN 1, MAX 320000, STEP 1 READ ONLY 132 dc46: Artist STRING data type GET/SET 133 dc8c: Genre STRING data type GET/SET 134 de93: SampleRate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY 135 de94: NumberOfChannels UINT16 data type enumeration: 1, 2, READ ONLY 136 dc9a: AlbumName STRING data type GET/SET 137 dc89: Duration UINT32 data type ANY 32BIT VALUE form GET/SET 138 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 139 dc99: OriginalReleaseDate STRING data type GET/SET 140 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY 141 dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY 142 dc07: ObjectFileName STRING data type GET/SET 143 dc09: DateModified STRING data type GET/SET 144 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET 145 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY 146 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY 147 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY 148 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY 149 b904: Audible.com Codec 150 dc44: Name STRING data type GET/SET 151 dc46: Artist STRING data type GET/SET 152 dc89: Duration UINT32 data type ANY 32BIT VALUE form GET/SET 153 da00: unknown(da00) UINT32 data type enumeration: 0, 1, 2, 3, 4, 5, 6, 7, 8, GET/SET 154 da02: unknown(da02) UINT32 data type ANY 32BIT VALUE form READ ONLY 155 da03: unknown(da03) UINT16 data type enumeration: 0, 1, READ ONLY 156 da01: unknown(da01) STRING data type GET/SET 157 da04: unknown(da04) array of UINT8 data type ANY 8BIT VALUE form GET/SET 158Unknown OPFF type 4 159 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY 160 dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY 161 dc07: ObjectFileName STRING data type GET/SET 162 dc09: DateModified STRING data type GET/SET 163 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET 164 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY 165 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY 166 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY 167 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY 168 3001: Association/Directory 169 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY 170 dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY 171 dc07: ObjectFileName STRING data type GET/SET 172 dc09: DateModified STRING data type GET/SET 173 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET 174 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY 175 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY 176 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY 177 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY 178 ba05: Abstract Audio Video Playlist 179 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY 180 dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY 181 dc07: ObjectFileName STRING data type GET/SET 182 dc09: DateModified STRING data type GET/SET 183 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET 184 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY 185 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY 186 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY 187 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY 188 3000: Undefined Type 189 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY 190 dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY 191 dc07: ObjectFileName STRING data type GET/SET 192 dc09: DateModified STRING data type GET/SET 193 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET 194 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY 195 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY 196 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY 197 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY 198 b802: Firmware 199 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY 200 dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY 201 dc07: ObjectFileName STRING data type GET/SET 202 dc09: DateModified STRING data type GET/SET 203 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET 204 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY 205 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY 206 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY 207 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY 208 ba03: Abstract Audio Album 209 dc44: Name STRING data type GET/SET 210 dc46: Artist STRING data type GET/SET 211 dc8c: Genre STRING data type GET/SET 212 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY 213 dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY 214 dc07: ObjectFileName STRING data type GET/SET 215 dc09: DateModified STRING data type GET/SET 216 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET 217 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY 218 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY 219 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY 220 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY 221 ba11: M3U Playlist 222 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY 223 dc04: ObjectSize UINT32 data type ANY 32BIT VALUE form READ ONLY 224 dc07: ObjectFileName STRING data type GET/SET 225 dc09: DateModified STRING data type GET/SET 226 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET 227 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY 228 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY 229 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY 230 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY 231Storage Devices: 232 StorageID: 0x00010001 233 StorageType: 0x0003 234 FilesystemType: 0x0002 235 AccessCapability: 0x0000 236 MaxCapacity: 1040941056 237 FreeSpaceInBytes: 173917307 238 FreeSpaceInObjects: 3525 239 StorageDescription: TCNAND0 240 VolumeIdentifier: 0781025AA0030078 241Special directories: 242 Default music folder: 0x20000008 243 Default playlist folder: 0x2000000b 244 Default picture folder: 0x00000000 245 Default video folder: 0x00000000 246 Default organizer folder: 0x00000000 247 Default zencast folder: 0x00000000 248 Default album folder: 0x00000000 249 Default text folder: 0x00000000 250MTP-specific device properties: 251 Friendly name: Sansa m240 252 Synchronization partner: Longhorn Sync Engine 253 Battery level 100 of 100 (100%) 254libmtp supported (playable) filetypes: 255 ISO MPEG-1 Audio Layer 3 256 Microsoft Windows Media Audio 257 RIFF WAVE file 258 Audible.com Audio Codec 259 Firmware file 260 261Secure Time: 262<DRMCLOCK type="status"><VALUE>#20071102 26303:48:38Z#</VALUE><FLAG>DRM_CLK_NEEDS_REFRESH</FLAG></DRMCLOCK>AG></DRMCLOCK> 264 265Device Certificate: 266<DEVCERT version="1.0"><CERTIFICATE type="DEVICE"><DATA><UNIQUEID 267private="1">q6ytrq+goaKjpKWmp6ipqgoKCgo=</UNIQUEID><PUBLICKEY 268private="1">lYA9qYhXaaH+urr5qkoCvAnA4je8WnN1Tyg/gU8HNFXccCGNQv5CNA==</PUBLICKEY><KEYDATA>q28RvEUhvZ0Kp7ojJnSQCe2uGOs=</KEYDATA></DATA><MSDRM_SIGNATURE_VALUE>yIl7+mzTRJmmd8K4C9uK//w9hXvUFyi1c9nyx92T/A7uXy7cVwEzIA==</MSDRM_SIGNATURE_VALUE><SYMSIGNATURE>JFYhahWHqdIvtzaly2gkWUtRj/M=</SYMSIGNATURE></CERTIFICATE><FALLBACK><SECURITYVERSION>2.4.102.109</SECURITYVERSION><CERTIFICATE 269private="1">lYA9qYhXaaH+urr5qkoCvAnA4je8WnN1Tyg/gU8HNFXccCGNQv5CNAIEZm3rQkh5OGOLVt1xu3CqhOZ+9tUuW8Va/geD3eoTNjTOctPm0xysr1UY</CERTIFICATE></FALLBACK><CERTIFICATE 270type="GROUP"><DATA><NAME>SANDISK</NAME><MANUFACTURER>DnC 271Tech</MANUFACTURER><MAKE>DnC 272Tech</MAKE><DISTRIBUTOR>WideWorldImporters</DISTRIBUTOR><MODEL>Sansa 273m200</MODEL><SECURITYLEVEL>2000</SECURITYLEVEL><HARDWARE_VER_MAJOR>1</HARDWARE_VER_MAJOR><HARDWARE_VER_MINOR>0</HARDWARE_VER_MINOR><FIRMWARE_VER_MAJOR>1</FIRMWARE_VER_MAJOR><FIRMWARE_VER_MINOR>0</FIRMWARE_VER_MINOR><FEATURES><CLOCK>2</CLOCK><SECURECLOCK><URL>http://go.microsoft.com/fwlink/?LinkId=25817</URL><PUBLICKEY>!CNhvvz1WaNV1AFUmetxkvm9iD4UrE9cnGUi!qcqdxMiXmD1*ikYGA==</PUBLICKEY></SECURECLOCK><METERING>1</METERING><LICENSE_ACQ>0</LICENSE_ACQ><LICENSE_SYNC>1</LICENSE_SYNC><ENCRYPTION>0</ENCRYPTION><SYMMETRIC_OPT>1</SYMMETRIC_OPT></FEATURES><LIMITS><MAXCHAINDEPTH>2</MAXCHAINDEPTH><MAXLICENSESIZE>10240</MAXLICENSESIZE><MAXHEADERSIZE>5120</MAXHEADERSIZE></LIMITS><PUBLICKEY>lQk10G9w1mPBGE0Z9edXxUUqaXISl3W619pekqQEwh8rgLhZTHHRPQ==</PUBLICKEY></DATA><MSDRM_SIGNATURE_VALUE>RVBIEdZTtBlur/c6QZ/UY3U7thitRY1SPdhvf7EhGpJWUPZQXZR8Cg==</MSDRM_SIGNATURE_VALUE></CERTIFICATE><CERTIFICATE 274type="AUTHORIZATION"><DATA><SECURITYLEVEL>2000</SECURITYLEVEL><AUTH_ID>465</AUTH_ID><PUBLICKEY>mJCkdIQQQIfEK7cGBY8RUf24ewwE4FAtxXZ3kWAMiqPatkZnb9TYMw==</PUBLICKEY></DATA><MSDRM_SIGNATURE_VALUE>X2lDpZFZorlvqeq+L2Wb6Qwq/hza5Qu/qIDfRxDGpT8mvPm8eacQUg==</MSDRM_SIGNATURE_VALUE></CERTIFICATE><CERTIFICATE 275type="AUTHORIZATION_ROOT"><DATA><AUTH_ID>1</AUTH_ID><PUBLICKEY>a1t3hxrg!qbOgktnbYaEEi4teCse!gz6RvTPuC!zizKJlpU7xoduSw==</PUBLICKEY></DATA><MSDRM_SIGNATURE_VALUE>dC+gyydiIowBnJ8vNO56gz5VsxLQARvjwFpjhZOwSuD5w1OD/4VwQg==</MSDRM_SIGNATURE_VALUE></CERTIFICATE></DEVCERT> 276 277Device description WMPInfo.xml file: 278<DeviceInfo> 279 <WMP DeviceID="{F260602D-ACED-4ECC-9458-ACD2E0B2884D}" 280RelationshipID="{00000000-0000-0000-0000-000000000000}"/> 281</DeviceInfo> 282 283PTP: Closing session 284OK. 285