Re: [linux-usb-devel] Kingsun KS-959 USB IrDA dongle - release candidate for submission (try 1)
"andrzej zaborowski" <[email protected]>
| Newsgroups | gmane.linux.irda.general,gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Alex, Sorry I went silent earlier. (I had a very busy period and for some time was away from home where I left the dongle, now just got back and re-set up the environment). On 20/07/07, Alex Villacís Lasso <[email protected]> wrote: [...] > This patch adds support for the KingSun KS-959 USB IrDA dongle. > > This dongle does not follow the usb-irda specification, so it needs its > own special driver. First, it uses control URBs for data transfer, > instead of bulk or interrupt transfers; the only interrupt endpoint > exposed seems to be a dummy to prevent the interface from being > rejected. Second, it uses obfuscation and padding at the USB traffic > level, for no apparent reason other than to make reverse engineering > harder (full details on obfuscation in comments at beginning of source). > Although it is advertised as a "4 Mbps FIR dongle", it apparently loses > packets at speeds greater than 57600 bps. Congratuations on figuring out the protocol! I did a quick test, after manually unwrapping the patch, and it seems to work perfectly, although my test was not very exhaustive. Great job. I remember I was also surprised at the fact that the interrupt endpoint was a dummy and that the endpoint zero was abused in this way when I looked at the qemu logs a long time ago. Regards ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ irda-users mailing list [email protected] http://lists.sourceforge.net/lists/listinfo/irda-users