]> git.baikalelectronics.ru Git - kernel.git/commit
[IrDA]: Kingsun KS-959 IrDA USB driver
authorAlex Villacís Lasso <a_villacis@palosanto.com>
Tue, 28 Aug 2007 22:58:31 +0000 (15:58 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:39 +0000 (16:48 -0700)
commitdc7b7807b510e073ba0edddf8057935e17e25068
tree827045fb6926c64d46af951fa07de398a5396e28
parent3c3978b9170f2b4fe8a12535e09dc5264516ab57
[IrDA]: Kingsun KS-959 IrDA USB driver

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.

On plugin, this dongle reports vendor and device IDs: 0x07d0:0x4959 .

The Windows driver that is used normally to control this dongle has a
filename of KS-959.SYS .

Signed-off-by: Alex Villacís Lasso <a_villacis@palosanto.com>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/Kconfig
drivers/net/irda/Makefile
drivers/net/irda/ks959-sir.c [new file with mode: 0644]