====== DVB-T Card Hauppauge WinTV-HVR 1300 ====== The card is based on the Conexant-chip. This chip is supported by CX88 drivers. Installation and following HowTo was testet and written in the configuration: Hauppauge WinTV-HVR 1300 Chip: Conexant Tuner Modul: Philips FMD1216MEX Decoder: CX882 FreeBSD 7.1-BETA2 -------------------------------------------------------------------------------- ===== Compiling of driver and libtuner ===== As root compile the driver modules from port via # cd /usr/ports/multimedia/cx88 # make install clean Make generates following kernel modules in /boot/modules and displays that at the end of a correct translation: * cx88.ko * cx88video.ko * iicdev.ko * iicbus.ko * cx88i2c.ko * cx88audio.ko * cx88mpeg.ko * cx88ir.ko CX88 requires libtuner. So compile /usr/ports/multimedia/libtuner in the same standard procedure. -------------------------------------------------------------------------------- ===== Installing modules ===== **else:** load all modules after every system boot manually step by step, # kldload cx88 then with # kldstat check: should display cx88.ko in the list. # kldload cx88video load besides cx88video.ko also iicdev.ko iicbus.ko cx88i2c.ko then with # kldstat check: should display the modules in the list. # kldload cx88audio # kldload cx88mpeg # kldload cx88ir then check with # kldstat All modules should be dispayed in the list. **or:** add to /boot/loader.conf for automatic loading at system boot cx88_load="YES" cx88video_load="YES" cx88audio_load="YES" cx88mpeg_load="YES" cx88ir_load="YES" The modules iicdev.ko, iicbus.ko und cx88i2c.ko don't have to be included as they are loaded automatically by cx88video. -------------------------------------------------------------------------------- ===== Check tetection of devices ===== # pciconf -lv should display detection of three devices cx88video0@pci0:4:3:0: class=0x040000 card=0x96010070 chip=0x880014f1 rev=0x05hdr=0x00 vendor = 'Conexant Systems, Inc.' device = '23880 Conexant 23880 Video Capture (NTSC)' class = multimedia subclass = video cx88audio0@pci0:4:3:1: class=0x048000 card=0x96010070 chip=0x881114f1 rev=0x05hdr=0x00 vendor = 'Conexant Systems, Inc.' device = 'CX2388x TV Capture Chip' class = multimedia cx88mpeg0@pci0:4:3:2: class=0x048000 card=0x96010070 chip=0x880214f1 rev=0x05hdr=0x00 vendor = 'Conexant Systems, Inc.' device = 'CX2388x TV Capture Chip' class = multimedia and in /var/log/messages should be at the end of entries Nov 25 14:09:15 freebsd kernel: cx88video0: <Conexant CX2388x Analog Video> mem 0xd9000000-0xd9ffffff irq 19 at device 3.0 on pci4 Nov 25 14:09:15 freebsd kernel: iicbus0: <Philips I2C bus> on cx88video0 Nov 25 14:09:15 freebsd kernel: iicbus0: <unknown card> at addr 0 Nov 25 14:09:15 freebsd kernel: iicbus0: <unknown card> at addr 0 Nov 25 14:09:15 freebsd kernel: cx88video0: [FILTER] Nov 25 14:09:15 freebsd kernel: cx88video0: [FILTER+ITHREAD] Nov 25 14:09:15 freebsd kernel: cx88audio0: <Conexant CX2388x Analog Audio> mem 0xda000000-0xdaffffff irq 19 at device 3.1 on pci4 Nov 25 14:09:15 freebsd kernel: iicbus1: <Philips I2C bus> on cx88audio0 Nov 25 14:09:15 freebsd kernel: iicbus1: <unknown card> at addr 0 Nov 25 14:09:15 freebsd kernel: iicbus1: <unknown card> at addr 0 Nov 25 14:09:15 freebsd kernel: cx88audio0: [FILTER] Nov 25 14:09:15 freebsd kernel: pcm1: <CX2388x PCM interface> on cx88audio0 Nov 25 14:09:15 freebsd kernel: cx88audio0: [FILTER+ITHREAD] Nov 25 14:09:15 freebsd kernel: cx88mpeg0: <Conexant CX2388x MPEG Transport Stream> mem 0xdb000000-0xdbffffff irq 19 at device 3.2 on pci4 Nov 25 14:09:15 freebsd kernel: iicbus2: <Philips I2C bus> on cx88mpeg0 Nov 25 14:09:15 freebsd kernel: iicbus2: <unknown card> at addr 0 Nov 25 14:09:15 freebsd kernel: iicbus2: <unknown card> at addr 0 Nov 25 14:09:15 freebsd kernel: cx88mpeg0: [FILTER] Nov 25 14:09:15 freebsd kernel: cx88mpeg0: [FILTER+ITHREAD] -------------------------------------------------------------------------------- ===== Scanning and capturing with cx88 ===== CX88 provides besides the drivers a small program for scanning and capturing, which enables interactive functionalities. with # cx88 -help options can be diyplayed. A manual or documentation is not available at the point in time when writing this small HowTo and is in working progress by the developer. Scanning in interactive mode with the command: # cx88 -d /dev/cx88mpeg0 -c DVBT_EU_UHF:46 -f ~/capture.m2t -x /usr/local/share/examples/cx88/cx88.xml.sample Attention: "DVBT_EU_UHF" is important here, because otherwise scan goes in default US-Mode "ATSC". Behind, separated by ":", the channel number. Channel 46 is in the tested case a channel number from the listing of the local DVB-T radio station, here the beautiful Bavarian Radio. ;-) After command release nothing is happening at the first glance, but: with entering of "s" a scan can be initiated interactively, a signal strenght can be set, and the scan be watched. That looks similar to: # cx88 -d /dev/cx88mpeg0 -c DVBT_EU_UHF:46 -f ~/capture.m2t -x /usr/local/share/examples/cx88/cx88.xml.sample # s Enter signal strength threshold: # 30 Scanning profile DVBT_EU_UHF . . . . 25 (50.0008%) . . . . . . . . . . 36 (50.0008%) . . . . . . . . . 46 (100%) . . . . . . . . . . . . . . . . . . . . . . . Finished scan. # q "q" ends interactive mode. Capturing in non-interactive mode with the command: # cx88 -d /dev/cx88mpeg0 -c DVBT_EU_UHF:46 -f ~/capture.m2t -x /usr/local/share/examples/cx88/cx88.xml.sample -n 2 With option -n in this case 2 minutes are captured and written to a file capture.m2t. Can then be viewed with VLC for example. --------------------------------------------------------------------------------