How to access Siemens CX65 on Ubuntu Edgy

My laptop is BenQ Joybook S52 which comes with built-in IrDA. Anyway, I have never used to try. My cellphone is Siemens CX65 which also comes with built-in IrDA. I would like to access the files inside the cellphone for both read and write, e.g., to backup and to change ringtone. Note that my operating system is Ubuntu Edgy Eft so it should be a possible mission.

First of all, IrDA device must be found and works properly. I verify the device using dmesg.

$ dmesg|grep -i irda
[17179593.216000] irda_init()

Not finish yet. I have to start irda-utils to activate irattach.

sudo invoke-rc.d irda-utils start

If you don't have irda-utils installed, simply install it.

sudo apt-get install irda-utils

In addition, I have to load kernel modules so add below lines to /etc/modules.

ircomm_tty
irtty_sir

If you don't want to reboot, just run modprobe.

sudo modprobe ircomm_tty
sudo modprobe irtty_sir

I found many approaches to achieve my goal, e.g., OBEX, SCMxx and SieFS. To access file system inside CX65, I choose to try SieFS. Unfortunately, SieFS is not available in Ubuntu. Luckily, I found debian packages available in a personal repository so I have to download, patch, and fix some dependencies to make it compilable on Ubuntu. After installation, SieFS should be usable as follows.

siefs -o device=/dev/ircomm0 /media/mobile

To unmount, use fusermount instead.

fusermount -u /media/mobile

For phonebook, SCMxx has been chosen.

sudo apt-get install scmxx

The device to use is /dev/ircomm0 again. To test the connection, use below command.

scmxx --device /dev/ircomm0 -i

If you want to add SieFS in /etc/fstab, use below line.

/dev/ircomm0  /media/cx65  siefs    user,noauto,device=/dev/ircomm0    0   0

And don't forget to create /media/cx65 with correct permission.

sudo mkdir /media/cx65
sudo chgrp fuse /media/cx65
sudo chmod 775 /media/cx65

Then mounting cellphone is pretty easy.

mount /media/cx65

References

Tags: , ,

i need help

well i followed many how tos for connection my m65 , all of them similars , now i can cd to mi phone and staff just when i mount it like yo say here , if i type "sudo mount -t siefs /dev/ttyUSB0 /media/mobile" i get an input/output error (yes im browsing the phone whit an usb cable so i change the dev) , well when i type like you say i can browse the files and take files from the phone but i cant sent it says the phone is full , and it isn...i really would appreciate your help ^^

siefs

Have you ever tried to mount directly using siefs?

siefs -o device=/dev/ttyUSB0 /media/mobile

In addition, you may try to check whether mounted read-only or read-write and permission too. I guess that the problem causes by sudo. If you mount via siefs directly, you should be the owner.

Post new comment