Date: Tue, 26 Dec 2006 16:11:36 +0100 From: usleepless@gmail.com To: "Josh Paetzel" <josh@tcbug.org> Cc: freebsd-multimedia@freebsd.org Subject: Re: Troubles with WinTV-PVR 150 Message-ID: <c39ec84c0612260711i2a12222ao4d4047e64940893c@mail.gmail.com> In-Reply-To: <200612252112.16751.josh@tcbug.org> References: <200612252112.16751.josh@tcbug.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Josh, List, On 12/26/06, Josh Paetzel <josh@tcbug.org> wrote: > Been trying to make a WinTV-PVR 150 go with FBSD 6.1-R-p11 > > Here's what I've done and where I'm at: > > added to kernel: > > device iicbus > device iicbb > device smbus > > make patch-iicbb in /usr/ports/multimedia/pvrxxx/ > > recompile kernel and boot into it > > Unzip the three following files out of cd-analogue-pvr-pci-26.zip: > > HcwMakoB.ROM (20 apr 2005 size 14264) > HcwMakoC.ROM (9 feb 2006 size 16382) > hcwPVRP2.sys (14 sep 2005 size 824512) > > and rename HcwMakoC.ROM -> HcwMakoA.ROM > > Move stuff to /usr/ports/distfiles, hack pvrxxx port's distinfo to use > the correct files and sizes and so forth. > > edit work/modules/cxm/cxm/fbsd-compat.c > #thef.size = 14264; > thef.size = 16382; > > installed multimedia/pvrxxx > > kldload cxm_iic > kldload cxm > > In dmesg: > > cxm0: <Conexant iTVC16 MPEG Coder> mem 0xdc000000-0xdfffffff irq 17 at > device 12.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 > tuner code 112 > cxm0: unknown tuner code 0x70 > tuner_type = -1 > cxm0: could not initialize tuner > iicbus0: detached > iicbb0: detached > cxm_iic0: detached > device_attach: cxm0 attach returned 6 > > edit cxm_eeprom.c and add > > case 0x70: > > recompile pvrxxx > > kldload cxm_iic and cxm again > > cxm0: <Conexant iTVC16 MPEG Coder> mem 0xdc000000-0xdfffffff irq 17 at > device 12.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 > tuner code 112 > tuner_type = 7 > cxm0: Philips FI1246 MK2 tuner > <2>cxm 0-0000: loaded /lib/modules/v4l-cx25840.fw firmware (14264 > bytes) > <2>cxm debug 0-0000: decoder set input (0) > <2>cxm debug 0-0000: now setting Tuner input > <2>cxm debug 0-0000: set audio input (0) > <2>cxm debug 0-0000: set audio input (0) > cxm0: Eeprom NTSC > <2>tda 0-0000: switching to v4l2 > <2>tda 0-0000: configure for: NTSC-M > <2>tda 0-0000: writing: b=0xd4 c=0x30 e=0x44 > could not start iic bus > probed 54 > probed 136 > probed 160 > probed 194 > probed 224 > probed 226 > probed 228 > probed 230 > <2>tda 0-0000: i2c i/o error: rc == 2 (should be 4) > read error > <2>tda 0-0000: i2c i/o error: rc == -215889125 (should be 1) > <2>tda 0-0000: read: 0x 0 > <2>tda 0-0000: after power on : no > <2>tda 0-0000: afc : - 12.5 kHz > <2>tda 0-0000: fmif level : low > <2>tda 0-0000: afc window : out > <2>tda 0-0000: vfi level : low > <2>cxm 0-0000: Video signal: not 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: [GIANT-LOCKED] > cxm0: encoder firmware version 0x2050032 > > pvr250-setchannel 30 > ioctl( tfd, BT848_GAUDIO ) failed.: Device not configured > > mplayer /dev/cxm0 > static in window > > and spams to dmesg: > device cxm0 opened > cxm0: encoder dma not enough buffer space free > cxm0: encoder dma not already in progress > cxm0: encoder dma not enough buffer space free > cxm0: encoder dma not already in progress > cxm0: encoder dma not enough buffer space free > cxm0: encoder dma not already in progress > cxm0: encoder dma not enough buffer space free > endlessly > > Any hints on where to go from here? you did a lot of thing _right. that's good. i need to check wether your choice for the tuner-type is correct ( will do in a moment ). my guess is that the "encoder dma not enough buffer space free" msgs will be gone if you run "mplayer -cache 4000 /dev/cxm0". if that is the case, your only problem seems to be tuning to the channel. try something like "pvr250-setchannel -a on -t -m X ( your choice ) 425.34". and doublecheck your cable. regards, usleep PS: there is something dodgy about your tuner, i am gonna check it now. > > -- > Thanks, > > Josh Paetzel >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c39ec84c0612260711i2a12222ao4d4047e64940893c>