Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2008 22:30:23 +0200
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        multimedia@freebsd.org
Subject:   saa driver status for freebsd ?
Message-ID:  <20081007203023.GA87488@onelab2.iet.unipi.it>
In-Reply-To: <20081003092907.GA21707@onelab2.iet.unipi.it>
References:  <20081003092907.GA21707@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
As per the subject, is there anyone working on the 'saa'
driver (713x chipset) for FreeBSD, which is part of
the kbtv/kbtv2 port ?

I have been doing some cleanup work on the driver to
prepare it for supporting DVB-T cards, which are widely
available (e.g. I am working on the Asus 7131Hybrid)
and well supported on Linux so there is at least some
reference code.

A snapshot of what i currently have is at

http://info.iet.unipi.it/~luigi/FreeBSD/saa20081003.tgz

The driver itself is already pretty much complete for the
analog video part -- it supports various formats and the mmap()
interface.
Tuner/source/peripheral control is trivially done in userspace
(through ioctls to talk to the I2c and GPIO pins) and is not
timing-sensitive, so there is
really no point in doing that in the driver.
So i plan to move/implement that in userspace where it is a
lot easier to do.
I already have code to upload the firmware to the board.

What is missing is just a little bit of code to support read()
in addition to mmap(), and some other code (presumably not too
complex) to let the 713x copy the received mpeg stream to memory
using the DMA engines.

If someone else is interested or has already done some of this,
please let me know -- as a reference, the standard linux kernel
already support this cards through the saa7134 driver (for the video
decoder and DMA engine part) and the tda1004x and tda827x/tda829x
drivers for the DVB decoder and tuner, respectively. But as I said,
the latter two are really things that belong to userland.

	cheers
	luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081007203023.GA87488>