This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Feature: Handheld Devices

Mobile phone management under Linux

By Razvan T. Coloja on December 18, 2007 (4:00:00 PM)

Share    Print    Comments   

Even people who don't live and die by their mobile phones sometimes need to send SMS messages. Did you know you can do that from your computer? Likewise, it's easier to clean your mobile phone of all the numbers you've not been dialing in the last few years using a mouse, rather than navigating repeatedly through the phone's menu system. Here are some Linux tools that can help you manage your cell phone.

Using a Windows Mobile-based smart phone or PDA in Linux is easy as pie. In most cases you just have to connect the device through USB and start up SynCE. For phones that don't use a Microsoft operating system, such as my Motorola SLVR L7, applications like Moto4Lin and KMobileTools come in handy.

If you just need to view, delete, or send SMS messages and manage your address book, then KMobileTools, a part of KDE 3.5.x, is a good solution. If you don't use KDE, you can download and install the program anyway. Configuration is straightforward: you pick a device brand from the list (Nokia, Motorola, Siemens, Sony Ericsson, and LG phones are supported) and choose a connection type. If you wish to use Bluetooth, pick /dev/rfcomm0. For USB connections choose /dev/ttyACM0 or /dev/ttyUSB0, and for serial ports use /dev/ttyS0. Leave the port speed at the default (115200). Configure the PhoneBook and specify whether you want the import settings to overwrite stored PhoneBook entries and whether the imported names should be in the Name, Nickname, or Name-Surname format. Then click on Refresh and choose the items you want to import: phone number list, missed calls list, quick dial numbers, SIM phonebook, own numbers, and others.

In the SMS window, click Refresh and choose whether you want to import text messages from phone memory or a SIM, and you're all set.

If you download the latest beta from the KMobileTools site and you have an AT-compatible device, chances are that it will be detected automatically. Basically, the program uses AT commands to get information from the mobile phone, just like PC modems. In the 0.5.0 beta version of the application, the user interface was radically changed from its predecessor. It's more intuitive and better integrated into the desktop environment.

As with the previous version, you can check the phone's battery level and the signal strength from the main window. The contact list is clearly laid out in tabbed categories, and clicking on one of the names reveals all the info on that particular person in the right side of the window. In the lower-right side you have a list of actions that can be applied to the currently selected contact item: edit, delete, add new, import, and export. Right-clicking on a name brings up a context menu from which you can choose to call that contact's number or send an SMS using one of the connected mobile phones. And speaking of SMS, in the new version of KMobileTools, these messages are beautifully structured into two main categories: Inbox (SIM and Phone) and Outgoing (SIM and Phone). In addition to letting you compose new messages and manage existing ones, the application lets you export text messages directly into KMail. If you use a different mail application there's also the option to export to a CSV file.

You can minimize KMobileTools to the system tray and it will sit there quietly until someone calls you on the phone or you receive an SMS message -- then the application will pop up a message and play a sound informing you of the event.

Wammu

There are other tools you can try. The Wammu GUI for Gammu, written in wxPython, offers the same functionality as KMobileTools. Since Gammu is basically a set of scripts, drivers, and CLI applications, Wammu greatly simplifies your work with them. The Phone Wizard function offers several connection options, such as USB, Bluetooth, and IrDA, and three configuration options: automatic, guided, and manual. Unlike KMobileTools, Wammu can display detailed information about your mobile phone, such as manufacturer, firmware number, and serial number. It can retrieve SMS and contact information from the device, along with to-do data, calendar, and call lists.

One of Wammu's advantages is the ability to create and restore backups of your mobile data. The application can import *.vcf, *.ldif, *vcs, *.ics, and Nokia *.lmb files. On the downside is the time it takes to import messages into Wammu and the occasional freezes of the GUI.

Moto4Lin

