login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
7
Re: Gspca USB driver zc3xx and STV06xx probe the same device ..
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Gabriel C
Subject:
Re: Gspca USB driver zc3xx and STV06xx probe the same device ..
Date: Sunday, March 7, 2010 - 7:36 am
2010/3/6 Erik Andrén <erik.andren@gmail.com>:
quoted text
> 2010/3/4 Hans de Goede <hdegoede@redhat.com>: >> Hi, >> >> On 03/04/2010 12:36 PM, Erik Andrén wrote: >>> >>> 2010/3/4 Hans de Goede<hdegoede@redhat.com>: >>>> >>>> Hi, >>>> >>>> On 03/03/2010 02:17 PM, Erik Andrén wrote: >>>>> >>>>> 2010/3/3 Gabriel C<nix.or.die@googlemail.com>: >>>>>> >>>>>> Hello, >>>>>> >>>>>> I own a QuickCam Messanger webcam.. I didn't used it in ages but today >>>>>> I plugged it in.. >>>>>> ( Device 002: ID 046d:08da Logitech, Inc. QuickCam Messanger ) >>>>>> >>>>>> Now zc3xx and stv06xx are starting both to probe the device .. In >>>>>> 2.6.33 that result in a not working webcam. >>>>>> ( rmmod both&& modprobe zc3xx one seems to fix that ) >>>>>> >>>>>> On current git head zc3xx works fine even when both are probing the >>>>>> device. >>>>>> >>>>>> Also I noticed stv06xx fails anyway for my webcam with this error: >>>>>> .... >>>>>> >>>>>> [ 360.910243] STV06xx: Configuring camera >>>>>> [ 360.910244] STV06xx: st6422 sensor detected >>>>>> [ 360.910245] STV06xx: Initializing camera >>>>>> [ 361.161948] STV06xx: probe of 6-1:1.0 failed with error -32 >>>>>> [ 361.161976] usbcore: registered new interface driver STV06xx >>>>>> [ 361.161978] STV06xx: registered >>>>>> ..... >>>>>> >>>>>> Next thing is stv06xx tells it is an st6422 sensor and does not work >>>>>> with it while zc3xx tells it is an HV7131R(c) sensor and works fine >>>>>> with it. >>>>>> >>>>>> What is right ? >>>>> >>>>> Hans, >>>>> As you added support for the st6422 sensor to the stv06xx subdriver I >>>>> imagine you best know what's going on. >>>>> >>>> >>>> I took the USB-ID in question from the out of tree v4l1 driver I was >>>> basing >>>> my >>>> st6422 work on. Looking at the other ID's (which are very close together) >>>> and >>>> combining that with this bug report, I think it is safe to say that the >>>> USB-ID >>>> in question should be removed from the stv06xx driver. >>>> >>>> Erik will you handle this, or shall I ? >>>> >>> Either way is fine by me. >>> I can try to do it tonight. >>> >> >> If you could take care of this that would be great! >> >> Thanks, >> >> Hans >> > > Sorry for delaying this, real life came in the way. > I'm pasting in a patch that removes the usb id. > I'm also attaching it as an attachment as gmail probably will stomp on > the inline version. >
Sorry too also I was busy these days.
quoted text
> Gabriel, could you please apply and test this patch and verify that it > works as intended, i. e. the stv06xx driver _doesn't_ bind to your > camera but the zx3xx driver instead does. > If it works as intended could you please reply to this mail with a
Yes does work.
quoted text
> tested-by: your name <email> tag. >
tested-by: Gabriel Craciunescu <nix.or.die@googlemail.com>
quoted text
> Best regards, > Erik > > From 6f40494d48c5641326168115a96659581cea6273 Mon Sep 17 00:00:00 2001 > From: =?utf-8?q?Erik=20Andr=C3=A9n?= <erik.andren@gmail.com> > Date: Sat, 6 Mar 2010 20:34:51 +0100 > Subject: [PATCH 1/1] gspca-stv06xx: Remove the 046d:08da usb id from > linking to the stv06xx driver > MIME-Version: 1.0 > Content-Type: text/plain; charset=utf-8 > Content-Transfer-Encoding: 8bit > > The 046d:08da usb id shouldn't be associated with the stv06xx driver > as they're not compatible with each other. > This fixes a bug where Quickcam Messenger cams fail to use its proper > driver (gspca-zc3xx), rendering the camera inoperable. > > Signed-off-by: Erik Andrén <erik.andren@gmail.com> > --- > drivers/media/video/gspca/stv06xx/stv06xx.c | 2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/drivers/media/video/gspca/stv06xx/stv06xx.c > b/drivers/media/video/gspca/stv06xx/stv06xx.c > index de823ed..b1f7e28 100644 > --- a/drivers/media/video/gspca/stv06xx/stv06xx.c > +++ b/drivers/media/video/gspca/stv06xx/stv06xx.c > @@ -497,8 +497,6 @@ static const __devinitdata struct usb_device_id > device_table[] = { > {USB_DEVICE(0x046D, 0x08F5), .driver_info = BRIDGE_ST6422 }, > /* QuickCam Messenger (new) */ > {USB_DEVICE(0x046D, 0x08F6), .driver_info = BRIDGE_ST6422 }, > - /* QuickCam Messenger (new) */ > - {USB_DEVICE(0x046D, 0x08DA), .driver_info = BRIDGE_ST6422 }, > {} > }; > MODULE_DEVICE_TABLE(usb, device_table); > -- > 1.6.3.3 >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Gspca USB driver zc3xx and STV06xx probe the same device ..
, Gabriel C
, (Wed Mar 3, 5:45 am)
Re: Gspca USB driver zc3xx and STV06xx probe the same devi ...
, =?ISO-8859-1?Q?Erik_ ...
, (Wed Mar 3, 6:17 am)
Re: Gspca USB driver zc3xx and STV06xx probe the same devi ...
, Hans de Goede
, (Thu Mar 4, 4:19 am)
Re: Gspca USB driver zc3xx and STV06xx probe the same devi ...
, =?ISO-8859-1?Q?Erik_ ...
, (Thu Mar 4, 4:36 am)
Re: Gspca USB driver zc3xx and STV06xx probe the same devi ...
, Hans de Goede
, (Thu Mar 4, 4:55 am)
Re: Gspca USB driver zc3xx and STV06xx probe the same devi ...
, =?ISO-8859-1?Q?Erik_ ...
, (Sat Mar 6, 12:46 pm)
Re: Gspca USB driver zc3xx and STV06xx probe the same devi ...
, Gabriel C
, (Sun Mar 7, 7:36 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Fortier,Vincent [Montreal]
2.6.21.5 june 30th to july 1st date hang?
Jeff Dike
[ PATCH 2/6 ] UML - Formatting fixes around os_{read_write}_file callers
Liam Girdwood
[PATCH 07/13] regulator: regulator test harness
Oleg Nesterov
Re: Getting the new RxRPC patches upstream
Stefan Seyfried
Re: 2.6.19-rc5: grub is much slower resuming from suspend-to-disk than in 2.6.18
linux-netdev
:
Arnaud Ebalard
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0
Jan Engelhardt
Re: [PATCH iptables] extension: add xt_cpu match
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Sebastian Andrzej Siewior
[PATCH 8/8] net/emergency: remove locking from reycling pool if emergncy pools are...
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
git
:
Jakub Narebski
Re: git on MacOSX and files with decomposed utf-8 file names
Brandon Casey
Re: Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the def...
Christian Couder
[PATCH 1/3] rev-parse: add test script for "--verify"
Ramkumar Ramachandra
Re: [GSoC update] git-remote-svn: The final one
Junio C Hamano
Re: git-rm isn't the inverse action of git-add
openbsd-misc
:
Joachim Schipper
Re: UVC Webcams
Florin Andrei
SOLVED [was: firewall is very slow, something's wrong]
Todd Alan Smith
Re: Microsoft gets the Most Secure Operating Systems award
Neal Hogan
Re: Need Advice: Thinkpad T60 or T61?
Sam Fourman Jr.
Re: Real men don't attack straw men
git-commits-head
:
Linux Kernel Mailing List
ACPI: Disable ARB_DISABLE on platforms where it is not needed
Linux Kernel Mailing List
m68knommu: add read_barrier_depends() and irqs_disabled_flags()
Linux Kernel Mailing List
[MTD] Add mtd panic_write function pointer
Linux Kernel Mailing List
[ARM] pxa: remove duplicate select statements from Kconfig
Linux Kernel Mailing List
mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER()
Colocation donated by:
Syndicate