Hauppauge PVR-250 with unknown tuner

Michael Lea mlea.lists at gmail.com
Mon Sep 27 13:37:03 PDT 2004


I'm trying to make a Hauppauge WinTV PVR-250 work with FreeBSD 5.2.1.
I've compiled the drivers that John Wehl posted to the list in March,
but when I "kldload cxm", I get this on the console:

cxm0: <Conexant iTVC16 MPEG Coder> mem 0xec000000-0xefffffff irq 10 at
device 16.0 on pci0
cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controller> on cxm0
iicbb0: <I2C bit-banging driver> on cxm_iic0
iicbus0: <Philips I2C bus> on iicbb0 master-only
cxm0: unknown tuner code 0x52
cxm0: could not initialize tuner
iicbus0: detached
iicbb0: detached
cxm_iic0: detached
device_probe_and_attach: cxm0 attach returned 6

The sticker on the tuner says "NTSC / NTSC-J   32032   Rev B182".

Google turned up a similar problem to mine on the Linux ivtv list...
it looks like my tuner is an LG TAPC-H791F (although I haven't yet
looked under the Hauppauge sticker to confirm this). I tried adding
the new tuner to John's drivers using the Linux drivers as a model.
This is the bit I added to cxm_tuner.c (I also added appropriate bits
to cxm.h & cxm_eeprom.c):

        { "LG Innotek TAPC-H791F", 55250, 801250,
                { { 450000, { 0x8e, 0x30 } },
                  { 170000, { 0x8e, 0x90 } },
                  { 48250, { 0x8e, 0xa0 } } },
                0, 0,
                { 0, { 0x00, 0x00 } },
                { &us_air_channels, &us_cable_channels } }

This got the driver to load properly, but now I get these errors:

# setchannel -t 2
ioctl( tfd, METEORSINPUT ) failed.: Invalid argument
ioctl( tfd, TVTUNER_SETCHNL ) failed.: Invalid argument
# cat /dev/cxm0 >tmp.mpg
cat: /dev/cxm0: Device not configured

Any suggestions? Thanks in advance.

- Mike

-- 
It will not follow that everything must be suppressed which may be
abused... if all those useful inventions that are liable to abuse
should therefore be concealed, there is not any Art or Science which
may be lawfully professed.      -- Bishop John Wilkins, 1641


More information about the freebsd-multimedia mailing list