FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 01-15-2009, 11:38 AM
Andy Whitcroft
 
Default UBUNTU: SAUCE: Fix webcam having USB ID 0ac8:303b

From: Jani Monoses <jani@ubuntu.com>

Bug: #292086

Make webcams with USB ID 0ac8:303b, such as the Z-Star Microelectronics
Corp. ZC0303 be handled by gspca not the zc0301 driver. The latter does
not seem to handle them anymore in Intrepid.

Signed-off-by: Jani Monoses <jani@ubuntu.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
drivers/media/video/gspca/zc3xx.c | 2 --
drivers/media/video/zc0301/zc0301_sensor.h | 1 -
2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c
index d61ef72..9842dc1 100644
--- a/drivers/media/video/gspca/zc3xx.c
+++ b/drivers/media/video/gspca/zc3xx.c
@@ -7555,9 +7555,7 @@ static const __devinitdata struct usb_device_id device_table[] = {
{USB_DEVICE(0x0ac8, 0x0301), .driver_info = SENSOR_PAS106},
{USB_DEVICE(0x0ac8, 0x0302)},
{USB_DEVICE(0x0ac8, 0x301b)},
-#if !defined CONFIG_USB_ZC0301 && !defined CONFIG_USB_ZC0301_MODULE
{USB_DEVICE(0x0ac8, 0x303b)},
-#endif
{USB_DEVICE(0x0ac8, 0x305b), .driver_info = SENSOR_TAS5130C_VF0250},
{USB_DEVICE(0x0ac8, 0x307b)},
{USB_DEVICE(0x10fd, 0x0128)},
diff --git a/drivers/media/video/zc0301/zc0301_sensor.h b/drivers/media/video/zc0301/zc0301_sensor.h
index b0cd49c..2a9f02d 100644
--- a/drivers/media/video/zc0301/zc0301_sensor.h
+++ b/drivers/media/video/zc0301/zc0301_sensor.h
@@ -61,7 +61,6 @@ zc0301_attach_sensor(struct zc0301_device* cam, struct zc0301_sensor* sensor);
#define ZC0301_ID_TABLE
static const struct usb_device_id zc0301_id_table[] = {
{ ZC0301_USB_DEVICE(0x046d, 0x08ae, 0xff), }, /* PAS202 */
- { ZC0301_USB_DEVICE(0x0ac8, 0x303b, 0xff), }, /* PB-0330 */
{ }
};

--
1.6.0.4.911.gc990


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 01-15-2009, 01:05 PM
Stefan Bader
 
Default UBUNTU: SAUCE: Fix webcam having USB ID 0ac8:303b

Andy Whitcroft wrote:
> From: Jani Monoses <jani@ubuntu.com>
>
> Bug: #292086
>
> Make webcams with USB ID 0ac8:303b, such as the Z-Star Microelectronics
> Corp. ZC0303 be handled by gspca not the zc0301 driver. The latter does
> not seem to handle them anymore in Intrepid.
>
> Signed-off-by: Jani Monoses <jani@ubuntu.com>
> Signed-off-by: Andy Whitcroft <apw@canonical.com>
> ---
> drivers/media/video/gspca/zc3xx.c | 2 --
> drivers/media/video/zc0301/zc0301_sensor.h | 1 -
> 2 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c
> index d61ef72..9842dc1 100644
> --- a/drivers/media/video/gspca/zc3xx.c
> +++ b/drivers/media/video/gspca/zc3xx.c
> @@ -7555,9 +7555,7 @@ static const __devinitdata struct usb_device_id device_table[] = {
> {USB_DEVICE(0x0ac8, 0x0301), .driver_info = SENSOR_PAS106},
> {USB_DEVICE(0x0ac8, 0x0302)},
> {USB_DEVICE(0x0ac8, 0x301b)},
> -#if !defined CONFIG_USB_ZC0301 && !defined CONFIG_USB_ZC0301_MODULE
> {USB_DEVICE(0x0ac8, 0x303b)},
> -#endif
> {USB_DEVICE(0x0ac8, 0x305b), .driver_info = SENSOR_TAS5130C_VF0250},
> {USB_DEVICE(0x0ac8, 0x307b)},
> {USB_DEVICE(0x10fd, 0x0128)},
> diff --git a/drivers/media/video/zc0301/zc0301_sensor.h b/drivers/media/video/zc0301/zc0301_sensor.h
> index b0cd49c..2a9f02d 100644
> --- a/drivers/media/video/zc0301/zc0301_sensor.h
> +++ b/drivers/media/video/zc0301/zc0301_sensor.h
> @@ -61,7 +61,6 @@ zc0301_attach_sensor(struct zc0301_device* cam, struct zc0301_sensor* sensor);
> #define ZC0301_ID_TABLE
> static const struct usb_device_id zc0301_id_table[] = {
> { ZC0301_USB_DEVICE(0x046d, 0x08ae, 0xff), }, /* PAS202 */
> - { ZC0301_USB_DEVICE(0x0ac8, 0x303b, 0xff), }, /* PB-0330 */
> { }
> };
>
ACK

--

When all other means of communication fail, try words!



--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 12:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org