KS959 USB IrDA dongle support
Subsystems (2)
PATCH 1/1 KS959 USB IrDA dongle support
Hi Dave,
Last IrDA patch for 2.6.23-rc1, if it's not too late...
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.
On plugin, this dongle reports vendor and device IDs: 0x07d0:0x4959 .
From: Alex Villacís Lasso <[email protected]>
--- drivers/net/irda/Kconfig | 14 + drivers/net/irda/Makefile | 1 + drivers/net/irda/ks959-sir.c | 919 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 934 insertions(+), 0 deletions(-) create mode 100644 drivers/net/irda/ks959-sir.c
drivers/net/irda/Kconfig +14 -0
@@ -164,6 +164,20 @@ config EP7211_DONGLE +config KS959_DONGLE + tristate "KingSun KS-959 IrDA-USB dongle" + depends on IRDA && USB && EXPERIMENTAL + help + Say Y or M here if you want to build support for the KingSun KS-959 + IrDA-USB bridge device driver. + + This USB bridge does not conform to the IrDA-USB device class + specification, and therefore needs its own specific driver. + This dongle supports SIR speeds only (9600 through 57600 bps). + + To compile it as a module, choose M here: the module will be called + ks959-sir. + comment "Old SIR device drivers" config IRPORT_SIR
drivers/net/irda/Makefile +1 -0
@@ -47,6 +47,7 @@ obj-$(CONFIG_MA600_DONGLE) += ma600-sir.o obj-$(CONFIG_TOIM3232_DONGLE) += toim3232-sir.o obj-$(CONFIG_EP7211_DONGLE) += ep7211-sir.o obj-$(CONFIG_KINGSUN_DONGLE) += kingsun-sir.o +obj-$(CONFIG_KS959_DONGLE) += ks959-sir.o # The SIR helper module sir-dev-objs := sir_dev.o sir_dongle.o
drivers/net/irda/ks959-sir.c new file +919 -0
919 lines not on this page · raw message
Signature · 1 line
1.5.2.3
A message that is not in the archive (sent off-list or not yet received): [email protected]
From: Samuel Ortiz <[email protected]>
Date: Mon, 23 Jul 2007 00:32:17 +0300
Quoted 1 line
Last IrDA patch for 2.6.23-rc1, if it's not too late...
Too late, Linus just closed the merge window, you had two weeks to submit this :-)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
A message that is not in the archive (sent off-list or not yet received): 20070722.183506.121297628.davem-fT/PcQaiUtIeIZ0/[email protected]
Quoted 7 lines · David Miller
From: Samuel Ortiz <[email protected]>
Date: Mon, 23 Jul 2007 00:32:17 +0300Quoted 1 line
Last IrDA patch for 2.6.23-rc1, if it's not too late...
Too late, Linus just closed the merge window, you had two weeks to submit this :-)
Too bad...
I submitted it as soon as it was ready. Will we have to wait until the 2.6.24 merge window, or can it be applied earlier as it's a fully standalone driver ?
Cheers,
Samuel.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
David Miller
maintainerFrom: "Samuel Ortiz" <[email protected]>
Date: 23 Jul 2007 07:25:06 -0000
Quoted 3 lines
I submitted it as soon as it was ready. Will we have to wait until the 2.6.24 merge window, or can it be applied earlier as it's a fully standalone driver ?
Please wait until I open up a net-2.6.24 tree, you can submit it to me then.
Thanks.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Quoted 6 lines
Quoted 2 lines
Too late, Linus just closed the merge window, you had two weeks to submit this :-)
Too bad...
I submitted it as soon as it was ready. Will we have to wait until the 2.6.24 merge window, or can it be applied earlier as it's a fully standalone driver ?
You can always send Linus a copy and ask but if its just finished then far better to send it to Andrew so that it can get testing and picked at in -mm then merged next time around when polished.
Alan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel