https://bugs.kde.org/show_bug.cgi?id=374693

--- Comment #35 from Mauro Carvalho Chehab <mchehab+...@kernel.org> ---
(In reply to Mauro Carvalho Chehab from comment #11)
> (In reply to juliushar from comment #10)
> > On the VLC side (version 2.2 stable), when exiting VLC before the line 
> > 
> > if (ioctl (d->frontend, FE_ENABLE_HIGH_LNB_VOLTAGE, &val) < 0 && val)
> > 
> > in function 
> > 
> > int dvb_set_sec (dvb_device_t *d, uint64_t freq_Hz, char pol,
> >                  uint32_t lowf, uint32_t highf, uint32_t switchf)
> > 
> > in file
> > 
> > modules/access/dtv/linux.c
> > 
> > , kaffeine will fail with many channels as mentioned. But when exiting after
> > that if block (its actually rather this line which is relevant), kaffeine
> > will work nicely.
> > 
> > (in which area of the kaffeine code source does such functionality belong
> > to?)
> 
> Let me try to understand it better. This ioctl sets the LNBf voltage

Actually, no. This ioctl is defined only for a few devices. It switches from
"normal" voltage mode (13V/18V) to a "higher" voltage mode, that adds 1V, in
order to compensate for cable loss (e. g. 14V/19V). Very few DVB devices
implements it. That's why I missed on the first time I looked into it.

I just added a new configuration option to DVB-S/S2 that will allow enabling
this ioctl at Kaffeine. On tri-state mode, it won't use the ioctl at all, just
like before. That prevents a lot at libdvbv5 that would otherwise happen if
called and the device doesn't support it:

    13-08-17 18:07:58.265 [Critical] kaffeine.dev: FE_ENABLE_HIGH_LNB_VOLTAGE:
Operation not supported

Checking the box will enable the higher voltage mode; unchecking the normal
mode.

In any case, the previous Kernel patch that detects current overflow sounds a
good idea, so I'm pushing it to the Kernel tree.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to