Date: Sun, 21 Mar 2004 15:17:05 +0100 From: u431839553@navab.net To: freebsd-multimedia@freebsd.org Subject: Re: Hauppauge WinTV PVR 250 for FreeBSD 5.2 Message-ID: <405DA3E1.2070805@navab.net> In-Reply-To: <200403210528.i2L5SOv13936@jwlab.FEITH.COM> References: <200403210528.i2L5SOv13936@jwlab.FEITH.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004
root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
Followed the steps, the patch rejected:
iicbb.c.rej:
***************
*** 340,344 ****
}
DRIVER_MODULE(iicbb, bti2c, iicbb_driver, iicbb_devclass, 0, 0);
DRIVER_MODULE(iicbb, lpbb, iicbb_driver, iicbb_devclass, 0, 0);
DRIVER_MODULE(iicbb, viapm, iicbb_driver, iicbb_devclass, 0, 0);
--- 361,366 ----
}
DRIVER_MODULE(iicbb, bti2c, iicbb_driver, iicbb_devclass, 0, 0);
+ DRIVER_MODULE(iicbb, cxm_iic, iicbb_driver, iicbb_devclass, 0, 0);
DRIVER_MODULE(iicbb, lpbb, iicbb_driver, iicbb_devclass, 0, 0);
DRIVER_MODULE(iicbb, viapm, iicbb_driver, iicbb_devclass, 0, 0);
I replaced the three DRIVER_MODULE lines in iicbb.c with the four
DRIVER_MODULE lines from iicbb.c.rej, did the cxm_extract_fm stuff,
rebuilt the kernel etc.
When I load the modules, I get:
cxm0: <Conexant iTVC16 MPEG Coder> mem 0xc8000000-0xcbffffff irq 21
at device 11.0 on pci3
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: LG Innotek TPI8PSB11D tuner
cxm0: SAA7115 rev 1 video decoder
cxm0: MSP3415G-B8 audio decoder
cxm0: IR Remote
cxm0: encoder firmware version 0x2040011
No decoder firmware version. When I try cat /dev/cxm0 > file.mpg I get
"cat: /dev/cxm0: Device not configured" and dmesg says "cxm0: video
decoder isn't locked".
From my Linux box:
tvee: Hauppauge: model=32034, rev=B148, serial#=6914446
tvee: tuner=LG TP18PSB11D (idx=48, type=29)
tvee: tuner fmt=PAL(B/G) (eeprom=0x04, v4l2=0x00000007)
tvee: audio_processor=MSP3415 (type=6)
>[ This is the Mar 20, 2004 snapshot of my source tree. Included are
> changes to support some more ioctls and various PAL tuners. ]
>
>To use the Hauppauge PVR-250 / 350 on FreeBSD 4.9 / 5.2:
>
> 1) Use patch to apply Patch.iicbb so cxm can use the i2c bus and
> avoid a crash when unloading.
>
> 2) Unshar the enclosed archive into /sys.
>
> 3) Place a current version of hcwpvrp2.sys from the
> Hauppauge drivers into /sys/dev/cxm. Extract the
> the firmware by:
>
> # cd /sys/dev/cxm
> # cc -o cxm_extract_fw cxm_extract_fw.c
> # ./cxm_extract_fw hcwpvrp2.sys
>
> 4) Rebuilt your kernel with:
>
> device iicbus
> device iicbb
>
> as part of the configuration.
>
> 5) Install the new kernel and reboot.
>
> 6) Make and install the cxm driver by:
>
> # cd /sys/modules/cxm
> # make
> # cp cxm/cxm.ko cxm_iic/cxm_iic.ko /modules
> # kldload cxm_iic
> # kldload cxm
>
> At which point your console should say something like:
>
> cxm0: <Conexant iTVC15 MPEG Coder> mem 0xd8000000-0xdbffffff irq 12
> at device 10 .0 on pci0
> cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controller> on cxm0
> iicbb0: <I2C bit-banging driver> on cxm_iic0
> cxm0: Philips FI1236 MK2 tuner
> cxm0: SAA7115 rev 1 video decoder
> cxm0: MSP3435G-B6 audio decoder
> cxm0: IR Remote
> cxm0: encoder firmware version 0x2040011
> cxm0: decoder firmware version 0x2020023
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?405DA3E1.2070805>
