From: Jean T. <jt...@bo...> - 2004-09-14 18:28:17
|
Shiv Garg wrote : > It is regarding Negotiation for bandwidth between two IrDA device. > I have written the driver for IrDA on Linux 2.4.20, and I am trying to > communicate with a USB-IrDA Dongle on Windows. > I am getting the Rx and Tx Interrupts, but there are few problems: Please provide the irdadump of the connection (with a modern irdadump). The content of the various /proc/net/irda/ files would be nice as well. > 1. I never gets any request from the upper layer to switch to the higher > baud-rate. IrDA operates on 9600 only. Some of those requests are embeeded in Tx packets (to apply after transmitting the packet). Check various existing drivers for details. Note that, you might have a trouble in the negociation, which is why I want the irdadump. > 2. during initial communication, the Linux IrDA device gets no Tx > interrupts. It seems, upper layer didn"t transmit anything in response > to the received packets. I keeps getting Rx Interrupts though. Please point out to the section of irdadump. We don't know what the hardware does, so I can't comment. > 3. I get some warning messages : > IrLAP, no activity on link! > IrLAP, no activity on link! > IrLAP, no activity on link! Most likely the speed change did not happen properly. Can't communicate is speed is not right. > 4. after some time, I can see that linux shows the discovery, but it is > not ping to the daddr. Timing out, giving up, going back to discovery. That's expected to happen after trying for 12s. Jean |