New: Regression: Hardware working with old stock gspca module fails with 2.6.27 module
A message that is not in the archive (sent off-list or not yet received): [email protected]/
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).
gspca doesn't seem to have a MAINTAINERS record. Or it is entered under something unobvious so my search failed?
Quoted 39 lines · On Fri, 17 Oct 2008 17:48:54 -0700 (PDT) [email protected] wrote:
http://bugzilla.kernel.org/show_bug.cgi?id=11776
Summary: Regression: Hardware working with old stock gspca module
fails with 2.6.27 module
Product: Drivers
Version: 2.5
KernelVersion: 2.6.27
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]Latest working kernel version: 2.6.26.5
Earliest failing kernel version: 2.6.27
Distribution: ArchLinux
Hardware Environment: i686 Lenovo T16P laptop, Lenovo USB 2.0 Webcam (40Y8519) Problem Description:
I used gspca-1.0 from mxhaard.free.fr as a driver for my webcam. The driver worked. gspca is now included in the mainline kernel. The driver doesn't work anymore. The camera is detected, but the image is not shown. Instead, colorful noise is shown.This is the information about the webcam given by the old gspca module, still working with 2.6.26:
Camera found: lenovoMI1310_SOC
Bridge found: VC0323
StreamId: JPEG Camera
quality 7 autoexpo 1 Timeframe 0 lightfreq 50Available Resolutions width 640 heigth 480 native Available Resolutions width 352 heigth 288 native Available Resolutions width 320 heigth 240 native * Available Resolutions width 176 heigth 144 native Available Resolutions width 160 heigth 120 native
Quoted 5 lines
unable to probe size !!
I don't see any significant difference in the output of the module included in 2.6.27. Tell me how I can provide more useful information.
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Quoted 6 lines · Andrew Morton
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).
gspca doesn't seem to have a
MAINTAINERSrecord. Or it is entered under something unobvious so my search failed?
We need to fix that then, gspca is maintained by Jean-Francois Moine, with me co-maintaining.
<snip>
Quoted 5 lines
Quoted 5 lines
This is the information about the webcam given by the old gspca module, still working with 2.6.26:
Camera found: lenovoMI1310_SOC
Bridge found: VC0323
StreamId: JPEG Camera
Quoted 8 lines
Quoted 8 lines
quality 7 autoexpo 1 Timeframe 0 lightfreq 50
Available Resolutions width 640 heigth 480 native Available Resolutions width 352 heigth 288 native Available Resolutions width 320 heigth 240 native * Available Resolutions width 176 heigth 144 native Available Resolutions width 160 heigth 120 nativeunable to probe size !!
Ok, so from this I gather that you are using spcaview to watch images from the cam. spcaview by default asks the driver for yv12 format video data.
However the vc0323 cam in your laptop delivers video data in JPEG format. The old gspca driver did format conversion inside the kernel. Which is a very bad thing to do and thus has been removed in the new version.
Most apps / libraries do not know how to handle the multitude of video formats webcams can produce. For this I've written libv4l:
http://hansdegoede.livejournal.com/3636.html
Get the latest version here:
http://people.atrpms.net/~hdegoede/libv4l-0.5.1.tar.gz
Then read:
http://moinejf.free.fr/gspca_README.txt
or the included README for install instructions.
As described in the documents you can make existing applications use this lib with an LD_PRELOAD loadable wrapper.
FOSS applications can be easily adapted to instead use the library directly, a coordinated cross distro effort is underway to make this happen (including pushing patches upstream), see:
http://linuxtv.org/v4lwiki/index.php/Libv4l_Progress
You can find patches for quite a few applications here. Help in patching others is very much welcome! If you need some quick instructions what to change exactly let me know.
Regards,
Hans
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Jean,
Quoted 10 lines · On Tue, 21 Oct 2008 11:10:29 +0200 Hans de Goede <[email protected]> wrote:
Quoted 6 lines · Andrew Morton
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).
gspca doesn't seem to have a
MAINTAINERSrecord. Or it is entered under something unobvious so my search failed?We need to fix that then, gspca is maintained by Jean-Francois Moine, with me co-maintaining.
Please prepare a patch against MAINTAINERS. Since there are also some sub-maintainers for certain sub-drivers, I think we should have some entries there. Please, don't forget to point to v4l ML.
Cheers,
Mauro
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list