FS#11778 - gspca driver in kernel26 2.6.27-2 missed some DevIDs

Attached to Project: Arch Linux
Opened by Olivier Mehani (shtrom) - Friday, 17 October 2008, 04:04 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 09 May 2009, 13:38 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Module gspca_zc3xx doesn't list usb:v0AC8p303Bd*dc*dsc*dp*ic*isc*ip* (Z-Star Microelectronics Corp. ZC0303 WebCam) in its aliases.

This results in the module not being automatically loaded when the webcam is plugged in, and not recognizing the camera when manually loaded. Previous versions of the gscpav1 package worked properly with this cam.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 09 May 2009, 13:38 GMT
Reason for closing:  Fixed
Comment by Thomas Bächler (brain0) - Friday, 17 October 2008, 07:00 GMT
Could you look if this is already reported in the kernel.org bugzilla?
Comment by None (vorcers) - Tuesday, 04 November 2008, 19:12 GMT
I looked into the bugzilla in kernel.org and I couldn't find anything.

I have some experience with this "bug":

The "bug" is withhin the 2.6.27 Kernel.
If the ZC0301 Module is build, the above listend webcams are not included in the gspca_zc3xx module: (example)
(http://lxr.linux.no/linux/drivers/media/video/gspca/zc3xx.c)

7558 #if !defined CONFIG_USB_ZC0301 && !defined CONFIG_USB_ZC0301_MODULE
7559 {USB_DEVICE(0x0ac8, 0x303b)},
7560 #endif

I had to deactivate the ZC0301 module end delete the "define" lines in the zc3xx.c. After that, (and a recompile of the kernel...) my 0x0ac8, 0x303b works with the gspca_zc3xx module.

The status should be set to confirmed, every distribution which includes 2.6.27 has this problem. (reported here: https://qa.mandriva.com/show_bug.cgi?id=45170 and here: http://tennessee.ubuntuforums.com/showthread.php?p=6100536) Someone should write a kernel bug message...
I want to add, that the ZC0301 had recognize my 0x303b webcam. But I never got a picture with this driver. The gspca_zc3xx works. (even with skype, if you use v4l1compat.so)

I hope I could help someone.

Comment by Thomas Bächler (brain0) - Wednesday, 05 November 2008, 18:13 GMT
This seems like a rather weird piece of code. Could you open the bug report on the kernel bugzilla, it is you who can answer questions about it best.
Comment by None (vorcers) - Wednesday, 05 November 2008, 18:30 GMT
I have a appendix, the bug has been reported on kernel.org:

http://bugzilla.kernel.org/show_bug.cgi?id=11932

I don't know why I didn't found it.
Comment by Olivier Mehani (shtrom) - Friday, 01 May 2009, 00:37 GMT
  • Field changed: Percent Complete (100% → 0%)
The problem persists with 2.6.28. I have just compiled the version from ABS, as of today, disabling CONFIG_USB_ZC0301 and CONFIG_USB_ZC0301_MODULE.

As expected, the module gspca module now builds with the proper DevIDs and can be detects the (USB) Webcam. It also works much better than the ZC301 module.

I think it would be a good idea to drop ZC0301 and only build the gspca module.
Comment by Jan de Groot (JGC) - Friday, 01 May 2009, 00:37 GMT
Ubuntu applies this patch for it:
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-intrepid.git;a=commit;h=0feccfbc02792f9555bd77aa611b863f82974214

Either we drop the zc0301 module, or apply the patch.
Comment by Thomas Bächler (brain0) - Friday, 01 May 2009, 09:04 GMT
Then we should drop that other module I guess.

Loading...