tbsdtv / linux_media

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

saa716x_budget compiled but not loaded on kernel 4.18.0 #158

Closed michael-robrecht closed 5 years ago

michael-robrecht commented 5 years ago

Hi there,

I am not able to install the saa716x_budget module on kernel 4.18.0 (tried the latest .17-generic and .16-generic for Ubuntu 18.04.1) but receive an error on modprobe error stating modprobe: FATAL: Module saa716x_budget not found in directory /lib/modules/4.18.0-17-generic

I am just switched from Ubuntu 16.04 LTS to Ubuntu 18.04.1 LTS on x86_64 and need the driver for my TBS6985 quad tuner card. And no, I do not want to try the closed source drivers as they have not been updated for quite some time.

I configured verified that the following files actually are compiled: (Annotation: I ran ./build and grep'ed all occurrences of "saa716x")

CC [M] /home/michael/TBS/media_build/v4l/saa716x_pci.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_i2c.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_cgu.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_msi.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_dma.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_vip.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_aip.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_phi.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_boot.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_fgpi.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_adap.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_gpio.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_greg.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_rom.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_spi.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_budget.o CC [M] /home/michael/TBS/media_build/v4l/saa716x_hybrid.o

So _saa716xbudget.o actually appears to be built, but later in the process, it is not loaded LD [M] /home/michael/TBS/media_build/v4l/saa716x_core.o LD [M] /home/michael/TBS/media_build/v4l/saa716x_tbs-dvb.o CC /home/michael/TBS/media_build/v4l/saa716x_core.mod.o CC /home/michael/TBS/media_build/v4l/saa716x_hybrid.mod.o CC /home/michael/TBS/media_build/v4l/saa716x_tbs-dvb.mod.o LD [M] /home/michael/TBS/media_build/v4l/saa716x_core.ko LD [M] /home/michael/TBS/media_build/v4l/saa716x_hybrid.ko LD [M] /home/michael/TBS/media_build/v4l/saa716x_tbs-dvb.ko

As it is not loaded, it consequently does not show up in /lib/modules. But why is this? Did I miss something? There have been displayed some warning during the make but none of those relate to saa716x, which compiles nicely.

Thanks for your support

Michael

michael-robrecht commented 5 years ago

Note to myself (and to all others trying to find out why this happens)

saa716x_budget is replaced by saa716x_tbs-dvb

I just rebooted my machine and realized that the 4 tuners are available and that the driver is now saa716x_tbd-dvb. So I lost quite some time in watching make doing its job...