1 |
Hi all, |
2 |
Are there any known tricks for auto-mounting an MTP device? I think |
3 |
this stuff is used on some newer Android phone so I'm hoping someone |
4 |
has a nice solution. |
5 |
|
6 |
My wife decided to buy the new Kindle Fire HD based on our good |
7 |
experience with the original Kindle Fire. The new device is very nice |
8 |
- faster, nicer screen, better networking, etc. - but no longer |
9 |
presents itself as a USB Mass Storage device like my older Kindle |
10 |
Fire. Rather it uses Media Transfer Protocol. (MTP) I've managed to |
11 |
get it mounted using a package from the poly-c overlay called jmtpfs. |
12 |
Info is located here: |
13 |
|
14 |
http://research.jacquette.com/jmtpfs-exchanging-files-between-android-devices-and-linux/ |
15 |
|
16 |
I've copied some movies over and they play fine on the new device |
17 |
but it's all by-hand manual mounting, etc. When the device is plugged |
18 |
in I get this sort of info in dmesg: |
19 |
|
20 |
[15720.370654] usb 2-2: new high-speed USB device number 4 using ehci_hcd |
21 |
[15720.490935] usb 2-2: New USB device found, idVendor=1949, idProduct=0007 |
22 |
[15720.490940] usb 2-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4 |
23 |
[15720.490944] usb 2-2: Product: Kindle |
24 |
[15720.490947] usb 2-2: Manufacturer: Amazon |
25 |
[15720.490949] usb 2-2: SerialNumber: REMOVED |
26 |
|
27 |
and based on one post I read for Ubuntu (or maybe Arch - I don't |
28 |
remember) I've created this udev rule: |
29 |
|
30 |
mark@c2stable ~ $ cat /etc/udev/rules.d/51-android.rules |
31 |
UBSYSTEM=="usb", ATTR{idVendor}=="1949", ATTR{idProduct}=="0007", MODE="0666" |
32 |
mark@c2stable ~ $ |
33 |
|
34 |
Anyway, it's all usable but a bit clumsy. Is there a sensible way I |
35 |
can have the device recognized and mounted via rules in fstab? (Or any |
36 |
other fixed file?) |
37 |
|
38 |
Thanks, |
39 |
Mark |