Automounting MTP devices

Hi all,
I tried a lot of techniques to mount MTP devices (such as the latest Android devices without a SD card) automatically when plugged-in. gvfs-gphoto2 kinda worked, but for me it was dreadfully slow, and the only reliable solution, at this time, was to use go-mtpfs. But then it's not automatic, you have to type horribly complicated commands in a terminal! Yuck.
In the PKGBUILD below, a few UDEV rules to fix that. They currently only work with the devices I got (Nexus 7 and Galaxy Nexus, both on CyanogenMod 10), so they definitely won't work on anything else, which is why I didn't submit them right now to the AUR. I just wanted to share them in case anybody was interested. And since it's my first PKGBUILD (hurray!), do share any tips you might have regarding, oh, I don't know, something I might have forgotten, a rule I didn't know about, or something that could be done better.
Cheers!
Package source: https://github.com/fxthomas/android-aut … ter.tar.gz

Thanks for you Package, I was trying to use go-mtpfs and a single rules file (adapted from http://bernaerts.dyndns.org/linux/247-u … exus7-mtp) in /etc/udev/rules.d without success.
I've made a few modifications based on http://hackaday.com/2009/09/18/how-to-write-udev-rules/ in your /usr/bin/mtp file to have mount and unmount notifications under Gnome Shell.
There's a problem, unmount notifications doesn't work, if you have an idea...
here is the modified file:
#!/bin/bash
# Base Script File (android-mtp.sh)
# Created: Tue 04 Dec 2012 06:44:50 PM CET
# Version: 1.0
# Author: François-Xavier Thomas <[email protected]>
# This Bash script was developped by François-Xavier Thomas.
# You are free to copy, adapt or modify it.
# If you do so, however, leave my name somewhere in the credits, I'd appreciate it ;)
GO_MTPFS=/usr/bin/go-mtpfs
DEVICE_NAME=${2//_/ }
GSuser=$(ps -ef | grep -w /usr/bin/gnome-shell | grep -v grep | awk '{print $1'})
GSpid=$(ps -ef | grep -w /usr/bin/gnome-shell | grep -v grep | awk '{print $2'})
DBUS_SESSION_BUS_ADDRESS=`grep -z DBUS_SESSION_BUS_ADDRESS /proc/$GSpid/environ | sed -e 's/DBUS_SESSION_BUS_ADDRESS=//'`
case $1 in
start|mount)
echo "Mounting MTP device on /media/$DEVICE_NAME"
/bin/mkdir -p "/media/$DEVICE_NAME"
/usr/sbin/daemonize -l /var/lock/go-mtpfs.$2.lock /usr/bin/go-mtpfs -allow-other=true "/media/$DEVICE_NAME"
if [ -r "/home/$GSuser/Images/$DEVICE_NAME.png" ]
then
sudo -b -u $GSuser DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS notify-send --hint=int:transient:1 -t 6000 "$DEVICE_NAME monté sous /media/$DEVICE_NAME" -i "/home/$GSuser/Images/$DEVICE_NAME.png"
else
sudo -b -u $GSuser DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS notify-send --hint=int:transient:1 -t 6000 "$DEVICE_NAME monté sous /media/$DEVICE_NAME"
fi
stop|unmount)
echo "Unmounting MTP device on /media/$DEVICE_NAME"
/bin/umount "/media/$DEVICE_NAME"
/bin/rmdir "/media/$DEVICE_NAME"
if [ -r "/home/$GSuser/Images/$DEVICE_NAME.png" ]
then
sudo -b -u $GSuser DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS notify-send --hint=int:transient:1 -t 6000 "$DEVICE_NAME démonté" -i "/home/$GSuser/Images/$DEVICE_NAME.png"
else
sudo -b -u $GSuser DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS notify-send --hint=int:transient:1 -t 6000 "$DEVICE_NAME démonté"
fi
echo "Usage: android-mtp start device-name"
esac
Another problem, if the device is locked (I'm using the schema lock) it will not mount (it try to mount, fail, then unmount), Is there a way to send a notification to the user telling him to disconnect, unlock and retry? I'm anable to find a way to do this.
Last edited by farnsworth (2013-01-13 12:38:12)

Similar Messages

  • MTP Device users that are experiencing Duplicated tracks after transfering playli

    <FONT face=Helv color=#002f80 size=>
    All MTP device users,
    One of our technical support advisors just left here after discussing a duplicated tracks issue that he has been presented to him on the Zen Vision:M. This has also been discussed here in the forums. We were able to re-create the issue and developed a workaround that should resolve this. I don't always get to interact / develop solutions like this, so I thought you all might be interested before it is available in our knowledgebase.
    WHY IS THIS HAPPENING:
    MediaSource gives a user multiple methods of transfering content to your portable device.
    <OL dir=ltr style="MARGIN-RIGHT: 0px">
    Transfer through Sync Manager (Good for initial transfer or subsequent updates)</LI>
    Transfer as part of a Playlist (User creates a playlist and any file not on the player in a structured manner are transfered)</LI>
    Direct Transfer (User selects a track in the library and transfers to a folder on the player / device, more control for those that like it)</LI>
    [/list]
    The duplicate tracks are being created when a Direct Transfer is used on the initial loading of the device. With this, MediaSource transfers the files directly from the Music Library to whichever folder is selected on the device at the time of the transfer. If the 'Music' folder is selected, then all tracks will be copied directly to the 'Music' folder with no subfolders or structure created.
    Following that, if a user creates and transfers a playlist to the portable device, MediaSource will copy the files into a subfolder structure based on Artist / Album and create a second copy of the files in this structure. Subsequent playlists will use this structure and any file within will not be duplicated.
    Upon viewing the Albums or tracks on the player, the file now exists in that initial transfer location as well as in the folder structure created. Thus, Duplicated tracks.
    HOW DO I FIX THIS:
    If you do not have a copy of the tracks on your computer, copy them back from the initial transfer folder. Usually the root of the device or the 'Music' folder. Once safely backed up, delete the individual tracks in the folder leaving any folders already created (Formatting or deleting all from the player is also an option).
    Method #.
    <OL dir=ltr style="MARGIN-RIGHT: 0px">
    Select the MTP player in the left MediaSource menu</LI>
    Click the 'Sync Manager' Icon.</LI>
    Select PC Music Library and My Zen and set the sync direction as appropriate. Click Next.</LI>
    Select the Audio checkbox. Click Next.</LI>
    Select Start.</LI>
    [/list]
    Once complete, the tracks will now be stored on the device in a folder structure under 'Music' - 'Artist' - 'Album' - 'Track.xxx' This will give all of your playlists a common / structured location to find and organize your tracks without duplicates. Follow up additions or transfers should be handled using the Sync Manager or a Smart Playlist which includes recently added tracks which can then be transfered to the player.
    Method #2.
    <OL dir=ltr style="MARGIN-RIGHT: 0px">
    Select the PC Music Library in the left MediaSource menu.</LI>
    Select All Tracks (Or those that you wish to transfer to your device).</LI>
    Right Click, choose 'Add to Playlist'</LI>
    Name the playlist 'Initial Transfer'</LI>
    Now select 'My Playlists' / 'Initial Transfer' in the left window and your portable device in the right menu.</LI>
    Click the Transfer Arrow.</LI>
    [/list]
    Once complete, the tracks will now be stored on the device in a folder structure under 'Music' - 'Artist' - 'Album' - 'Track.xxx' This will give all of your playlists a common / structured location to find and organize your tracks without duplicates. Follow up additions or transfers should be handled using the Sync Manager or a Smart Playlist which includes recently added tracks which can then be transfered to the player.
    Please feel free to post any comments here,
    Daniel

    slipinator,
    You do realize that there are multiple moderators and I do not see every post, correct? This is a user interaction forum and if you have questions that other users cannot answer then it is advised that you contact Technical Support. I am not trying to be a jerk, just don't want to have any false impressions of what this board is here for. I try to answer what I can when I can, but I cannot get to every post.
    For your question, the second one is more correct. When you transfer playlists, or use the auto sync, then the tracks are copied and organized. If you simply copy tracks in MediaSource, then it copies them directly where you tell it to.
    So with your first question, if you copied tracks and playlists all at once, then you would create duplicates. The tracks would copy where you told them to (root, music, wherever) and then the playlists would copy the tracks again into an organized set of folders under Music when they transfered.
    Your second question / statement is the better way to go if you don't want to use the Autosync.
    Daniel
    Message Edited by Daniel-CL on 04-06-2006 04:24 PM

  • [SOLVED]My udev rules don't automount usb device

    Hi,
    I'm using this .rules file for automounting usb devices:
    # start at sdc to ignore the system hard drive
    KERNEL!="sd[c-z]*", GOTO="my_media_automount_end" #sda and sdb are internal hard drives
    ACTION=="add", PROGRAM!="/sbin/blkid %N", GOTO="my_media_automount_end"
    # import some useful filesystem info as variables
    IMPORT{program}="/sbin/blkid -o udev -p %N"
    # get the label if present, otherwise assign one based on device/partition
    ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"
    ENV{ID_FS_LABEL}=="", ENV{dir_name}="%k"
    # create the dir in /media and symlink it to /mnt
    ACTION=="add", RUN+="/bin/mkdir -p '/media/%E{dir_name}'"
    # global mount options
    ACTION=="add", ENV{mount_options}="relatime"
    # filesystem-specific mount options (777/666 dir/file perms for ntfs/vfat)
    ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},gid=100,dmask=000,fmask=111,utf8"
    # automount ntfs filesystems using ntfs-3g driver
    ACTION=="add", ENV{ID_FS_TYPE}=="ntfs", RUN+="/bin/mount -t ntfs-3g -o %E{mount_options} /dev/%k '/media/%E{dir_name}'"
    # automount all other filesystems
    ACTION=="add", ENV{ID_FS_TYPE}!="ntfs", RUN+="/bin/mount -t auto -o %E{mount_options} /dev/%k '/media/%E{dir_name}'"
    # clean up after device removal
    ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l '/media/%E{dir_name}'", RUN+="/bin/rmdir '/media/%E{dir_name}'"
    # exit
    LABEL="my_media_automount_end"
    The folders in /media are created successfully but no mounting takes place. The folders are empty and when I do
    umount /media/device
    , it returns:
    umount: device/: not mounted
    But when I try to remove the folder, it sometimes returns:
    rmdir: failed to remove 'device/': Device or resource busy
    When I unplug the device, the folders are deleted successfully.
    When I manually mount the device with the code for ntfs from the rules-file, it works fine. I have also verified that the device is at /dev/sdc.
    Through searching I didn't find any post with a problem like that. My guess was that somehow this test fails:
    ACTION=="add", ENV{ID_FS_TYPE}=="ntfs"
    I already tried removing the second condition, but the result stays the same. So I am left rather clueless, I hope, you guys can help me
    Last edited by toffi-fee (2014-05-04 22:47:38)

    Thanks for the reply! So now I changed the rules to:
    KERNEL!="sd[c-z]*", GOTO="my_media_automount_end"
    ACTION=="add", PROGRAM!="/sbin/blkid %N", GOTO="my_media_automount_end"
    # import some useful filesystem info as variables
    IMPORT{program}="/sbin/blkid -o udev -p %N"
    ACTION=="add", RUN+="/bin/udisksctl mount -b /dev/%k"
    # clean up after device removal
    ACTION=="remove", RUN+="/bin/udisksctl unmount -b '/dev/%k'"
    # exit
    LABEL="my_media_automount_end"
    But now nothing seems to happen when I plug in, also no folder creation at /run/media/user/, hmmm..
    Last edited by toffi-fee (2014-05-04 19:27:53)

  • Xen Xtra not being recognized. Mtp device keeps popping

    I just got a Zen Xtra 40gb from my friend cause he said it was having major problems connecting to the pc after he upgraded it to the new firmware. he had it for years. but he gave it to me after getting an iPod last week,?When i connect it to the pc for the first time it pops up with Found New Hardware: NOMAD Jukebox Zen Xtra then changes to Found New Hardware: MTP Device and the screen on the zen goes to sync mode. But nothing on the pc happens excecpt Found New Hardware: MTP Device keeps popping up constantly. The computer will detect that its an mp3 player and pop up with What Do You Want Windows To Do? Sync with windows media player or Do Nothing. i click sync and windows media player opens and says theres nothing connected. I tried system restores. drivers. searching for answers. replacing the hard dri've different usb ports/cables and computers. same thing on every one. It worked once for like 20 mins and i got some songs on it with WMP. then this happened again after connecting again. Does anyone have anything i can do to get this to work? is there a way to downgrade the firmware to Mass Storage Device instead of PlaysForSure? Anything will help?Thankss

    go here. its a fix for half life. but as soon as you do this YOUR ZEN CAN BE DETECTED!!!!
    http://forums.steampowered.com/forums/showthread.php?t=63206&highlight=hl2.exe+stopped+w orking
    or
    open your command prompt. Start>search "command prompt" then type this
    net localhost Administrators /add Local Service
    and restart. it will be fixed.
    www.evolucianmusic.com

  • Zen Micro detected as MTP Device? Is that norm

    The Zen Micro drivers under C:\Program Files\Creative\Jukebox 3 Drivers\ no longer work after the firmware upgrade, but I was able to install it as a generic "MTP Device". Is this normal? Shouldn't it be labeled as Creative Zen Micro and not MTP Device?
    It still works with WMA and Napster To Go, but I'm concerned that I cannot install the Zen Micro Media Explorer because it cannot find the player.

    I'm having the same problem!!? Today I downloaded the latest firmware (2.2.02) to see if it would then allow me to transfer a Real Player download I bought (it didn't, that's a whole separate, awful problem).
    After I downloaded the firmware, now when I connect my Zen Micro player by USB, the computer detects it as an MTP device and neither my Zen Micro MEdia Explorer software nor the Creative MediaSource Organizer will recognize it!!
    I had to re-transfer all my songs just with windows?folders copying files from one folder to the "mtp device".
    What?does this MTP device mean? Why did this change? Is my creative software now useless?
    Any help? thanks so much!!

  • MTP Device Issue When trying to Connect my 5250 to...

    Hi All,
    I don't know what to try anymore. My phone just cannot connect to PC suite via USB cable. The bubble MTP device detected is popping up all the time and the connection is refreshed constantly so the devices cannot really connect.
    I read articles about this issue for 5800 and it was resolved by deleting certain folders in the phone but my phone just don't have these folders.
    Please assist!
    Happy Holidays!
    Yoanna

    Hi
    Try following the steps below.  I had the same problem a while back with my Nokia and gave up trying.  I recently tried to sync my Sansa MP3 in MTP mode and had the same problem.  Went to the Sandisk site and searched on MTP and they had the fix below.  MP3 player was fixed and then, out of curiosity, I tried my Nokia and it also worked.
    MTP Device Cannot Start code 10" error message
    I get an "MTP Device Cannot Start, error code 10" error message when I connect my Sansa player to a PC running Windows XP.  What can I do?
    1. Make sure you are logged in as an administrator
    2. If connected, disconnect your player from the PC
    3. Open your command prompt, click Start select Run 
    4. Type cmd  then press Enter
    5. Type the following after the prompt: Net localgroup Administrators local service /add then press Enter 
    NOTE: A "The command completed successfully" message should appear.
    6. Close the command prompt and reconnect the Sansa player.

  • Transferring videos to mtp devices

    does anyone else here have a portable video players using mtp protocol? i have a zen vision:m, music transfers fine to it with amarok. for videos (and pictures) I've been using mtpfs, its functional, but almost barely, it locks up alot, especially when i try to open the videos folder on my zen, it'll take forever to list the files. so when i transfer videos i have to copy them from the source, and then right click on the video folder to paste them. then i get a few can't change permissions messages and the transfer hangs most times halfway. it works fine for pictures, mostly
    but I'm looking for other options here for transferring videos and pictures. i had mtpsync on ubuntu, i saw it in aur, but seems to be an old version. I'm not a big fan of gnomad2, but i also saw mtpdude which looks promising
    wondering what anyone else here uses to transfer videos to mtp devices......my other option is making my xp install on my other drive bootable, and thats not on my list of priorities, im trying to switch to linux to get away from windows

    I too have the same problem synching videos to my Ipod classic (120GB). when
    I downloaded some videos to my itunes and when I click the "movies" tab in itunes, it shows all the movies I downloaded. However, after syncing my ipod, I checked my memory usage and my movies got sync'd under "other (data)" rather than "movies" so when I go to watch them on my ipod, there is nothing in my movies section. And I don't know how to get to my "other" section on my ipod. When I check the movies folder for my Ipod in Itunes my downloads do not show there either. What should I do? All videos are mp4 format and play just fine on my itunes, and they transfer just fine too....they just transfer to some random folder in my IPOD. I know a similar question to this one was answered for Crystal18, but I cannot find where the answer is posted. Please help!

  • Mounting a MTP device in Amarok

    I'm running Arch with KDEmod installed and I'm trying to set up Amarok to mount my 60 GB Creative Zen Vision which is a MTP device. I have installed libmtp and my user is a member of hal and dbus but everytime I try to connect to my Zen I get the error "can't mount mtp-device". Is there something I'm missing?
    Kind Regards
    André
    PS. I also tried gnomad2 but I get the error "no device found at usb-bus".
    Last edited by fettouhi (2008-02-03 10:05:12)

    I got the file from the source tarball, it's a file called libmtp.rules. I copied it into /etc/udev/rules.d  as it said in the source README. Initially that would only connect as root. I needed to add
    GROUP="audio"
    at the end of the relevant line for it to work as my regular user.
    The latest sourceball I can find (0.2.6.1, which is the version I installed from AUR) doesn't have that file! Help?
    lsusb gives me the following for the ZV+:
    Bus 001 Device 003: ID 041e:4152 Creative Technology, Ltd
    Harry
    EDIT: After some searching, I found something in the Amarok Wiki; I opened kate as root, copied the contents into a new file, and saved it in /etc/udev/rules.d/ as "65-libmtp.rules":
    SUBSYSTEM!="usb_device", ACTION!="add", GOTO="libmtp_rules_end"
    # Creative Zen VisionSpecial:Recentchanges
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="411f", SYMLINK+="libmtp-%k", MODE="666"
    # Creative Portable Media Center
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4123", SYMLINK+="libmtp-%k", MODE="666"
    # Creative Zen Xtra (MTP mode)
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4128", SYMLINK+="libmtp-%k", MODE="666"
    # Second generation Dell DJ
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="412f", SYMLINK+="libmtp-%k", MODE="666"
    # Creative Zen Micro (MTP mode)
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4130", SYMLINK+="libmtp-%k", MODE="666"
    # Creative Zen Touch (MTP mode)
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4131", SYMLINK+="libmtp-%k", MODE="666"
    # Dell Pocket DJ (MTP mode)
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4132", SYMLINK+="libmtp-%k", MODE="666"
    # Creative Zen Sleek (MTP mode)
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4137", SYMLINK+="libmtp-%k", MODE="666"
    # Creative Zen MicroPhoto
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="413c", SYMLINK+="libmtp-%k", MODE="666"
    # Creative Zen Sleek Photo
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="413d", SYMLINK+="libmtp-%k", MODE="666"
    # Creative Zen Vision:M
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="413e", SYMLINK+="libmtp-%k", MODE="666"
    # Creative Zen V Plus
    SYSFS{idVendor}=="041e", SYSFS{idProduct}=="4152", SYMLINK+="libmtp-%k", MODE="666"
    # Samsung:YH-820
    SYSFS{idVendor}=="04e8", SYSFS{idProduct}=="502e", SYMLINK+="libmtp-%k", MODE="666"
    # Samsung YH-925
    SYSFS{idVendor}=="04e8", SYSFS{idProduct}=="502f", SYMLINK+="libmtp-%k", MODE="666"
    # Samsung YP-T7J
    SYSFS{idVendor}=="04e8", SYSFS{idProduct}=="5047", SYMLINK+="libmtp-%k", MODE="666"
    # Samsung YH-999 Portable Media Center
    SYSFS{idVendor}=="04e8", SYSFS{idProduct}=="5a0f", SYMLINK+="libmtp-%k", MODE="666"
    # Intel Bandon Portable Media Center
    SYSFS{idVendor}=="045e", SYSFS{idProduct}=="00c9", SYMLINK+="libmtp-%k", MODE="666"
    # iRiver Portable Media Center
    SYSFS{idVendor}=="1006", SYSFS{idProduct}=="4002", SYMLINK+="libmtp-%k", MODE="666"
    # iRiver Portable Media Center
    SYSFS{idVendor}=="1006", SYSFS{idProduct}=="4003", SYMLINK+="libmtp-%k", MODE="666"
    # JVC Alneo XA-HD500
    SYSFS{idVendor}=="04f1", SYSFS{idProduct}=="6105", SYMLINK+="libmtp-%k", MODE="666"
    # Philipps HDD6320
    SYSFS{idVendor}=="0471", SYSFS{idProduct}=="01eb", SYMLINK+="libmtp-%k", MODE="666"
    # Philipps HDD6320 2
    SYSFS{idVendor}=="0471", SYSFS{idProduct}=="014b", SYMLINK+="libmtp-%k", MODE="666"
    # Philipps HDD1630/17
    SYSFS{idVendor}=="0471", SYSFS{idProduct}=="014c", SYMLINK+="libmtp-%k", MODE="666"
    # SanDisk Sansa c150
    SYSFS{idVendor}=="0781", SYSFS{idProduct}=="7410", SYMLINK+="libmtp-%k", MODE="666"
    # SanDisk Sansa e200
    SYSFS{idVendor}=="0781", SYSFS{idProduct}=="7420", SYMLINK+="libmtp-%k", MODE="666"
    # SanDisk Sansa e260
    SYSFS{idVendor}=="0781", SYSFS{idProduct}=="7420", SYMLINK+="libmtp-%k", MODE="666"
    # iRiver T10
    SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1113", SYMLINK+="libmtp-%k", MODE="666"
    # iRiver T20 FM
    SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1114", SYMLINK+="libmtp-%k", MODE="666"
    # iRiver U10
    SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1116", SYMLINK+="libmtp-%k", MODE="666"
    # iRiver T10
    SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1117", SYMLINK+="libmtp-%k", MODE="666"
    # iRiver T20
    SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1118", SYMLINK+="libmtp-%k", MODE="666"
    # iRiver T30
    SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1119", SYMLINK+="libmtp-%k", MODE="666"
    # iRiver H10
    SYSFS{idVendor}=="4102", SYSFS{idProduct}=="2101", SYMLINK+="libmtp-%k", MODE="666"
    # iRiver H10
    SYSFS{idVendor}=="4102", SYSFS{idProduct}=="2102", SYMLINK+="libmtp-%k", MODE="666"
    # Dell DJ Itty
    SYSFS{idVendor}=="413c", SYSFS{idProduct}=="4500", SYMLINK+="libmtp-%k", MODE="666"
    # Toshiba Gigabeat MEGF-40
    SYSFS{idVendor}=="0930", SYSFS{idProduct}=="0009", SYMLINK+="libmtp-%k", MODE="666"
    # Toshiba Gigabeat
    SYSFS{idVendor}=="0930", SYSFS{idProduct}=="000c", SYMLINK+="libmtp-%k", MODE="666"
    LABEL="libmtp_rules_end"
    Now Gnomad2 works as expected!
    Last edited by cautha (2008-06-10 23:52:16)

  • MTP : device monted, but bad size

    Hello,
    I've juste acquired a OnePlus One (great phone btw). But unlike with my old Galaxy S, the mass storage option is not available to transfer files by USB ; instead, i have to use MTP. I have followed the documentation, and installed libmtp and jmtpfs. When i plug my phone, i have this :
    $ mtp-detect
    Unable to open ~/.mtpz-data for reading, MTPZ disabled.
    libmtp version: 1.1.8
    Listing raw device(s)
    Device 0 (VID=05c6 and PID=6764) is a Qualcomm (for OnePlus) One (MTP).
    Found 1 device(s):
    Qualcomm (for OnePlus): One (MTP) (05c6:6764) @ bus 2, dev 12
    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
    inep: usb_get_endpoint_status(): Device or resource busy
    outep: usb_get_endpoint_status(): Device or resource busy
    Android device detected, assigning default bug flags
    USB low-level info:
    bcdUSB: 528
    bDeviceClass: 0
    bDeviceSubClass: 0
    bDeviceProtocol: 0
    idVendor: 05c6
    idProduct: 6764
    IN endpoint maxpacket: 512 bytes
    OUT endpoint maxpacket: 512 bytes
    Raw device info:
    Bus location: 2
    Device number: 12
    Device entry info:
    Vendor: Qualcomm (for OnePlus)
    Vendor id: 0x05c6
    Product: One (MTP)
    Vendor id: 0x6764
    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: OnePlus
    Model: A0001
    Device version: 1.0
    Serial number: 4b2e532c
    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
    0x4003
    0x4004
    0x4005
    Device Properties Supported:
    0xd401: Synchronization Partner
    0xd402: Friendly Device Name
    0x5003: Image Size
    Playable File (Object) Types and Object Properties Supported:
    3000: Undefined Type
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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: 58918895616
    FreeSpaceInBytes: 46820560896
    FreeSpaceInObjects: 1073741824
    StorageDescription: Mémoire de stockage interne
    VolumeIdentifier: (null)
    Special directories:
    Default music folder: 0x00000001
    Default playlist folder: 0xffffffff
    Default picture folder: 0x00000006
    Default video folder: 0xffffffff
    Default organizer folder: 0xffffffff
    Default zencast folder: 0xffffffff
    Default album folder: 0xffffffff
    Default text folder: 0xffffffff
    MTP-specific device properties:
    Friendly name: (NULL)
    Synchronization partner: (NULL)
    libmtp supported (playable) filetypes:
    Folder
    Text file
    HTML file
    RIFF WAVE file
    ISO MPEG-1 Audio Layer 3
    MPEG video stream
    JPEG file
    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.
    Then i use jmtpfs :
    $ jmtpfs ~/mnt
    Dans mon explorateur de fichier, dans ~/mnt j’ai 2,9Go d’espace et un seul répertoire, ~/mnt/Mémoire\ de\ stockage\ interne, dans lequel j’ai ~54Go. Même situation en ligne de commande :
    $ df -h
    Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
    jmtpfs 2,9G 100M 2,8G 4% /home/guillaume/mnt
    $ $ df -h mnt/Mémoire\ de\ stockage\ interne
    Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
    jmtpfs 55G 12G 44G 21% /home/guillaume/mnt
    But sometimes i have weird outputs :
    $ df -h mnt
    Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
    jmtpfs 2,9G -701M 3,6G - /home/guillaume/mnt
    And when i try to do some copies (for example in mnt/Mémoire\ de\ stockage\ interne/ISO) with my file explorer (pcmanfm, i have also tested with thunar), i have an error :
    fichier.iso : Erreur lors de l'opération de « splicing » sur le fichier : Aucun espace disponible sur le périphérique
    rsync stays at the beginning (0%), without even beginning but also without error.
    But the first time i have used jmtpfs, i have transfered 10Go of music all right. Since, it's not working.
    I have also tried thunar+gvfs-mtp, but it doesn't work (device not mounted in thunar).

    Try go-mtpfs from the AUR. It seems to work better and more consistently than anything else right now.
    Scott

  • Help With MTP Device- Ple

    About 3 weeks ago my Sleek Photo started acting up, and I have tried everything to get it fixed. Any advice would be much appreciated. Here are my specifics:
    OS: Windows XP SP2
    Media Player: Windows Media Player .0.5722.545
    Player: Sleek Photo
    Firmware: .0.0
    Here's the problem. When I connect the Sleek Photo, I get a popup asking me what I want to do (Sync Music, etc). So far so good. However, when I try to sync (either through Media Player, the Creative Media Explorer, or Napster), I get the error that the device is not found. I also use Napster to Go, which also isn't able to locate the device.
    Under Windows Device Manager, the player is listed as an MTP device, with the error that "No Drivers are installed for this device). However, under the driver tab, the driver is listed as version 5.25326.4762 with a date of 2/22/06. Additionally, the device manager window is in a constant state of "refresh", in that the window is MTP tab is constantly expanding and contracting, as if it is continually "relocating" the device. This is accompanied by a popup in the lower right portion of my screen saying that a "New MTP Device found", which continues to reappear constantly.
    Here's what I've tried so far:
    Updating Napster
    Updating Windows Media Player
    Rolling back Windows Media Player to version 0
    Restoring Windows Media Player to version
    Adding the Everyone permission to the USB registry key
    Using System Restore to roll back to a time when the device was working
    Switching the USB input from the back panel to the front panel
    Uninstalling and reinstalling the Sleek Photo firmware (which I had to do from an old computer since mine won't recognize the device from the firmware installation utility, either).
    I'd greatly appreciate any suggestions anyone might have. Thanks for looking.

    WHen I push the power button it jut comes up wioth a blank screen with the Creative logo.
    I tried also plugging it into my CP but the same thing happens.
    I removed the battery like you said, but still, no progress.

  • Mtp device driver installation on nokia 5800 fails

    when i connect my nokia 5800 in media transfer mode, windows try to find the drivers for the mtp device, but it always fails no matter what i have tried. i need to fix this.
    Greece Nokia X6 RM-559 v40.0.002

    Hi,
    I have gotten my Nokia 5800 to work in all connection types.
    Firstly, I had updated my phone to the latest firmware available to me via NSU (v31.0.101), and made a back up of my contacts and memory card.
    1. Uninstalled Nokia PC suite, Cable driver, and PC connectivity (might not have got the exact names right).
    2. Ran the Nokia PC suite cleaner.
    3. Restarted the PC.
    4. Formatted the memory card.
    5. Did a hard reset on the phone (green button + red button + camera button - until country selection pops up during the power up of the phone)
    6. Installed Nokia PC suite (latest version).
    7. Connected the 5800 to the PC in the default connection, and let all the drivers install.
    All the drivers, including the MTP USB device driver installed successfully. To be on the safe side, I changed the connection type from the phone toall the different connections to make sure it installed.
     Also run the app update application first before restoring backups and re-installing applications.
    Let me know if this helps.
    Thanks.
    Message Edited by H2_NokUser on 11-Nov-2009 05:38 PM

  • Zen Vision: M - MTP device driver prob

    Hey there, I have just recently encountered a problem with using my zen on my computer.
    My system is hot stuff so its not gonna be the problem.
    Basically I plug it in and get "MTP Device Found"
    then I am prompted to install MTP drivers through windows update - Problem, file from the installation was not found after it checks to find drivers for me.
    Windows media doesnt recognize the device as MTP (this is WM im using) nor does Zen vision: m media explorer.
    Is there a driver package I can download that will let windows know what on earth to install to recognize this MTP device? I have tried all the downloads under the vision: m downloads section, none do a thing to help. I've reinstalled, deleted old registries and copied ones across from a computer that works with it. WTH lol
    Any help apreciated: This is Windows XP

    MTP Drivers are actually user space drivers ( a new Microsoft idea/mistake)? If the Windows Driver Foundation service isn't running, its not going to recognize the device or load the driver. It should be set to "automatically" start up.
    If its stopped there is a problem of some kind, either it has been set to not startup on boot or there was a failure of some kind at boot and you should check the event logs in eventvwr to see what kind of failure there was.
    If the service was set to start at boot and did not, then there should be an error message in eventvwr that will give you an idea of why.

  • Warning message "Your device might not be able to play or view this file" when copying MP3s to MTP device

    Some new phones are doing away with the virtual HDD and switching to MTP for transferring files to/from the device. Because of this every time I want to copy MP3s to my MTP device I get a Windows message saying "Your device might not be able to
    play or view this file" forcing me to click "Ignore this error" every time I start a new copy. I am VERY grateful that there is an option that says "Do this for all remaining files", but it's still really annoying because each time I start a new file copy
    it pops up.
    To be clear, this is not a device or driver issue. This is a windows prompt that is specifically tied to MTP devices.
    Is there a registry key I can change so Windows will automatically assume the answer is "Yes, your file will be copied, but you might not be able to play or view it on your device"? Or perhaps a key where I can change the file types this prompt is
    tied to?

    Hi,
    Based on my research and test, I’m afraid that this feature is by-design. We cannot simply disable or change the feature by editing the registry.
    I think you can use the transfer tool from your phone manufacturer.
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • ANNOYING - MTP Device driver kicks off every time I connect with USB - MAKE IT STOP!!!

    I have a Droid Pro that recently went through the software upgrade.  Prior to the upgrade, I could connect my phone to USB for charging purposes only.  It was never a problem.  AFTER the software upgrade however, every time I do so now, it starts a repeating attempt to load a "MTP Device" driver.  It'll load successfully sometimes, other times unsuccessfully, but even when it loads successfully, it'll load again a few minutes later.  It slows down my laptop when it does that.  How can I fix this so it doesn't try to load this driver?
    Thanks.

    Hello Droidberry, welcome to the forums! I understand that having this popup everytime you connect your computer can be annoying. I want to check a few things first. When you connect your phone to your computer, do you see a Motorola symbol popup in the lower righthand corner of the computer? If so, click this icon to see if you have an option to Do Nothing. 
    If this icon is not showing or that doesn't resolve the issue, you may need to open your Device Manager, select the Droid Pro XT610 driver and change this to a USB mass storage device. 
    Here are some more steps for determining if there is a conflict with the Droid Pro in your Device Manager. 

  • MTP device won't install

    I wanted to install Ovi for my new N86-8mp, I continuously get the nmessage that my MTP device won't install, a bit of a nuisance since I want to use Nokia music. Th new hardeware wizard says something like: right section not found in INF section (in dutch...) Hardware manager shows some problems as wellin in CDC Comms manager.
    I have tried the following: uninstall PC suite, remove folder 10208913 on private,  total reboots several times.WinXP profSP3

    I've recently had the problem with my 5800xm & the failure to install the MTP driver issues.
    When I first got my phone it would connect in media transfer mode & sync music from WMP with no problems whatsoever. It had been a while since I synced music to my phone & after ripping some new cds, I wanted to transfer them to my phone. Herein started all the MTP driver problems.
    I tried allsorts to rectify the problem over several days, various installs/un-installs of Nokia PC Suite & Ovi Suite (going against everything I hate about Ovi, but they are not related to this post), installing MTP drivers direct from Microsoft, messing about with my PC's registry among the many things I tried.
    Hunted high & low through these forums to find a solution, but just kept going round & around in circles, all suggesting the same remedies as above, all with the same result - no avail.
    Then I finally chanced upon this very thread, tucked away in "connectivity". The only new solution was to locate the 10208913 folder in 'private' on the phone & SD memory card.
    At this point I was willing to do anything to save my sanity from this problem that was becoming increasingly irritating to me.  Anyway, located & deleted said folder and honestly I wasn't expecting it to make a difference. Connected my phone via USB, the little balloon popped up "installing device driver software... Searching preconfigured folders"...
    "not all this again" was my thought... and then...
    "device driver successfully installed"
    Staring at the screen I was expecting to open my eyes and see my girlfriend waking me up with a cup of tea, as seeing that message must have meant I was dreaming!
    So, after all this it came down to two silly little folders on the phone & memory card....
    I can only wonder what has happened to Nokia not to have picked up on this issue and created an update or patch to resolve this problem. How many more people are there with this problem that have little knowledge of how to find the folders and delete them, and have resigned themselves to the fact that syncing music is not possible anymore and have dented their confidence in Nokia.
    Anyway, thanks for the help & saving my sanity everyone!

Maybe you are looking for

  • Can one use a Time Capsule to backup Two Computers?

    Sorry for what is likely such a dumb question, but Iif I bought a new Time Capsule with 3TB of storage, could I use this to backup two different computers on our home network? And if so, could I generate an encrypted disk image (using Apple's Disk Ut

  • How to set the value of an LOV in CO prgramatically and get the Pkey value?

    Hi, I need to set a value to a LOV, say ItemLOV in a page through CO and get the Primaykey that LOV will return. How can I achieve this? Req: 1. Set the Item_Name, say 'DELL_1618' so that the page displays this in the LOV. 2. Fetch the PK value retur

  • ORG Data Determination

    Hi I am implementing Service Contract  the problem is in the Transaction Data->organization tab how to get the values of sales org on filling the Sold to Party in the ticket automatically. Pls guide me

  • BT OPENZONE

    So I'm trying to extend the Openzone I subscribe to. I bought a TP Link access point and have tried using it as an extender with no success. also tried as access point using ICS via my laptop. This was odd, I could traceroute through the internet but

  • Finder behaving strangely, temporarily unresponsive when opening Apps folder, External Drive.

    Hi I'm running 10.7.2 on a 27-inch iMac 11,1 (Late 2009). Everything has been working great up until a few weeks ago. I can't remember if it was after an update or what. I have an external 1.5 TB hard drive, and whenever  try to access the drive's ro