[linux-dvb] [EXPERIMENTAL PATCH] Use nxt200x module on Air2PC r3 (Nxt2002 based) flexcop board

Boleslaw Ciesielski bolek-mythtv at curl.com
Sun Oct 30 02:46:45 CEST 2005


Mike Krufky wrote:
>> Would be nice for someone who has that card to test it with the new 
>> nxt200x driver.  In it's current state, the flexcop patch proposed by 
>> Kirk should do the trick.
>>
> Just to clarify, here is the patch that needs testing:
> 
> Signed-off-by: Kirk Lapray <kirk.lapray at gmail.com>

With this patch and the Air2PC (nxt2002) I cannot get a lock on any 
channels (it works with stock b2c2-flexcop-pci and also with the old 
skystar2):

$ azap WCVB
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 509000000 Hz
video pid 0x0031, audio pid 0x0034
status 00 | signal b770 | snr 5d8e | ber 00000000 | unc 00000000 |
status 00 | signal b780 | snr 5d5c | ber 00000000 | unc 00000000 |
status 00 | signal 7ad0 | snr 595a | ber 00000000 | unc 00000000 |
status 00 | signal dc00 | snr 7e3e | ber 00000000 | unc 00000000 |

Attached is the kernel log.

However, perhaps I don't know what I am doing in terms of working with 
the v4l/dvb cvs trees.

I started with vanilla 2.6.14 and then checked out v4l-kernel and 
dvb-kernel from CVS. Then I applied the flexcop patch and did

cd v4l-kernel
make merge-trees
make
make install

However this did not install any of the b2c2-flexcop* stuff (which is 
what I was supposed to test after all). Not sure what to do I did

cd ../dvb-kernel/build2.6
make
make modules_install

but this installed into the /lib/modules/2.6.14/extra, so I had to
manually remove old modules from the kernel tree.

Anyway, now lsmod shows this:

b2c2_flexcop_pci        6488  0
b2c2_flexcop           25036  1 b2c2_flexcop_pci
mt352                   5956  1 b2c2_flexcop
bcm3510                10116  1 b2c2_flexcop
stv0299                 9992  1 b2c2_flexcop
dvb_core               78056  2 b2c2_flexcop,stv0299
nxt200x                14276  1 b2c2_flexcop
firmware_class          8064  3 b2c2_flexcop,bcm3510,nxt200x
dvb_pll                 8644  2 b2c2_flexcop,nxt200x
stv0297_cs2            10884  1 b2c2_flexcop
lgdt330x                7452  1 b2c2_flexcop
mt312                   7492  1 b2c2_flexcop

and I don't think there are any old modules left so I think I got it 
right. But is there an easier way to compile and test v4l/dvb outside of 
kernel?

Bolek
-------------- next part --------------
Oct 29 20:19:33 congo kernel: [   62.332038] b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
Oct 29 20:19:33 congo kernel: [   62.359137] flexcop-pci: will use the HW PID filter.
Oct 29 20:19:33 congo kernel: [   62.359153] flexcop-pci: card revision 2
Oct 29 20:19:33 congo kernel: [   62.359177] PCI: Found IRQ 9 for device 0000:00:0e.0
Oct 29 20:19:33 congo kernel: [   62.405024] DVB: registering new adapter (FlexCop Digital TV device).
Oct 29 20:19:33 congo kernel: [   62.414399] b2c2-flexcop: MAC address = 00:d0:d7:02:54:25
Oct 29 20:19:33 congo kernel: [   62.417086] b2c2-flexcop: i2c master_xfer failed
Oct 29 20:19:33 congo kernel: [   62.621098] b2c2-flexcop: i2c master_xfer failed
Oct 29 20:19:33 congo kernel: [   62.621386] b2c2-flexcop: i2c master_xfer failed
Oct 29 20:19:33 congo kernel: [   62.621394] mt352_read_register: readreg error (reg=127, ret==-121)
Oct 29 20:19:33 congo kernel: [   62.621733] nxt200x: NXT2002 Detected
Oct 29 20:19:33 congo kernel: [   62.621739] b2c2-flexcop: found the nxt2002 at i2c address: 0x0a
Oct 29 20:19:33 congo kernel: [   62.621749] DVB: registering frontend 0 (Nextwave NXT200X VSB/QAM frontend)...
Oct 29 20:19:33 congo kernel: [   62.624304] b2c2-flexcop: initialization of 'Air2PC/AirStar 2 ATSC 2nd generation' at the 'PCI' bus controlled by a 'FlexCopIIb' complete
[...]
Oct 29 20:20:20 congo kernel: [  118.024828] nxt2002: Waiting for firmware upload (dvb-fe-nxt2002.fw)...
Oct 29 20:20:20 congo kernel: [  118.199750] nxt2002: Waiting for firmware upload(2)...
Oct 29 20:20:21 congo kernel: [  118.479020] nxt2002: Firmware upload complete
Oct 29 20:20:21 congo kernel: [  118.795938] nxt200x: Timeout waiting for nxt200x to stop. This is ok after firmware upload.
Oct 29 20:20:38 congo hald[2698]: Timed out waiting for hotplug event 919. Rebasing to 947


More information about the linux-dvb mailing list