It
is possible to transfer files from a Mitsubish M341i cell phone to a
computer running linux via infrared, using the "ircp"
command. I use a MosChip Semiconductor IrDA USB dongle (see the
MoschipIrDA
note).
First we have to configure the IrDA interface of the
computer. Some documentation can be found on the "Linux Infrared
HOWTO":
http://www.tldp.org/HOWTO/Infrared-HOWTO/index.html
When
plugging my IrDA USB dongle, the corresponding module is
automatically loaded:
# dmesg
usb 5-2: new full speed
USB device using uhci_hcd and address 3
usb 5-2: configuration #1
chosen from 1 choice
irda_init()
NET: Registered protocol
family 23
usbcore: registered new driver mcs7780
The
only thing we have to do, is to bind the Linux-IrDA stack to our IrDA
interface using:
# irattach irda0
That's it!
We can transfer files from our M341i cell phone to the computer:
$
ircp -r
Waiting for incoming connection
Then we can
choose a picture stored in our phone, send it via the infrared port,
and display it on the computer's screen:
Incoming
connection
Receiving aku.gif...done
Disconnecting
$ qiv
aku.gif
Unfortunately I didn't succeed in managing
directly from my computer the cell phone's contact book, pictures,
sounds, etc... using applications like gammu, wammu, ... . It seems
that the Mistubishi M341i cell phone doesn't implement correctly the
obex protocol.
But the contacts stored in the phone's memory or in
the sim card can be saved to the "personal area" into a big
file, then sent to a computer via the infrared port!
An
interesting thread about this topic can be found at this
url:
http://www.gammu.org/bugs/view.php?id=14
Note,
as said in the Linux Infrared HOWTO, we have to load additionnal
modules in order to be able to use some cell phones applications,
like gammu.
# modprobe ircomm
# modprobe ircomm_tty
# ls
/dev/ircomm0
/dev/ircomm0
Informations about cell
phones and linux compatibility can be found at the following
url:
http://tuxmobil.org
Last but not least, for french speaking people, an awesome website about TV replay. It allows people watching emissions online during 7 days after being broadcasted on TV channels.