libmtp / libmtp Goto Github PK
View Code? Open in Web Editor NEWA library to access MTP (Media Transfer Protocol) Devices.
Home Page: https://sf.net/projects/libmtp
License: GNU Lesser General Public License v2.1
A library to access MTP (Media Transfer Protocol) Devices.
Home Page: https://sf.net/projects/libmtp
License: GNU Lesser General Public License v2.1
Building and Installing ----------------------- See the "INSTALL" file. Initiator and Responder ----------------------- libmtp implements an MTP initiator, which means it initiate MTP sessions with devices. The devices responding are known as MTP responders. libmtp runs on something with a USB host controller interface, using libusb to access the host controller. If you're more interested in the MTP responders, gadgets like MP3 players, mobile phones etc, look into: - MeeGo:s Buteo Sync: https://github.com/nemomobile/buteo-mtp https://wiki.merproject.org/wiki/Buteo/MTP - Android has an MTP responder implementation: https://android.googlesource.com/platform/frameworks/base/+/master/media/jni/ - Ubuntu/Ricardo Salveti has mtp-server and libmtp-server going: https://code.launchpad.net/~phablet-team/mtp/trunk https://bazaar.launchpad.net/~phablet-team/mtp/trunk/files Heritage -------- libmtp is based on several ancestors: * libptp2 by Mariusz Woloszyn was the starting point used by Richard A. Low for the initial starter port. You can find it at https://libptp.sourceforge.net/ * libgphoto2 by Mariusz Woloszyn and Marcus Meissner was used at a later stage since it was (is) more actively maintained. libmtp tracks the PTP implementation in libgphoto2 and considers it an upstream project. We will try to submit anything generally useful back to libgphoto2 and not make double efforts. In practice this means we use ptp.c, ptp.h and ptp-pack.c verbatim from the libgphoto2 source code. If you need to change things in these files, make sure it is so general that libgphoto2 will want to merge it to their codebase too. You find libgphoto2 as part of gPhoto: https://gphoto.sourceforge.net/ * libnjb was a project that Richard and Linus were working on before libmtp. When Linus took Richards initial port and made an generic C API he re-used the philosophy and much code from libnjb. Many of the sample programs are for example taken quite literally from libnjb. You find it here: https://libnjb.sourceforge.net/ Contacting and Contributing --------------------------- See the project page at https://libmtp.sourceforge.net/ We always need your help. There is a mailinglist and a bug report system there. You can also file github issues at https://github.com/libmtp/libmtp People who want to discuss MTP devices in fora seem to hang out on the forums at AnythingbutiPod: https://www.anythingbutipod.com/forum/ Compiling programs for libmtp ----------------------------- libmtp has support for the pkg-config script by adding a libmtp.pc entry in $(prefix)/lib/pkgconfig. To compile a libmtp program, "just" write: gcc -o foo `pkg-config --cflags --libs libmtp` foo.c This also simplifies compilation using autoconf and pkg-config: just write e.g. PKG_CHECK_MODULES(MTP, libmtp) AC_SUBST(MTP_CFLAGS) AC_SUBST(MTP_LIBS) To have libmtp LIBS and CFLAGS defined. Needless to say, this will only work if you have pkgconfig installed on your system, but most people have nowadays. If your library is installed in e.g. /usr/local you may have to tell this to pkgconfig by setting the PKG_CONFIG_PATH thus: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig Documentation ------------- Read the API documentation that can be generated with doxygen. It will be output in doc/html if you have Doxygen properly installed. (It will not be created unless you have Doxygen!) For information about the Media Transfer Protocol, see: https://en.wikipedia.org/wiki/Media_Transfer_Protocol The official 1.0 specification for MTP was released by the USB Implementers Forum in may, 2008. Prior to this, only a proprietary Microsoft version was available, and quite a few devices out there still use some aspects of the Microsoft version, which deviates from the specified standard. You can find the official specification here: https://www.usb.org/developers/devclass_docs/MTP_1.0.zip The Examples ------------ In the subdirectory "examples" you find a number of command-line tools, illustrating the use of libmtp in very simple terms. Please do not complain about the usability or documentation of these examples, they look like they do for two reasons: 1. They are examples, not tools. If they were intended for day-to-day usage by commandline freaks, I would have called them "tools" not "examples". 2. The MTP usage paradigm is that a daemon should hook the device upon connection, and that it should be released by unplugging. GUI tools utilizing HAL (hald) and D-Bus do this much better than any commandline program ever can. (See below on bugs.) Specificationwise this is a bug, however it is present in many, many devices. That said, if you want to pick up and maintain the examples, please volunteer. FAQ: Common Problems -------------------- Some MTP devices have strange pecularities. We try to work around these whenever we can, sometimes we cannot work around it or we cannot test your solution. * Android locked screen: some devices just report zero files and no storages when the device screen is locked, it looks like so: mtp-detect Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP). Attempting to connect device(s) Error 1: Get Storage information failed. Device: SHV-E210K LIBMTP_Get_Storage(): No data available OK. This is probably so as not to allow the MTP access to be used as a "backdoor" into the device. Unlock the device before listing files, set the autolock to some large value or disabled if it disturbs you, you are causing this to yourself, or should we say that your vendor is prioritizing security and privacy over ease-of-use. (You may talk to your vendor about this.) * mtp-* tools doesn't work because someone else is already hogging the device This is a common problem, the most common case could be that gphoto2 (which can also talk PTP/MTP) is taking over the device as soon as it's plugged in. Some distributions are configured that way. Counter it like this: gvfs-mount -s gphoto2 Then re-attach the device. Sometimes some gvfs daemons are running on the system and hogging the device, try stopping them with something like these commands: killall gvfs-mtp-volume-monitor killall gvfs-gphoto2-volume-monitor Then plug in the device and issue "mtp-detect" to figure out if this may be the case. * Generic MTP/PTP disconnect misbehaviour: we have noticed that Windows Media Player apparently never close the session to an MTP device. There is a daemon in Windows that "hooks" the device by opening a PTP session to any MTP device, whenever it is plugged in. This daemon proxies any subsequent transactions to/from the device and will never close the session, thus Windows simply does not close sessions at all. For example this means that a device may work the first time you run some command-line example like "mtp-detect" while subsequent runs fail. Typical sign of this illness: broken pipes on closing sessions, on the main transfer pipes(s) or the interrupt pipe: Closing session usb_clear_halt() on INTERRUPT endpoint: Broken pipe OK. This means that device manufacturers doesn't notice any problems with devices that do not correctly handle closing PTP/MTP sessions, since Windows never do it. The proper way of closing a session in Windows is to unplug the device, simply put. Since libmtp actually tries to close sessions, some devices may fail since the close session functionality has never been properly tested, and "it works with Windows" is sort of the testing criteria at some companies. You can get Windows-like behaviour on Linux by running a udev-aware libmtp GUI client like Rhythmbox or Gnomad2, which will "hook" the device when you plug it in, and "release" it if you unplug it, and you start/end you transfer sessions by plugging/unplugging the USB cable. The "Unix way" of running small programs that open the device, do something, then close the device, isn't really working with such devices and you cannot expect to have command line tools like the mtp examples work with them. You could implement new example programs that just call to a mediating daemon like the Windows MTP stack does. (And change all programs using libmtp directly today.) If this bug in your device annoys you, contact your device manufacturer and ask them to test their product with some libmtp program. * Samsung Android 2.3.x devices: these have a special MTP stack with some specific bugs that we have maybe nailed down now. It suffers from an "immediate connect" syndrome, i.e. you have to connect to the device within 7 seconds of plugging in, or it will go numb. This also goes for command-line activity with the example programs, so this device is better used with a GUI tool like Rhythmbox, gnomad2... * Generic USB misbehaviour: some devices behave badly under MTP and USB mass storage alike, even down to the lowest layers of USB. You can always discuss such issues at the linux-usb mailing list if you're using Linux: https://www.linux-usb.org/mailing.html If you have a problem specific to USB mass storage mode, there is a list of strange behaving devices in the Linux kernel: https://lxr.linux.no/linux/drivers/usb/storage/unusual_devs.h You can discuss this too on the mentioned list, for understanding the quirks, see: https://www2.one-eyed-alien.net/~mdharm/linux-usb/target_offenses.txt * Generic certificate misbehaviour. All devices are actually required to support a device certificate to be able to encrypt Windows Media (WMA/WMV) files. However there are obviously a lot of devices out there which doesn't support this at all but instead crash. Typical printout: Error 2: PTP Layer error 02ff: get_device_unicode_property(): failed to get unicode property. This should only affect "mtp-detect", there is no other application currently retrieveing the certificate (not that we know anyway). * Kernel bug on Linux. Linux 2.6.16 is generally speaking required to use any MTP device under USB 2.0. This is because the EHCI driver previously did not support zero-length writes to endpoints. It should work in most cases however, or if you connect it to an UHCI/OHCI port instead (yielding lower speed). But please just use a recent kernel. * Zen models AVI file seeking problem: the Zens cannot parse the files for the runlength metadata. Do not transfer file with e.g. mtp-sendfile, use mtp-sendtr and set the length of the track to the appropriate number of seconds and it will work. In graphical clients, use a "track transfer" function to send these AVI files, the Zens need the metadata associated with tracks to play back movies properly. Movies are considered "tracks" in the MTP world. * Some devices that disregard the metadata sent with the MTP commands will parse the files for e.g. ID3 metadata. Some still of these devices expect only ID3v2.3 metadata and will fail with a modern ID3v2,4 tag writer, like many of those found in Linux applications. Windows Media Player use ID3v2.3 only, so many manufacturers only test this version. * The Zen Vision:M (possibly more Creative Zens) has a firmware bug that makes it drop the last two characters off a playlist name. It is fixed in later firmware. * For Creative Technology devices, there are hard limits on how many files can be put onto the device. For a 30 GiB device (like the Zen Xtra) the limit is 6000, for a 60 GiB device the limit is 15000 files. For further Creative pecularities, see the FAQ sections at www.nomadness.net. * Sandisk sansa c150 and probably several other Sandisk devices (and possibly devices from other manufacturers) have a dual mode with MTP and USB mass storage. The device will initially claim to be mass storage so udev will capture is and make the use of MTP mode impossible. One way of avoiding it could be to be to blacklist the "usb-storage" module in /etc/modprobe.c/blacklist with a row like this: "blacklist usb-storage". Some have even removed the "usb-storage.ko" (kernel module file) to avoid loading. * Sandisk Sansa Fuze has three modes: auto, MTP or mass storage (MSC). Please set it to MTP to avoid problems with libmtp. * The iriver devices (possibly all of them) cannot handle the enhanced GetObjectPropList MTP command (0x9805) properly. So they have been banned from using it. * iriver devices have problems with older versions of libmtp and with new devices libmtp does not know of as of yet, since it has an oldstyle USB device controller that cannot handle zero writes. (Register your device with us!) All their devices are likely to need a special device flag in the src/libusb-glue.c database. * The Samsung Yepp T9 has several strange characteristics, some that we've managed to work around. (For example it will return multiple PTP packages in a single transaction.) * The early firmware for Philips HDD players is known to be problematic. Please upgrade to as new firmware as you can get. (Yes this requires some kind of Windows Installation I think.) * Philips HDD 1630/16 or 1630/17 etc may lock themselves up, turning inresponsive due to internal corruption. This typically gives an error in opening the PTP session. Apparently you can do a "repair" with the firmware utility (Windows only) which will often fix this problem and make the device responsive again. * Some devices that implement GetObjectPropList (0x9805) will not return the entire object list if you request a list for object 0xffffffffu. (But they should.) So they may need the special DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL. * Some (smaller) subset of devices cannot even get all the properties for a single object in one go, these need the DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST. Currently only the iriver devices seem to have this bug. * The Toshiba Gigabeat S (and probably its sibling the Microsoft Zune and other Toshiba devices) will only display album information tags for a song in case there is also an abstract album (created with the album interface) with the exact same name. * The Zen Vision:M has an older firmware which is very corrupt, it is incompatible with the Linux USB stack altogether. The kernel dmesg will look something like this, and you have to upgrade the firmware using Windows: usb 4-5: new high speed USB device using ehci_hcd and address 5 usb 4-5: configuration #1 chosen from 1 choice usb 4-5: can't set config #1, error -110 * The Sirus Stiletto does not seem to allow you to copy any files off the device. This may be someone's idea of copy protection. * The Samsung P2 assigns parent folder ID 0 to all unknown file types.(i.e. moves them to the root folder) * The Sandisk Sansa Clip+ needs a firmware upgrade in earlier versions in order to work properly. New Devices ----------- If you happen upon a device which libmtp claims it cannot autodetect, please submit the vendor ID and device ID (these can be obtained from the "lsusb" and "lsusb -n" commands run as root) as a bug, patch or feature request on the Sourceforge bug tracker at our homepage. If it gives a sensible output from "mtp-detect" then please attach the result as well as it teach us some stuff about your device. If you've done some additional hacking, join our mailinglist and post your experiences there. If you want to be able to hack some more and you're not afraid of C hacking, add an entry for your device's vendor/product ID and a descriptive string to the database in the file src/music-players.h. If you want to poke around to see if your device has some special pecularities, you can test some special device flags (defined in src/device-flags.h) by inserting them together with your device entry in src/music-players.h. Flags can be tested in isolation or catenated with "|" (binary OR). If relatives to your device use a certain flag, chances are high that a new device will need it too, typically from the same manufacturer. The most common flag that needs to be set is the DEVICE_FLAG_UNLOAD_DRIVER that detach any Linux kernel drivers that may have attached to the device making MTP access impossible. This is however not expected to really work: this is a problem being tracked as of now (2007-08-04). See the "last resort" solutions below if you really need to get your dual-mode device to work with MTP. Another flag which is easy to identify is the DEVICE_FLAG_NO_ZERO_READS, which remedies connection timeouts when getting files, and some timeouts on e.g. successive "mtp-connect" calls. If your device is very problematic we are curious of how it works under Windows, so we enjoy reading USB packet sniffs that reveal the low-level traffic carried out between Windows Media Player and your device. This can be done using e.g.: * USBsnoop: https://benoit.papillault.free.fr/usbsnoop/ * The trial version of HHD Softwares software-only USB monitor. You need to get a copy of version 2.37 since the newer trial versions won't let you carry out the needed packet sniffs. (As of 2007-03-10 a copy can be found at: https://www.cobbleware.com/files/usb-monitor-237.exe) There are other USB monitors as well, some more expensive alternatives use hardware and even measure electronic characteristics of the traffic (which is far too much detail for us). Device sniffs are an easy read since the PTP/MTP protocol is nicely structured. All commands will have a structure such as this in the log, we examplify with a object list request: PTP REQEUST: 000120: Bulk or Interrupt Transfer (UP), 03.09.2007 12:49:25.9843750 +0.0 Pipe Handle: 0x863ce234 (Endpoint Address: 0x2) Send 0x20 bytes to the device: 20 00 00 00 01 00 05 98 23 00 00 00 27 03 00 10 ......?#...'... Length TYPE CMD Trans# Param1 00 00 00 00 02 DC 00 00 00 00 00 00 00 00 00 00 .....ร.......... Param2 Param3 Param4 Param5 [OPTIONAL] DATA PHASE: 000121: Bulk or Interrupt Transfer (UP), 03.09.2007 12:49:26.0 +0.0156250 Pipe Handle: 0x863ce214 (Endpoint Address: 0x81) Get 0x1a bytes from the device: 1A 00 00 00 02 00 05 98 23 00 00 00 01 00 00 00 .......?#....... Length TYPE CMD Trans# DATA 27 03 00 10 02 DC 04 00 00 30 '....ร...0 RESPONSE: 000122: Bulk or Interrupt Transfer (UP), 03.09.2007 12:49:26.0 +0.0 Pipe Handle: 0x863ce214 (Endpoint Address: 0x81) Get 0xc bytes from the device: 0C 00 00 00 03 00 01 20 23 00 00 00 ....... #... Length TYPE CODE Trans# * One send (OUT to the device), two reads (IN from the device). * All three byte chunks commands are sent/recieved/recieeved by the function ptp_transaction() in the file ptp.c. * It boils down to ptp_usb_sendreq(), optionally ptp_usb_senddata() or ptp_usb_getdata() and finally ptp_usb_getresp() in the file libusb-glue.c. Notice ptp_usb_sendreq() and ptp_usb_getresp() are ALWAYS called. The TYPE field correspond to this, so the TYPES in this case are "COMMAND" (0x0001), "DATA" (0x0002), and "RESPONSE" (0x0003). * Notice that the byte order is little endian, so you need to read each field from right to left. * This COMMAND has: CMD 0x99805, we see in ptp.h that this is PTP_OC_MTP_GetObjPropList. Transaction# 0x00000023. REQUEST parameters 0x10000327, 0x00000000, 0x0000DC02, 0x00000000 0x00000000, in this case it means "get props for object 0x10000327", "any format", "property 0xDC02" (PTP_OPC_ObjectFormat), then two parameters that are always zero (no idea what they mean or their use). * The DATA has: CMD 0x99805, we see in ptp.h that this is PTP_OC_MTP_GetObjPropList. Transaction# 0x00000023. Then comes data 0x00000001, 0x10000327, 0xDC02, 0x0004, 0x3000 Which means in this case, (and this is the tricky part) "here you have 1 property", "for object 0x10000327", "it is property 0xDC02" (PTP_OPC_ObjectFormat), "which is of type 0x0004" (PTP_DTC_UINT16), "and set to 0x3000" (PTP_OFC_Undefined, it is perfectly valid to have undefined object formats, since it is a legal value defining this). * This RESPONSE has: CMD 0x99805, we see in ptp.h that this is PTP_OC_MTP_GetObjPropList. Return Code ("RC") = 0x2001, PTP_RC_OK, all went fine. Transaction# 0x00000023. If you want to compare the Windows behaviour with a similar operation using libmtp you can go into the src/libusb-glue.c file and uncomment the row that reads: //#define ENABLE_USB_BULK_DEBUG (I.e. remove the two //.) This will make libmtp print out a hex dump of every bulk USB transaction. The bulk transactions contain all the PTP/MTP layer data, which is usually where the problems appear. Notes to assist with debugging new devices: ------------------------------------------- In debugging new hardware, we highly recommend that you only use the example mtp-* applications that come with libmtp, as other applications may have their own bugs that may interfere with your new device working correctly. Using another application instead of those that come with libmtp just adds another point of failure. For debugging, there are 3 main options: 1. Use the env variable: LIBMTP_DEBUG to increase the verboseness of the debugging output for any application using libmtp. Relevant codes are: * 0x00 [0000 0000] : no debug (default) * 0x01 [0000 0001] : PTP debug * 0x02 [0000 0010] : Playlist debug * 0x04 [0000 0100] : USB debug * 0x08 [0000 1000] : USB data debug // Codes are hex and binary respectively. Simple add them togther // to get your desired level of output. (Assuming bash) eg: $ export LIBMTP_DEBUG=12 $ mtp-detect // To get USB debug and USB data debug information. $ export LIBMTP_DEBUG=2 $ mtp-detect // To get Playlist debug information. Also note, an application may also use the LIBMTP_debug() API function to achieve the same options as listed above. 2. Use "strace" on the various mtp-* commands to see where/what is falling over or getting stuck at. * On Solaris and FreeBSD, use "truss" or "dtrace" instead on "strace". * On Mac OS X, use "ktrace" or "dtrace" instead of "strace". * On OpenBSD and NetBSD, use "ktrace" instead of "strace". This will at least help pinpoint where the application is failing, or a device is reporting incorrect information. (This is extremely helpful with devices that have odd disconnection requirements). The use of these tools may also pinpoint issues with libusb as implemented by each OS vendor or issues with the MTP implementation on the new device as well, so please be prepared for either case. 3. Use "gdb" or similar debugger to step through the code as it is run. This is time consuming, and not needed just to pinpoint where the fault is. The use of gdb or another debugger may also miss or actually cause command and data timing issues with some devices, leading to false information. So please consider this a last resort option. Also please read the "It's Not Our Bug!" section below, as it does contain some useful information that may assist with your device. Dual-mode devices does not work - last resort: ---------------------------------------------- Some devices that are dual-mode are simply impossible to get to work under Linux because the usb-storage(.ko) kernel module hook them first, and refuse to release them, even when we specify the DEVICE_FLAG_UNLOAD_DRIVER flag. (Maybe it DOES release it but the device will immediately be probed at the USB mass storage interface AGAIN because it enumerates.) Here is what some people do: 1. Plug in the device. 2. USB-mass storage folder will open automatically. 3. Unmount the device. 4. Run mtp-detect. It will most likely fail the first time. 5. Run mtp-detect again, it might work this time, or fail. Keep running till it works. 99% it works by the third try. 6. Once mtp-detect gives you an "Ok", open either Rhythmbox or Gnomad2, everything should work. Linux: Try this, if you have a recent Linux kernel, add the file (as root): /etc/modprobe.d/no-usb-storage.conf With the contents: options usb-storage quirks=1234:4321:i This will tell usb-storage to ignore this device when it's inserted so it is not hogged by the mass storage interfaces. Remove and re-insert the device and see if it works. Usually this does the trick. For older systems, or as a bigger hammer, run (as root) something like: > rmmod usb_storage ; mtp-detect You can run most any command or a client like gnomad2 or Amarok immediately after the rmmod command. This works sometimes. Another even more brutal approach is this: * Edit /etc/modprobe.d/blacklist * Add the line "blacklist usb-storage" * Reboot. Now none of you USB disks, flash memory sticks etc will be working (you just disabled them all). However you *can* try your device, and it might have started working because there is no longer a USB mass storage driver that tries to hook onto the mass storage interface of your device. If not even blacklisting works (check with "lsmod | grep usb-storage"), there is some problem with something else and you may need to remove or rename the file /lib/modules/<VERSION>/kernel/drivers/usb/storage/usb-storage.ko manually. If you find the PerfectSolution(TM) to this dilemma, so you can properly switch for individual devices whether to use it as USB mass storage or not, please tell us how you did it. We know we cannot use udev, because udev is called after-the-fact: the device is already configured for USB mass storage when udev is called. On Mac OS there is another ugly hack: 1. Open up a terminal window 2. Type: sudo mv /System/Library/Extensions/IOUSBMassStorageClass.kext /System/Library/Extensions/IOUSBMassStorageClass.kext.disabled and when prompted enter your password. 3. Restart. To reverse this change, just reverse the filenames: sudo mv /System/Library/Extensions/ IOUSBMassStorageClass.kext.disabled /System/Library/Extensions/ IOUSBMassStorageClass.kext and restart. Calendar and contact support: ----------------------------- The Creative Zen series can read VCALENDAR2 (.ics) files and VCard (.vcf) files from programs like for example Evolution with the following limitations/conditions: - The file must be in DOS (CR/LF) format, use the unix2dos program to convert if needed - Repeat events in calendar files do not seem to be supported, entries will only appear once. - Calendar (.ics) files should be stored in the folder "My Organizer" when sent to the device (this directory should be autodetected for use with calendar files, otherwise use the option -f "My Organizer" to sendfile for this) Apparently this file can also contain tasklists. - Contact (.vcf) files should be stored in the folder "My Contacts" when sent to the device. (-f "My Contacts") - Some devices are picky about the name of the calendar and contact files. For example the Zen Microphoto wants: Calendar: My Organizer/6651416.ics Contacts: My Organizer/6651416.vcf Syncing in with Evolution and Creative Devices ---------------------------------------------- Evolution can easily export .ics an .vcf files, but you currently need some command-line hacking to get you stuff copied over in one direction host -> device. The examples/ directory contains a script created for the Creative Zen Microphoto by Nicolas Tetreault. Lost symbols ------------ Shared libraries can be troublesome to users not experienced with them. The following is a condensed version of a generic question that has appeared on the libmtp mailing list from time to time. > PTP: Opening session > Queried Creative Zen Vision:M > gnomad2: relocation error: gnomad2: undefined symbol: > LIBMTP_Get_Storageinfo > (...) > Are these type of errors related to libmtp or something else? The problem is of a generic nature, and related to dynamic library loading. It is colloquially known as "dependency hell". (https://en.wikipedia.org/wiki/Dependency_hell) The gnomad2 application calls upon the dynamic linker in Linux to resolve the symbol "LIBMTP_Get_Storageinfo" or any other symbol (ELF symbol, or link point or whatever you want to call them, a symbol is a label on a memory address that the linker shall resolve from label to actual address.) For generic information on this subject see the INSTALL file and this Wikipedia page: https://en.wikipedia.org/wiki/Library_(computing) When Linux /lib/ld-linux.so.X is called to link the symbols compiled into gnomad2 (or any other executable using libmtp), it examines the ELF file for the libmtp.so.X file it finds first and cannot resolve the symbol "LIBMTP_Get_Storageinfo" (or whichever symbol you have a problem witj) from it, since it's probably not there. There are many possible causes of this symbol breakage: 1) You installed precompiled libmtp and gnomad2 packages (RPMs, debs whatever) that do not match up. Typical cause: your gnomad2 package was built against a newer version of libmtp than what's installed on your machine. Another typical cause: you installed a package you found on the web, somewhere, the dependency resolution system did not protest properly (as it should) or you forced it to install anyway, ignoring some warnings. 2) You compiled libmtp and/or gnomad2 from source, installing both or either in /usr/local/lib and /usr/local/bin. This means at compile-time gnomad2 finds the libmtp library in /usr/local/lib but at runtime, it depends on the Linux system wide library loader (/lib/ld-linux.so.X) in order to resolve the symbols. This loader will look into the file /etc/ld.so.conf and/or the folder /etc/ld.so.conf.d in order to find paths to libraries to be used for resolving the symbols. If you have some older version of libmtp in e.g. /usr/lib (typically installed by a package manager) it will take precedence over the new version you just installed in /usr/local/lib and the newly compiled library in /usr/local/lib will *not* be used, resulting in this error message. 3) You really did install the very latest versions (as of writing libmtp 0.1.5 and gnomad2 2.8.11) from source and there really is no pre-installed package of either on your machine. In that case I'm totally lost, I have no idea what's causing this. Typical remedies: 1) If you don't want to mess around with your system and risk these situations, only use pre-packaged software that came with the distribution or its official support channels. If it still breaks, blame your distribution, they're not packaging correctly. Relying on properly packaged software and not installing things yourself *is* the Linux solution to the "dependency hell" problem. 2) Read about dynamically linked library handling until the stuff I wrote about in the previous list sounds like music to your ears, inspect your /lib, /usr/lib, /usr/local/lib, /etc/ld.so.conf and the /etc/ld.so.conf.d, remove all pre-packed versions using RPM, APT, YaST or whatever your distribution uses, compile libmtp and gnomad2 (or whatever) from source only and you will be enlighted. I don't know if this helps you, it's the best answer we can give. API is obscure - I want plain files! ------------------------------------ PTP/MTP devices does not actually contain "files", they contain objects. These objects have file names, but that is actually just a name tag on the object. Folders/directories aren't really such entities: they are just objects too, albeit objects that can act as parent to other objects. They are called "associations" and are created in atomic fashion and even though there is an MTP command to get all the associations of a certain object, this command is optional so it is perfectly possible (and most common, actually) to create devices where the "folders" (which are actually associations) have no idea whatsoever of what files they are associated as parents to (i.e. which files they contain). This is very easy for device manufacturers to implement, all the association (i.e. finding out which files are in a certain folder) has to be done by the MTP Initiator / host computer. Moving a file to a new folder is for example very simple in a "real" file system. In PTP/MTP devices it is often not even possible, some devices *may* be able to do that, if they support command 0x1019 "Move Object", but actually the only reliable way of executing file movement is to upload the file to the host, download it with the new parent, then delete the old file. We have played with the idea of implementing this time consuming function as a fallback in case the device does not support command 0x1019, perhaps one day we will do that. (Some devices also support command 0x101a "Copy Object".) Then the issue that in PTP/MTP it is legal for two files to have exactly the same path as long as their object IDs differ. A folder/association can contain two files with the exact same name. (And on the Creative devices this even works, too, though most devices implicitly fail at this.) Perhaps one could add some custom hook for handling that, so they become /Foo.mp3 and /Foo.mp3(1) or something similar, but it's really a bit kludgy. Playlists and albums aren't really files, thinking about them as files like the hacks in libgphoto2 is really backwards. They are called associations and are more like a symbolic link that links in a star-shaped pattern to all the files that are part of the album/playlist. Some devices (Samsung) thought that was too complicated and have a different way of storing playlists in an UTF-16 encoded .spl-like file instead! This is why playlists/albums must have their own structs and functions. Plain file access also assumes to be able to write files of an undetermined size, which is simply not possible in a transactional file system like PTP/MTP. (See further below.) I Want Streaming! ----------------- Streaming reads is easy. Just connect the output file descriptor from LIBMTP_Get_File_To_File_Descriptor() (and a similar function for tracks) wherever you want. People have connected this to TCP sockets for streaming web servers etc, works like a charm. Some devices will even survive if the callback functions return non-zero and cancel the download. Some devices will lock up and even require a reset if you do that. Devices are poorly implemented so that's life. If you want to stream off a device, the best idea is always to stream the entire file and discard the stuff at the end you don't want. It will incur a delay if you e.g. want to skip between tracks, sadly. Then we get to the complicated things: streaming WRITES... There is a function: LIBMTP_Send_File_From_File_Descriptor() (and similar for tracks) which will write a file to a device from a file descriptor, which may be a socket or whatever. HOWEVER: this requires a piece of metadata with the .filesize properly set first. This is not because we think it is funny to require that, the protocol requires it. The reason is that PTP/MTP is a transactional file system and it wants to be able to deny file transfer if the file won't fit on the device, so the transaction never even starts, it's impossible to start a transaction without giving file length. People really want streaming so I tried a lot of hacks to see if they would work, such as setting file size to 0xffffffffU or something other unnaturally big and then aborting the file transfer when the stream ends. It doesn't work: either the device crashes or the file simply disappears since the device rolls back all failed transactions. So this is an inherent limitation of the PTP/MTP protocol. I want to remote control my device! ----------------------------------- I have both good and bad news for you. The good news is that the MTP protocol has well-defined commands to play back content on a device. Operation 0xD411 (PTP_DPC_MTP_PlaybackObject) will start playing back a file on the device (whatever that may mean if this is not a music or video file), and operation 0xD403 can set the playback volume to save your ears. Then there are operations to determine how far into the current file you currently are, so as to support say progress bars. Since these commands have been around since the dawn of the MTP protocol and since it was developed in cooperation with Creative Technology, this is probably a requested feature from the Creative people who already had support for playback on their devices using the PDE protocol back then. Anyway, here are the bad news: [logs]$ grep d411 * mtp-detect-trekstor-vibez.txt: 0xd411: Playback Object Aha there is only one known device in the world which actually supports playback on the device. So either you go buy the Trekstor Vibez, or you can forget about this. You could always try asking your hardware vendor of choice to go implement this. Since none of the core developers of libmtp has the Trekstor device, this is not yet implemented in libmtp. I make MTP devices! ------------------- If you are a device vendor there is a lot you can do for libmtp: * Please consider assigning one of your employees as a contact person for libmtp, have them sign up to the libmtp development list and answer questions and post new device ID:s as they are released to our mailing list. * If you want to help even more, assign someone to look deeper into error reports on your specific devices, understand why your firmware may require some special device flags and what can be done about it. * Do you have spare devices you can give us? Send them to Richard (Mac support) or Linus (Linux support). (So far nobody did that except for Microsoft who sent us a Zune by proxy!) Vendors do need help from libmtp too, especially we want to help vendors improve their MTP stacks, because they all suffer from the same problem: the lack of a proper conformance test has made many devices incompliant with the MTP specification as it is published today: most devices are just compliant with the Windows MTP stack, and don't work out-of-the-box with libmtp. We need someone on the inside to help in bug reporting vendors MTP stacks internally so these issues are raised. A good way to go toward better MTP compliance is to test with an alternative implementation of the stack. In e.g. IETF standardization it is compulsory for an RFC to have atleast two independent implementations for it to reach the status as standard. Being compliant with libmtp is also more and more important for vendors: libmtp is being deployed in some embedded systems like set-top-boxes etc. It will be very irritating for customers if a device will not dock properly with some home entertainment equipment just because it is based on Linux and libmtp and not the Windows MTP stack. Autodetect with gudev --------------------- Previously you would use HAL to detect devices being plugged in. Nowadays we use udev directly, or though the GNOME libgudev library. LIBMTPs default udev rules export the proper properties to detect any MTP device automatically, here is a verbose example derived from gnomad2: #define G_UDEV_API_IS_SUBJECT_TO_CHANGE #include <gudev/gudev.h> const char * const gudev_subsystems[] = { "usb", NULL }; GUdevClient *gudev_client; guint uevent_id; guint uevent_bus_hooked = 0; guint uevent_device_hooked = 0; static void uevent_cb(GUdevClient *client, const char *action, GUdevDevice *device, void *data) { guint64 devicenum; guint vendor; guint model; guint busnum; guint devnum; guint mtpdevice; devicenum = (guint64) g_udev_device_get_device_number(device); g_print("%s event for %s (%"G_GINT64_MODIFIER"x)", action, g_udev_device_get_sysfs_path (device), devicenum); /* get device info */ vendor = get_property_as_int(device, "ID_VENDOR_ID", 16); model = get_property_as_int(device, "ID_MODEL_ID", 16); busnum = get_property_as_int(device, "BUSNUM", 10); devnum = get_property_as_int(device, "DEVNUM", 10); mtpdevice = get_property_as_int(device, "ID_MTP_DEVICE", 10); if (vendor == 0 || model == 0) { g_print("couldn't get vendor or model ID for device at (%x:%x)\n", busnum, devnum); return; } else { g_print("vendor = %x, model = %x, bus = %x, device = %x\n", vendor, model, busnum, devnum); } if (mtpdevice) { g_print("device is MTP compliant\n"); if (g_str_equal(action, "add") && uevent_bus_hooked == 0 && uevent_device_hooked == 0) { g_print(MTP device plugged in!\n"); uevent_bus_hooked = busnum; uevent_device_hooked = devnum; scan_jukebox(NULL); } else if (g_str_equal (action, "remove") && uevent_bus_hooked == busnum && uevent_device_hooked == devnum) { g_print("MTP device removed!\n"); uevent_bus_hooked = 0; uevent_device_hooked = 0; } } } (...) /* * Monitor udev device events - we're only really interested in events * for USB devices. */ gudev_client = g_udev_client_new(gudev_subsystems); uevent_id = g_signal_connect_object(gudev_client, "uevent", G_CALLBACK(uevent_cb), NULL, 0); SKETCH OF AN OVERVIEW --------------------- Draft agenda for a talk on MTP devices submitted for the Android builders summit, might come to recycle this: - Protocol overview - Transactional filesystem - no corruption due to unplugged cables! - The host and the device can access the files simultaneously, the device will always "own" the physical file system and proxy the host (MTP initiator). - libmtp interface - relation to libgphoto2 - User expectations fall short: - Not really a mountable filesystem. - Streaming does not work. (Size needs to be known beforehand due to transactional nature.) - GVFS MTP backend to the rescue. - Device sins - Using the same VID/PID for several modes, some of which are not MTP. HTC Zopo, HD2, Bird (0x0bb4/0x0c02). Thanks for that, now we cannot detect the protocol from just VID+PID but have to examine the interfaces. - Android bugs - Samsungs special Android MTP stack - SonyEricsson Aricent stack for Xperia Androids pre 4.0, broken headers! - Flat access model vs hierarchical, how Android uses MTP as an hierachical file system while it was previously a flat database. - Old paradigm: scan the entire non-hierarchical storage for all content, build a cache to speed up the (USB 1.1!) link. Usually all files were stored in the root folder or a single folder named "/Music" or similar. - Android introduced deeply nested folder hierarchies, not seen before on MTP devices. - Microsoft not using the complete metadata dump feature of the MTP protocol (once introduced by creative) instead they walk directories separately. - So caching a big device will take long time and/or timeout. - Go-MTPFS (FUSE) and GVFS MTP - doing the partial directory walk rather than caching all files. - Especially Android devices nowadays assume that you want to index a folder at the time, whereas older MTP devices (such as those from Creative) would assume that you wanted to index the entire device as it was plugged in, and device firmware is now ever more tailored toward per-folder filetree walking. This makes it harder for the library to provide the right abstractions: do we provide an API for indexing the whole device which is unacceptably slow on new devices, or do we provide an API for indexing a directory at the time which will somehow work on older devices too? Shall we deprecate the older API? - Detecting from vendor extension, can fix in newer extensions! - Autoprobing on Linux - Color devices do not like autoprobing - Devices need different PIDs for every alternative interface due to the Windows USB stack. - Multimode USB - one PID for each mode due to Windows limitations not applicable to Linux, SONY devices have ~5 different PIDs for a single device. - Mode switch devices? Maybe we do this wrong. - MTPZ, came and went. Apparently deprecated by Microsoft with Windows Phone 8. - Ideas??
VID=17ef and PID=7ad0
The device is "Lenovo TAB4 10 Plus", model TB-X704L.
ID 091e:4cdb Garmin International
in my case this is a Garmin Fenix 6X Pro smartwatch / multisport watch.
I report this back as I am searching for a way to get this device properly displayed in the software https://github.com/Maproom/qmapshack
If you add that info to libmtp
, I assume it will take some time to get that change via my distro Fedora.
Please advise if I can somehow manually add that to my system.
Currently the watch gets mounted in Gnome Nautilus, but not via MTP, as it seems?
thanks ...
I configure libmtp with libmtp/configure CC=i686-w64-mingw32.shared-gcc --host=i686-w64-mingw32.shared --enable-shared --prefix=/__w/mxe/usr/i686-w64-mingw32.shared
, similar to many other autoconf based libraries that I use.
But when I try to build libmtp I get loads of these errors:
/bin/bash ../libtool --tag=CC --mode=link i686-w64-mingw32.shared-gcc -I/win/mxe/usr/i686-w64-mingw32.shared/include/libusb-1.0 -g -O2 -Wall -Wmissing-prototypes -no-undefined -export-symbols /__w/libmtp/src/libmtp.sym -version-info 13:0:4 -export-dynamic -o libmtp.la -rpath /__w/mxe/usr/i686-w64-mingw32.shared/lib libmtp_la-libmtp.lo libmtp_la-unicode.lo libmtp_la-util.lo libmtp_la-playlist-spl.lo libmtp_la-ptp.lo libmtp_la-mtpz.lo libmtp_la-libusb1-glue.lo -lws2_32 -liconv -lusb-1.0 -lgcrypt
libtool: link: /__w/mxe/usr/bin/i686-w64-mingw32.shared-nm -B .libs/libmtp_la-libmtp.o .libs/libmtp_la-unicode.o .libs/libmtp_la-util.o .libs/libmtp_la-playlist-spl.o .libs/libmtp_la-ptp.o .libs/libmtp_la-mtpz.o .libs/libmtp_la-libusb1-glue.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed -e '/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //' | sort | uniq > .libs/libmtp.exp
libtool: link: if test DEF = "`/bin/sed -n -e 's/^[ ]*//' -e '/^\(;.*\)*$/d' -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' -e q .libs/libmtp.def`" ; then cp .libs/libmtp.def .libs/libmtp-9.dll.def; else echo EXPORTS > .libs/libmtp-9.dll.def; cat .libs/libmtp.def >> .libs/libmtp-9.dll.def; fi
libtool: link: i686-w64-mingw32.shared-gcc -shared .libs/libmtp-9.dll.def .libs/libmtp_la-libmtp.o .libs/libmtp_la-unicode.o .libs/libmtp_la-util.o .libs/libmtp_la-playlist-spl.o .libs/libmtp_la-ptp.o .libs/libmtp_la-mtpz.o .libs/libmtp_la-libusb1-glue.o -lws2_32 /win/mxe/usr/i686-w64-mingw32.shared/lib/libiconv.dll.a /win/mxe/usr/i686-w64-mingw32.shared/lib/libusb-1.0.dll.a /win/mxe/usr/i686-w64-mingw32.shared/lib/libgcrypt.dll.a -L/win/mxe/usr/i686-w64-mingw32.shared/lib -g -O2 -o .libs/libmtp-9.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libmtp.dll.a
Warning: resolving _htons by linking to _htons@4
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving _ntohs by linking to _ntohs@4
Warning: resolving _htonl by linking to _htonl@4
Warning: resolving _ntohl by linking to _ntohl@4
`_htons' referenced in section `.text' of .libs/libmtp_la-ptp.o: defined in discarded section `.text' of /win/mxe/usr/i686-w64-mingw32.shared/lib/libws2_32.a(dtsass00150.o)
`_ntohs' referenced in section `.text' of .libs/libmtp_la-ptp.o: defined in discarded section `.text' of /win/mxe/usr/i686-w64-mingw32.shared/lib/libws2_32.a(dtsass00158.o)
`_ntohs' referenced in section `.text' of .libs/libmtp_la-ptp.o: defined in discarded section `.text' of /win/mxe/usr/i686-w64-mingw32.shared/lib/libws2_32.a(dtsass00158.o)
`_htons' referenced in section `.text' of .libs/libmtp_la-ptp.o: defined in discarded section `.text' of /win/mxe/usr/i686-w64-mingw32.shared/lib/libws2_32.a(dtsass00150.o)
`_htons' referenced in section `.text' of .libs/libmtp_la-ptp.o: defined in discarded section `.text' of /win/mxe/usr/i686-w64-mingw32.shared/lib/libws2_32.a(dtsass00150.o)
`_htonl' referenced in section `.text' of .libs/libmtp_la-ptp.o: defined in discarded section `.text' of /win/mxe/usr/i686-w64-mingw32.shared/lib/libws2_32.a(dtsass00149.o)
`_htonl' referenced in section `.text' of .libs/libmtp_la-ptp.o: defined in discarded section `.text' of /win/mxe/usr/i686-w64-mingw32.shared/lib/libws2_32.a(dtsass00149.o)
I'd be curious if anyone knows a fix for that. Googling hasn't really brought me anything that seemed helpful.
VID=091e and PID=4b54
Garmin Fenix 5S Plus
libmtp version: 1.1.18
Listing raw device(s)
Device 0 (VID=0b05 and PID=600f) is UNKNOWN in libmtp v1.1.18.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
0b05:600f @ bus 1, dev 12
Attempting to connect device(s)
libusb_claim_interface() reports device is busy, likely in use by GVFS or KDE MTP device handling alreadyLIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.
That's an Asus ZenPad 10.
Modell: Lenovo TB-X704L
libmtp version: 1.1.17
Device 0 (VID=17ef and PID=7ad0) is UNKNOWN in libmtp v1.1.17.
Please report this VID/PID and the device model to the libmtp development team
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
No devices.
Device 0 (VID=12d1 and PID=107e) is UNKNOWN in libmtp v1.1.10.
Please report this VID/PID and the device model to the libmtp development team
Android device detected, assigning default bug flags
Device model: Huawei Matepad Pro & Huawei Mate 30 Pro
When using the mtp-connect program with the --getfile
option, we are supposed to give two more arguments [source] [destination]
but the second one is considered as an unkown option
:
% mtp-connect --getfile /10001/test test
libmtp version: 1.1.16
Device ...
Get file /10001/test
Unknown options: test
how to install this file
journalctl says
Please report this VID/PID and the device model to the libmtp development team
on Ubuntu 20.04.3
on SONY XQ BT52
it works for a moment but then disconnects
gvfsd-computer[16892]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Sorry if this has already been adressed; searched and didn't see anything directly relevant.
Model is TB-X606F (Lenovo Tab M10 FHD Plus).
VID: 17ef
PID: 7c46
$ jmtpfs
Device 0 (VID=17ef and PID=7c46) is UNKNOWN in libmtp v1.1.18.
Please report this VID/PID and the device model to the libmtp development team
libusb_claim_interface() reports device is busy, likely in use by GVFS or KDE MTP device handling alreadyLIBMTP PANIC: Unable to initialize device
terminate called after throwing an instance of 'MtpErrorCantOpenDevice'
what(): Can't open device
Aborted (core dumped)
$
I tried using the mtp-filetree program on a mobile device, I got the following error.
Error 1: Get Storage information failed
Here is the output of the program in debug mode, is there any way of fixing this?
https://cryptobin.co/o7593578
password : i5IxE22DDAXIBzi
I did managed to connect to retrive cached files though.
$ mtp-detect
libmtp version: 1.1.13
Listing raw device(s)
Device 0 (VID=1949 and PID=0271) is UNKNOWN in libmtp v1.1.13.
Please report this VID/PID and the device model to the libmtp development team
This is the Amazon Fire Tablet 7, I checked and it's not yet supported even in current master. Probably needs just the usual DEVICE_FLAGS_ANDROID_BUGS.
Attempting to create files with characters such as colon (:) not permitted by the remote filesystem fails with a freeze in thunar/nautilus and an eventual confusing message: "libmtp error. Could not send object.."
I have observed my new phone (Android 11) uses F2FS for /sdcard and does not appear to support colons in filenames, where as the old one used sdcardfs for /sdcard which did.
Files with colons in their name worked just fine on the older phone (both libmtp access and adb shell) but fail on the newer Android 11 model. From testing in adb shell, the error seems to be EPERM on the Android side.
Because Android seems to be moving toward F2FS this may come up quite a bit more in the near future. Obviously addressing the issue properly is non-trivial (Is there a means to indicate back to gnome-vfs that the filename is invalid? What should a file manager doing a file copy do about that case?).
In the interim, since the error message from libmtp does seem to be posted to the end-user. So an explicit check resulting in a more meaningful error message would solve a lot of problems.
To reproduce, run mtp-getfile
without parameters or mtp-getfile --help
. On my machine the program spends over 4 minutes before it displays the line getfile <fileid/trackid> <filename>
The sooner the program reports incorrect syntax, the better.
Half of the time I can connect the video device to my linux laptop, half of the time it fails.
It's reaaaally annoying :'-(
According to the log of gtmp I hereby report the VID/PID along with the device model to the dev team
Device: FITT360 (see https://fitt360.co.kr/en/ )
Device 0 (VID=05c6 and PID=901b) is UNKNOWN in libmtp v1.1.13.
Please report this VID/PID and the device model to the libmtp development team
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Detect: Unable to open raw device?
LIBMTP PANIC: Trying to dump the error stack of a NULL device!
Thank you for your work and your consideration.
Cannot build because we are missing some configure files
It would be nice, if the tarballs from sourceforge could be mirrored (or moved) to the Github releases page: https://github.com/libmtp/libmtp/releases (sourceforge can be unreliable and thus block automatic builds)
Trying to mount a device with mtpfs I get this:
Device 0 (VID=4102 and PID=1230) is UNKNOWN in libmtp v1.1.18.
Please report this VID/PID and the device model to the libmtp development team
Available devices (busLocation, devNum, productId, vendorId, product, vendor):
3, 2, 0x1230, 0x4102, UNKNOWN, UNKNOWN
From lsusb
:
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x4102 iRiver, Ltd.
idProduct 0x1230
bcdDevice 3.10
iManufacturer 1 Dreamus Company
iProduct 2 SE180
iSerial 3 REDACTED
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0027
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 mtp
bmAttributes 0x80
(Bus 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 5 MTP
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 0x02 EP 2 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 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x001c 1x 28 bytes
bInterval 6
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
lsusb.txt
VID=091e
PID=4cdb
Garmin tactixยฎ Delta Sapphire Edition
https://buy.garmin.com/en-US/US/p/696005
Please mention pkg-config in INSTALL as a build dependency. Script autogen.sh fails with error is pkg-config is not installed at least in Ubuntu 18.04
I try to compile a windows dll of libmtp 1.1.14 using mingw32.
But i get this error message:
libtool: link: gcc -shared .libs/libmtp-9.dll.def .libs/libmtp_la-libmtp.o .libs/libmtp_la-unicode.o .libs/libmtp_la-util.o .libs/libmtp_la-playlist-spl.o .libs/libmtp_la-ptp.o .libs/libmtp_la-mtpz.o .libs/libmtp_la-libusb1-glue.o -lws2_32 -lusb-1.0 -lgcrypt -g -O2 -o .libs/libmtp-9.dll -Xlinker --out-implib -Xlinker .libs/libmtp.dll.a
/usr/bin/ld:.libs/libmtp-9.dll.def: file format not recognized; treating as linker script
/usr/bin/ld:.libs/libmtp-9.dll.def:2: syntax error
collect2: error: ld returned 1 exit status
i attached libmtp-9.dll.def
I have an up-to-date (09.10.2021) SUSE Tumbleweed install that had trouble opening my smartphone and tablet after an update about two weeks ago. Since I do not know what version Tumbleweed update to/from 1.1.18 something, I decided to compile libmtp myself and install to /usr/local. Path and ld search path have preference for /usr/local, so the new version should be used.
dmesg
[ 555.650963] usb 3-1: new high-speed USB device number 3 using xhci_hcd
[ 555.801572] usb 3-1: New USB device found, idVendor=22b8, idProduct=2e82, bcdDevice= 2.28
[ 555.801589] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 555.801596] usb 3-1: Product: XT1032
[ 555.801601] usb 3-1: Manufacturer: motorola
[ 555.801605] usb 3-1: SerialNumber: TA93000XBS
mtp-detect
libmtp version: 1.1.19
Listing raw device(s)
Device 0 (VID=22b8 and PID=2e82) is a Motorola Moto G (ID2).
Found 1 device(s):
Motorola: Moto G (ID2) (22b8:2e82) @ bus 3, dev 3
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
USB low-level info:
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 22b8
idProduct: 2e82
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 3
Device number: 3
Device entry info:
Vendor: Motorola
Vendor id: 0x22b8
Product: Moto G (ID2)
Vendor id: 0x2e82
Device flags: 0x18008106
Configuration 0, interface 0, altsetting 0:
Interface description contains the string "MTP"
Device recognized as MTP, no further probing.
Device info:
Manufacturer: motorola
Model: XT1032
Device version: 1.0
Serial number: TA93000XBS
Vendor extension ID: 0x00000006
Vendor extension description: microsoft.com: 1.0; android.com: 1.0; mot-mobility.com/DSU: 1.2
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: Get Partial Object (64bit Offset)
95c2: Send Partial Object
95c3: Truncate Object
95c4: Begin Edit Object
95c5: End Edit Object
9001: Unknown PTP_OC
9002: Unknown PTP_OC
9003: Unknown PTP_OC
9004: Unknown PTP_OC
9005: Unknown PTP_OC
9006: Unknown PTP_OC
9007: Unknown PTP_OC
9008: Unknown PTP_OC
9009: Unknown PTP_OC
900a: Unknown PTP_OC
900b: Unknown PTP_OC
900c: Unknown PTP_OC
Events supported:
0x4002: ObjectAdded
0x4003: ObjectRemoved
0x4004: StoreAdded
0x4005: StoreRemoved
0x4006: DevicePropChanged
Device Properties Supported:
0xd401: Synchronization Partner
0xd402: Friendly Device Name
0x5003: Image Size
0x5001: Battery Level
Playable File (Object) Types and Object Properties Supported:
3000: Undefined Type
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
3001: Association/Directory
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
3004: Text
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
3005: HTML
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
3008: MS Wave
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc46: Artist STRING data type READ ONLY GROUP 0x0
dc9a: Album Name STRING data type READ ONLY GROUP 0x0
dc9b: Album Artist STRING data type READ ONLY GROUP 0x0
dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc99: Original Release Date STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc8c: Genre STRING data type READ ONLY GROUP 0x0
dc96: Composer STRING data type READ ONLY GROUP 0x0
de99: Audio WAVE Codec UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
de92: Bit Rate Type UINT16 data type enumeration: 1, 2, READ ONLY GROUP 0x0
de9a: Audio Bit Rate UINT32 data type range: MIN 1, MAX 1536000, STEP 1 READ ONLY GROUP 0x0
de94: Number Of Channels UINT16 data type enumeration: 1, 2, 3, 4, 5, 6, 7, 8, 9, READ ONLY GROUP 0x0
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 1 READ ONLY GROUP 0x0
3009: MP3
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc46: Artist STRING data type READ ONLY GROUP 0x0
dc9a: Album Name STRING data type READ ONLY GROUP 0x0
dc9b: Album Artist STRING data type READ ONLY GROUP 0x0
dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc99: Original Release Date STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc8c: Genre STRING data type READ ONLY GROUP 0x0
dc96: Composer STRING data type READ ONLY GROUP 0x0
de99: Audio WAVE Codec UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
de92: Bit Rate Type UINT16 data type enumeration: 1, 2, READ ONLY GROUP 0x0
de9a: Audio Bit Rate UINT32 data type range: MIN 1, MAX 1536000, STEP 1 READ ONLY GROUP 0x0
de94: Number Of Channels UINT16 data type enumeration: 1, 2, 3, 4, 5, 6, 7, 8, 9, READ ONLY GROUP 0x0
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 1 READ ONLY GROUP 0x0
300b: MPEG
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc46: Artist STRING data type READ ONLY GROUP 0x0
dc9a: Album Name STRING data type READ ONLY GROUP 0x0
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc48: Description STRING data type READ ONLY GROUP 0x0
de9b: Video Four CC Codec UINT32 data type enumeration: 0, 859189832, 959853128, 1195724877, 827739479, 844516695, 861293911, GET/SET GROUP 0x0
dea1: Encoding Profile STRING data type GET/SET GROUP 0x0
3801: JPEG
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc48: Description STRING data type READ ONLY GROUP 0x0
3802: TIFF EP
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
3804: BMP
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc48: Description STRING data type READ ONLY GROUP 0x0
3807: GIF
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc48: Description STRING data type READ ONLY GROUP 0x0
3808: JFIF
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
380b: PNG
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc48: Description STRING data type READ ONLY GROUP 0x0
380d: TIFF
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
b901: WMA
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc46: Artist STRING data type READ ONLY GROUP 0x0
dc9a: Album Name STRING data type READ ONLY GROUP 0x0
dc9b: Album Artist STRING data type READ ONLY GROUP 0x0
dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc99: Original Release Date STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc8c: Genre STRING data type READ ONLY GROUP 0x0
dc96: Composer STRING data type READ ONLY GROUP 0x0
de99: Audio WAVE Codec UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
de92: Bit Rate Type UINT16 data type enumeration: 1, 2, READ ONLY GROUP 0x0
de9a: Audio Bit Rate UINT32 data type range: MIN 1, MAX 1536000, STEP 1 READ ONLY GROUP 0x0
de94: Number Of Channels UINT16 data type enumeration: 1, 2, 3, 4, 5, 6, 7, 8, 9, READ ONLY GROUP 0x0
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 1 READ ONLY GROUP 0x0
b902: OGG
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc46: Artist STRING data type READ ONLY GROUP 0x0
dc9a: Album Name STRING data type READ ONLY GROUP 0x0
dc9b: Album Artist STRING data type READ ONLY GROUP 0x0
dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc99: Original Release Date STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc8c: Genre STRING data type READ ONLY GROUP 0x0
dc96: Composer STRING data type READ ONLY GROUP 0x0
de99: Audio WAVE Codec UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
de92: Bit Rate Type UINT16 data type enumeration: 1, 2, READ ONLY GROUP 0x0
de9a: Audio Bit Rate UINT32 data type range: MIN 1, MAX 1536000, STEP 1 READ ONLY GROUP 0x0
de94: Number Of Channels UINT16 data type enumeration: 1, 2, 3, 4, 5, 6, 7, 8, 9, READ ONLY GROUP 0x0
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 1 READ ONLY GROUP 0x0
b903: AAC
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc46: Artist STRING data type READ ONLY GROUP 0x0
dc9a: Album Name STRING data type READ ONLY GROUP 0x0
dc9b: Album Artist STRING data type READ ONLY GROUP 0x0
dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc99: Original Release Date STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc8c: Genre STRING data type READ ONLY GROUP 0x0
dc96: Composer STRING data type READ ONLY GROUP 0x0
de99: Audio WAVE Codec UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
de92: Bit Rate Type UINT16 data type enumeration: 1, 2, READ ONLY GROUP 0x0
de9a: Audio Bit Rate UINT32 data type range: MIN 1, MAX 1536000, STEP 1 READ ONLY GROUP 0x0
de94: Number Of Channels UINT16 data type enumeration: 1, 2, 3, 4, 5, 6, 7, 8, 9, READ ONLY GROUP 0x0
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 1 READ ONLY GROUP 0x0
b982: MP4
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
b983: MP2
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
b984: 3GP
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc46: Artist STRING data type READ ONLY GROUP 0x0
dc9a: Album Name STRING data type READ ONLY GROUP 0x0
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc48: Description STRING data type READ ONLY GROUP 0x0
de9b: Video Four CC Codec UINT32 data type enumeration: 0, 859189832, 959853128, 1195724877, 827739479, 844516695, 861293911, GET/SET GROUP 0x0
dea1: Encoding Profile STRING data type GET/SET GROUP 0x0
ba05: Abstract Audio Video Playlist
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
ba10: WPL Playlist
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
ba11: M3U Playlist
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
ba14: PLS Playlist
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
ba82: XMLDocument
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
b906: FLAC
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
b981: WMV
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x0
dc04: Object Size UINT64 data type READ ONLY GROUP 0x0
dc07: Object File Name STRING data type GET/SET GROUP 0x0
dc09: Date Modified STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x0
dc44: Name STRING data type READ ONLY GROUP 0x0
dce0: Display Name STRING data type READ ONLY GROUP 0x0
dc4e: Date Added STRING data type DATETIME FORM ((null)) READ ONLY GROUP 0x0
dc46: Artist STRING data type READ ONLY GROUP 0x0
dc9a: Album Name STRING data type READ ONLY GROUP 0x0
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x0
dc48: Description STRING data type READ ONLY GROUP 0x0
de9b: Video Four CC Codec UINT32 data type enumeration: 0, 859189832, 959853128, 1195724877, 827739479, 844516695, 861293911, GET/SET GROUP 0x0
dea1: Encoding Profile STRING data type GET/SET GROUP 0x0
Storage Devices:
StorageID: 0x00010001
StorageType: 0x0003 fixed RAM storage
FilesystemType: 0x0002 generic hierarchical
AccessCapability: 0x0000 read/write
MaxCapacity: 13868318720
FreeSpaceInBytes: 1149186048
FreeSpaceInObjects: 1073741824
StorageDescription: Interner Speicher
VolumeIdentifier:
Special directories:
Default music folder: 0xffffffff
Default playlist folder: 0xffffffff
Default picture folder: 0xffffffff
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:
Synchronization partner:
Battery level 66 of 100 (66%)
libmtp supported (playable) filetypes:
Folder
Text file
HTML file
RIFF WAVE file
ISO MPEG-1 Audio Layer 3
MPEG video stream
JPEG file
BMP bitmap 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)
Microsoft Windows Media Video
OK.
I cannot mount that way.
dmesg:
[ 980.516693] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[ 980.644629] usb 3-1: new high-speed USB device number 5 using xhci_hcd
[ 980.796131] usb 3-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
[ 980.796148] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 980.796156] usb 3-1: Product: SAMSUNG_Android
[ 980.796161] usb 3-1: Manufacturer: SAMSUNG
[ 980.796165] usb 3-1: SerialNumber: a2a4b0d014967113
mtp-detect
libmtp version: 1.1.19
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
Found 1 device(s):
Samsung: Galaxy models (MTP) (04e8:6860) @ bus 3, dev 11
Attempting to connect device(s)
USB low-level info:
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: 11
Device entry info:
Vendor: Samsung
Vendor id: 0x04e8
Product: Galaxy models (MTP)
Vendor id: 0x6860
Device flags: 0xc8000202
Configuration 0, interface 0, altsetting 0:
Interface description contains the string "MTP"
Device recognized as MTP, no further probing.
Device info:
Manufacturer: Samsung Electronics Co., Ltd.
Model: SM-T550
Device version: T550XXU1CRG1
Serial number: R52GA1RJP6A
Vendor extension ID: 0x00000006
Vendor extension description: microsoft.com: 1.0; microsoft.com/WMPPD: 11.0; microsoft.com/WMPPD: 10.0;samsung.com/kies:4.1;samsung.com/devicestatus:0;samsung.com/sidesync3.1;
Detected object size: 64 bits
Extensions:
microsoft.com: 1.0
microsoft.com/WMPPD: 11.0
microsoft.com/WMPPD: 10.0
samsung.com/kies: 4.1
samsung.com/devicestatus: 0.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
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
101b: Get partial object
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
9201: Report Added/Deleted Items
9202: Report Acquired Items
100a: Get thumbnail
1011: Self test device
1012: Set object protection
1017: Reset device property value
1019: Move object
101a: Copy object
9807: Get interdependent property description
9808: Send object property list
9501: Unknown PTP_OC
9502: Unknown PTP_OC
9503: Unknown PTP_OC
9504: Unknown PTP_OC
Events supported:
0x4002: ObjectAdded
0x4003: ObjectRemoved
0x4004: StoreAdded
0x4005: StoreRemoved
0x400c: StorageInfoChanged
Device Properties Supported:
0x5001: Battery Level
0xd401: Synchronization Partner
0xd402: Friendly Device Name
0xd404: Unknown property
0xd407: Perceived Device Type
0xd405: Device Icon
Playable File (Object) Types and Object Properties Supported:
b984: 3GP
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc87: Width UINT32 data type range: MIN 0, MAX 4000, STEP 1 GET/SET GROUP 0x8
dc88: Height UINT32 data type range: MIN 0, MAX 3000, STEP 1 GET/SET GROUP 0x8
dc8c: Genre STRING data type GET/SET GROUP 0x8
dc91: Use Count UINT32 data type ANY 32BIT VALUE form GET/SET GROUP 0x8
dc99: Original Release Date STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY GROUP 0x8
de94: Number Of Channels UINT16 data type enumeration: 0, 1, 2, GET/SET GROUP 0x8
de97: Scan Depth UINT16 data type enumeration: 0, 1, 2, 3, 6, 7, GET/SET GROUP 0x8
de99: Audio WAVE Codec UINT32 data type enumeration: 0, 85, 352, 353, READ ONLY GROUP 0x8
de9a: Audio Bit Rate UINT32 data type range: MIN 13000, MAX 192999, STEP 1 READ ONLY GROUP 0x8
de9b: Video Four CC Codec UINT32 data type enumeration: 0, 861293911, GET/SET GROUP 0x8
de9c: Video Bit Rate UINT32 data type range: MIN 32000, MAX 10485760, STEP 1 GET/SET GROUP 0x8
de9d: Frames Per Thousand Seconds UINT32 data type enumeration: 0, 15000, 24000, 25000, 29970, 30000, GET/SET GROUP 0x8
de9e: Key Frame Distance UINT32 data type range: MIN 100, MAX 300, STEP 1 GET/SET GROUP 0x8
dea1: Encoding Profile STRING data type READ ONLY GROUP 0x8
dc89: Duration UINT32 data type range: MIN 0, MAX 4294967295, STEP 1 GET/SET GROUP 0x0
dc47: Date Authored STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
b985: Unknown(b985)
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
3009: MP3
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc46: Artist STRING data type GET/SET GROUP 0x4
dc89: Duration UINT32 data type range: MIN 0, MAX 4294967295, STEP 1 GET/SET GROUP 0x0
dc8a: Rating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET GROUP 0x1
dc8b: Track UINT16 data type ANY 16BIT VALUE form GET/SET GROUP 0x4
dc8c: Genre STRING data type GET/SET GROUP 0x4
dc97: Effective Rating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET GROUP 0x0
dc99: Original Release Date STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
dc9a: Album Name STRING data type GET/SET GROUP 0x4
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY GROUP 0x0
de94: Number Of Channels UINT16 data type enumeration: 0, 1, 2, GET/SET GROUP 0x0
de99: Audio WAVE Codec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222, READ ONLY GROUP 0x100
de9a: Audio Bit Rate UINT32 data type range: MIN 13000, MAX 384000, STEP 1 READ ONLY GROUP 0x0
dc91: Use Count UINT32 data type ANY 32BIT VALUE form GET/SET GROUP 0x0
de92: Bit Rate Type UINT16 data type enumeration: 0, 1, 2, 3, GET/SET GROUP 0x0
dc9b: Album Artist STRING data type GET/SET GROUP 0x4
dc96: Composer STRING data type GET/SET GROUP 0x100
b901: WMA
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc46: Artist STRING data type GET/SET GROUP 0x4
dc89: Duration UINT32 data type range: MIN 0, MAX 4294967295, STEP 1 GET/SET GROUP 0x0
dc8a: Rating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET GROUP 0x1
dc8b: Track UINT16 data type ANY 16BIT VALUE form GET/SET GROUP 0x4
dc8c: Genre STRING data type GET/SET GROUP 0x4
dc97: Effective Rating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET GROUP 0x0
dc99: Original Release Date STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
dc9a: Album Name STRING data type GET/SET GROUP 0x4
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY GROUP 0x0
de94: Number Of Channels UINT16 data type enumeration: 0, 1, 2, GET/SET GROUP 0x0
de99: Audio WAVE Codec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222, READ ONLY GROUP 0x100
de9a: Audio Bit Rate UINT32 data type range: MIN 13000, MAX 384000, STEP 1 READ ONLY GROUP 0x0
dc91: Use Count UINT32 data type ANY 32BIT VALUE form GET/SET GROUP 0x0
de92: Bit Rate Type UINT16 data type enumeration: 0, 1, 2, 3, GET/SET GROUP 0x0
dc9b: Album Artist STRING data type GET/SET GROUP 0x4
dc96: Composer STRING data type GET/SET GROUP 0x100
b981: WMV
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc87: Width UINT32 data type range: MIN 0, MAX 4000, STEP 1 GET/SET GROUP 0x8
dc88: Height UINT32 data type range: MIN 0, MAX 3000, STEP 1 GET/SET GROUP 0x8
dc8c: Genre STRING data type GET/SET GROUP 0x8
dc91: Use Count UINT32 data type ANY 32BIT VALUE form GET/SET GROUP 0x8
dc99: Original Release Date STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY GROUP 0x8
de94: Number Of Channels UINT16 data type enumeration: 0, 1, 2, GET/SET GROUP 0x8
de97: Scan Depth UINT16 data type enumeration: 0, 1, 2, 3, 6, 7, GET/SET GROUP 0x8
de99: Audio WAVE Codec UINT32 data type enumeration: 0, 85, 352, 353, READ ONLY GROUP 0x8
de9a: Audio Bit Rate UINT32 data type range: MIN 13000, MAX 192999, STEP 1 READ ONLY GROUP 0x8
de9b: Video Four CC Codec UINT32 data type enumeration: 0, 861293911, GET/SET GROUP 0x8
de9c: Video Bit Rate UINT32 data type range: MIN 32000, MAX 10485760, STEP 1 GET/SET GROUP 0x8
de9d: Frames Per Thousand Seconds UINT32 data type enumeration: 0, 15000, 24000, 25000, 29970, 30000, GET/SET GROUP 0x8
de9e: Key Frame Distance UINT32 data type range: MIN 100, MAX 300, STEP 1 GET/SET GROUP 0x8
dea1: Encoding Profile STRING data type READ ONLY GROUP 0x8
dc89: Duration UINT32 data type range: MIN 0, MAX 4294967295, STEP 1 GET/SET GROUP 0x0
dc47: Date Authored STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
3801: JPEG
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc9b: Album Artist STRING data type GET/SET GROUP 0x4
dc87: Width UINT32 data type range: MIN 0, MAX 30000, STEP 1 GET/SET GROUP 0x100
dc88: Height UINT32 data type range: MIN 0, MAX 30000, STEP 1 GET/SET GROUP 0x100
d901: Buy flag UINT8 data type range: MIN 0, MAX 1, STEP 0 GET/SET GROUP 0x8
dc47: Date Authored STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
3001: Association/Directory
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
ba05: Abstract Audio Video Playlist
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
3000: Undefined Type
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
b906: FLAC
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
b908: Unknown(b908)
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
3807: GIF
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc9b: Album Artist STRING data type GET/SET GROUP 0x4
dc87: Width UINT32 data type range: MIN 0, MAX 30000, STEP 1 GET/SET GROUP 0x100
dc88: Height UINT32 data type range: MIN 0, MAX 30000, STEP 1 GET/SET GROUP 0x100
d901: Buy flag UINT8 data type range: MIN 0, MAX 1, STEP 0 GET/SET GROUP 0x8
dc47: Date Authored STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
3804: BMP
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc9b: Album Artist STRING data type GET/SET GROUP 0x4
dc87: Width UINT32 data type range: MIN 0, MAX 30000, STEP 1 GET/SET GROUP 0x100
dc88: Height UINT32 data type range: MIN 0, MAX 30000, STEP 1 GET/SET GROUP 0x100
d901: Buy flag UINT8 data type range: MIN 0, MAX 1, STEP 0 GET/SET GROUP 0x8
dc47: Date Authored STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
380b: PNG
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc9b: Album Artist STRING data type GET/SET GROUP 0x4
dc87: Width UINT32 data type range: MIN 0, MAX 30000, STEP 1 GET/SET GROUP 0x100
dc88: Height UINT32 data type range: MIN 0, MAX 30000, STEP 1 GET/SET GROUP 0x100
d901: Buy flag UINT8 data type range: MIN 0, MAX 1, STEP 0 GET/SET GROUP 0x8
dc47: Date Authored STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
300a: MS AVI
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc87: Width UINT32 data type range: MIN 0, MAX 4000, STEP 1 GET/SET GROUP 0x8
dc88: Height UINT32 data type range: MIN 0, MAX 3000, STEP 1 GET/SET GROUP 0x8
dc8c: Genre STRING data type GET/SET GROUP 0x8
dc91: Use Count UINT32 data type ANY 32BIT VALUE form GET/SET GROUP 0x8
dc99: Original Release Date STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY GROUP 0x8
de94: Number Of Channels UINT16 data type enumeration: 0, 1, 2, GET/SET GROUP 0x8
de97: Scan Depth UINT16 data type enumeration: 0, 1, 2, 3, 6, 7, GET/SET GROUP 0x8
de99: Audio WAVE Codec UINT32 data type enumeration: 0, 85, 352, 353, READ ONLY GROUP 0x8
de9a: Audio Bit Rate UINT32 data type range: MIN 13000, MAX 192999, STEP 1 READ ONLY GROUP 0x8
de9b: Video Four CC Codec UINT32 data type enumeration: 0, 861293911, GET/SET GROUP 0x8
de9c: Video Bit Rate UINT32 data type range: MIN 32000, MAX 10485760, STEP 1 GET/SET GROUP 0x8
de9d: Frames Per Thousand Seconds UINT32 data type enumeration: 0, 15000, 24000, 25000, 29970, 30000, GET/SET GROUP 0x8
de9e: Key Frame Distance UINT32 data type range: MIN 100, MAX 300, STEP 1 GET/SET GROUP 0x8
dea1: Encoding Profile STRING data type READ ONLY GROUP 0x8
dc89: Duration UINT32 data type range: MIN 0, MAX 4294967295, STEP 1 GET/SET GROUP 0x0
dc47: Date Authored STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
300b: MPEG
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc87: Width UINT32 data type range: MIN 0, MAX 4000, STEP 1 GET/SET GROUP 0x8
dc88: Height UINT32 data type range: MIN 0, MAX 3000, STEP 1 GET/SET GROUP 0x8
dc8c: Genre STRING data type GET/SET GROUP 0x8
dc91: Use Count UINT32 data type ANY 32BIT VALUE form GET/SET GROUP 0x8
dc99: Original Release Date STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY GROUP 0x8
de94: Number Of Channels UINT16 data type enumeration: 0, 1, 2, GET/SET GROUP 0x8
de97: Scan Depth UINT16 data type enumeration: 0, 1, 2, 3, 6, 7, GET/SET GROUP 0x8
de99: Audio WAVE Codec UINT32 data type enumeration: 0, 85, 352, 353, READ ONLY GROUP 0x8
de9a: Audio Bit Rate UINT32 data type range: MIN 13000, MAX 192999, STEP 1 READ ONLY GROUP 0x8
de9b: Video Four CC Codec UINT32 data type enumeration: 0, 861293911, GET/SET GROUP 0x8
de9c: Video Bit Rate UINT32 data type range: MIN 32000, MAX 10485760, STEP 1 GET/SET GROUP 0x8
de9d: Frames Per Thousand Seconds UINT32 data type enumeration: 0, 15000, 24000, 25000, 29970, 30000, GET/SET GROUP 0x8
de9e: Key Frame Distance UINT32 data type range: MIN 100, MAX 300, STEP 1 GET/SET GROUP 0x8
dea1: Encoding Profile STRING data type READ ONLY GROUP 0x8
dc89: Duration UINT32 data type range: MIN 0, MAX 4294967295, STEP 1 GET/SET GROUP 0x0
dc47: Date Authored STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
300c: ASF
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc87: Width UINT32 data type range: MIN 0, MAX 4000, STEP 1 GET/SET GROUP 0x8
dc88: Height UINT32 data type range: MIN 0, MAX 3000, STEP 1 GET/SET GROUP 0x8
dc8c: Genre STRING data type GET/SET GROUP 0x8
dc91: Use Count UINT32 data type ANY 32BIT VALUE form GET/SET GROUP 0x8
dc99: Original Release Date STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY GROUP 0x8
de94: Number Of Channels UINT16 data type enumeration: 0, 1, 2, GET/SET GROUP 0x8
de97: Scan Depth UINT16 data type enumeration: 0, 1, 2, 3, 6, 7, GET/SET GROUP 0x8
de99: Audio WAVE Codec UINT32 data type enumeration: 0, 85, 352, 353, READ ONLY GROUP 0x8
de9a: Audio Bit Rate UINT32 data type range: MIN 13000, MAX 192999, STEP 1 READ ONLY GROUP 0x8
de9b: Video Four CC Codec UINT32 data type enumeration: 0, 861293911, GET/SET GROUP 0x8
de9c: Video Bit Rate UINT32 data type range: MIN 32000, MAX 10485760, STEP 1 GET/SET GROUP 0x8
de9d: Frames Per Thousand Seconds UINT32 data type enumeration: 0, 15000, 24000, 25000, 29970, 30000, GET/SET GROUP 0x8
de9e: Key Frame Distance UINT32 data type range: MIN 100, MAX 300, STEP 1 GET/SET GROUP 0x8
dea1: Encoding Profile STRING data type READ ONLY GROUP 0x8
dc89: Duration UINT32 data type range: MIN 0, MAX 4294967295, STEP 1 GET/SET GROUP 0x0
dc47: Date Authored STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
b982: MP4
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc87: Width UINT32 data type range: MIN 0, MAX 4000, STEP 1 GET/SET GROUP 0x8
dc88: Height UINT32 data type range: MIN 0, MAX 3000, STEP 1 GET/SET GROUP 0x8
dc8c: Genre STRING data type GET/SET GROUP 0x8
dc91: Use Count UINT32 data type ANY 32BIT VALUE form GET/SET GROUP 0x8
dc99: Original Release Date STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY GROUP 0x8
de94: Number Of Channels UINT16 data type enumeration: 0, 1, 2, GET/SET GROUP 0x8
de97: Scan Depth UINT16 data type enumeration: 0, 1, 2, 3, 6, 7, GET/SET GROUP 0x8
de99: Audio WAVE Codec UINT32 data type enumeration: 0, 85, 352, 353, READ ONLY GROUP 0x8
de9a: Audio Bit Rate UINT32 data type range: MIN 13000, MAX 192999, STEP 1 READ ONLY GROUP 0x8
de9b: Video Four CC Codec UINT32 data type enumeration: 0, 861293911, GET/SET GROUP 0x8
de9c: Video Bit Rate UINT32 data type range: MIN 32000, MAX 10485760, STEP 1 GET/SET GROUP 0x8
de9d: Frames Per Thousand Seconds UINT32 data type enumeration: 0, 15000, 24000, 25000, 29970, 30000, GET/SET GROUP 0x8
de9e: Key Frame Distance UINT32 data type range: MIN 100, MAX 300, STEP 1 GET/SET GROUP 0x8
dea1: Encoding Profile STRING data type READ ONLY GROUP 0x8
dc89: Duration UINT32 data type range: MIN 0, MAX 4294967295, STEP 1 GET/SET GROUP 0x0
dc47: Date Authored STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
3800: Defined Type
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
b980: Undefined Video
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
ba10: WPL Playlist
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
ba11: M3U Playlist
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
ba03: Abstract Audio Album
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY GROUP 0x4
dc03: Protection Status UINT16 data type enumeration: 0, 1, 32770, 32771, READ ONLY GROUP 0x8
dc04: Object Size UINT64 data type READ ONLY GROUP 0x4
dc07: Object File Name STRING data type REGULAR EXPRESSION FORM ([a-zA-Z!#$%&\(\)\-0-9@\^_\'\{\}\~]{1,8}\.[[a-zA-Z!#\$%&
()-0-9@^_'{}~]{1,3}]) GET/SET GROUP 0x4
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY GROUP 0x8
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY GROUP 0x4
dc4f: Non Consumable UINT8 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc09: Date Modified STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc44: Name STRING data type GET/SET GROUP 0x8
dc05: Association Type UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc08: Date Created STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x8
dc9d: DRM Status UINT16 data type enumeration: 0, 1, GET/SET GROUP 0x8
dc9b: Album Artist STRING data type GET/SET GROUP 0x4
dc87: Width UINT32 data type range: MIN 0, MAX 30000, STEP 1 GET/SET GROUP 0x100
dc88: Height UINT32 data type range: MIN 0, MAX 30000, STEP 1 GET/SET GROUP 0x100
d901: Buy flag UINT8 data type range: MIN 0, MAX 1, STEP 0 GET/SET GROUP 0x8
dc47: Date Authored STRING data type DATETIME FORM ((null)) GET/SET GROUP 0x4
Storage Devices:
StorageID: 0x00010001
StorageType: 0x0003 fixed RAM storage
FilesystemType: 0x0002 generic hierarchical
AccessCapability: 0x0000 read/write
MaxCapacity: 11886166016
FreeSpaceInBytes: 678060032
FreeSpaceInObjects: 4294967295
StorageDescription: Tablet
VolumeIdentifier: SECZ9519043CHOHB
StorageID: 0x00020002
StorageType: 0x0004 removable RAM storage
FilesystemType: 0x0002 generic hierarchical
AccessCapability: 0x0000 read/write
MaxCapacity: 63829639168
FreeSpaceInBytes: 26407403520
FreeSpaceInObjects: 4294967295
StorageDescription: Card
VolumeIdentifier: SECZ9519043CHOHB01
Special directories:
Default music folder: 0xffffffff
Default playlist folder: 0xffffffff
Default picture folder: 0xffffffff
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: Galaxy Tab A
Synchronization partner: Longhorn Sync Engine
Battery level 67 of 100 (67%)
libmtp supported (playable) filetypes:
ISO MPEG-1 Audio Layer 3
Microsoft Windows Media Audio
Microsoft Windows Media Video
JPEG file
Folder
Abstract Playlist file
Free Lossless Audio Codec (FLAC)
GIF bitmap file
BMP bitmap file
Portable Network Graphics
Audio Video Interleave
MPEG video stream
Microsoft Advanced Systems Format
MPEG-4 Part 14 Container Format (Audio+Video Emphasis)
Undefined video file
Abstract Album file
Ogg container format
OK.
This got even worse than the 1.1.18 version, since the device doesn't even show up to mount.
Try ADB just to show we do not have a hardware problem:
adb shell ls -a
.
..
acct
bugreports
cache
config
d
data
default.prop
dev
efs
etc
file_contexts.bin
firmware
firmware-modem
fstab.qcom
init
init.carrier.rc
init.class_main.sh
init.container.rc
init.environ.rc
init.mdm.sh
init.qcom.bms.sh
init.qcom.class_core.sh
init.qcom.early_boot.sh
init.qcom.factory.rc
init.qcom.rc
init.qcom.sh
init.qcom.syspart_fixup.sh
init.qcom.usb.rc
init.qcom.usb.sh
init.rc
init.rilcommon.rc
init.target.rc
init.usb.configfs.rc
init.usb.rc
init.wifi.rc
init.zygote32.rc
knox_data
mnt
oem
persdata
persist
postrecovery.do
preload
proc
property_contexts
publiccert.pem
root
sbin
sdcard
seapp_contexts
sepolicy
sepolicy_version
service_contexts
storage
sys
system
tombstones
ueventd.qcom.rc
ueventd.rc
vendor
verity_key
Bus 001 Device 019: ID 4102:1213 iRiver, Ltd.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x4102 iRiver, Ltd.
idProduct 0x1213
bcdDevice 2.33
iManufacturer 2 IRIVER
iProduct 3 SR15
iSerial 4 0123456789abcdef
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0027
bNumInterfaces 1
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 5 MTP
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
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
When I connect my Samsung Galaxy S6 in TWRP recovery (version 3.3.1) and call mtp-detect
, I get a segfault. I attached the backtrace when run with gdb
:
#0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1 0x00007ffff7f39e79 in ?? () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#2 0x00007ffff7f4a5ed in ?? () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#3 0x00007ffff7f33210 in LIBMTP_Get_Filemetadata () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#4 0x00007ffff7f334a0 in LIBMTP_Get_Files_And_Folders () from /usr/lib/x86_64-linux-gnu/libmtp.so.9
#5 0x000055555555666f in ?? ()
#6 0x00007ffff7d431e3 in __libc_start_main (main=0x555555556290, argc=1, argv=0x7fffffffdc98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdc88) at ../csu/libc-start.c:308
#7 0x0000555555556b0a in ?? ()
I am using libmtp
version 1.1.16 in Ubuntu 19.10. Connecting to other phones like Xiaomi Mi A1 with Android 9 Pie as well works fine.
Device 0 (VID=05c6 and PID=f000) is UNKNOWN in libmtp v1.1.18.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
05c6:f000 @ bus 1, dev 2
Device OnePlus 7Pro OOS 11.0.0.1 Android 11
OS: Arch Linux
Libmtp version: 1.1.18
I need to block my mobile device for mtp-detection. In previous version i created file in /etc/udev/rules/69-libmtp.rules
#Exclude Pixel_3XL from libmtp in storage mode + debug
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee*", GOTO="libmtp_rules_end"
LABEL="libmtp_rules_end"
And it helped to prevent detection. mtp-detect was wtitten:
Device 0 (VID=18d1 and PID=4ee2) is a Google Inc Nexus/Pixel (MTP+ADB).
Found 1 device(s):
Google Inc: Nexus/Pixel (MTP+ADB) (18d1:4ee2) @ bus 4, dev 9
Attempting to connect device(s)
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.
Thats ok.
But in newer version even with this rules libmtp continues to detect my mobile phone. For testing i have downgraded package to 1.1.17 and it works as expected.
I'm presuming this is a libmtp issue htat just needs some magic numbers or something, but perhaps it is more complicated?
$ mtp-detect
libmtp version: 1.1.16
Listing raw device(s)
Device 0 (VID=2207 and PID=000b) is a Various Onyx Boox Max 2.
Found 1 device(s):
Various: Onyx Boox Max 2 (2207:000b) @ bus 1, dev 7
Attempting to connect device(s)
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.
$ jmtpfs -l
Device 0 (VID=2207 and PID=000b) is a Various Onyx Boox Max 2.
Available devices (busLocation, devNum, productId, vendorId, product, vendor):
1, 7, 0x000b, 0x2207, Onyx Boox Max 2, Various
Trimmed lsusb output (serial number not modified because... it looks notably weird)
$ lsusb -v
...
Bus 001 Device 007: ID 2207:000b Fuzhou Rockchip Electronics Company Max2
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2207 Fuzhou Rockchip Electronics Company
idProduct 0x000b
bcdDevice 3.10
iManufacturer 2 Onyx
iProduct 3 Max2
iSerial 4 0123456789ABCDEF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0027
bNumInterfaces 1
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 5 MTP
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 0x02 EP 2 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 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x001c 1x 28 bytes
bInterval 6
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
...
Device 0 (VID=0a9d and PID=ff40) is UNKNOWN in libmtp v1.1.18.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
0a9d:ff40 @ bus 1, dev 11
Device
Manufacturer: Xiaomi
Model: Mi 11 Lite
The first step in the LIBMTP_GetPartialObject API is to obtain the file metadata mtpfile, but the mtpfile will be destroyed only when the parameter offset is greater than or equal to the file size
many android devices have usb host controller, i think libmtp should support ndk build.
your team could support this feature? i really want to use this feature, thanks a lot.
After recently upgrading to libmtp 1.1.19 the KDE file manager does not list any files or folders on the device. Downgrading back to 1.1.18 fixes the issue, so this seems to be a recent change. I need help narrowing down the problem, so this can be fixed.
I tried running the mtp tools and mtp-detect
and mtp-connect
still seem to work with 1.1.19. Running any of the other tools, e.g. mtp-newfolder
, seem to do a full device listing before doing anything. This did not finish with my Android phone despite leaving it running for several minutes. However the debug output shows that even with 1.1.19 it's listing files on my device. So this might be specific to the KDE mtp plugin.
Are there any other tools/diagnostic I can run to help narrow this down?
Hi, I'd like to add Mudita Pure phone to the list of supported MTP devices
Vendor ID: 3310
Product ID: 0100
Prior submission to Sourceforge project:
https://sourceforge.net/p/libmtp/bugs/1895/
Hello there:
If it gives a sensible output from "mtp-detect" then please attach the result as well as it teaches us some stuff about your device.
If it doesn't give sensible output, attach the output from "lsusb -v" for your device.
The average end-user (like me) does not have a degree in computer science and therefore no idea what "sensible output" means. It would be helpful if you'd clarify this.
Anyway, as per your request, I will post the output (of both commands):
libmtp version: 1.1.13
Listing raw device(s)
Device 0 (VID=2b0e and PID=1840) is UNKNOWN in libmtp v1.1.13.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
2b0e:1840 @ bus 1, dev 11
Attempting to connect device(s)
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
USB low-level info:
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 2b0e
idProduct: 1840
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 1
Device number: 11
Device entry info:
Vendor: (null)
Vendor id: 0x2b0e
Product: (null)
Vendor id: 0x1840
Device flags: 0x18008106
Configuration 0, interface 0, altsetting 0:
Interface description contains the string "MTP"
Device recognized as MTP, no further probing.
Device info:
Manufacturer: LeMobile
Model: Le Max2
Device version: 1.0
Serial number: 129bf4c6
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: Get Partial Object (64bit Offset)
95c2: Send Partial Object
95c3: Truncate Object
95c4: Begin Edit Object
95c5: End Edit Object
Events supported:
0x4002 ((null))
0x4003 ((null))
0x4004 ((null))
0x4005 ((null))
0x4006 ((null))
Device Properties Supported:
0xd401: Synchronization Partner
0xd402: Friendly Device Name
0x5003: Image Size
0x5001: Battery Level
Playable File (Object) Types and Object Properties Supported:
3000: Undefined Type
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
3001: Association/Directory
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
3004: Text
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
3005: HTML
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
3008: MS Wave
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
dc46: Artist STRING data type READ ONLY
dc9a: Album Name STRING data type READ ONLY
dc9b: Album Artist STRING data type READ ONLY
dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
dc8c: Genre STRING data type READ ONLY
dc96: Composer STRING data type READ ONLY
de99: Audio WAVE Codec UINT32 data type ANY 32BIT VALUE form READ ONLY
de92: Bit Rate Type UINT16 data type enumeration: 1, 2, READ ONLY
de9a: Audio Bit Rate UINT32 data type range: MIN 1, MAX 1536000, STEP 1 READ ONLY
de94: Number Of Channels UINT16 data type enumeration: 1, 2, 3, 4, 5, 6, 7, 8, 9, READ ONLY
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 1 READ ONLY
3009: MP3
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
dc46: Artist STRING data type READ ONLY
dc9a: Album Name STRING data type READ ONLY
dc9b: Album Artist STRING data type READ ONLY
dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
dc8c: Genre STRING data type READ ONLY
dc96: Composer STRING data type READ ONLY
de99: Audio WAVE Codec UINT32 data type ANY 32BIT VALUE form READ ONLY
de92: Bit Rate Type UINT16 data type enumeration: 1, 2, READ ONLY
de9a: Audio Bit Rate UINT32 data type range: MIN 1, MAX 1536000, STEP 1 READ ONLY
de94: Number Of Channels UINT16 data type enumeration: 1, 2, 3, 4, 5, 6, 7, 8, 9, READ ONLY
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 1 READ ONLY
300b: MPEG
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
dc46: Artist STRING data type READ ONLY
dc9a: Album Name STRING data type READ ONLY
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
dc48: Description STRING data type READ ONLY
3801: JPEG
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
dc48: Description STRING data type READ ONLY
3802: TIFF EP
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
3804: BMP
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
dc48: Description STRING data type READ ONLY
3807: GIF
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
dc48: Description STRING data type READ ONLY
3808: JFIF
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
380b: PNG
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
dc48: Description STRING data type READ ONLY
380d: TIFF
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
b901: WMA
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
dc46: Artist STRING data type READ ONLY
dc9a: Album Name STRING data type READ ONLY
dc9b: Album Artist STRING data type READ ONLY
dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
dc8c: Genre STRING data type READ ONLY
dc96: Composer STRING data type READ ONLY
de99: Audio WAVE Codec UINT32 data type ANY 32BIT VALUE form READ ONLY
de92: Bit Rate Type UINT16 data type enumeration: 1, 2, READ ONLY
de9a: Audio Bit Rate UINT32 data type range: MIN 1, MAX 1536000, STEP 1 READ ONLY
de94: Number Of Channels UINT16 data type enumeration: 1, 2, 3, 4, 5, 6, 7, 8, 9, READ ONLY
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 1 READ ONLY
b902: OGG
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
dc46: Artist STRING data type READ ONLY
dc9a: Album Name STRING data type READ ONLY
dc9b: Album Artist STRING data type READ ONLY
dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
dc8c: Genre STRING data type READ ONLY
dc96: Composer STRING data type READ ONLY
de99: Audio WAVE Codec UINT32 data type ANY 32BIT VALUE form READ ONLY
de92: Bit Rate Type UINT16 data type enumeration: 1, 2, READ ONLY
de9a: Audio Bit Rate UINT32 data type range: MIN 1, MAX 1536000, STEP 1 READ ONLY
de94: Number Of Channels UINT16 data type enumeration: 1, 2, 3, 4, 5, 6, 7, 8, 9, READ ONLY
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 1 READ ONLY
b903: AAC
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
dc46: Artist STRING data type READ ONLY
dc9a: Album Name STRING data type READ ONLY
dc9b: Album Artist STRING data type READ ONLY
dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
dc8c: Genre STRING data type READ ONLY
dc96: Composer STRING data type READ ONLY
de99: Audio WAVE Codec UINT32 data type ANY 32BIT VALUE form READ ONLY
de92: Bit Rate Type UINT16 data type enumeration: 1, 2, READ ONLY
de9a: Audio Bit Rate UINT32 data type range: MIN 1, MAX 1536000, STEP 1 READ ONLY
de94: Number Of Channels UINT16 data type enumeration: 1, 2, 3, 4, 5, 6, 7, 8, 9, READ ONLY
de93: Sample Rate UINT32 data type range: MIN 8000, MAX 48000, STEP 1 READ ONLY
b982: MP4
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
b983: MP2
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
b984: 3GP
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
dc46: Artist STRING data type READ ONLY
dc9a: Album Name STRING data type READ ONLY
dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
dc48: Description STRING data type READ ONLY
ba05: Abstract Audio Video Playlist
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
ba10: WPL Playlist
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
ba11: M3U Playlist
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
ba14: PLS Playlist
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
ba82: XMLDocument
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
b906: FLAC
dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
dc04: Object Size UINT64 data type READ ONLY
dc07: Object File Name STRING data type GET/SET
dc09: Date Modified STRING data type DATETIME FORM READ ONLY
dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
dc44: Name STRING data type READ ONLY
dce0: Display Name STRING data type READ ONLY
dc4e: Date Added STRING data type DATETIME FORM READ ONLY
Storage Devices:
StorageID: 0x00010001
StorageType: 0x0003 fixed RAM storage
FilesystemType: 0x0002 generic hierarchical
AccessCapability: 0x0000 read/write
MaxCapacity: 57090809856
FreeSpaceInBytes: 14174605312
FreeSpaceInObjects: 1073741824
StorageDescription: Interner Speicher
VolumeIdentifier: (null)
Special directories:
Default music folder: 0xffffffff
Default playlist folder: 0xffffffff
Default picture folder: 0xffffffff
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)
Battery level 83 of 100 (82%)
libmtp supported (playable) filetypes:
Folder
Text file
HTML file
RIFF WAVE file
ISO MPEG-1 Audio Layer 3
MPEG video stream
JPEG file
BMP bitmap 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)
OK.`
lsusb -v
Bus 001 Device 012: ID 2b0e:1841
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2b0e
idProduct 0x1841
bcdDevice 3.18
iManufacturer 1 Android
iProduct 2 Android
iSerial 3 129bf4c6
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 6 Imaging
bInterfaceSubClass 1 Still Image Capture
bInterfaceProtocol 1 Picture Transfer Protocol (PIMA 15470)
iInterface 0
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
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
Another Garmin device that i would to be added
It is a Garmin Fenix 6S Pro
DMESG:
New USB device found, idVendor=091e, idProduct=4cd8, bcdDevice= 0.01
Thx
@msmeissn (correct me if you're not the right contact),
I'm attemtping to create a .dll using MSYS2 and MINGW64, and I'm running into an issue revolving around the missing langinfo.h
header. It looks like the config.h file is generated properly as HAVE_LANGINFO_H
is not defined. However, this leads to problems when compiling with make
, as certain parameters like cd_locale_to_ucs2
and cd_ucs2_to_locale
are defined within an #ifdef
(ptp.h
, line 2810):
#if defined(HAVE_ICONV) && defined(HAVE_LANGINFO_H)
/* PTP: iconv converters */
iconv_t cd_locale_to_ucs2;
iconv_t cd_ucs2_to_locale;
#endif
Then, when I try to use make
after the ./configure
command finishes, I get these errors because there aren't any #ifdef
statements in libmtp.c
:
libmtp.c: In function 'LIBMTP_Open_Raw_Device_Uncached':
libmtp.c:1879:17: error: 'PTPParams' {aka 'struct _PTPParams'} has no member named 'cd_locale_to_ucs2'
current_params->cd_locale_to_ucs2 = iconv_open("UTF-16LE", "UTF-8");
^~
libmtp.c:1879:39: warning: implicit declaration of function 'iconv_open'; did you mean '_open'? [-Wimplicit-function-declaration]
current_params->cd_locale_to_ucs2 = iconv_open("UTF-16LE", "UTF-8");
^~~~~~~~~~
_open
libmtp.c:1880:17: error: 'PTPParams' {aka 'struct _PTPParams'} has no member named 'cd_ucs2_to_locale'
current_params->cd_ucs2_to_locale = iconv_open("UTF-8", "UTF-16LE");
^~
libmtp.c:1882:20: error: 'PTPParams' {aka 'struct _PTPParams'} has no member named 'cd_locale_to_ucs2'
if(current_params->cd_locale_to_ucs2 == (iconv_t) -1 ||
^~
libmtp.c:1882:44: error: 'iconv_t' undeclared (first use in this function); did you mean 'ino_t'?
if(current_params->cd_locale_to_ucs2 == (iconv_t) -1 ||
^~~~~~~
ino_t
libmtp.c:1882:44: note: each undeclared identifier is reported only once for each function it appears in
libmtp.c:1883:20: error: 'PTPParams' {aka 'struct _PTPParams'} has no member named 'cd_ucs2_to_locale'
current_params->cd_ucs2_to_locale == (iconv_t) -1) {
^~
libmtp.c: In function 'LIBMTP_Release_Device':
libmtp.c:2431:3: warning: implicit declaration of function 'iconv_close'; did you mean '_findclose'? [-Wimplicit-function-declaration]
iconv_close(params->cd_locale_to_ucs2);
^~~~~~~~~~~
_findclose
libmtp.c:2431:21: error: 'PTPParams' {aka 'struct _PTPParams'} has no member named 'cd_locale_to_ucs2'
iconv_close(params->cd_locale_to_ucs2);
^~
libmtp.c:2432:21: error: 'PTPParams' {aka 'struct _PTPParams'} has no member named 'cd_ucs2_to_locale'
iconv_close(params->cd_ucs2_to_locale);
I think this is an issue that needs to be solved in the libmtp library, or if it cannot be, it needs to be made clear that this cannot compile on MINGW/MSYS2. Is there a suggestion of something I could do to fix the issue in the meantime?
After I installed libmtp-1.1.16 on my arch linux system, my printer, an HP LaserJet P1102 that I had previously configured and had worked well until that moment, stopped working. I saw in the journal that when I turned it on, it got "mtp-probed". Issuing "lpinfo -v" I got a different value for "serial" compared to the one configured in cups. In cups I had...
usb://HP/LaserJet%20Professional%20P1102?serial=000000000Q87FWBPPR1a
...but after libmtp installation, "lpinfo -v" gave...
usb://HP/LaserJet%20Professional%20P1102?serial=000000000Q87FWBPSI1c
mtp-probe shouldn't change this, or it shouldn't try and probe this printer at all.
As a workaround I added...
# HP LaserJet P1102
ATTR{idVendor}=="03f0", ATTR{idProduct}=="002a", GOTO="libmtp_rules_end"
...at the beginning of /usr/lib/udev/rules.d/69-libmtp.rules
how I want to mount MTP device and see the files that have in device in terminal?
Hi
libmtp version: 1.1.16
Listing raw device(s)
Device 0 (VID=2833 and PID=0082) is UNKNOWN in libmtp v1.1.16.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
2833:0082 @ bus 1, dev 15
Attempting to connect device(s)
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.
I just got a e-ink tablet (Supernote A5X) and trying to transfer files to it (only way is with MTP), but just get this error in journal:
sep 30 17:25:52 T495s org.kde.kiod5[3249]: Device 0 (VID=2207 and PID=0031) is UNKNOWN in libmtp v1.1.19.
sep 30 17:25:52 T495s org.kde.kiod5[3249]: Please report this VID/PID and the device model to the libmtp development team
I'm using Arch with KDE and Dolphin don't detect it at all, just complain about not finding any compatible MTP devices.
Get this output from mtp-detect:
libmtp version: 1.1.19
Listing raw device(s)
Device 0 (VID=2207 and PID=0031) is UNKNOWN in libmtp v1.1.19.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
2207:0031 @ bus 1, dev 12
Attempting to connect device(s)
Android device detected, assigning default bug flags
USB low-level info:
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 2207
idProduct: 0031
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 1
Device number: 12
Device entry info:
Vendor: (null)
Vendor id: 0x2207
Product: (null)
Vendor id: 0x0031
Device flags: 0x18008106
Configuration 0, interface 0, altsetting 0:
Interface description contains the string "MTP"
Device recognized as MTP, no further probing.
Device info:
Manufacturer: rockchip
Model: Supernote A5 X
Device version: 1.0
Serial number: 3B114E5BC1B942142ED34A8B319C9249
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
This bug is so old that I am surprised to not to find any existing reports.
When there is a parentheses in a file name somewhere in a filesystem (which automatically happens when you shoot pictures too fast, for example) MTP stops with different weird messages (depends on distro).
From command line it's more deterministic:
> mtpfs
Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
Found 1 device(s):
Samsung: Galaxy models (MTP) (04e8:6860) @ bus 1, dev 22
Attempting to connect device
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
Renaming or deleting such files fixes the problem.
I am using Manjaro :
gvfs-mtp 1.44.1-1
libmtp 1.1.17-1
mtpfs 1.1-3
and Samsung J7 with android 8.
But it is happening with other distros and phones (checked with ubuntu, debian and older and newer androids).
This is:
Device 0 (VID=091e and PID=4c99) is UNKNOWN in libmtp v1.1.17.
Please let me know if you need any more info.
I ran jmtpfs and it said:
Device 0 (VID=054c and PID=0d01) is UNKNOWN in libmtp v1.1.17.
Please report this VID/PID and the device model to the libmtp development team
Android device detected, assigning default bug flags
The device in question is a Sony NW-ZX500
libmtp
is somewhat confusing in its uses of empty strings, representing them as NULL pointers also across its public API.
For example,
struct LIBMTP_devicestorage_struct {
...
char *StorageDescription; /**< A brief description of this storage */
According to the MTP spec section 5.2.2.7, devices can set StorageDescription
to be an empty string.
libmtp
in that case sets char *StorageDescription
to a NULL
pointer, not to an empty string ""
.
This is certainly surprising to a use rwith the spec in hand expecting an "empty string", and caused crashes in downstream programs like GVFS that expect ""
(and thus all Linux GUI file managers based on that, when used on devices with empty StorageDescription). I just fixed such an instance here, and promised there to ask over at libmtp if the use of NULL
is intentional or grown historically.
For some background on StorageDescription
specifically, it is extracted in ptp_unpack_SI()
:
Lines 598 to 602 in 882ac29
via via ptp_unpack_string()
here:
Lines 130 to 137 in 882ac29
Whatever the preferred way of representing empty MTP strings in C is, I think it should be documented in the public API.
CC @msmeissn as author of commit a06f9c1 - change api of ptp_unpack_string to support also unpacking "PTP" empty strings
, which did not change behaviour in this regard but documented:
* PTP strings ... if the size field is:
* size 0 : "empty string" ... we interpret that as NULL, return 1
I have the latest code that I built from source, but I am seeing the same issue in previous versions as well. I am trying to access my GoPro HERO 8 over USB on Debian 10.5. I get the errors below when using mtp-detect
. I get similar error messages when using the other tools as well. I've tried to dig in to see what is causing this error, but I've been able to find very little to point me in the right direction. Any assistance you can offer would be greatly appreciated!
I should mention that using mtp-detect
on MacOS works without any issues.
$ ./mtp-detect
libmtp version: 1.1.17
Listing raw device(s)
Device 0 (VID=2672 and PID=0049) is a GoPro HERO8 Black.
Found 1 device(s):
GoPro: HERO8 Black (2672:0049) @ bus 1, dev 23
Attempting to connect device(s)
Android device detected, assigning default bug flags
Error 2: PTP Layer error 02ff: LIBMTP_Get_Storage(): Could not get storage info.
Error 2: Error 02ff: PTP I/O Error
Error 1: Get Storage information failed.
USB low-level info:
Using kernel interface "usbfs"
bcdUSB: 528
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 2672
idProduct: 0049
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 1
Device number: 23
Device entry info:
Vendor: GoPro
Vendor id: 0x2672
Product: HERO8 Black
Vendor id: 0x0049
Device flags: 0x18008106
Configuration 0, interface 0, altsetting 0:
Interface description contains the string "MTP"
Device recognized as MTP, no further probing.
Device info:
Manufacturer: GoPro
Model: HERO8 BLACK
Device version: HD8.01.01.70.75
Serial number: C3331351022146
Vendor extension ID: 0x00000006
Vendor extension description: microsoft.com: 1.0; android.com: 1.0;
Detected object size: 32 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
100f: Format storage
1014: Get device property description
1015: Get device property value
1017: Reset device property value
1019: Move object
101b: Get partial object
9801: Get object properties supported
9802: Get object property description
9803: Get object property value
9805: Get object property list
9810: Get object references
95c1: Get Partial Object (64bit Offset)
95c2: Send Partial Object
95c3: Truncate Object
95c4: Begin Edit Object
95c5: End Edit Object
Events supported:
0x4002: ObjectAdded
0x4003: ObjectRemoved
0x4004: StoreAdded
0x4005: StoreRemoved
0x4007: ObjectInfoChanged
0xc801: ObjectPropChanged
0xc002: Unknown Event
0xc003: Unknown Event
Device Properties Supported:
0xd402: Friendly Device Name
0xd401: Synchronization Partner
Playable File (Object) Types and Object Properties Supported:
3000: Undefined Type
3001: Association/Directory
3004: Text
3005: HTML
4000: Unknown(4000)
3800: Defined Type
3801: JPEG
4001: Unknown(4001)
3802: TIFF EP
3804: BMP
3807: GIF
3808: JFIF
380b: PNG
380d: TIFF
380e: TIFF_IT
380f: JP2
3810: JPX
b902: OGG
3009: MP3
3008: MS Wave
b901: WMA
b903: AAC
b906: FLAC
ba03: Abstract Audio Album
ba05: Abstract Audio Video Playlist
Special directories:
Default music folder: 0xffffffff
Default playlist folder: 0xffffffff
Default picture folder: 0xffffffff
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
JPEG file
BMP bitmap file
GIF bitmap file
JFIF file
Portable Network Graphics
TIFF bitmap file
JP2 file
JPX file
Ogg container format
ISO MPEG-1 Audio Layer 3
RIFF WAVE file
Microsoft Windows Media Audio
Advanced Audio Coding (AAC)/MPEG-2 Part 7/MPEG-4 Part 3
Free Lossless Audio Codec (FLAC)
Abstract Album file
Abstract Playlist file
ERROR: Could not close session!
OK.
I've been trying to use libusb hotplug functionality to detect new mtp device being connected.
and ran into issues since libmtp use the default context, which according to the libusb doc shouldn't be use when in the same process multiple libraries are using libusb.
https://libusb.sourceforge.io/api-1.0/libusb_contexts.html
Also take notes that libusb_exit()
which is used to cleanup the library is never called by libmtp
Here is information which should be helpful to add support for a new Amazon Kindle Fire HD 8 (2018 version). I am attaching lsusb -v output (serial number obfuscated) as seen on Ubuntu Bionic LTS, and also my quick attempt at a libmtp patch, with which a build of jmtpfs is shown to be happier.
lsusb-1949-0331.txt
git-show.txt
The Ubuntu Bionic version of jmtpfs says of this device:
jmtpfs-build# /usr/bin/jmtpfs -l
Device 0 (VID=1949 and PID=0331) is UNKNOWN in libmtp v1.1.13.
Please report this VID/PID and the device model to the libmtp development team
Available devices (busLocation, devNum, productId, vendorId, product, vendor):
2, 5, 0x0331, 0x1949, UNKNOWN, UNKNOWN
My newly built version, using libmtp to which the attached patch has been applied, says:
jmtpfs-build# ./src/jmtpfs -l
Device 0 (VID=1949 and PID=0331) is a Amazon Kindle Fire 8 HD (2018).
Available devices (busLocation, devNum, productId, vendorId, product, vendor):
2, 5, 0x0331, 0x1949, Kindle Fire 8 HD (2018), Amazon
Operation system: Arch Linux
Libmtp version: 1.1.18
I need to block my mobile device for mtp-detection. In previous version i created file in /etc/udev/rules/69-libmtp.rules
#Exclude Pixel_3XL from libmtp in storage mode + debug
ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee*", GOTO="libmtp_rules_end"
LABEL="libmtp_rules_end"
And it helped to prevent detection. mtp-detect wrotes:
Device 0 (VID=18d1 and PID=4ee2) is a Google Inc Nexus/Pixel (MTP+ADB).
Found 1 device(s):
Google Inc: Nexus/Pixel (MTP+ADB) (18d1:4ee2) @ bus 4, dev 9
Attempting to connect device(s)
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.
Thats ok.
But in newer version even with this rules libmtp continues to detect my mobile phone. For testing i have downgraded package to 1.1.17 and it works as expected.
While copying more than one thousand pictures from a Samsung Galaxy A3, I observe that several images cannot be retrieved. Copying these images fails with an I/O error after a time-out:
cp /run/user/1000/gvfs/mtp\:host\=%5Busb%3A001%2C006%5D/Phone/DCIM/OpenCamera/IMG_20180305_115203.jpg /tmp/
cp: error reading '/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C006%5D/Phone/DCIM/OpenCamera/IMG_20180305_115203.jpg': Input/output error
With dd
, I observed that the error occurs while copying the last 500 bytes of the file.
I believe this issue is a bug in Samsung's MTP responder. While we can't fix Samsung's MTP responder which is probably closed source, I think a workaround can be implemented in libmtp.
I reproduced the issue with several Samsung Galaxy devices: A3, A7, and S7.
The bug only happens under the following conditions:
size - (N * 512) + 500
bytes with N
being an integerIn practice, most clients of libmtp use a block size which is a power of 2, usually a multiple of 512 bytes. So the offset of a GetPartialObject request is likely to be a multiple of 512 bytes. This condition combined with condition 2 makes the bug occur when (size % 512) == 500
with a probability of 1/512.
When the bug happens, the Samsung Galaxy device does not return the requested data and the GetPartialObject command fails after a time-out.
I have written a tool to help reproduce the issue. The repository contains a Python script to identify files from a Samsung Galaxy device that may cause the error and a C program that uses GetPartialObject to read the end of the file and observe the time-out error.
I will propose a patch that implements a workaround. The idea is to add some code for GetPartialObject in order to identify the faulty condition for Samsung Galaxy devices and read one less byte, forcing
the caller to request an additional read to get the last byte.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.