Sunday, February 22, 2009

MTP on Linux

Some surfing on the web reminded me to investigate developments in the area of using MTP on Linux. I had attempted this once in the past and failed to manage to connect to my MTP MP3 player. Some homework today led me to an article on mounting MTP on Linux over at abi.

At the first step I had to substitute the following command on my Ubuntu 8.04 (Hardy Heron).

sudo apt-get install mtpfs


The rest of the steps worked perfectly as is, and to my surprise, mounted my Samsung YP-P2!

A quick follow-up:
Since I'm incredibly lazy, I just wrote a couple scripts for mounting and unmounting my P2 on Ubuntu.

p2.mount
#! /bin/sh
sudo mtpfs -o allow_other /media/p2.mount


p2.unmount
#! /bin/sh
sudo umount /media/p2.unmount

No comments:

hit counter