Hi,
Today I wanted to try to make Linux-IrDA work, but I didn't
managed anything. Maybe that's my unlucky day, but so far everytime I
tried to use Linux-IrDA it ended up in frustration and curses, apart 6
month ago when by miracle I managed to get IrLAN working...
Hardware :
--------
o HP NetBeamer (a collector)
o OmniBook 5500, SIR only, Debian 2.1, kernel 2.2.13-irda3
o Desktop + ESI dongle, Mandrake 6.0, kernel 2.2.13-irda3
o The IrDA howto, the mailing list messages...
Config :
------
All the usual suspects :
o Recompile kernel, install modules
o /etc/irda/* (use pcmcia files for Debian)
o /etc/conf.modules
o mknod /dev/ircomm*
o echo 3 >> /proc/sys/net/irda/debug
o echo 90 >> /proc/sys/net/irda/sys_timeout
OmniBook : irattach /dev/ttyS1 -s 1
ESI : irattach /dev/ttyS0 -d esi -s 1
IrDA utils :
----------
It's always a painful experience to compile it on Debian,
because of some blatant Red-Hat assumptions. Today was better, I
managed to compile both irattach and irmanager, so I won't complain...
Compile ok on Mandrake.
Try to compile 0.9.4 to get Obex. Obex doesn't want to compile.
discovery :
---------
That's the only thing working. The laptop can discover the
other laptop and can discover the beamer. Dongle driver seems to work.
irdaping :
--------
Doesn't work.
irdadump show that messages are going back and forth (rsp is
comming back). dmesg show something like "wrong magic in skb".
irlan :
-----
Doesn't work.
The light on the NetBeamer keep flashing. When I insmod by
hand irlan, irlan is created but not configured. ifconfig up doesn't
change anything.
I won't say anything, because Dag said explicitely that it
doesn't work.
ircomm :
------
Doesn't work.
I inserted ircomm and ircomm-tty by hand and then irattach.
When I try to "echo toto > /dev/ircomm0" the command hang
forever. Messages are that "param_request is not ready yet",
"ircomm_tty.c(346): block_til_ready after blocking on ircomm
open_count=1" and "ircomm_tty_open(), returning after
block_til_readywith -512".
Kermit hang when I do "set line /dev/ircomm0"
getty /dev/ircomm0 return immediately without doing what it's
supposed to do.
IrObex :
------
Can't compile it, waiting for whatever Dag has promised.
IrSocket :
--------
Didn't tried that yet, I had enough for today...
So, I welcome any tip that would allow me to run any part of
the IrDA stack between my Linux boxes... What configuration is
supposed to work by the way ?
Ciao...
Jean
P.S. : For those who need to apply 2.2.13-irda3 to 2.2.14pre, you will
need to "patch -R" the kernel with the following patch before applying
the patch from Dag...
---------------------------------------
diff -u -p --recursive --new-file kernel-source-2.2.13/net/irda/irda_device.c
linux/net/irda/irda_device.c
--- kernel-source-2.2.13/net/irda/irda_device.c Mon Nov 1 04:30:08 1999
+++ linux/net/irda/irda_device.c Mon Nov 1 04:31:58 1999
@@ -526,13 +526,13 @@ static int irda_device_net_ioctl(struct
break;
case SIOCSIWNWID:
/* Set domain */
- if (wrq->u.nwid.on) {
+ if (!wrq->u.nwid.disabled) {
} break;
case SIOCGIWNWID:
/* Read domain*/
/* wrq->u.nwid.nwid = domain; */
-/* wrq->u.nwid.on = 1; */
+/* wrq->u.nwid.disabled = 0; */
break;
case SIOCGIWENCODE:
/* Get scramble key */
-----------------------------------------
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda