[EMAIL PROTECTED] writes:
> I recently bought from BG Micro (www.bgmicro.com) one of these cheap
> external IR adapter, that you plug on a serial port, but so far, I don't
> know which dongle driver to use.
> It looks like the adapter is manufactured by AST, and can work all the SIR
> speeds (make sense since it's connected to a bare serial port).
>
> Does anyone of you have an idea of which dongle driver I should use ?
Sorry, you will just have to try them all, and hope for the best.
> Also, do you know if the Linux IrDA stack is able to talk to itself ?
> I mean, is it possible to make my laptop talk to itself using the external
> IR adapter and the builtin SMC chipset ? I believe I saw a message last
> year telling it was not possible, but I just want to make sure.
Currently, it cannot talk to itself. The problem is just that you cannot
control the discovery for each interface. So if you turn on discovery, then
all interfaces will discover at the same time which will just result in
collisions. It they back off, they will both back off the same amount of
time before they retry etc ;-)
It should however be easy to fix, so you can go to irlmp.c, irlmp_event.c
and just fix it yourself. Send me the patch when it works OK ;-) The only
problem is how to control discovery per interface.
1) One way is to start discovery on each interface after a random amount of
time. Then it will work if you're "lucky". One problem is that they might
resync themselves?!?
2) Run discovery on all interfaces in a round robin fashion (one at a time)
3) Run discovery on each interface every X seconds +/- some random
time. You'll need one discovery timer per interface.
-- Dag
--
/ Dag Brattli | The Linux-IrDA Project /
// University of Tromsoe, Norway | Infrared communication for Linux //
/// http://www.cs.uit.no/~dagb | http://www.cs.uit.no/linux-irda/ ///
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda