multimedia/pvrxxx iicbus patch not applying on a recent 6.2-STABLE

Kevin Downey redchin at gmail.com
Wed Sep 12 16:11:44 PDT 2007


the multimedia/pvrxxx port is not update.
http://usleepless.110mb.com/pvrxxx_port.tgz doesn't even require the
files from the cards drive cd. This is really cool, but the
patch-iicbb doesn't cleanly apply the patches. I replaced my
/sys/dev/iicbus with one from a 6.2-RELEASE system and then the patch
applied and everything built and the kmod loads but I am unable to
change channels. There are no error messages output and I can crash
the machine by running pvr250-setchannel -m 1

this is a haugpauge 150
possibly related dmesg output

cxm0: <Conexant iTVC16 MPEG Coder> mem 0xf8000000-0xfbffffff irq 17 at
device 9.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
<2>tveeprom: ivtv version
<2>tveeprom: Hauppauge: model = 26582, rev = E6B2, serial# = 9784309
<2>tveeprom: tuner = TCL M2523_5N_E (idx = 112, type = 50)
<2>tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
<2>tveeprom: audio processor = CX25843 (type = 25)
<2>tveeprom: decoder processor = CX25843 (type = 1e)
tuner type: 50
cxm0: Eeprom NTSC
tuner: type set to 50 (TCL 2002N) by cxm
tuner: switching to v4l2
could not start iic bus
probed 54
probed 136
probed 160
probed 194
<2>tda 0-0000: i2c i/o error: rc == 2 (should be 4)
could not start iic bus
probed 54
probed 136
probed 160
probed 194
<2>tda 0-0000: i2c i/o error: rc == 2 (should be 4)
before tuner_command!
tuner: tv freq set to 61.25
tuner: tv 0x06 0xb0 0x8e 0x01
could not start iic bus
probed 54
probed 136
probed 160
probed 194
<2>tda 0-0000: i2c i/o error: rc == 2 (should be 4)
<2>cxm 0-0000: Video signal:              present
<2>cxm 0-0000: Detected format:           NTSC-M
<2>cxm 0-0000: Detected audio mode:       mono
<2>cxm 0-0000: Detected audio standard:   BTSC
<2>cxm 0-0000: Audio muted:               yes
<2>cxm 0-0000: Audio microcontroller:     running
<2>cxm 0-0000: Configured audio standard: automatic detection
<2>cxm 0-0000: Configured audio system:   BTSC
<2>cxm 0-0000: Specified standard:        NTSC-M
<2>cxm 0-0000: Specified input:           Tuner
<2>cxm 0-0000: Specified audio input:     Tuner
<2>cxm 0-0000: Specified audioclock freq: 48 kHz
<2>cxm 0-0000: Preferred audio mode:      stereo
cxm0: [FAST]
cxm0: encoder firmware version 0x2060039


...
cxm0: encoder dma not enough buffer space free
cxm0: encoder dma not already in progress
could not start iic bus
probed 54
probed 136
probed 160
probed 194
<2>tda 0-0000: i2c i/o error: rc == 2 (should be 4)
done waiting for cx25840 = 36
mmmmmmmmmmmmmmmmmmsmmmmmmmmmmmmmmmmm
cxm0: encoder dma not enough buffer space free
cxm0: encoder dma not already in progress
...

The picture is great, but the tuner defaults to some sports channel
which is not something I am interested in watching. Thanks for all
your work.
-- 
I am the kwisatz haderach


More information about the freebsd-multimedia mailing list