MyOssStuff
Friday, December 05, 2003
 
Siemens S55 as a Disk

I have Siemens S55, USB data cable and ... Linux box. What shall I do? Of course Google is my friend, but there are very low amount of information about making some simple and transparent connection between S55 and Linux via USB cable. Most software I found is about synchronizing address book, scheduler etc.
First useful thing I found is SieFS . This is a virtual filesystem for accessing Siemens mobile phones' memory (flexmem or MultiMediaCard) from Linux based on FUSE. FUSE is a tool for creating custom filesystems and kernel module too.

Downloads:
SieFS siefs-0.2.tar.gz
FUSE fuse-1.0.tar.gz

First I plug USB cable in and type dmesg. Most important output was:
usb.c: USB device 2 (vend/prod 0x67b/0x2303) is not claimed by any active driver

Google told me that vend/prod 0x67b/0x2303 that Prolific PL2303 USB to serial adaptor is needed.
PL2303 is included in standard kernel but in my kernel config it wasn't included:
$ cd /usr/src/linux
$ grep -i pl2303 .config
# CONFIG_USB_SERIAL_PL2303 is not set
$ make xconfig
I checked M option for USB Support -> USB Serial Converter Support -> USB Prolific PL2303 Single Port Serial Driver
... Save And Exit
$ grep -i pl2303 .config
CONFIG_USB_SERIAL_PL2303=m
Now it's better
$ make dep
$ make modules

$ su
password:
# make modules_install

Close all apps and reboot PC

Now I plugged USB cable and dmesg says

usb.c: registered new driver serial
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for PL-2303
usbserial.c: PL-2303 converter detected
usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.9

It looks good to me, now I have my Siemens on /dev/ttyUSB0
Note: The most recent Linux distributions have PL-2303 already defined as a module so steps above are not necessary
It's time to install FUSE and SieFS
$ /my/download/location
$ tar -xzvf fuse-1.0.tar.gz
$ cd fuse-1.0
$ configure
$ make
$ su
password:
# make install
# exit
$ cd ..
$ tar -xzvf siefs-0.2.tar.gz
$ cd siefs-0.2
$ configure
$ make
$ su
password:
# make install
# vi /etc/fstab
Append at the end this line
/dev/ttyUSB0 /mnt/siemens siefs uid=username 0 0 0
Instead of username type your username
# mount /mnt/siemens
#
And that's it!!!
Now in /mnt/siemens directory is Siemens S55 memory, and it's possible to copy, move or delete files from your favorite file manager.

top


Powered by Blogger