public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 11776] New: Regression: Hardware working with old stock gspca module fails with 2.6.27 module
       [not found] <bug-11776-10286@http.bugzilla.kernel.org/>
@ 2008-10-20 23:55 ` Andrew Morton
  2008-10-21  9:10   ` Hans de Goede
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2008-10-20 23:55 UTC (permalink / raw)
  To: Jean-Francois Moine, Mauro Carvalho Chehab
  Cc: video4linux-list, bugme-daemon, linuxkernel


(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?


On Fri, 17 Oct 2008 17:48:54 -0700 (PDT)
bugme-daemon@bugzilla.kernel.org 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: drivers_other@kernel-bugs.osdl.org
>         ReportedBy: linuxkernel@lanrules.de
> 
> 
> 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: lenovo MI1310_SOC
> Bridge found: VC0323
> StreamId: JPEG Camera
> 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 native
> 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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bugme-new] [Bug 11776] New: Regression: Hardware working with old stock gspca module fails with 2.6.27 module
  2008-10-20 23:55 ` [Bugme-new] [Bug 11776] New: Regression: Hardware working with old stock gspca module fails with 2.6.27 module Andrew Morton
@ 2008-10-21  9:10   ` Hans de Goede
  2008-10-21 11:15     ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2008-10-21  9:10 UTC (permalink / raw)
  To: Andrew Morton
  Cc: video4linux-list, linuxkernel, bugme-daemon,
	Mauro Carvalho Chehab

Andrew Morton wrote:
> (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?
> 

We need to fix that then, gspca is maintained by Jean-Francois Moine, with me 
co-maintaining.

<snip>

>> This is the information about the webcam given by the old gspca module, still
>> working with 2.6.26:
>> Camera found: lenovo MI1310_SOC
>> Bridge found: VC0323
>> StreamId: JPEG Camera
>> 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 native
>> unable 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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bugme-new] [Bug 11776] New: Regression: Hardware working with old stock gspca module fails with 2.6.27 module
  2008-10-21  9:10   ` Hans de Goede
@ 2008-10-21 11:15     ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2008-10-21 11:15 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: video4linux-list, bugme-daemon, linuxkernel

Jean,

On Tue, 21 Oct 2008 11:10:29 +0200
Hans de Goede <j.w.r.degoede@hhs.nl> wrote:

> Andrew Morton wrote:
> > (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?
> > 
> 
> 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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-21 11:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-11776-10286@http.bugzilla.kernel.org/>
2008-10-20 23:55 ` [Bugme-new] [Bug 11776] New: Regression: Hardware working with old stock gspca module fails with 2.6.27 module Andrew Morton
2008-10-21  9:10   ` Hans de Goede
2008-10-21 11:15     ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox