IrDA support
maurom
ulist at gs1.ubuntuforums.org
Thu May 18 17:51:58 UTC 2006
I've trying to do connect a SonyEricsson K300 via IrDA with the same
dongle,
a MA-620. I had to do the following:
Load the needed modules:
>
> modprobe irda
> modprobe ircomm
> modprobe irtty_sir
>
Create the following devices (I think that udev should be doing this)
>
> mknod /dev/ircomm0 c 161 0
> mknod /dev/ircomm1 c 161 1
> chmod 666 /dev/ir*
>
Start irattach:
>
> irattach /dev/ttyUSB0 -d ma600 -s
>
Set the speed at 9600 (if all does work, we can increase it)
>
> echo 9600 > /proc/sys/net/irda/max_baud_rate
>
To check if the phone is detected, issue the following command
>
> cat /proc/net/irda/discovery
> > > >
> >
> > It should list the phone as connected
> >
> > > > > > >
> > > IrLMP: Discovery log:
> > >
> > > nickname: K300 series, hint: 0x9124, saddr: 0x4e3bdf15, daddr:
> > > 0x0000017d
> > > > > > >
> >
> > Then, connect every application to /dev/ircomm0.
> > If you want to transfer pictures, sounds, etc. and your phone
> > supports OBEX,
> > then use the obexftp command:
> >
> > > > > > >
> > > obexftp -t /dev/ircomm0 -l (list directories)
> > > obexftp -t /dev/ircomm0 -l Sounds (list sounds)
> > > obexftp -t /dev/ircomm0 -c Sounds (go to sounds folder)
> > > obexftp -t /dev/ircomm0 -g "Sounds/De Musica Ligera.mid" (transfer a
> > > file)
> > > > > > >
> >
> > I've tried gammu but it doesn't seems to work with this phone.
> > At least, I can transfer my pictures to the PC, and that's a lot.
> >
> > If someone knows how to make udev create the devices in /dev,
> > please
> > post the commands.
> >
> > Saludos y suerte,
> >
> > Mauro M.
> > Argentina
--
maurom
More information about the ubuntu-users
mailing list