tracked down the problem.

If somebody else is googling to this thread having similar problems I
wanna share my experniences.

I tested the usb devices on a simliar kernel on x86 device and it
worked well. After a lot of testing, I tracked down the problem to the
cpufreq scheduler.
needed some time to find that, as the cpu was not very busy during
recordings. it was nearly idling around 10-30%. the problem seem to be
related to the switches of the scheduler.

I am using a bananapipro with armbian, which sets the schedutil as a
default cpu scheduler. turning off the scheduler, and set it to
performance, solved my problem.

even setting the min-frequency to nearly maximum produces the problem.
not related to schedutil, same behaviour for ondemand.

so if you are reading this having similar problems on an arm soc,
switch to performance!


Greetz

Am Tue, 7 Feb 2017 19:40:55 +0100
schrieb Matthias Lay <lo...@gmx.li>:

> Hi all,
> 
> I am having some problems getting some channels to work on usb dvb-s
> devices.
> tried 2 so far a skystar and teviis660 both have the same problem.
> 
> I am about to switch from an PCI-e card to a usb hosted solution. My
> PCI-e setup (skystar too) never had any problems.
> 
> both systems on a 4.9 Kernel. Astra 19,2
> 
> Problem on the USB system
> 
> using dvb-utils scan, It doesnt find any HD channels. the only one is
> WDR HD which seems to be the only one using QPSK. the other are 8PSK I
> think. 
> 
> using mythbackend, I am able to scan and find the channels, but when
> its recording, the quality is poor with a lot of errors in the
> picture.
> 
> nothing in dmesg, but if I do a "scan -c" using dvb-utils after
> mythbackend locked one of the channels I get
> 
> ***************************************
> open("/dev/dvb/adapter0/demux0", O_RDWR|O_NONBLOCK) = 4
> ioctl(4, 0x403c6f2b, 0xbeac6f48)        = -1 EINVAL (Invalid argument)
> write(2, "start_filter:1752: ERROR: ioctl "..., 75start_filter:1752:
> ERROR: ioctl DMX_SET_FILTER failed: 22 Invalid argument ) = 75
> ioctl(4, 0x6f2a, 0x1)                   = 0
> close(4)                                = 0
> open("/dev/dvb/adapter0/demux0", O_RDWR|O_NONBLOCK) = 4
> ioctl(4, 0x403c6f2b, 0xbeac6f48)        = -1 EINVAL (Invalid argument)
> write(2, "start_filter:1752: ERROR: ioctl "..., 75start_filter:1752:
> ERROR: ioctl DMX_SET_FILTER failed: 22 Invalid argument ) = 75
> ioctl(4, 0x6f2a, 0x1)                   = 0
> close(4)                                = 0
> *********************************************************
> 
> 
> is this a known problem? you have any hint for me, where to check for
> the problem?
> 
> Greetz loomy
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to