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.. 
Filed under:
Uncategorized by admin