Connect a Motorola cellular phone to Linux
Follow @ggarronI own a Motorola L6 phone, I have been trying to connect it to my Linux (Debian Lenny) to upload some .mp3 files to be used as ringtones.
I have found in my search Moto4Lin which is a software written using QT, and it works great!, well lets see how to install and use this program.
As I am running Debian it is really easy to install
sudo aptitude install moto4lin
The same should work for Ubuntu.
For CentOS or Fedora, or any other distribution (including Debian) you can download the latest version from here and then uncompress it, once this is done:
Install this packages:
libqt3-mt-dev (Ubuntu) qt-devel (Fedora) zlib1g-dev (Ubuntu) zlib-devel (Fedora) libusb-dev (Ubuntu) libusb-devel (Fedora)
And then run this commands in the moto4lin directory, (as root)
qmake
make
make install
Ok, now we have the software installed, lets now run it, we need to run it as root so:
Now lets configure it, first get the info for your phone from here, and create the configuration file, the important data is:
'AT Vendor ID', 'AT Product ID', 'P2K Vendor ID', 'P2K Product ID'.
So in my case, for a L6 motorola this is my file:
vim $HOME/.qt/moto4linrc
and this is the info inside my file, (yours may be different)
[device] cfgACMdevice=/dev/ttyACM0 cfgATproduct=4902 cfgATvendor=22b8 cfgAutoConnect=1 cfgDetachDriver=0 cfgP2Kproduct=4901 cfgP2Kvendor=22b8 [filemanager] cfgAutoExpandDirTree=0 cfgAutoUpdateFileList=1 cfgGoLastFolder=0 cfgLoadList=0
Now run moto4lin
gksudo moto4lin
You should be able to browse, upload and download files from your phone now.