Re: IrDA support




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

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • RE: Problem in SIR IrDA driver in Windows CE 4.2.
    ... functions specific to the Extended Systems Irda dongle. ... An internal Irda dongle is integrated into the hardware. ... Problem in SIR IrDA driver in Windows CE 4.2. ...
    (microsoft.public.windowsce.embedded)
  • [PATCH] MODULE_ALIAS for IRDA dongles
    ... Here are the IRDA dongle ones. ... Name: Module Aliases Inside Modules: IRDA ... MODULE_DESCRIPTION("ACTiSYS ACT-IR200L dongle driver"); ... Function init_module (void) ...
    (Linux-Kernel)
  • Suse 10.0 module load order
    ... I would like to load the IrDA module before video ... that maestro3 sometimes conflicts with IrDA on the kind of hardware, ...
    (alt.os.linux.suse)