#linuxtv 2015-11-20,Fri

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
merbananwhat tools should I use to test pid filter support when developing a driver ? [01:38]
............................... (idle for 2h30mn)
***book`_ has quit IRC (Ping timeout: 244 seconds) [04:08]
.................................................................................................................................................................................. (idle for 14h48mn)
merbananhow do I trigger .read_signal_strength calls in a driver ? [18:56]
................... (idle for 1h34mn)
cropemerbanan: calling some ioctl which is likely very near that callback name [20:30]
merbanancrope: are there any existing tools ? [20:30]
cropemerbanan: but it is all legacy dvbv3 api - new dvbv5 api uses different call
merbanan: tzap, czat, szap, femon
dvbv5-zap does not use that old method
[20:30]
merbananok [20:31]
cropegood dvbv5 example is si2157 driver. and dvbv5-zap then shows signal strenght value [20:33]
merbanancrope: ok, I've restarted working on the astrometa stick [20:34]
cropemerbanan: thats how pctv 292e reports http://pastebin.com/EJxu3mek
as you can see also how pids are listed
Lock (0x1f) Signal= -59.00dBm C/N= 34.75dB
signal and cnr
[20:36]
merbananok, I implemented the old v3 api
thought something would use it anyway
crope: I have a working fix for the firmware loading issue and then I need to fix the pid filter
[20:37]
cropesignal strenght is calculated by tuner driver (from different agc gains). so it should really go there. demod could estimate it very poorly, only limited resolution from IF [20:38]
merbananwell for the nm88472 the agc (signal strenght) is just 2 8 bit regs
crope: how did you test the pid filters code ?
for dvbv5 that is
[20:40]
....... (idle for 32mn)
mchehabcroppe, dvbv5 tools use the old method if you tell it to do it
crope: there's a command line fo rit
s/fo rit/for it/
Usage: dvbv5-zap [OPTION...]
<channel name> [or <frequency> if in monitor mode]
DVB zap utility
-3, --dvbv3 Use DVBv3 only
...
the option is there to test legacy drivers
[21:13]
........ (idle for 39mn)
cropemchehab: ok, didnt noticed that earlier
merbanan: which kind of fw loading fix?
[21:53]
merbananmchehab: does libdvdv5 filter the ts stream if the hardware doesn't have pid filter support
crope: failure to load firmware
[21:55]
cropemerbanan: I assume those 2 agc registers are IF and RF AGC feedbacks [21:55]
merbanansomething like that [21:56]
cropemerbanan: does it still fail for some i2c error? [21:56]
merbananmchehab: I patched dvb_set_pesfilter(fd, 0x2000, DMX_PES_OTHER to 0x1fff [21:57]
cropemerbanan: I test pid filter just tuning to some channel and then looked stream contains only those pids [21:58]
merbananI only got the 0x1fff pid but I never saw any calls in the driver to the pid functions [21:58]
cropetzap/dvbtraffic, dvbv5-zap --monitor [21:58]
merbanancrope: but I don't see any logs from the pid filter function [21:59]
cropepid 1fff is just for null padding stream [21:59]
merbananI know [21:59]
cropemerbanan: ok, you then dont use hw pid filters I think. just force hw pid filters [21:59]
merbananI'm just not able to trigger my code
or technically your code
[21:59]
cropemodprobe dvb_usb_v2 force_pid_filter_usage=1 [22:00]
merbanancrope: I don't see any i2c errors, with a few exceptions
when the rtl28xx powers down the rtl2832 pll's
when loading the firmware
I just added a retry on the firmware load and now I can reliably always load it on first tune
is there a way to say that a certain adapter needs pid filters to work properly ?
[22:01]
cropedoes it need?
you could set DVB_USB_ADAP_NEED_PID_FILTERING
[22:04]
merbananwell some guy reported that his qam256 muxes maxed out the usb bandwidth
I have a 6-7Mbit 0x1fff pid on my network
[22:06]
cropeif whole qam256 mux is out of usb bw, then there must be very many devices streaming same time
usb having no other devices streaming helps
[22:07]
merbananI guess that filtering away that pid takes down the bw to a working limit
sorry I meant the bridge bw limit
rtl28xx hardware limit
I guess it is close to max dvb-t limit
[22:08]
cropehave you tested it?
IIRC qam256 worked fine last time I tested it
[22:09]
merbananactually worked for me
the report I got was from a user that tested it on windows where it worked
but got dropouts under linux
[22:12]
cropeI suspect it is still some other issue
I should test maximum possible bw using modulator to see if there is really some limit
[22:18]
merbanandvb-t2 has 50 Mbit/s
might be for some of those modes
[22:19]
................ (idle for 1h16mn)
yey got hits in the pid code [23:36]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)