Re: RFC: Drop V4L1 support in V4L2 drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Ellingsworth wrote:
> On Fri, Mar 19, 2010 at 1:43 PM, Mauro Carvalho Chehab
> <mchehab@xxxxxxxxxx> wrote:
>> David Ellingsworth wrote:
>>> On Fri, Mar 19, 2010 at 9:47 AM, Mauro Carvalho Chehab
>>> <mchehab@xxxxxxxxxx> wrote:
>>>> The V4L1 drivers that lasts are the ones without maintainers and probably without
>>>> a large users base. So, basically legacy hardware. So, their removals make sense.
>>>>
>>> In many ways the above statement is a catch 22. Most, if not all the
>>> v4l1 drivers are currently broken or unmaintained. However, this does
>>> not mean there are users who would not be using these drivers if they
>>> actually worked or had been properly maintained. I know this to be a
>>> fact of the ibmcam driver. It is both broken and unmaintained. Because
>>> of this I'm sure no one is currently using it.
>> It makes sense. However, considering that no new V4L1 driver is committed
>> since 2006, this means that those are old drivers for old hardware.
>>
>>> I happen to have a USB
>>> camera which is supposedly supported by the ibmcam driver.
>> In the specific case of ibmcam, we had only 10 commits on -hg since its
>> addition, back in 2006.
>>
>> Just using it as an example about the remaining drivers, for today's hardware,
>> an ibmusb model 3 webcam has 640x480x3fps, according to his driver. Other models
>> have QCIF or QVGA as their maximum resolution. I can easily buy a 640x480x30fps
>> camera (or even something better than that) for US$12,00 on a close shopping.
> 
> The limitation on the frame rate within the driver is not an issue
> with the camera itself per-say. The camera I have supports
> 640x480x30fps but the ibmcam driver lacks support for the video mode
> used to achieve that rate. Specifically speaking, the camera uses a
> proprietary compressed image format that the current v4l1 ibmcam
> driver does not support for several reasons.

Ah, ok.

> First and foremost, the
> original author stated that he did not have time to reverse engineer
> the compressed format. Second even if he had, the code to do so
> doesn't belong in the driver itself.

As we're just talking about V4L1->V4L2 conversion, even if someone convert
or fix the driver, this issue will remain. Only finding someone to maintain
it, this issue will be fixed.
> 
> Yes it is an old camera, but that does not mean there aren't people
> out there who still own cameras which would otherwise be usable if the
> driver worked. And sure people could just buy another camera.. but why
> replace hardware that's obviously not broken?

If you want/need a webcam in Linux, have a broken driver, an old hardware
and a new hardware costs less than 15 bucks, why not just buy a new camera?
Many users likely did it already with the remaining V4L1 drivers. With less
users/developers running Linux with this hardware, less chances that someone
would take the maintainership of the driver and fix/convert it.

We're talking about removal of those drivers for about two years, and nobody,
except for the existing developers that found some way to buy legacy used
hardware sent patches.

Anyway, I see your point. 

The better alternative would be if someone could borrow or donate hardware 
to Hans de Goede and/or another developers that may be interested and let 
them convert the driver and hopefully break the proprietary protocols, 
implementing them at libv4l.

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux