FM radio card OK with 4.10, broken with 5.3

rotenber at alumni.caltech.edu rotenber at alumni.caltech.edu
Fri Dec 17 04:28:26 PST 2004


Hi.

I am trying to migrate from 4.10-RELEASE to 5.3-RELEASE.
Everything appears to function properly except my TV card.

Since I have installed 5.3-RELEASE on a separate hard drive
it is easy to compare it to the 4.10-RELEASE. The hardware on
these two systems are identical except for the hard drives:
EPIC-ME6000 (VIA) mainboard
KWorld TV Tuner PCI Card KW-TV878RF-PRO

On the 4.10 system I can use 'tuneradio' to set the FM radio
frequency on the TV card. On the 5.3 system I get nothing but
static and see this error:

 tuneradio -f 10110
bktr0: arg=10110 temp=10110
bktr0: tv_freq returned: -1

I have compiled the bktr driver for 5.3 with BKTR_RADIO_DEBUG.

I notice that iicbus1 is missing in the dmesg output of 5.3,
but I have no idea if that is important. I also had to add
the option BKTR_USE_FREEBSD_SMBUS or the driver for the I2C
bus did not appear in the dmesg for 5.3 at all.

Any sugestions would be appreciated.

JM Rotenberry
-------------------------------------------------------------------
FreeBSD freebsd.home 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Fri Aug 27
16:37:52 CDT 2004     root at freebsd.home:/usr/src/sys/compile/ME6000 
i386

4.10-RELEASE  dmesg output:

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.10-RELEASE #0: Fri Aug 27 16:37:52 CDT 2004
    root at freebsd.home:/usr/src/sys/compile/ME6000
Timecounter "i8254"  frequency 1193182 Hz
CPU: VIA C3 Samuel 2 (599.71-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x673  Stepping = 3
  Features=0x803035<FPU,DE,TSC,MSR,MTRR,PGE,MMX>
...<skipping some>...
bktr0: <BrookTree 878> mem 0xde003000-0xde003fff irq 10 at device 20.0 on
pci0
iicbb0: <I2C bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicbus1: <Philips I2C bus> on iicbb0 master-only
smbus0: <System Management Bus> on bti2c0
bktr0: Card has no configuration EEPROM. Cannot determine card make.
bktr0: Pinnacle/Miro TV, Temic NTSC tuner.
pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 20.1 irq 10
...<skipping some>...

> sysctl -a|grep bt848

hw.bt848.card: 2
hw.bt848.tuner: 9
hw.bt848.reverse_mute: -1
hw.bt848.format: -1
hw.bt848.slow_msp_audio: -1


4.10-RELEASE  pciconf -vl output:

bktr0 at pci0:20:0:        class=0x040000 card=0x00000000 chip=0x036e109e
rev=0x11 hdr=0x00
    vendor   = 'Brooktree Corporation'
    device   = 'Bt878 MediaStream Controller'
    class    = multimedia
    subclass = video
none1 at pci0:20:1:        class=0x048000 card=0x00000000 chip=0x0878109e
rev=0x11
hdr=0x00
    vendor   = 'Brooktree Corporation'
    device   = 'Bt878/Fusion878A Video Capture (Audio Section)'
    class    = multimedia
none2 at pci1:0:0: class=0x030000 card=0x31221106 chip=0x31221106 rev=0x03
hdr=0x00

    vendor   = 'VIA Technologies Inc'
    device   = 'VT8623 Apollo CLE266 CastleRock AGP 8X Controller'
    class    = display
    subclass = VGA

4.10-RELEASE  kernel diffs from GENERIC:

device		pcm
device		bktr
options		OVERRIDE_TUNER=4
options		BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
device		smbus		# Bus support, required for smb below.
device		iicbus		# Bus support, required for ic/iic/iicsmb below.
device		iicbb

-------------------------------------------------------------------

FreeBSD freebsd.home 5.3-RELEASE FreeBSD 5.3-RELEASE #5: Mon Nov 22
11:31:43 CST 2004     root at
freebsd.home:/usr/src/sys/i386/compile/ME6000  i386

5.3-RELEASE  dmesg output:

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #5: Mon Nov 22 11:31:43 CST 2004
    root at freebsd.home:/usr/src/sys/i386/compile/ME6000
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: VIA C3 Samuel 2 (599.71-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x673  Stepping = 3
  Features=0x803035<FPU,DE,TSC,MSR,MTRR,PGE,MMX>
...<skipping some>...
bktr0: <BrookTree 878> mem 0xde003000-0xde003fff irq 10 at device 20.0 on
pci0
bktr0: [GIANT-LOCKED]
smbus0: <System Management Bus> on bktr0
iicbb0: <I2C bit-banging driver> on bktr0
iicbus0: <Philips I2C bus> on iicbb0 master-only
bktr0: Card has no configuration EEPROM. Cannot determine card make.
bktr0: Pinnacle/Miro TV.
pci0: <multimedia> at device 20.1 (no driver attached)
...<skipping some>...


> sysctl -a|grep bt848

<118>hw.bt848.card:
<118>hw.bt848.tuner:
hw.bt848.card: 2
hw.bt848.tuner: 9
hw.bt848.reverse_mute: -1
hw.bt848.format: -1
hw.bt848.slow_msp_audio: -1


5.3-RELEASE  pciconf -vl output:

bktr0 at pci0:20:0:        class=0x040000 card=0x00000000 chip=0x036e109e
rev=0x11 hdr=0x00
    vendor   = 'Brooktree Corporation'
    device   = 'Bt878 MediaStream Controller'
    class    = multimedia
    subclass = video
none1 at pci0:20:1:        class=0x048000 card=0x00000000 chip=0x0878109e
rev=0x11 hdr=0x00
    vendor   = 'Brooktree Corporation'
    device   = 'Bt878/Fusion878A Video Capture (Audio Section)'
    class    = multimedia
none2 at pci1:0:0: class=0x030000 card=0x31221106 chip=0x31221106 rev=0x03
hdr=0x00

    vendor   = 'VIA Technologies Inc'
    device   = 'VT8623 Apollo CLE266 CastleRock AGP 8X Controller'
    class    = display
    subclass = VGA


5.3-RELEASE  kernel diffs from GENERIC:

device		sound
device		bktr
options		BKTR_USE_FREEBSD_SMBUS
options		OVERRIDE_TUNER=4
options		BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
device		smbus		# Bus support, required for smb below.
device		iicbus		# Bus support, required for ic/iic/iicsmb below.
device		iicbb


More information about the freebsd-multimedia mailing list