Re: MTP and Android phones
On 2014-01-07 13:07:42 -0500, Brad Sawatzky wrote: On Tue, 07 Jan 2014, Dr. Jennifer Nussbaum wrote: Wait, so explain how i can get my phone connected to my computer? There have now been several different and contradicting explanations :-( I have used go-mtpfs with my nexus4, nexus5, and nexus10 under wheezy and it works well. It doesn't work with the Galaxy Note II (though it has worked for some time in the past). http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696513 -- Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140108090249.ga21...@xvii.vinc17.org
Re: MTP and Android phones
You can always submit your device's vendor ID and device ID to libmtp maintainers: According to http://libmtp.sourceforge.net/ : New Device? If you happen upon a device which libmtp claims it cannot autodetect, please: - Submit the vendor ID and device ID as a bug, patch or feature request on the Sourceforge bug trackerhttp://sourceforge.net/tracker/?group_id=158745atid=809061 at our homepage. - 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. 2014/1/8 Vincent Lefevre vinc...@vinc17.net On 2014-01-07 13:07:42 -0500, Brad Sawatzky wrote: On Tue, 07 Jan 2014, Dr. Jennifer Nussbaum wrote: Wait, so explain how i can get my phone connected to my computer? There have now been several different and contradicting explanations :-( I have used go-mtpfs with my nexus4, nexus5, and nexus10 under wheezy and it works well. It doesn't work with the Galaxy Note II (though it has worked for some time in the past). http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696513 -- Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140108090249.ga21...@xvii.vinc17.org -- Best regards, Valery Mamonov.
Re: MTP and Android phones
On Tue, 07 Jan 2014 11:14:32 -0500, Brad Sawatzky brad+deb...@swatter.net wrote: Yeah, MTP is a pain. I wish there was at least a choice for a standard USB generic mass storage mount option... oh well. Problem is, that mass storage would require phone to unmount filesystem before making it available for USB mounting by computer. And there would be also filesystem problems for Windows users. -- Virgo Pärna virgo.pa...@mail.ee -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/slrnlcqgl4.2lq.virgo.pa...@dragon.gaiasoft.ee
Re: MTP and Android phones
2014/1/7 Brad Sawatzky brad+deb...@swatter.net On Tue, 07 Jan 2014, Dr. Jennifer Nussbaum wrote: Ive Googled and tried to read up about MTP, but im still not sure how to get things working--different sites have you download and compile things from scratch, which seems crazy that you can't just plug your phone in. I did install mtp-tools, but i can't find mtpfs that many of the sites say you need to have. Yeah, MTP is a pain. I wish there was at least a choice for a standard USB generic mass storage mount option... oh well. The best MTP software I've found is go-mtpfs. Unfortunately I don't think it is packaged, but it is easy to build and put in $HOME/bin/ It uses FUSE like the other options, but is _much_ faster. You can find it here: https://github.com/hanwen/go-mtpfs If you're going to build it yourself, you'll need to install these packages first: % apt-get install golang-go golang-src libusb-1.0-0 libusb-1.0-0-dev There seem to be pre-compiled binaries you can download too (YMMV with those). You'll probably need to install the libusb-1.0-0 library anyway. I just mount/unmount manually. One could write a udev/udisks2 rule to automate this I suppose. HTH, -- Brad +1 works like a charm here, debian jessie. Android 4.1.2 on lg phone.
Re: MTP and Android phones
On 01/08/2014 07:59 AM, Raffaele Morelli wrote: https://github.com/hanwen/go-mtpfs If you're going to build it yourself, you'll need to install these packages first: % apt-get install golang-go golang-src libusb-1.0-0 libusb-1.0-0-dev There seem to be pre-compiled binaries you can download too (YMMV with those). You'll probably need to install the libusb-1.0-0 library anyway. I just mount/unmount manually. One could write a udev/udisks2 rule to automate this I suppose. HTH, -- Brad +1 works like a charm here, debian jessie. Android 4.1.2 on lg phone. I did the go-mtpfs per the web site, ran it, but got an error. Not sure if I was supposed to do anything with this line from the install: # edit to suit libusb installation: vi /tmp/go/src/github.com/hanwen/go-mtpfs/usb/usb.go but here is what happened when I ran it: go-mtpfs /media/s3 2014/01/08 08:34:26 OpenSession failed: LIBUSB_ERROR_IO; attempting reset 2014/01/08 08:34:33 Configure failed: OpenSession after reset: LIBUSB_ERROR_TIMEOUT -- Paul Cartwright Registered Linux User #367800 and new counter #561587 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52cd54bb.4000...@gmail.com
Re: MTP and Android phones
2014/1/8 Paul Cartwright pbcartwri...@gmail.com On 01/08/2014 07:59 AM, Raffaele Morelli wrote: https://github.com/hanwen/go-mtpfs If you're going to build it yourself, you'll need to install these packages first: % apt-get install golang-go golang-src libusb-1.0-0 libusb-1.0-0-dev There seem to be pre-compiled binaries you can download too (YMMV with those). You'll probably need to install the libusb-1.0-0 library anyway. I just mount/unmount manually. One could write a udev/udisks2 rule to automate this I suppose. HTH, -- Brad +1 works like a charm here, debian jessie. Android 4.1.2 on lg phone. I did the go-mtpfs per the web site, ran it, but got an error. Not sure if I was supposed to do anything with this line from the install: # edit to suit libusb installation: vi /tmp/go/src/github.com/hanwen/go-mtpfs/usb/usb.go but here is what happened when I ran it: go-mtpfs /media/s3 2014/01/08 08:34:26 OpenSession failed: LIBUSB_ERROR_IO; attempting reset 2014/01/08 08:34:33 Configure failed: OpenSession after reset: LIBUSB_ERROR_TIMEOUT exept that I moved the installation path to my ~/bin I followed that verbatim and worked /r
Re: MTP and Android phones
go-mtpfs is your answer!! Go ahead. I am using it falwlessly -- *Regards,Anubhav Yadav* *Imperial College of Engineering and Research,* *Pune.*
Re: MTP and Android phones
2014/1/8 Paul Cartwright pbcartwri...@gmail.com On 01/08/2014 09:59 AM, Raffaele Morelli wrote: works like a charm here, debian jessie. Android 4.1.2 on lg phone. I did the go-mtpfs per the web site, ran it, but got an error. Not sure if I was supposed to do anything with this line from the install: # edit to suit libusb installation: vi /tmp/go/src/github.com/hanwen/go-mtpfs/usb/usb.go but here is what happened when I ran it: go-mtpfs /media/s3 2014/01/08 08:34:26 OpenSession failed: LIBUSB_ERROR_IO; attempting reset 2014/01/08 08:34:33 Configure failed: OpenSession after reset: LIBUSB_ERROR_TIMEOUT exept that I moved the installation path to my ~/bin I followed that verbatim and worked /r I don't follow.. how do you move the installation path.. like this: mkdir home/user/bin/go export GOPATH=/home/user/bin/go go get github.com/hanwen/go-mtpfs /tmp/go/bin/go-mtpfs will then contain the program binary. exactly, but it does not really matter you'll end up with the binary go-mtpfs so you can place it everywhere
MTP and Android phones
Hi, i'm running Wheezy. I used to have an older Android phone that Just Worked with my system, but I upgraded it to one running Android 4.2, and now i can no longer figure out how get it to talk to my computer. Ive Googled and tried to read up about MTP, but im still not sure how to get things working--different sites have you download and compile things from scratch, which seems crazy that you can't just plug your phone in. I did install mtp-tools, but i can't find mtpfs that many of the sites say you need to have. All i want is to be able to plug my phone in via USB and have it visible in the filesystem, whether through Thunar or on the commandline. Being able to have it work with Banshee wuold be nice too, but i assume that if the phone is visible then it will work with any tools. Thank you. Jen
Re: MTP and Android phones
On Tue, Jan 07, 2014 at 07:28:06AM -0800, Dr. Jennifer Nussbaum wrote: Hi, i'm running Wheezy. I used to have an older Android phone that Just Worked with my system, but I upgraded it to one running Android 4.2, and now i can no longer figure out how get it to talk to my computer. Ive Googled and tried to read up about MTP, but im still not sure how to get things working--different sites have you download and compile things from scratch, which seems crazy that you can't just plug your phone in. I did install mtp-tools, but i can't find mtpfs that many of the sites say you need to have. MTPFS is only available in Squeeze and Sid. http://packages.debian.org/search?keywords=mtpfs All i want is to be able to plug my phone in via USB and have it visible in the filesystem, whether through Thunar or on the commandline. Being able to have it work with Banshee wuold be nice too, but i assume that if the phone is visible then it will work with any tools. One alternative may be to use GVFS. Have a look to see if your gvfs-backends package supports mtp (apt-cache show gvfs-backends will say), then perhaps something like gvfs-fuse will do. Thank you. Jen signature.asc Description: Digital signature
Re: MTP and Android phones
On Tuesday, January 7, 2014 10:46 AM, Darac Marjal mailingl...@darac.org.uk wrote: On Tue, Jan 07, 2014 at 07:28:06AM -0800, Dr. Jennifer Nussbaum wrote: Hi, i'm running Wheezy. I used to have an older Android phone that Just Worked with my system, but I upgraded it to one running Android 4.2, and now i can no longer figure out how get it to talk to my computer. Ive Googled and tried to read up about MTP, but im still not sure how to get things working--different sites have you download and compile things from scratch, which seems crazy that you can't just plug your phone in. I did install mtp-tools, but i can't find mtpfs that many of the sites say you need to have. MTPFS is only available in Squeeze and Sid. http://packages.debian.org/search?keywords=mtpfs Hmm. Maybe I should use this as an excuse to upgrade to Sid. If I do, will this Just Work, or will I still have to jump thruogh elaborate tasks to set things up? Jen
Re: MTP and Android phones
On Tue, 07 Jan 2014, Dr. Jennifer Nussbaum wrote: Ive Googled and tried to read up about MTP, but im still not sure how to get things working--different sites have you download and compile things from scratch, which seems crazy that you can't just plug your phone in. I did install mtp-tools, but i can't find mtpfs that many of the sites say you need to have. Yeah, MTP is a pain. I wish there was at least a choice for a standard USB generic mass storage mount option... oh well. The best MTP software I've found is go-mtpfs. Unfortunately I don't think it is packaged, but it is easy to build and put in $HOME/bin/ It uses FUSE like the other options, but is _much_ faster. You can find it here: https://github.com/hanwen/go-mtpfs If you're going to build it yourself, you'll need to install these packages first: % apt-get install golang-go golang-src libusb-1.0-0 libusb-1.0-0-dev There seem to be pre-compiled binaries you can download too (YMMV with those). You'll probably need to install the libusb-1.0-0 library anyway. I just mount/unmount manually. One could write a udev/udisks2 rule to automate this I suppose. HTH, -- Brad -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140107161432.ga20...@enigma.swatter.net
Re: MTP and Android phones
On 2014-01-07 15:46:10 +, Darac Marjal wrote: MTPFS is only available in Squeeze and Sid. http://packages.debian.org/search?keywords=mtpfs But it doesn't work with Android phones. -- Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140107163532.ge...@ypig.lip.ens-lyon.fr
Re: MTP and Android phones
On Tuesday, January 7, 2014 11:43 AM, Vincent Lefevre vinc...@vinc17.net wrote: On 2014-01-07 15:46:10 +, Darac Marjal wrote: MTPFS is only available in Squeeze and Sid. http://packages.debian.org/search?keywords=mtpfs But it doesn't work with Android phones. Wait, so explain how i can get my phone connected to my computer? There have now been several different and contradicting explanations :-( -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1389113419.6072.yahoomail...@web124503.mail.ne1.yahoo.com
Re: MTP and Android phones
Le 07/01/2014 16:28, Dr. Jennifer Nussbaum a écrit : Hi, i'm running Wheezy. I used to have an older Android phone that Just Worked with my system, but I upgraded it to one running Android 4.2, and now i can no longer figure out how get it to talk to my computer. Ive Googled and tried to read up about MTP, but im still not sure how to get things working--different sites have you download and compile things from scratch, which seems crazy that you can't just plug your phone in. I did install mtp-tools, but i can't find mtpfs that many of the sites say you need to have. All i want is to be able to plug my phone in via USB and have it visible in the filesystem, whether through Thunar or on the commandline. Being able to have it work with Banshee wuold be nice too, but i assume that if the phone is visible then it will work with any tools. Thank you. Jen On jessie, with kde I can connect in MTP mode. However it only works when I plug the phone on USB3 ports (on usb2 mtp-detect detects a mtp device, but not mtp-probe) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52cc319c.60...@rail.eu.org
Re: MTP and Android phones
Le 07/01/2014 17:14, Brad Sawatzky a écrit : On Tue, 07 Jan 2014, Dr. Jennifer Nussbaum wrote: Ive Googled and tried to read up about MTP, but im still not sure how to get things working--different sites have you download and compile things from scratch, which seems crazy that you can't just plug your phone in. I did install mtp-tools, but i can't find mtpfs that many of the sites say you need to have. Yeah, MTP is a pain. I wish there was at least a choice for a standard USB generic mass storage mount option... oh well. There is on my wiko stairway... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52cc31c1.3040...@rail.eu.org
Re: MTP and Android phones
On 01/07/2014 11:50 AM, Dr. Jennifer Nussbaum wrote: On Tuesday, January 7, 2014 11:43 AM, Vincent Lefevre vinc...@vinc17.net wrote: On 2014-01-07 15:46:10 +, Darac Marjal wrote: MTPFS is only available in Squeeze and Sid. http://packages.debian.org/search?keywords=mtpfs But it doesn't work with Android phones. Wait, so explain how i can get my phone connected to my computer? There have now been several different and contradicting explanations :-( what do you get when you type the command: $lsusb . (SNIP a bunch of entries) Bus 001 Device 027: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-P7500 [Galaxy Tab 10.1] and that is wrong, it is showing my galaxy tab 3, which isn't plugged in. My Galaxy S3 is plugged in.. -- Paul Cartwright Registered Linux User #367800 and new counter #561587 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52cc3823.1030...@gmail.com
Re: MTP and Android phones
On Tue, Jan 07, 2014 at 12:23:47PM -0500, Paul Cartwright wrote: On 01/07/2014 11:50 AM, Dr. Jennifer Nussbaum wrote: On Tuesday, January 7, 2014 11:43 AM, Vincent Lefevre vinc...@vinc17.net wrote: On 2014-01-07 15:46:10 +, Darac Marjal wrote: MTPFS is only available in Squeeze and Sid. http://packages.debian.org/search?keywords=mtpfs But it doesn't work with Android phones. Wait, so explain how i can get my phone connected to my computer? There have now been several different and contradicting explanations :-( what do you get when you type the command: $lsusb . (SNIP a bunch of entries) Bus 001 Device 027: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-P7500 [Galaxy Tab 10.1] and that is wrong, it is showing my galaxy tab 3, which isn't plugged in. My Galaxy S3 is plugged in.. Just be aware that the only reliable information lsusb gets from the device is the manufacturer/device id (04e8:6860 in your case). It then looks up what that device is in a database on your computer. If the database is out of date (hint: sudo update-usbids), then the human-readable description will be wrong. Basically, it's possible that the S2, the Tab 10.1 and the S3 all share the same device id. signature.asc Description: Digital signature
Re: MTP and Android phones
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/07/2014 12:31 PM, Darac Marjal wrote: On Tue, Jan 07, 2014 at 12:23:47PM -0500, Paul Cartwright wrote: On 01/07/2014 11:50 AM, Dr. Jennifer Nussbaum wrote: On Tuesday, January 7, 2014 11:43 AM, Vincent Lefevre vinc...@vinc17.net wrote: On 2014-01-07 15:46:10 +, Darac Marjal wrote: what do you get when you type the command: $lsusb . (SNIP a bunch of entries) Bus 001 Device 027: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-P7500 [Galaxy Tab 10.1] and that is wrong, it is showing my galaxy tab 3, which isn't plugged in. My Galaxy S3 is plugged in.. Just be aware that the only reliable information lsusb gets from the device is the manufacturer/device id (04e8:6860 in your case). It then looks up what that device is in a database on your computer. If the database is out of date (hint: sudo update-usbids), then the human-readable description will be wrong. Basically, it's possible that the S2, the Tab 10.1 and the S3 all share the same device id. I just unplugged and plugged back in my phone and got this from lsusb: Bus 001 Device 028: ID 04e8:685e Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II] (USB Debugging mode) then ran your update-usbids, then ran lsusb again and got this: Bus 001 Device 029: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-I9300 Phone [Galaxy S III], GT-P7500 [Galaxy Tab 10.1] - -- Paul Cartwright Registered Linux User #367800 and new counter #561587 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSzDqsAAoJEFOC6wwM39g1O18H/jnC5Ka/pGDPZ4sAdpd52/Xb NaqJr/9h/2ON/ePAcGjlSTvI6caccKgCg7EJsajx89aDXZzsn94TCzMsWFq37zwq Ytr4rz23Fu6iYo2rcTYXKqFdbRoFH9uX2NGZH+2EurizNLYkYr9lM11/l2ah6btp tNX38lW7bJNHpFFx6KnZV4PgZhuO5Y73mLfiBdbcKNnpWuKvpzKNX8MMj0p4oDdD H/ZpPT8koXlpPMDlT1msr8HVGKie9aX5K/rPu4t96ZpMIpoE2YwJ3TvVZlnRzx3k Q7ly4/bQHtaF4MVJhpRwV5k1bD7soV0spFvXB1G6Or8H/B5VnCtVcnRgY/8q2Tg= =um88 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52cc3aac.60...@gmail.com
Re: MTP and Android phones
On Tue, 07 Jan 2014, Dr. Jennifer Nussbaum wrote: Wait, so explain how i can get my phone connected to my computer? There have now been several different and contradicting explanations :-( I have used go-mtpfs with my nexus4, nexus5, and nexus10 under wheezy and it works well. -- Brad -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140107180742.ga30...@aether.jlab.org
Re: MTP and Android phones
* On 2014 07 Jan 09:31 -0600, Dr. Jennifer Nussbaum wrote: Hi, i'm running Wheezy. I used to have an older Android phone that Just Worked with my system, but I upgraded it to one running Android 4.2, and now i can no longer figure out how get it to talk to my computer. I was in the same boat last year. I have a Motorola Electrify M and when I plug it in all it does is mount as a CDROM drive with a Windows executable on it. I tried it on a Windows machine and the EXE installs the drivers in Windows that allow it to bypass the USB mass storage device and activate MTP. It is running Jelly Bean 4.1.2. After some frustration and help on a forum I was directed to Air Droid which let me connect to it via WiFi and the later version allows connection via the Internet through an Air Droid server, if desired. I don't know if the WiFi/'Net traffic is encrypted or not, so that might be something to consider. - Nate -- The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true. Ham radio, Linux, bikes, and more: http://www.n0nb.us -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140107220148.gs5...@n0nb.us