Digital-tv card drivers and API discussion
Teemu.Parkkinen_at_patria.fi
Date: 04/13/04
- Previous message: John-Mark Gurney: "Re: mtx_lock_recurse/mtx_unlock_recurse functions (proof-of-concept)."
- Next in thread: Eivind Eklund: "Re: Digital-tv card drivers and API discussion"
- Reply: Eivind Eklund: "Re: Digital-tv card drivers and API discussion"
- Maybe reply: Teemu.Parkkinen_at_patria.fi: "Re: Digital-tv card drivers and API discussion"
- Reply: Nicolas Souchu: "Re: Digital-tv card drivers and API discussion"
- Reply: Doug White: "Re: Digital-tv card drivers and API discussion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-arch@freebsd.org Date: Tue, 13 Apr 2004 12:44:35 +0300
Hi all,
I am about to write a digital tv-driver for my dvb-c -card. Because FreeBSD
does not yet have
any dvb-devices and I don't have any prior driver development experience, I
have a couple
of questions for you.
1) Should we use Linux-DVB API as a reference, or should we consider some
changes to it?
The API seems to be constantly changing and improving. Version 3 is
available here:
http://www.linuxtv.org/download/dvb/linux-dvb-api-1.0.0.pdf
but they are currently working on version 4. In my opinion, the API should
be minimal, but
complete, so there is no need to constantly add new features to it.
2) As linux kernel is GPL-licensed, I cannot just port the linux driver to
FreeBSD, right?
In other words, we have to write the driver from scratch. In this case we
don't have to stick
with the Linux DVB-API and therefore I suggest that we give think the api
through before
deciding how we implement it (do we follow linux api or not).
3) Do you have any pointers to good books or other documentation on how to
write device
drivers for UNIX (BSD)? I already have read those from FreeBSD
documentation, but a decent
book would be handy.
- Teemu Parkkinen
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: John-Mark Gurney: "Re: mtx_lock_recurse/mtx_unlock_recurse functions (proof-of-concept)."
- Next in thread: Eivind Eklund: "Re: Digital-tv card drivers and API discussion"
- Reply: Eivind Eklund: "Re: Digital-tv card drivers and API discussion"
- Maybe reply: Teemu.Parkkinen_at_patria.fi: "Re: Digital-tv card drivers and API discussion"
- Reply: Nicolas Souchu: "Re: Digital-tv card drivers and API discussion"
- Reply: Doug White: "Re: Digital-tv card drivers and API discussion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Digital-tv card drivers and API discussion
... Designing completely new api takes some time and I ... > driver development
experience, I have a couple of questions for you. ... > 2) As linux kernel is GPL-licensed,
I cannot just port the linux driver ... I'm able to watch DVB programs converted from MPEG
TS substreams to MPEG ... (freebsd-arch) - linux compat layer for device drivers.
... I have been doing some work on building a linux compatibility ... layer to help
porting linux device drivers to FreeBSD. ... This archive contains some headers
and source files to help ... and then build a working driver for FreeBSD. ... (freebsd-arch) - Re: Generic Kernel API
... > entire OS in case the driver was buggy. ... Sure, it's easy to map malloc
in FreeBSD to kmalloc in Linux, ... (freebsd-current) - Digital-tv card drivers and API discussion
... > FreeBSD does not yet have any dvb-devices and I don't have any prior ...
> driver development experience, I have a couple of questions for you. ... > 2) As
linux kernel is GPL-licensed, I cannot just port the linux driver ... I'm able to watch
DVB programs converted from MPEG TS substreams to MPEG ... (freebsd-arch) - Re: Using -current on a Fujitsu Lifebook N5010 (no Atheros 802.11, no Ethernet, + hard freezes)
... > Linux, which is the UNIX that I would normally install. ... > With the
version of the ath driver in CURRENT, ... FreeBSD would store that information in
what is called an mbuf tag. ... Official QOS support in the kernel does not exist yet.
... (freebsd-current)