raspberrypi / linux

Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
Other
11.02k stars 4.95k forks source link

Technisat Skystar USB HD SNR measurement problem after upgrading to kernel v4.14.xx #2886

Open Xf0ur opened 5 years ago

Xf0ur commented 5 years ago

Hello, I was using kernel v4.9.80 ... my Technisat Skystar USB HD used to work fine. However, after i upgraded to kernel v4.14.xx i faced SNR measurement problem as you can see in the below screenshots. 1st screenshot: kernel v4.9.80 2nd screenshot: kernel v4.14.xx Any help would be very appreciated.

v4 14 xx

v4 9 80

Xf0ur commented 5 years ago

Is there someone who owns this card in order to verify the problem?

6by9 commented 5 years ago

Almost all the media drivers are developed by the mainline kernel developers (https://linuxtv.org/), not Raspberry Pi. Whilst individuals may have access to some hardware, it is a long way from comprehensive coverage.

You could try building the upstream latest drivers, and if the problem still exists there then report it to the linux-media mailing list. Instructions on building media_tree are at https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

As a simpler, half step, you could use sudo rpi-update which will pick up the testing 4.19 kernel. There are a couple of issues still lurking in it, so please be slightly cautious.

PLEASE do not do either steps on a critical SD card. Use a backup as recovering it if things go really wrong is likely to be painful.

Xf0ur commented 5 years ago

Thanks for replying, The last time i used rpi-update tool, my kernel was upgraded to v4.14.90. After i faced that SNR measurement problem i kept downgrading to some older 4.14.xx kernels. I realized the problem started to occur in kernel v4.14.18.

Therefore i decided to stick with kernel v4.9.80.

I have doubt that upgrading to kernel v4.19.xx won't solve that issue because it seems that someone had modified something in the driver code starting from kernel v4.14.18 that needs to be reverted.

I will try your 1st suggestion though.

Should i report the problem here? https://github.com/Hexxeh/rpi-update

JamesH65 commented 5 years ago

This is the correct place to be reporting issues with the Raspbery Pi kernel, which includes drivers.

P33M commented 5 years ago

Why is it an issue? You get a number returned from the driver that represents SNR. This number is calculated differently between 4.14 and 4.9 - but the actual signal is unchanged.

Arguably the 4.14 method is more correct as it translates "number from the hardware" into "number representing decibels SNR" more accurately.

Xf0ur commented 5 years ago

I have Ubuntu 16.04, whether i use kernel 4.13 or 4.15 SNR remains the same(sometimes slightly different).

In fact SNR values on Ubuntu 4.15 are identical to Raspbian 4.9

But now all channels got SNR between 20-26% no matter what, i'm aware it should be displayed in decibel though.

As i wrote, something were modified starting from kernel 4.14.18 which caused that issue.

I will report it to linux-media mailing list and see if i will get any response.

JamesH65 commented 4 years ago

This issue will be closed within 30 days unless further interactions are posted. If you wish this issue to remain open, please add a comment. A closed issue may be reopened if requested.