Skip to content

Commit

Permalink
[IrDA]: Kingsun Dazzle IrDA USB driver
Browse files Browse the repository at this point in the history
This dongle does not follow the usb-irda specification, so it needs its own
special driver. Just like the Kingsun/Donshine dongle, it exposes two
interrupt endpoints. Reception is performed through direct reads from the
input endpoint. Transmission requires splitting the IrDA frames into 8-byte
segments, in which the first byte encodes how many of the remaining 7 bytes
are used as data. Speed change is made with a control URB just like the one
in cypress_m8, and it seems to support up to 115200 bps.

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

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>
  • Loading branch information
Alex Villacís Lasso authored and David S. Miller committed Oct 10, 2007
1 parent bcb5e0e commit 4a1d7c2
Show file tree
Hide file tree
Showing 3 changed files with 836 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/net/irda/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,19 @@ config EP7211_DONGLE
Say Y here if you want to build support for the Cirrus logic
EP7211 chipset's infrared module.

config KSDAZZLE_DONGLE
tristate "KingSun Dazzle IrDA-USB dongle (EXPERIMENTAL)"
depends on IRDA && USB && EXPERIMENTAL
help
Say Y or M here if you want to build support for the KingSun Dazzle
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 115200 bps).

To compile it as a module, choose M here: the module will be called
ksdazzle-sir.

comment "Old SIR device drivers"

Expand Down
1 change: 1 addition & 0 deletions drivers/net/irda/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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_KSDAZZLE_DONGLE) += ksdazzle-sir.o

# The SIR helper module
sir-dev-objs := sir_dev.o sir_dongle.o
Loading

0 comments on commit 4a1d7c2

Please sign in to comment.