Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jan 2014 21:50:35 +0000
From:      Dom F <misc-freebsd@talk2dom.com>
To:        freebsd-multimedia@freebsd.org
Subject:   pvrxxx port on FreeBSD 9.2?
Message-ID:  <52CB252B.8070700@talk2dom.com>
In-Reply-To: <mailman.0.1389044520.77595.freebsd-multimedia@freebsd.org>
References:  <mailman.0.1389044520.77595.freebsd-multimedia@freebsd.org>

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

Is anyone using the multimedia/pvrxxx port on FreeBSD 9.2? I tried to 
build the port and ran into several problems.

After much Google searching I now have cxm and cxm_iic kernel modules. 
They load but the I2C aspect doesn't seem to work.

The PCI card I'm using is an AverMedia AverTv M113 based on the Conexant 
CX23416.

pciconf says:

none2@pci0:1:6:0:       class=0x040000 card=0xc01a1461 chip=0x00164444 
rev=0x01 hdr=0x00
     vendor     = 'Internext Compression Inc'
     device     = 'iTVC16 (CX23416) MPEG-2 Encoder'
     class      = multimedia
     subclass   = video

When I do "kldload cxm", the following appears in /var/log/messages:

Jan  6 21:19:02 hairball kernel: cxm0: <Conexant iTVC16 MPEG Coder> mem 
0xf4000000-0xf7ffffff at device 6.0 on pci1
Jan  6 21:19:02 hairball kernel: cxm_iic0: <Conexant iTVC15 / iTVC16 I2C 
controller> on cxm0
Jan  6 21:19:02 hairball kernel: iicbb0: <I2C bit-banging driver> on 
cxm_iic0
Jan  6 21:19:02 hairball kernel: iicbus0: <Philips I2C bus> on iicbb0 
master-only
Jan  6 21:19:02 hairball kernel: could not init tuner
Jan  6 21:19:02 hairball kernel: cxm0: could not initialize tuner
Jan  6 21:19:02 hairball kernel: iicbus0: detached
Jan  6 21:19:02 hairball kernel: iicbb0: detached
Jan  6 21:19:02 hairball kernel: cxm_iic0: detached
Jan  6 21:19:02 hairball kernel: device_attach: cxm0 attach returned 6

I can't seem to find anyone else having a "could not init tuner" error. 
 From some debugging it looks like the failing function call is:

iicbus_start(iicbus, i2c_addr, CXM_I2C_TIMEOUT) in cxm_eeprom_read() 
inside dev/cxm/cxm_eeprom.c

Does anyone have any ideas where to go from here?

Thanks,

Dominic



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52CB252B.8070700>