Sometimes you want to do more with your phone. What about those moments when you need to download an image from the phone or want to upload a music file as a ringtone? For Motorola phones, try Moto4Lin. While KMobileTools can be used to manage contacts and text messages, Moto4Lin is strictly for file management.

Before you start, check the compatibility list to be sure your Motorola phone model is supported. My SLVR L7 had no problem connecting, although I had to manually edit ~/.qt/moto4linrc to get the program to remember my settings. In the Preferences window I set /dev/ttyACM0 as an ACM device. You'll also need the vendor and product IDs from the previous link. If your mobile phone is not supported, you could still get lucky. Install usbview or use lsusb and write down the vendor and product ID it reports, then paste them accordingly in Moto4Lin. The P2K (Paragon Filesystem) vendor ID the utility reports should be the same as the AT vendor ID. As for the P2K product ID, it should be one unit smaller than the AT product ID above it. For example, in the case of my Motorola phone, the AT Vendor ID is 22b8, AT Product ID is 4902, P2K Vendor ID is 22b8 and the P2K Product ID is 4901.

Now click on Switch To P2K and click OK.

In the main window of the application, click on Connect/Disconnect, and when the mobile phone has successfully connected, press the Update List button. Moto4Lin will scan the device for all multimedia and Java files and present you with a directory structure. You can then download and upload files from and to your mobile phone, insert ringtones, copy 3GP and MMS files, and assign different types of attributes to them. A file can be marked as read-only, hidden, system, volume, directory, or archive.

Moto4Lin also has a nifty seem editor with upload and download functions, so you can edit your phone settings information from these storage containers. Since most mobile phones support Java applications, Moto4Lin also offers an interface for uploading and downloading Java midlets (Java applications for embedded devices) and a file manager that outputs information regarding the name, vendor, version, size, and startup status of the selected file.

Other functions include rebooting and suspending the phone.

Below is an example of my ~/.qt/moto4linrc:

[device] cfgACMdevice=/dev/ttyACM0 cfgATproduct=4902 cfgATvendor=22b8 cfgAutoConnect=0 cfgDetachDriver=0 cfgP2Kproduct=4901 cfgP2Kvendor=22b8 [filemanager] cfgAutoExpandDirTree=0 cfgAutoUpdateFileList=0 cfgGoLastFolder=0 cfgLoadList=0

In addition to the tools above, there are other applications you can try for establishing a connection with your mobile phone, including Phone Manager, KitchenSync, GMobileMedia, and ObexTool.

Razvan T. Coloja has published more than 150 Linux and IT-related articles in print and online magazines. He is an editor for a Romanian magazine and one of the maintainers and editors of www.mylro.org, a Romanian Linux/OSS portal and community.

Share    Print    Comments   

Comments

on Mobile phone management under Linux

Note: Comments are owned by the poster. We are not responsible for their content.

Mobile phone management under Linux

Posted by: Anonymous [ip: 66.122.165.195] on December 19, 2007 01:45 AM
Given the development of wireless media and seeing a TV program of a newspapper asking for communications bandwidth, I would like to see broadcasters offer data transport as both a public and commercial service. As a background proccess radio could send text or album images, while TV could use the crawl space or time or emegency broadcast info portion of the signal to download periodicals. (text news and info.) Given the transition to digital broadcast it mite be a good idea to creat an over laying data transfer protocal that allows for various formats and relitive acutraments such as time stamp, gps, signal ID, configuation data for the reciever- cell phone, radio, tv, shortwave (emergency interupt). And, to provide for scrambling or coded transmition to allow subscription services. Perhaps all that is needed is a single channel with some of these features to act as if in conjuction with the postal service. A code key could be send as a subscription qualifier and then mail and other infor sevices such as newspaper and magazines could be sent at night to TIVO or media reciever.

#

Mobile phone management under Linux

