Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126756
b: refs/heads/master
c: 8da3dc2
h: refs/heads/master
v: v3
  • Loading branch information
David Taht authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent ed50de3 commit 8571cec
Show file tree
Hide file tree
Showing 13 changed files with 2,526 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1242c70df56978e8abbf715a02fb1c55313f8471
refs/heads/master: 8da3dc28753ece6b7ddae9d5897a0ad0797e21e6
2 changes: 2 additions & 0 deletions trunk/drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,7 @@ source "drivers/staging/rspiusb/Kconfig"

source "drivers/staging/mimio/Kconfig"

source "drivers/staging/frontier/Kconfig"

endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
1 change: 1 addition & 0 deletions trunk/drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ obj-$(CONFIG_ALTERA_PCIE_CHDMA) += altpciechdma/
obj-$(CONFIG_RTL8187SE) += rtl8187se/
obj-$(CONFIG_USB_RSPI) += rspiusb/
obj-$(CONFIG_INPUT_MIMIO) += mimio/
obj-$(CONFIG_TRANZPORT) += frontier/
6 changes: 6 additions & 0 deletions trunk/drivers/staging/frontier/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
config TRANZPORT
tristate "Frontier Tranzport and Alphatrack support"
depends on USB
default N
---help---
Enable support for the Frontier Tranzport and Alphatrack devices.
2 changes: 2 additions & 0 deletions trunk/drivers/staging/frontier/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
obj-$(CONFIG_TRANZPORT) += tranzport.o
obj-$(CONFIG_TRANZPORT) += alphatrack.o
28 changes: 28 additions & 0 deletions trunk/drivers/staging/frontier/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
This directory contains the USB Tranzport and Alphatrack Kernel drivers for Linux.

At present the tranzport does reads/writes of 8 byte cmds to /dev/tranzport0 to control
the lights and screen and wheel

At present the alphatrack accepts reads/writes of 12 byte cmds to /dev/tranzport0 to control
the lights and screen and fader.

Both drivers also have some sysfs hooks that are non-functional at the moment.

The API is currently closely tied to the ardour revision and WILL change.

A sysfs interface is PERFECT for simple userspace apps to do fun things with the
lights and screen. It's fairly lousy for handling input events and very lousy
for watching the state of the shuttle wheel.

A linux input events interface is great for the input events and shuttle wheel. It's
theoretically OK on LEDs. A Fader can be mapped to an absolute mouse device.
But there is no LCD support at all.

In the end this is going to be driven by a midi layer, which handles all those
cases via a defined API, but - among other things - is slow, doesn't do
flow control, and is a LOT of extra work. Frankly, I'd like to keep the
core driver simple because the only realtime work really required is
the bottom half interrupt handler and the output overlapping.

Exposing some sort of clean aio api to userspace would be perfect. What that
API looks like? Gah. beats me.
9 changes: 9 additions & 0 deletions trunk/drivers/staging/frontier/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
TODO:
- checkpatch.pl clean
- sparse clean
- fix userspace interface to be sane
- possibly just port to userspace with libusb
- review by the USB developer community

Please send any patches for this driver to Greg Kroah-Hartman <greg@kroah.com>
and David Taht <d@teklibre.com>.
Loading

0 comments on commit 8571cec

Please sign in to comment.