public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Convert cpia driver to v4l2, drop parallel port version support?
@ 2009-06-17  7:43 Hans Verkuil
  2009-06-17  9:34 ` Hans de Goede
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Hans Verkuil @ 2009-06-17  7:43 UTC (permalink / raw)
  To: Hans de Goede; +Cc: Linux Media Mailing List


> Hi,
>
> I recently have been bying second hand usb webcams left and right
> one of them (a creative unknown model) uses the cpia1 chipset, and
> works with the v4l1 driver currently in the kernel.
>
> One of these days I would like to convert it to a v4l2 driver using
> gspca as basis, this however will cause us to use parallel port support
> (that or we need to keep the old code around for the parallel port
> version).
>
> I personally think that loosing support for the parallel port
> version is ok given that the parallel port itslef is rapidly
> disappearing, what do you think ?

I agree wholeheartedly. If we remove pp support, then we can also remove
the bw-qcam and c-qcam drivers since they too use the parallel port.

BTW, I also have a cpia1 camera available for testing. I can also test
ov511 (I saw that you added support for that to gspca). Ditto for the
stv680 and w9968cf.

Note that I can mail these devices to you if you want to work on
integrating them into gspca. I'm pretty sure I won't have time for that
myself.

Regards,

           Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Convert cpia driver to v4l2, drop parallel port version support?
@ 2009-06-17 11:26 Hans Verkuil
  2009-06-17 13:29 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 16+ messages in thread
From: Hans Verkuil @ 2009-06-17 11:26 UTC (permalink / raw)
  To: Andy Walls; +Cc: Hans de Goede, Linux Media Mailing List


> On Wed, 2009-06-17 at 09:43 +0200, Hans Verkuil wrote:
>
>> > I personally think that loosing support for the parallel port
>> > version is ok given that the parallel port itslef is rapidly
>> > disappearing, what do you think ?
>>
>> I agree wholeheartedly. If we remove pp support, then we can also remove
>> the bw-qcam and c-qcam drivers since they too use the parallel port.
>
> Maybe I just like keeping old hardware up and running, but...
>
> I think it may be better to remove camera drivers when a majority of the
> actual camera hardware is likely to reach EOL, as existing parallel
> ports will likely outlive the cameras.

For sure. But these are really old webcams with correspondingly very poor
resolutions. I haven't been able to track one down on ebay and as far as I
know nobody has one of these beasts to test with. I can't see anyone using
parallel port webcams. I actually wonder whether these drivers still work.
And converting to v4l2 without having the hardware is very hard indeed.

Regards,

         Hans

>
> My PC I got in Dec 2005 has a parellel port, as does the motherboard I
> purchased 2008.
>
> I have a 802.11g router (ASUS WL-500g) with a parallel port.  It works
> nicely as a remote print server.  From my perspective, that parallel
> port isn't going away anytime soon.
>
>
> <irrelevant aside>
> At least the custom firmware for the WL-500g
> ( http://oleg.wl500g.info/ ) has the ability to use webcams for snapping
> pictures and emailing away a notification.  I'm pretty sure PP webcams
> are not actually supported though.
>
> The wireless router surveillance case is probably not relevant though,
> as routers are usually using (very) old kernels.
> </irrelevant aside>
>
> -Andy
>
>


-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Convert cpia driver to v4l2, drop parallel port version support?
@ 2009-06-17 10:32 Hans Verkuil
  0 siblings, 0 replies; 16+ messages in thread
From: Hans Verkuil @ 2009-06-17 10:32 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: Hans de Goede, Linux Media Mailing List


> Em Wed, 17 Jun 2009 09:43:50 +0200 (CEST)
> "Hans Verkuil" <hverkuil@xs4all.nl> escreveu:
>
>> > I recently have been bying second hand usb webcams left and right
>> > one of them (a creative unknown model) uses the cpia1 chipset, and
>> > works with the v4l1 driver currently in the kernel.
>> >
>> > One of these days I would like to convert it to a v4l2 driver using
>> > gspca as basis, this however will cause us to use parallel port
>> support
>> > (that or we need to keep the old code around for the parallel port
>> > version).
>> >
>> > I personally think that loosing support for the parallel port
>> > version is ok given that the parallel port itslef is rapidly
>> > disappearing, what do you think ?
>>
>> I agree wholeheartedly. If we remove pp support, then we can also remove
>> the bw-qcam and c-qcam drivers since they too use the parallel port.
>
> Maybe I'm too nostalgic, but those are the first V4L drivers. It would be
> fun
> to keep supporting them with V4L2 API ;)

I have a pms ISA card and it is still on my list to convert that one to
V4L2. Shouldn't be difficult. It is my understanding that that is the very
first v4l driver, so that should satisfy any nostalgic feelings :-)

> That's said, while it is probably not that hard to develop a gspca-pp
> driver,
> I'm not against removing parallel port support or even removing those
> drivers
> due to technical reasons, like the end of V4L1 drivers.
>
> By looking at the remaining V4L1 drivers, we have:
>
> 	ov511 - already implemented with V4L2 on gspca. Can be easily removed;
>
> 	se401, stv680, usbvideo, vicam - USB V4L1 drivers. IMO, it is valuable
> 		to convert them to gspca;
>
> 	cpia2, pwc - supports both V4L1 and V4L2 API. It shouldn't be hard to
> convert them
> 		to vidio_ioctl2 and remove V4L1 API.
>
> 	stradis - a saa7146 V4L1 only driver - I never understood this one well,
> since there is
> 		already another saa7146 driver running V4L2, used by mxb, hexium_gemini
> and
> 		hexium_orion. To make things worse, stradis, mxb and hexium_orion are
> registering for
> 		the same PCI device (the generic saa7146 PCI ID). If nobody volunteers
> to convert
> 		and test with V4L2, then maybe we can just remove it. The better
> conversion would
> 		probably be to use the V4L2 support at the saa7146 driver.
>
> 	arv - seems to be a VGA output driver - Only implements 3 ioctls:
> 		VIDIOCGCAP and VIDIOCGWIN/VIDIOCSWIN. It shouldn't be hard to convert it
> to V4L2.
> 		I'm not sure if this is still used in practice.
>
> 	bw-qcam, pms, c-qcam, cpia, w9966 - very old drivers that use direct io
> and/or parport;
>
> IMO, after having all USB ID's for se401, stv680, usbvideo and vicam
> devices supported
> by a V4L2 driver, we can just remove V4L1 ioctls from cpia2 and pwc, and
> the drivers that
> will still remain using only the legacy API can be dropped. Anything more
> converted will be a bonus

I have a cpia2 device as well that I can use to test.

Regards,

        Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Convert cpia driver to v4l2, drop parallel port version support?
@ 2009-06-17  7:00 Hans de Goede
  0 siblings, 0 replies; 16+ messages in thread
From: Hans de Goede @ 2009-06-17  7:00 UTC (permalink / raw)
  To: Linux Media Mailing List

Hi,

I recently have been bying second hand usb webcams left and right
one of them (a creative unknown model) uses the cpia1 chipset, and
works with the v4l1 driver currently in the kernel.

One of these days I would like to convert it to a v4l2 driver using
gspca as basis, this however will cause us to use parallel port support
(that or we need to keep the old code around for the parallel port
version).

I personally think that loosing support for the parallel port
version is ok given that the parallel port itslef is rapidly
disappearing, what do you think ?

Regards,

Hans

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

end of thread, other threads:[~2009-06-17 18:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17  7:43 Convert cpia driver to v4l2, drop parallel port version support? Hans Verkuil
2009-06-17  9:34 ` Hans de Goede
2009-06-17  9:56 ` Mauro Carvalho Chehab
2009-06-17 10:00   ` Mauro Carvalho Chehab
2009-06-17 10:59   ` Hans de Goede
2009-06-17 14:28     ` Mauro Carvalho Chehab
2009-06-17 14:41       ` Hans de Goede
2009-06-17 15:23         ` Mauro Carvalho Chehab
2009-06-17 17:25           ` Hans de Goede
2009-06-17 18:11         ` Brian Johnson
2009-06-17 18:35           ` Hans de Goede
2009-06-17 10:56 ` Andy Walls
  -- strict thread matches above, loose matches on Subject: below --
2009-06-17 11:26 Hans Verkuil
2009-06-17 13:29 ` Mauro Carvalho Chehab
2009-06-17 10:32 Hans Verkuil
2009-06-17  7:00 Hans de Goede

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