Date: Wed, 11 Oct 2006 20:32:29 +0200 From: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> To: freebsd-multimedia@freebsd.org Subject: Re: New port: pvrxxx for Hauppauge PVR150/500 Message-ID: <20061011203229.d7bdb9ec.torfinn.ingolfsen@broadpark.no> In-Reply-To: <c39ec84c0610111031r7627b13buf9d0dc590b4bf396@mail.gmail.com> References: <c39ec84c0610100932p6f658016u5ba41d02c4f2c471@mail.gmail.com> <20061011191533.d8be71da.torfinn.ingolfsen@broadpark.no> <c39ec84c0610111031r7627b13buf9d0dc590b4bf396@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Oct 2006 19:31:44 +0200 usleepless@gmail.com wrote: > i think this is addressed in the kernel patches ( originating from the > pvr250 port). did you do a "make patch-iicbb" ? Aha, I knew it was something I forgot. I have the necessary device declarations in my kernel config file from an earlier round with the pvr250 driver, and then I had a brainfart and though that I didn't need to recompile my kernel. But of course I have cvsup'ed the source in the meantime, removing the patches. Doh! Perhaps it would be better if the instructions in the pkg-message file was shown before the port fails to compile? (If that is possible) > i believe you need to recompile your kernel as well. Doing so as I am writing this, let's see... Ok, I'll try to remember that "make patch-iicbb" is needed. BTW, should we try to get this into the standard iicbb driver? Anyways, after recompiling my kernel, the port now builds. I did 'kdlload cxm_iic' - ok I did 'kldload cxm' - my machine was totally unresponsive for 2 -3 seconds, and that was very scary, but after that is seems like everything is normal again. Output from /var/log/messages related to cxm: Oct 11 20:07:07 kg-quiet kernel: cxm0: <Conexant iTVC15 MPEG Coder> mem 0xf8000000-0xfbffffff irq 20 at device 0.0 on pci2 Oct 11 20:07:07 kg-quiet kernel: cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controller> on cxm0 Oct 11 20:07:07 kg-quiet kernel: iicbb0: <I2C bit-banging driver> on cxm_iic0 Oct 11 20:07:07 kg-quiet kernel: iicbus0: <Philips I2C bus> on iicbb0 master-only Oct 11 20:07:07 kg-quiet kernel: tuner code 57 Oct 11 20:07:07 kg-quiet kernel: tuner_type = 4 Oct 11 20:07:07 kg-quiet kernel: cxm0: Philips FM1216ME MK3 tuner Oct 11 20:07:07 kg-quiet kernel: <3>cxm 0-0000: firmware /lib/modules/v4l-cx25840.fw load failed Oct 11 20:07:07 kg-quiet kernel: <2>cxm debug 0-0000: decoder set input (0) Oct 11 20:07:07 kg-quiet kernel: <2>cxm debug 0-0000: now setting Tuner input Oct 11 20:07:07 kg-quiet kernel: <2>cxm debug 0-0000: set audio input (0) Oct 11 20:07:07 kg-quiet kernel: <2>cxm debug 0-0000: set audio input (0) Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: could not start iic bus Oct 11 20:07:07 kg-quiet kernel: probed 48 Oct 11 20:07:07 kg-quiet kernel: probed 66 Oct 11 20:07:07 kg-quiet kernel: probed 128 Oct 11 20:07:07 kg-quiet kernel: probed 134 Oct 11 20:07:07 kg-quiet kernel: probed 136 Oct 11 20:07:07 kg-quiet kernel: probed 160 Oct 11 20:07:07 kg-quiet kernel: probed 194 Oct 11 20:07:07 kg-quiet kernel: cxm0: Eeprom PAL Oct 11 20:07:07 kg-quiet kernel: <2>tda 0-0000: switching to v4l2 Oct 11 20:07:07 kg-quiet kernel: <2>tda 0-0000: configure for: PAL-BG Oct 11 20:07:07 kg-quiet kernel: <2>tda 0-0000: writing: b=0xd4 c=0x70 e=0x09 Oct 11 20:07:07 kg-quiet kernel: <2>tda 0-0000: read: 0x11 Oct 11 20:07:07 kg-quiet kernel: <2>tda 0-0000: after power on : yes Oct 11 20:07:07 kg-quiet kernel: <2>tda 0-0000: afc : +187.5 kHz [max] Oct 11 20:07:07 kg-quiet kernel: <2>tda 0-0000: fmif level : low Oct 11 20:07:07 kg-quiet kernel: <2>tda 0-0000: afc window : out Oct 11 20:07:07 kg-quiet kernel: <2>tda 0-0000: vfi level : low Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Video signal: not present Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Detected format: 0x0 Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Detected audio mode: mono Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Detected audio standard: not defined Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Audio muted: no Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Audio microcontroller: stopped Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Configured audio standard: undefined Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Configured audio mode: MONO1 (LANGUAGE A/Mono L+R channel for BTSC, EIAJ, A2) Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Specified standard: automatic detection Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Specified input: Tuner Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Specified audio input: Tuner Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Specified audioclock freq: 48 kHz Oct 11 20:07:07 kg-quiet kernel: <2>cxm 0-0000: Preferred audio mode: mono/language A Oct 11 20:07:07 kg-quiet kernel: cxm0: [GIANT-LOCKED] Oct 11 20:07:07 kg-quiet kernel: cxm0: encoder firmware version 0x2050032 Oct 11 20:07:07 kg-quiet kernel: cxm0: decoder firmware version 0x2020023 ok, time for some testing. :-) -- Regards, Torfinn Ingolfsen, Norway
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061011203229.d7bdb9ec.torfinn.ingolfsen>