Date: Sat, 18 Dec 2004 01:49:53 +0200 From: Vladimir Kushnir <vkushnir@i.kiev.ua> To: freebsd-multimedia@freebsd.org Cc: brueffer@freebsd.org Subject: Re: Call to bktr(4) users Message-ID: <200412180149.54748.vkushnir@i.kiev.ua> In-Reply-To: <20041217021611.GC8164@unixpages.org> References: <20041217021611.GC8164@unixpages.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi Christian,
On Friday 17 December 2004 04:16, you wrote:
> Hi,
>
> I'm currently adding a HARDWARE section to the bktr(4) driver manpage.
> There are a few cards listed in the current manpage, but I'm sure
> there are more supported.
>
> If you have bktr(4) running on a card, please send me the full name of
> the card (preferrebly the corresponding pciconf -lv entry) so it can
> be added to the manpage.
>
> Thanks in advance.
>
> - Christian
Here's my card:
V-Stream XPERT TV-PVR 878
(AFAICT more or less the same as KWorld KW-TV878RF);
'pciconf -lv' output:
bktr0@pci0:13:0: class=0x040000 card=0x00000000 chip=0x036e109e
rev=0x11hdr=0x00
vendor = 'Brooktree Corporation'
device = 'Bt878 MediaStream Controller'
class = multimedia
subclass = video
none1@pci0:13:1: class=0x048000 card=0x00000000 chip=0x0878109e
rev=0x11hdr=0x00
vendor = 'Brooktree Corporation'
device = 'Bt878/Fusion878A Video Capture (Audio Section)'
class = multimedia
Since this card has no EEPROM, it's not detected automatically (I tried to add
it to sys/dev/bktr/bktr_card.c, patch attached) so I have to set
in /etc/sysctl.conf (both without and with my patch):
hw.bt848.card=2
hw.bt848.tuner=10
Works perfectly all right in both cases, 'cept for the remote control (under
Linux, it's handled by LIRC, lirc_gpio module, and not the driver itself).
BTW, does anybody work on porting LIRC drivers to FreeBSD (especially
lirc_gpio, of course :-)? Any suggestions on how to handle them? I'd love to
use my remote too.
Regards,
Vladimir
[-- Attachment #2 --]
*** sys/dev/bktr/bktr_card.c.orig Sun Sep 19 11:08:05 2004
--- sys/dev/bktr/bktr_card.c Sun Sep 19 11:53:56 2004
***************
*** 368,373 ****
--- 368,385 ----
{ 0x02, 0x00, 0x00, 0x00, 1 }, /* audio MUX values */
0x18e0 }, /* GPIO mask */
+ { CARD_KWORLD_878RF, /* the card id */
+ "KWorld XPERT TV-PVR 878", /* the 'name' */
+ NULL, /* the tuner */
+ 0, /* the tuner i2c address */
+ 0, /* dbx is optional */
+ 0,
+ 0,
+ 0, /* EEProm unknown */
+ 0, /* size unknown */
+ /* Tuner, External, Internal, Mute, Enabled */
+ { 0x080000, 0, 0x000001, 0x000001, 1 }, /* audio MUX values */
+ 0x1c0007 }, /* GPIO mask */
};
struct bt848_card_sig bt848_card_signature[1]= {
*** sys/dev/bktr/bktr_card.h.orig Sun Sep 19 11:08:12 2004
--- sys/dev/bktr/bktr_card.h Sun Sep 19 11:36:39 2004
***************
*** 78,84 ****
#define CARD_TERRATVPLUS 16
#define CARD_IO_BCTV3 17
#define CARD_AOPEN_VA1000 18
! #define Bt848_MAX_CARD 19
#define CARD_IO_GV CARD_IO_BCTV2
--- 78,85 ----
#define CARD_TERRATVPLUS 16
#define CARD_IO_BCTV3 17
#define CARD_AOPEN_VA1000 18
! #define CARD_KWORLD_878RF 19
! #define Bt848_MAX_CARD 20
#define CARD_IO_GV CARD_IO_BCTV2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412180149.54748.vkushnir>