Posted by: Anonymous [ip: 81.149.223.5] on December 19, 2007 09:56 AM
<rant>
What a nice project, when are you starting to implement and can you give an approximate E.T.A.?
I hope you will release as free software! And document your interface so that anybody else can write a competitor, competition is good!
You can probably finance it by advertisement on your WEB page, you'll get few pences at begining but no doubts it will increase enough to pay your salary!
If you do not get enough money, you can always license it with a legalese redacted license, which basically tells that any information exchanged is yours,
and so you can sell them to anybody interrested, even if the buyer is a known criminal.
</rant>
Maybe have a look at RFC 3261 (SIP: Session Initiation Protocol) and RFC 2960 (Stream Control Transmission Protocol).

#

rant = sarcazm <~

Posted by: Anonymous [ip: 66.122.165.195] on December 19, 2007 11:57 PM
whear is my piriodical and my anything reciever? I was at a store that had what they called a vanila gift card. The idea was to buy a gift card that could be given and used like a debit card. This sounds like prepaid cell phone. So why not allow a cell phone acount to be used as a credit instument. A person would call or get called by a store clerk and a pin would authorize a transaction. This could occure at the store or allow some one to shop for you, you would be called, the store would use caller id to varify the account and you could then authorize a transaction.

#

debit card net fix

Posted by: Anonymous [ip: 66.122.165.195] on December 19, 2007 11:59 PM
could a pre payed credit card be use as a means of secure online perchasing? The card could be perchased like a money order or pay as used.

#

I like the rant format

Posted by: Anonymous [ip: 66.122.165.195] on December 20, 2007 12:47 AM
however, when using web type interfaces, formating may become something like social ediquiet something used but not seen. I would like to see a hide button that embeds the xml into the chat box as a wraper. The xml could be displayed or if hiden would be removed. If this became cubersom the "hide" would present the content as seen in a brouser.

#

Mobile phone management under Linux

Posted by: Anonymous [ip: 192.33.238.6] on December 20, 2007 09:21 AM
Is it just me, or is there something strange in these comments we have around here...

#

Mobile phone management under Linux

Posted by: Anonymous [ip: 67.193.45.22] on December 21, 2007 06:47 AM
It's not just you...it's like nobody remembers the topic of the article at the top of the page once they've scrolled down and its out of view...

#

Mobile phone management under Linux

Posted by: Anonymous [ip: 80.96.178.2] on December 21, 2007 07:16 AM
How did we get here from phone management unde Linux?

#

Mobile phone management under Linux

Posted by: Anonymous [ip: 91.132.218.233] on December 22, 2007 10:39 AM
How is easy as a pie to connect windows mobile devices I am trying for almost a year and still cannot do it and it is my biggest gripe from converting to linux...

#

Mobile phone management under Linux

Posted by: Anonymous [ip: 79.113.57.77] on December 22, 2007 11:53 AM
Use Synce and you'll see ;)

#

Mobile phone management under Linux

Posted by: Anonymous [ip: 67.161.107.215] on December 26, 2007 10:28 PM
I would like to point out that there is a new tool in development for file management on motorola P2k phones that supports MANY more phones.

http://www.el-co.hu/smf/index.php?board=33.0 it can be found there. It is still in early development but in the text version it supports newer phones such as the v3i, RIZR Z3, KRZR, and i beleive the MAXX and V3xx as well.

#

Mobile phone management under Linux

Posted by: Anonymous [ip: 77.64.10.117] on December 27, 2007 08:21 PM
I believe the problem with Mobile phone support in linux is not that no software exist but that there is no support for most of the phones on the market. I have a Sony P990i and a Nokia N95 and would really like to see a software that supports either of them or any other phone non-obsoleted phone. This is not to blame the developers who are doing an excellent job trying to reverse engineer the specs but it's the real problem that we face now. May be google Android would save us one day but till them, I would consider this article non accurate.

#

Mobile phone management under Linux

Posted by: santosh on January 01, 2008 10:18 AM
hsfjhfjhzsdjkfhxdjkzfh

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya