All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Lay <loomy@gmx.li>
To: linux-media@vger.kernel.org
Subject: Re: dvb-s usb problems
Date: Sat, 11 Feb 2017 16:22:07 +0100	[thread overview]
Message-ID: <20170211162207.179b116e@gmx.li> (raw)
In-Reply-To: <20170207194055.18d31a83@gmx.li>


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 <loomy@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

      reply	other threads:[~2017-02-11 15:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-07 18:40 dvb-s usb problems Matthias Lay
2017-02-11 15:22 ` Matthias Lay [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170211162207.179b116e@gmx.li \
    --to=loomy@gmx.li \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.