Kindle Fire HD and openSUSE Linux

Today my mom got a new toy: the Kindle Fire HD. One of the first things I wanted to do was filling up the Tablet with some music and videos. As the Webinterface from Amazon does not work with the Firefox under Linux, I connected the device via USB to my Laptop and the device was recognized by the kernel:

[ 4820.437790] usb 2-1.2: new high speed USB device number 3 using ehci_hcd
[ 4820.536159] usb 2-1.2: New USB device found, idVendor=1949, idProduct=0007
[ 4820.536162] usb 2-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 4820.536164] usb 2-1.2: Product: Kindle
[ 4820.536166] usb 2-1.2: Manufacturer: Amazon
[ 4820.536167] usb 2-1.2: SerialNumber: D059A0A024460GEB

but surprise, surprise: nothing else happened. Neither the automounter pops up nor running fdisk -l shows any device. I learned that the Kindle is using MTP (Media Transfer Protocol) – so I need a special tool that allows me to access the device. Thankfully Malcolm Lewis already packaged a tool for openSUSE: “jmtpfs”, providing a FUSE based MTP filesystem.

Just search on for the package for your distribution. After the installation, a simple command (as normal user) like:

mkdir ~/kindle; jmtpfs ~/kindle

did the trick: the device was mounted in the new directory “kindle” in your home. As I do not want to do this by myself every time I plug in the device, I use the udev rule provided with the package as a template to write my own. Just copy the original to a new file:

sudo cp /lib/udev/rules.d/51-android.rules /lib/udev/rules.d/52-kindle.rules
sudo vi /lib/udev/rules.d/52-kindle.rules

..and change the configuration according to the information from dmesg:

# Kindle devices - UDEV Rule
# For Kindle Fire HD
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1949", ATTRS{idProduct}=="0007", SYMLINK+="libmtp-%k", MODE="0666", GROUP="users" RUN+="/usr/bin/jmtpfs /home/lars/kindle"

done 🙂


About Lars Vogdt

This is the private blog space of Lars Vogdt, the topics will be in first place work related.
This entry was posted in openSUSE and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s