* Self Introduction: Hans de Goede
@ 2008-03-28 21:44 Hans de Goede
[not found] ` <200803290045.40510.mxhaard@free.fr>
2008-03-29 13:31 ` Axel Thimm
0 siblings, 2 replies; 3+ messages in thread
From: Hans de Goede @ 2008-03-28 21:44 UTC (permalink / raw)
To: spca50x-devs, video4linux-list; +Cc: fedora-kernel-list
Hi All,
I'm a Linux enthusiast / developer. Lately I'm mainly active doing development
for Fedora and writing kernel drivers (and as my day job I'm a lecturer in
Computer Science).
Fedora has a policy of not shipping a heavily patched kernel, but instead tries
to work with upstream to get any needed patches integrated. This policy extends
to not shipping any addon drivers, but rather working to get drivers integrated
upstream.
As such I've decided to start spending my spare time on getting more and better
usb webcam support integrated upstream (for non usb video class devices). I
wanted to have something to show, so I've gone to the store, bought a couple of
webcams and started hacking and learning.
2 days ago I have finished my first pretty clean, standalone v4l2 webcam driver
for Pixart pac207 webcams.
In the beginning I modelled this driver after the zc301 and sn9c102 driver
which are currently already in the mainline kernel, using the memory management
and other structure from these drivers and filling in the hardware dependent
parts with the pac207 code from the out of tree gpsca driver.
During the development I kept the buffer management from the zc301 driver, but
modelled the rest of the driver more and more after gspca. For example don't
start the iso stream on device open and throw away iso packets received before
the stream-on ioctl, but instead start and stop the stream as needed.
This has resulted in what I consider a nice and clean pac207 driver. But when I
finished it I noticed that a lot of code in their was generic code for any
simple usb webcam.
Since I plan to write standalone v4l2 drivers for mainline inclusion for other
simple usb webcams I spend the last 2 days splitting the code of my pac207
driver into a generic usbvideo2 core (the kernel already has usbvideo, which
has a number of v4l1 drivers) and a camera specific pac207 driver which builds
on top of the usbvideo2 core.
So I've ended up with a model very much like gspca, but then not one large
monolithic kernel module, but a more modular design with an core kernel module
with (hopefully) generic code for simple usb webcam's, and a per usb controller
chip type specific module (currently only one for pac207 controllers), and
ofcourse very important this is code for v4l2 drivers, whereas the current
gspca is v4l1.
I just recently (today) learned that there is work underway to make a v4l2
version of gspca by Jean-François Moine: http://moinejf.free.fr/ ), I hope that
we can work together somehow on getting support for all the webcam's supported
in gscpa integrated into the mainline kernel with a v4l2 interface.
I'll be sending 2 seperate mails one with my standalone pac207 driver, and one
with the usbvideo2 core and a pac207 driver using this core, I'll include
Makefiles for out of tree building with both of them so that interested people
can test them.
I'm currently posting these as .c files for easy reading and compilation /
testing, but I still hope to get a lot of feedback / a thorough review, esp of
the core <-> pac207 split version as I hope to submit that as a patch for
mainline inclusion soon.
Thanks & 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[parent not found: <200803290045.40510.mxhaard@free.fr>]
* Re: [Spca50x-devs] Self Introduction: Hans de Goede
[not found] ` <200803290045.40510.mxhaard@free.fr>
@ 2008-03-28 22:49 ` Hans de Goede
0 siblings, 0 replies; 3+ messages in thread
From: Hans de Goede @ 2008-03-28 22:49 UTC (permalink / raw)
To: Michel Xhaard; +Cc: fedora-kernel-list, video4linux-list, spca50x-devs
Hi Michel,
Michel Xhaard wrote:
> Hans,
> I don't understand why you start this work without asking the gspca
> maintener ?
As I wrote I wanted to have something to show before announcing my plans, I
don't like doing hot air only announcements. Also these last few weeks have
been very usefull for me to learn a lot of new things (sofar I've only been
writing hwmon device drivers, which are much simpler then usb webcam drivers).
> Jean-Francois is working on the gspca_core driver for v4l2, you
> should help if you want.
I've already send a private mail to him (this evening) to try and coordinate
our work.
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: Self Introduction: Hans de Goede
2008-03-28 21:44 Self Introduction: Hans de Goede Hans de Goede
[not found] ` <200803290045.40510.mxhaard@free.fr>
@ 2008-03-29 13:31 ` Axel Thimm
1 sibling, 0 replies; 3+ messages in thread
From: Axel Thimm @ 2008-03-29 13:31 UTC (permalink / raw)
To: Hans de Goede; +Cc: fedora-kernel-list, video4linux-list, spca50x-devs
[-- Attachment #1.1: Type: text/plain, Size: 622 bytes --]
Hi Hans,
On Fri, Mar 28, 2008 at 10:44:15PM +0100, Hans de Goede wrote:
> I'll be sending 2 seperate mails one with my standalone pac207 driver, and
> one with the usbvideo2 core and a pac207 driver using this core, I'll
> include Makefiles for out of tree building with both of them so that
> interested people can test them.
since you crossposted on three lists (of which many people are
common members), maybe it would had been better to have uploaded them
and posted URLs instead?
(Since I manage one system you upload stuff: Maybe there was a
problem? -> PM please :)
--
Axel.Thimm at ATrpms.net
[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 164 bytes --]
--
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-03-29 13:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-28 21:44 Self Introduction: Hans de Goede Hans de Goede
[not found] ` <200803290045.40510.mxhaard@free.fr>
2008-03-28 22:49 ` [Spca50x-devs] " Hans de Goede
2008-03-29 13:31 ` Axel Thimm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox