Attached is a frontend driver for the VSB/QAM J83 AnnexB demodulator used on the B2C2/BBTI Air2PC ATSC card. If there are any issues with the coding standard or anything please let me know. I have not included an azap application yet as I have not had time to properly write anything other than a hacked up verison of tzap.. I can clean up the azap app I have now and package it up in a few days, but until then here is the frontend driver. Attached are the following files: nxt2002-firmware.c - this is a basic application to extract the firmware from the windows drivers. This can be obtained from http://www.bbti.us/download/windows/Broadband4PC_4_2_11.zip. I do not want to include the firmware because of the broken laws in the US JUST in case. It should be obvious what to do. nxt2002.c - the actual frontend driver. It currently only supports VSB mode as I do not have digital cable to test this with. I will try and test this out at a friends house, or just subscribe to digital cable myself and add support for it in the coming weeks. nxt2002.h - header file nxt2002.patch - patch against current dvb-kernel tree of modifications necessary to support atsc/vsb tuning, plus init of the nxt2002 from the skystar2 module. Other notes: I made the new tuning struct for atsc is very simple as all that I am aware that is required is a frequency and a modulation type, if I am wrong please let me know. I added a define called DVB_API_VERSION_MINOR 1 so that it was easier to compile applications for ATSC against versions of the linuxdvb api that do not have the ATSC defines. If there is a prefered way of doing this please let me know, or make the necessary changes. I have also not added enum values for the QAM used in the US as I didn't get a clear determination as to what naming scheme anyone prefered, and since the driver doesnt support them I figured this could wait. I was thinking QAMJ83B_256. I have tested this frontend driver for most of the weekend and have already added some support for it in the mythtv dvb patchs I have been working on. I was able dump psip tables with dvbsnoop, scan the tvct, and record some hdtv content in mythtv, so all looks good as far as I can tell. Please feel free to comment on the code, and I am very excited to finally bring ATSC support to a real digital television API. Taylor Jacob
Attachment:
nxt2002-firmware.c
Description: Binary data
Attachment:
nxt2002.c
Description: Binary data
Attachment:
nxt2002.h
Description: Binary data
Attachment:
nxt2002.patch
Description: Binary data