Petr Olivka wrote :
> Thanks, the patch work fine and now I can print from linux to linux
> and from nokia 6110 too. (I did test it from ipaq to desktop and back).
Glad I could help. Your simple testcase helped a lot to
isalate the bug (bug reporters, please take note). The patch will be
in the next kernel releases.
> May I have one technical question else ? How to irda in kernel recognize
> device with minor to use it as lpt ? I did little search over source, but
> did not find it.
That's a big mystery to me and that's one of the big
defficiency of IrComm applications (PPP over IrComm, IrLPT,
IrTramP). That's also why Microsoft want to kill it.
My guess is that when there is an incomming connection, Linux
take the first free ircomm device that is of the same type
(3-wire-raw, 9-wire and co). You will see in the code that any ircomm
device with minor >= 0x10 default to 3-wire-raw instead of 9-wire
(check line < 0x10). Then, you can follow in the code how those two
are treated differently, especially IrCommm uses TTP whereas IrLPT is
direct over LMP.
> thanks
> poli
Jean
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda