Skip to content

Commit

Permalink
Staging: add princeton instruments usb camera driver
Browse files Browse the repository at this point in the history
Adds the driver for the Princeton Instruments USB camera.

Needs a lot of work...

TODO:
	- make checkpatch.pl clean
	- coding style fixups (typedefs, etc.)
	- get it to build properly
	- audit ioctls
	- remove ioctls if possible
	- assign proper minor number
	- remove dbg() macro
	- lots of general cleanups
	- review locking

Cc: Judd Montgomery <judd@jpilot.org>
Cc: Jeff Frontz <jeff.frontz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jan 6, 2009
1 parent 88a1e90 commit 28397ff
Show file tree
Hide file tree
Showing 7 changed files with 944 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,7 @@ source "drivers/staging/altpciechdma/Kconfig"

source "drivers/staging/rtl8187se/Kconfig"

source "drivers/staging/rspiusb/Kconfig"

endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ obj-$(CONFIG_ASUS_OLED) += asus_oled/
obj-$(CONFIG_PANEL) += panel/
obj-$(CONFIG_ALTERA_PCIE_CHDMA) += altpciechdma/
obj-$(CONFIG_RTL8187SE) += rtl8187se/
obj-$(CONFIG_USB_RSPI) += rspiusb/
6 changes: 6 additions & 0 deletions drivers/staging/rspiusb/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
config USB_RSPI
tristate "Princeton Instruments USB camera support"
default n
depends on USB && BROKEN
help
This driver is for the Princeton Instruments USB camera device.
1 change: 1 addition & 0 deletions drivers/staging/rspiusb/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_USB_RSPI) += rspiusb.o
22 changes: 22 additions & 0 deletions drivers/staging/rspiusb/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
This driver is for the Princeton Instruments USB camera.

It needs lots of work to get it into the main drivers/usb/ subdirectory:

Any patches to do any of the following changes are greatly appreciated:

- make checkpatch.pl clean
- coding style fixups (typedefs, etc.)
- get it to build properly
- audit ioctls
- remove ioctls if possible
- assign proper minor number
- remove dbg() macro
- lots of general cleanups
- review locking

Please send patches to:
Greg Kroah-Hartman <gregkh@suse.de>
and CC:
Judd Montgomery <judd@jpilot.org>
Jeff Frontz <jeff.frontz@gmail.com>
as they have this device and can test any needed changes.
Loading

0 comments on commit 28397ff

Please sign in to comment.