tbsdtv / linux_media

TBS linux open source drivers
https://github.com/tbsdtv/linux_media/wiki
Other
169 stars 79 forks source link

tbsecp3 driver: issue with Raspberry Compute Module 4 #301

Open Kitoko86 opened 1 year ago

Kitoko86 commented 1 year ago

Hi,

I succesfully installed a TBS6902 on Raspberry Pi OS with 5.15.79-v7l+ compiled kernel but I'm facing a strange issue with this device. I can tune a satellite frequency however, no matter the application that I used, the signal doesn't get lock. There is no PCIe switch on my board.

lsmod command output:

pi@raspberrypi:~/minisatip $ lsmod
Module                  Size  Used by
8021q                  32768  0
garp                   16384  1 8021q
stp                    16384  1 garp
llc                    16384  2 garp,stp
brcmfmac              335872  0
vc4                   294912  11
brcmutil               24576  1 brcmfmac
snd_soc_hdmi_codec     20480  2
cec                    49152  1 vc4
cfg80211              794624  1 brcmfmac
drm_kms_helper        286720  2 vc4
av201x                 16384  2
rfkill                 32768  4 cfg80211
snd_soc_core          237568  2 vc4,snd_soc_hdmi_codec
v3d                    81920  8
snd_compress           20480  1 snd_soc_core
gpu_sched              45056  1 v3d
snd_bcm2835            28672  0
snd_pcm_dmaengine      16384  1 snd_soc_core
tbsecp3                49152  11
snd_pcm               122880  5 snd_compress,snd_pcm_dmaengine,snd_soc_hdmi_codec,snd_bcm2835,snd_soc_core
i2c_brcmstb            16384  0
tas2101                20480  3 tbsecp3
gx1133                 24576  1 tbsecp3
raspberrypi_hwmon      16384  0
snd_timer              36864  1 snd_pcm
dvb_core              114688  1 tbsecp3
i2c_mux                16384  1 gx1133
vc_sm_cma              32768  0
snd                    86016  6 snd_compress,snd_soc_hdmi_codec,snd_timer,snd_bcm2835,snd_soc_core,snd_pcm
videodev              249856  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
mc                     45056  2 videodev,dvb_core
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
nvmem_rmem             16384  0
uio_pdrv_genirq        16384  0
uio                    20480  1 uio_pdrv_genirq
drm                   548864  14 v3d,vc4,gpu_sched,drm_kms_helper
i2c_dev                20480  0
fuse                  135168  3
drm_panel_orientation_quirks    16384  1 drm
backlight              20480  2 drm_kms_helper,drm
ip_tables              28672  0
x_tables               32768  1 ip_tables
ipv6                  528384  46

dmesg command output:

pi@raspberrypi:~/minisatip $ dmesg | grep -i tbs
[    5.516420] TBSECP3 driver 0000:01:00.0: enabling device (0140 -> 0142)
[    5.516511] TBSECP3 driver 0000:01:00.0: TurboSight TBS 6902 DVB-S/S2 
[    5.806780] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[    5.926694] TBSECP3 driver 0000:01:00.0: MAC address 00:22:ab:f1:3d:68
[    6.078838] TBSECP3 driver 0000:01:00.0: DVB: registering adapter 0 frontend 0 (TurboSight TBS 6902 DVB-S/S2 )...
[    6.079159] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[    6.231250] TBSECP3 driver 0000:01:00.0: MAC address 00:22:ab:f1:3d:69
[    6.344528] TBSECP3 driver 0000:01:00.0: DVB: registering adapter 1 frontend 0 (TurboSight TBS 6902 DVB-S/S2 )...
[    6.344812] TBSECP3 driver 0000:01:00.0: TurboSight TBS 6902 DVB-S/S2 : PCI 0000:01:00.0, IRQ 79, MMIO 0x0
[   10.384758] TBSECP3 driver 0000:01:00.0: DVB: adapter 1 frontend 0 frequency 0 out of range (950000..2150000)
[   11.054730] TBSECP3 driver 0000:01:00.0: DVB: adapter 0 frontend 0 frequency 0 out of range (950000..2150000)

I have the same symptoms with a TBS6909. The power supply doesn't affect the behavior of the tuner.

https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/57#issuecomment-1339212169