Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Problem working with more than 4 cards...




I have 3 dvbt and 2 dvbs cards on my system, (working with devfs since yesterday, thanks to you guyz :) ).
To make the drivers work, I changed 2 things:

MAX_NUM_DVB from 4 to 6 (dvb.h)
SAA7146_MAX_DEVICES from 4 to 6 (saa7146_core.h)

Do not ask me why I change THESE 2 values... it seemed to me from their name, that they could have something to do with the numbers of cards supported, and I changed them. I do not know the drivers in detail, so if I changed them to wrong values be gentle with me... :)

The drivers load/unload correctly from memory, and the /dev/dvb/... device tree is created correctly, like below:


[root@server1 driver]# ls /dev/dvb/*
/dev/dvb/card0:
demux0  dvr0  frontend0  net0

/dev/dvb/card1:
demux0  dvr0  frontend0  net0

/dev/dvb/card2:
demux0  dvr0  frontend0  net0

/dev/dvb/card3:
demux0  dvr0  frontend0  net0  sec0

/dev/dvb/card4:
demux0  dvr0  frontend0  net0  sec0


So it's correct: 3 dvbt, and 2 dvbs.
The output of lsmod gives:

Module                  Size  Used by
dvb                   323344   0  (unused)
dvb_frontend            3536   0  [dvb]
dvb_demux              13264   5  [dvb]
saa7146_v4l            15232   0  (unused)
saa7146_core           14480   0  [dvb saa7146_v4l]
tuner                   4496   5
stv0299                 3136   2
tda8083                 2016   0  (unused)
SP8870                  2768   0  (unused)
L64781                  3728   3
VES1820                 3680   0  (unused)
VES1893                 3872   0  (unused)
dmxdev                  7616   5  [dvb]
dvb_filter              7568   0  [dvb]
videodev                5056   0  [dvb]
i2c-core               13600   0  [dvb dvb_frontend saa7146_core tuner stv0299 tda8083 SP8870 L64781 VES1820 VES1893]
dvb_net                 3168   0  [dvb]
dvbdev                  1920   5  [dvb]
af_packet              12560   0  (autoclean)
usb-uhci               21232   0  (unused)
usbcore                50752   1  [usb-uhci]
8139too                12704   1  (autoclean)
rtc                     5600   0  (autoclean)

AFAIK, this output seems corect.
Anyway... there is a problem.
Querying the drivers through the frontend device, I get in the FrontendInfo structure, in the .type field: 2 - four times and 0 - one time.
This means the drivers tell me I have 4 dvbt (2 - four times) and 1 dvbs (0 one time) cards, wich is wrong... (I have 3t and 2s)
Again, if I try to force the card which I know has to be dvbs instead of dvbt, I get error when I open the sec device (behaviour consistent with cards that aren't dvbs), even though that sec device exists in devfs.

Any suggestions from the driver developpers?
Maybe I changed the drivers files wrong or anything else (like irq conflicts) ??

Any reply would be appreciated...
Thanks,
Aurelian


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index