Use the IR port with ubuntu
This is more of a fuss as I wanted to connect to my Sony Ericsson T630 phone over infrared, hopefully at some point I will be able to use it’s modem for GPRS access.
Activate the ir (COM2 – /dev/ttyS1) in bios
Install the irda-utils and openobex packages
apt-get install irda-utils obexfs obexftp openobex-apps
Load the needed kernel modules
modprobe irda modprobe ircomm modprobe ircomm-tty modproble irtty-sir
edit /etc/modules and add
irdaircommircomm-ttyirtty-sir
such that the modules will be loaded automatically next time you boot.
Test with obex_test:
obex_test -iUsing IrDA transportOBEX Interactive test client/server.> cConnect OK!Version: 0x10. Flags: 0x00>
Test with obex_ftp
obexftp -iv -lConnecting...doneReceiving "(null)"... <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd"><!--Generated by XML Coder.xml_coder.c (Jun 29 2004 21:44:28)(C) 2001 Sony Ericsson Mobile Communications AB, Lund, Sweden--><folder-listing version="1.0"><folder name="Pictures"/><folder name="Sounds"/><folder name="Themes"/></folder-listing>
done.
Related posts:
- cx_Oracle on ubuntu 9.04 jaunty Short list: find python version python -V Python 2.6.2 download...
- Ubuntu 9.10 Karmic Koala This ubuntu installation was the bit of fun expected after...
- Ubuntu 9.10 Karmic Koala netbook I’ve also migrated my Acer Aspire One to the new...
- Sending a fax in ubuntu Conexant fax-modem configuration In the process of sending a fax...
- Sony Ericsson C510 Apparently a cup of tea more bad than good in...


Thanks for putting up this tutorial!
I ran into a curious problem — perhaps you can suggest a solution…
$ sudo /etc/init.d/irda-utils restart
Stopping IrDA service: irattach.
Starting IrDA service: irattach.
$ obex_test -i
Using TCP transport
OBEX Interactive test client/server.
> c
Transport connect error! (TCP)
Any idea why it tries to connect over TCP even with the -i flag?
Yep, I have the same problem, obex_test tries to connect over TCP and then I get "Transport connect error! (TCP)"
Problem solved. Had to activate irda in my BIOS.
use GPRS Easy Connect (gprsec) to use the phone as a modem…