atom feed25 messages in org.freebsd.freebsd-multimediaHauppauge WinTV PVR 250 for FreeBSD 5.2
FromSent OnAttachments
John WehleMar 20, 2004 9:28 pm 
u431...@navab.netMar 21, 2004 6:16 am 
Andreas DahlénMar 21, 2004 2:18 pm 
John WehleMar 21, 2004 3:31 pm 
Julian ElischerMar 21, 2004 5:11 pm 
u431...@navab.netMar 22, 2004 10:00 am 
Christoph SchnaußMar 22, 2004 11:36 am 
John WehleMar 22, 2004 10:17 pm 
John WehleMar 22, 2004 10:17 pm 
John WehleMar 22, 2004 10:17 pm 
Andreas DahlénMar 23, 2004 4:09 am 
Christoph SchnaußMar 23, 2004 7:35 am 
u431...@navab.netMar 23, 2004 1:28 pm 
Tim AslatMar 25, 2004 4:37 pm 
Torfinn IngolfsenMar 26, 2004 5:22 am 
Andreas DahlénMar 26, 2004 5:41 am 
Christoph SchnaußMar 26, 2004 5:58 am 
John WehleMar 27, 2004 11:33 am 
Andreas DahlénMar 27, 2004 11:43 am 
John WehleMar 27, 2004 11:44 am 
John WehleMar 27, 2004 12:42 pm 
John WehleMar 27, 2004 5:43 pm 
John WehleMar 27, 2004 6:15 pm 
Michael ClassMar 28, 2004 8:38 am 
Christoph SchnaußMar 28, 2004 11:00 am 
Subject:Hauppauge WinTV PVR 250 for FreeBSD 5.2
From:u431...@navab.net (u431@navab.net)
Date:Mar 21, 2004 6:16:54 am
List:org.freebsd.freebsd-multimedia

FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 ro@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