Re: Data loss with usb dvb tuners that is "fixed" by spinning a cpu - how to debug?

2015-07-05 Thread Andy Furniss
Alan Stern wrote: Is 0u the wrong thing to do? It depends on what you want. If you want complete details (all the packets, all the data) then you need to use the binary interface, i.e., wireshark or dumpcap. But if it helps to know that roughly one packet in every four is received with lengt

Re: Data loss with usb dvb tuners that is "fixed" by spinning a cpu - how to debug?

2015-07-05 Thread Andy Furniss
Alan Stern wrote: By comparing the arrival times of the packets. usbmon will tell you exactly which microframe an isochronous packet was scheduled for, if you understand its output. If there are any gaps in the isochronous stream, you'll be able to see them. Ok, so I found https://www.kernel

Re: Data loss with usb dvb tuners that is "fixed" by spinning a cpu - how to debug?

2015-07-01 Thread Andy Furniss
Alan Stern wrote: Whether or not the loss is in both "places" further analysis would be step 2 - but I have no idea how I would match the relatively rare and small losses with usbmon events. By comparing the arrival times of the packets. usbmon will tell you exactly which microframe an isochr

Re: Data loss with usb dvb tuners that is "fixed" by spinning a cpu - how to debug?

2015-07-01 Thread Andy Furniss
Alan Stern wrote: Of course I disabled USB3 in bios to get ehci - is there a way with bios still in this state, to force xhci again for the usb2 ports? The BIOS uses "USB3" rather imprecisely as a synonym for "xHCI". So you are asking if there is a way to use xHCI while telling the BIOS to tu

Re: Data loss with usb dvb tuners that is "fixed" by spinning a cpu - how to debug?

2015-07-01 Thread Andy Furniss
Tom Yan wrote: Not sure if it's relevant at all, but Iong time ago I had a pci-e dtv tuner which requires c-state to be disabled in BIOS (workaround officially suggested by its vendor) to work. That's something I could try, though TBH as I bought this board to be always on but low power, not so

Re: Data loss with usb dvb tuners that is "fixed" by spinning a cpu - how to debug?

2015-07-01 Thread Andy Furniss
Andy Furniss wrote: Andy Furniss wrote: Hi I recently set up a Asrock Q1900DC-itx Intel baytrail board as a router/nas/pvr. It has 2 usb dvb T/T2 tuners attached - pctv 290e and 292e. When running them I am getting lost dvb packets which are detected as lost via dvbs continuity counters. Have

Re: Data loss with usb dvb tuners that is "fixed" by spinning a cpu - how to debug?

2015-06-15 Thread Andy Furniss
Andy Furniss wrote: Hi I recently set up a Asrock Q1900DC-itx Intel baytrail board as a router/nas/pvr. It has 2 usb dvb T/T2 tuners attached - pctv 290e and 292e. When running them I am getting lost dvb packets which are detected as lost via dvbs continuity counters. Have tried 3.18.14, and

Data loss with usb dvb tuners that is "fixed" by spinning a cpu - how to debug?

2015-06-08 Thread Andy Furniss
Hi I recently set up a Asrock Q1900DC-itx Intel baytrail board as a router/nas/pvr. It has 2 usb dvb T/T2 tuners attached - pctv 290e and 292e. When running them I am getting lost dvb packets which are detected as lost via dvbs continuity counters. Have tried 3.18.14, and today 4.1.0-rc7 both ha