tbsdtv / linux_media

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

TBS 6981 not working/recognized, module missing...? #282

Closed ich777 closed 2 years ago

ich777 commented 2 years ago

Hi , I'm compiling the driver as instructed for Unraid but a user recently reported here that his TBS 6205 works with the TBS-OS package but his TBS 6981 won't work with it where it is listed as a supported device on the Wiki.

I also instructed him to do load the drivers manually here but this results in showing that no module is available:

modprobe cx23885
modprobe: FATAL: Module cx23885 not found in directory /lib/modules/5.10.28-Unraid 

Is there something that I'm missing that needs to be done for this specific driver?

crazycat69 commented 2 years ago

Look like kernel media drivers removed and new not installed.

P.S. 6981 supported in official V4L DVB drivers, included in kernels

ich777 commented 2 years ago

@crazycat69 I find no indication that it is compiled in the TBS-OS package: log.txt sure, the firmware is added but in the build process for the TBS-OS package I don't see a indication that it is compiled (the build log is from yesterday).

P.S. 6981 supported in official V4L DVB drivers, included in kernels

Maybe a silly question but can I compile the official V4L DVB drivers in conjunction with the TBS-OS drivers? If yes how?

crazycat69 commented 2 years ago

This official V4L DVB + TBS additional drivers. In your case cx23885 not compiled, maybe some dependency problems

ich777 commented 2 years ago

In your case cx23885 not compiled, maybe some dependency problems

I have everything installed like mentioned in the Wiki. How can I check what went wrong or why it isn‘t compiled, I even don‘t see any indication that it would compile but fails.

crazycat69 commented 2 years ago

check v4l/.config after build

ich777 commented 2 years ago

@crazycat69 I see that # CONFIG_VIDEO_CX23885 is not set but why is that the case, I doesn't changed anything and I build with the recommended parameters from the Wiki:

cd media_build
make dir DIR=../media
make allyesconfig
make -j4
sudo make install

Except for the CPU cores, I build with 12 instead of 4.

When I change # CONFIG_VIDEO_CX23885 is not set to CONFIG_VIDEO_CX23885=m and run the compilation again then it compiles the module just fine.

Also attached the output from .config before changing to CONFIG_VIDEO_CX23885=m: config.txt

ich777 commented 2 years ago

Did a workaround by editing the v4l/.config file before compilation.