First (silly, silly, silly) official kernel patch

September 23, 2009

Today, I got a mail from Greg Kroah-Hartman !!! from Greg Kroah-Hartman <gregkh@suse.de> to linux-usb@vger.kernel.org cc Maxin John <maxin.john@gmail.com>, “Maxin B. John” <maxinbjohn@gmail.com>, Greg Kroah-Hartman <gregkh@suse.de> date Wed, Sep 23, 2009 at 7:25 PM subject [PATCH 056/142] USB: serial: Spelling correction in Motorola USB Phone driver hide details 7:25 PM (24 minutes ago) From: Maxin [...]

2

Sending Linus.mp3 to K300i from Linux – The obexftp way

March 4, 2008

One of the most difficult things that I faced when connecting my Sony Ericsson K300i to the Gnu/Linux box was the difficulty in sending and receiving data from Linux to Mobile and vice versa. Today, I have managed to overcome that difficulty too.. Now my mobile is completely useful… (Atleast from the Gnu/Linux side :) )

First I need the obex installation in my system (Fedora core 6)
For that
yum install openobex

After the installation, connect the mobile phone using usb cable. Now dmesg shows that we have a new device called ‘/dev/ttyUSB0′.

Here are the following steps:

obexftp –tty /dev/ttyUSB0 -c . -l

This gives the following output..

Connecting…done
Sending “.”… failed: .
Receiving “(null)”… <?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE folder-listing SYSTEM “obex-folder-listing.dtd”>
<!–
XML Coder, May 24 2005, 21:06:32, (C) 2001 Sony Ericsson Mobile Communications AB
–>
<folder-listing version=”1.0″><folder name=”Pictures”/>
<folder name=”Sounds”/>
<folder name=”Themes”/>
<folder name=”Videos”/>
<folder name=”Other”/>
</folder-listing>
done
Disconnecting…done

Then download the Linus torvald’s voice

wget http://www.paul.sladen.org/pronunciation/torvalds-says-linux.mp3

Now push the mp3 to the mobile phone

obexftp –tty /dev/ttyUSB0 -p ./torvalds-says-linux.mp3 Sounds/linux.mp3

After about 5 seconds, your phone will prompt you to save the mp3 to phone memory. Now play the torvalds-says-linux.mp3
 
Now you have the voice of Linus in your mobile….. Cheers.. Wink

0