usb/media/quickcam_messenger driver v3
PATCH 1/1 usb/media/quickcam_messenger driver v3
Hi Greg KH, USB folk, kernel folk,
Appended is v3 of my patch adding a usbvideo driver for the Logitech Quickcam Messenger USB webcam. This patch is against 2.6.16.5. The corrections are as follows:
(Thanks again to Oliver Neukum for the review and suggestions)
- removal of unnecessary initialization of urb fields
- checking status from input setup
- restoring original size if size setup fails
Please let me know if it looks okay and if you have any feedback or suggestions.
Thanks,
Jaya Kumar
---
Kconfig | 18 Makefile | 1 quickcam_messenger.c | 1120 +++++++++++++++++++++++++++++++++++++++++++++++++++ quickcam_messenger.h | 126 +++++ 4 files changed, 1265 insertions(+)
---
drivers/usb/media/Kconfig +18 -0
@@ -224,3 +224,21 @@ config USB_PWC To compile this driver as a module, choose M here: the module will be called pwc. + +config USB_QUICKCAM_MESSENGER + tristate "USB Logitech Quickcam Messenger" + depends on USB && VIDEO_DEV + ---help--- + Say Y or M here to enable support for the USB Logitech Quickcam + Messenger webcam. + + The built-in microphone is enabled by selecting USB Audio support. + + This driver uses the Video For Linux API. You must say Y or M to + "Video For Linux" (under Character Devices) to use this driver. + Information on this API and pointers to "v4l" programs may be found + at <file:Documentation/video4linux/API.html>. + + To compile this driver as a module, choose M here: the + module will be called quickcam_messenger. +
drivers/usb/media/Makefile +1 -0
@@ -17,3 +17,4 @@ obj-$(CONFIG_USB_STV680) += stv680.o obj-$(CONFIG_USB_VICAM) += vicam.o usbvideo.o obj-$(CONFIG_USB_W9968CF) += w9968cf.o obj-$(CONFIG_USB_PWC) += pwc/ +obj-$(CONFIG_USB_QUICKCAM_MESSENGER) += quickcam_messenger.o usbvideo.o
drivers/usb/media/quickcam_messenger.c +1120 -0
1,120 lines not on this page · raw message
drivers/usb/media/quickcam_messenger.h +126 -0
126 lines not on this page · raw message
drivers/usb/media/Kconfig
Quoted 2 lines · On Tue, May 16, 2006 at 11:48:35AM +0800, [email protected] wrote:
drivers/usb/media/Kconfig +0
-0
There is no drivers/usb/media/ directory anymore in the 2.6.17-rc kernel tree. Please rebase your driver on the latest kernel if you want us to be able to apply it.
thanks,
greg k-h