Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2001 20:52:33 -0800
From:      Gunnar H Reichert-Weygold <patron1@paganlibrary.com>
To:        edscott@imp.mx, freebsd-questions@freebsd.org
Subject:   Re: moving bktr0 from 4.3 to 4.4
Message-ID:  <E161hBD-0006sl-00@raven.mail.pas.earthlink.net>
In-Reply-To: <200111071609.KAA89580@www.imp.mx>
References:  <200111071609.KAA89580@www.imp.mx>

next in thread | previous in thread | raw e-mail | index | archive | help

Personally, I prefer fxtv.

Check LINT:

# Brooktree driver has been ported to the new I2C framework. Thus,
# you'll need to have the following 3 lines in the kernel config.
#     device smbus
#     device iicbus
#     device iicbb
# The iic and smb devices are only needed if you want to control other
# I2C slaves connected to the external connector of some cards.
#
device		bktr

My own cofig shows:

device		bktr
options 	BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
device		smb
device		smbus
device		iicbus
device		iicbb
device		ic
device		iic
device		iicsmb		# smb over i2c bridge

It's probably overkill, but it works quite well.

DMESG:

bktr0: <BrookTree 878> mem 0xef021000-0xef021fff irq 11 at device 13.0 on pci0
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smb0: <SMBus general purpose I/O> on smbus0
iic0: <I2C general purpose I/O> on iicbus0
smbus1: <System Management Bus> on bti2c0
smb1: <SMBus general purpose I/O> on smbus1
bktr0: AVer Media TV/FM, Philips NTSC tuner.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 13.1 irq 11


On Wednesday 07 November 2001 08:06, you wrote:
> Hi,
>
>   I have my TV card working perfectly under FreeBSD 4.3 with xawtv, but
> trying to migrate to FreeBSD 4.4 I cannot get it to work. I compiled the
> kernel with the following lines:
>
> device iicbus0
> device iicbb0
> device bktr0
>
>   The card is detected, and I get this from dmesg:
>
> bktr0: <BrookTree 878> mem 0xeddfe000-0xeddfefff irq 10 at device 9.0 on
> pci0 bktr0: Pinnacle/Miro TV, Philips NTSC tuner.
> pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 9.1 irq 10
>
>   But when I execute xawtv I get:
>
> This is xawtv-3.37, running on FreeBSD/i386 (4.4-RELEASE)
> Xlib:  extension "XVideo" missing on display ":0.0".
> x11: 1024x768, 32 bit/pixel, 0 byte/scanline
> bktr: pf: rgb bpp=2 mask=31744,992,31 sbytes=0 sshorts=0 (fmt=5)
> bktr: pf: rgb bpp=2 mask=31744,992,31 sbytes=1 sshorts=0 (fmt=3)
> bktr: pf: rgb bpp=2 mask=63488,2016,31 sbytes=0 sshorts=0 (fmt=6)
> bktr: pf: rgb bpp=2 mask=63488,2016,31 sbytes=1 sshorts=0 (fmt=4)
> bktr: pf: rgb bpp=3 mask=16711680,65280,255 sbytes=1 sshorts=0 (fmt=7)
> bktr: pf: rgb bpp=4 mask=16711680,65280,255 sbytes=0 sshorts=0 (fmt=10)
> bktr: pf: rgb bpp=4 mask=16711680,65280,255 sbytes=0 sshorts=1 (fmt=-1)
> bktr: pf: rgb bpp=4 mask=16711680,65280,255 sbytes=1 sshorts=0 (fmt=-1)
> bktr: pf: rgb bpp=4 mask=16711680,65280,255 sbytes=1 sshorts=1 (fmt=8)
> bktr: pf: yuv h422 v111 (planar) (fmt=14)
> bktr: pf: yuyv h422 v111 (packed) (fmt=13)
> bktr: pf: yuv h422 v422 (planar) (fmt=-1)
> ioctl METEORGSUPPIXFMT: Invalid argument
> wmhooks: netwm
> Warning: Cannot convert string "-*-ledfixed-medium-r-semicondensed--39-*"
> to type FontStruct
>
>   Any pointers to solve this problem would be greatly appreciated.
>
>
> Edscott Wilson Garcia
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 

Don't give me that "kinkier than thou" attitude.

Above address is an autoresponder!
Correct email address: patron1 at paganlibrary dot com

Gunnar H Reichert-Weygold
http://www.paganlibrary.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E161hBD-0006sl-00>