-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation of the driver for the TBS 5927 fails #115
Comments
Hello @VDelport , Could you share the Linux distribution and kernel version you are using? Is that also on Linux Mint? Kernel 6.8.0? Could you please share the result of the following commands? uname -a and cat /etc/os-release or lsb_release -a |
delport@ftkt-nb06: uname -a delport@ftkt-nb06: cat /etc/os-release delport@ftkt-nb06: lsb_release -a |
Hello, is there any solution to the problem? |
Hello, @VDelport . Yes, this is a known issue with this kernel version. The following command should fix it:
|
After installing the driver I get the following error message: blocksat-gui |
This seems to be a permission issue. Try adding your user to the
|
sudo usermod -a -G video $LOGNAME blocksat-gui 2025-02-06 10:39:39 WARNING Assuming interface name dvb0_0. blocksat-cli --cfg CFG usb ls Obviously no interface dvb0_0 is created. |
First, please note that the
Second, there is a chance your kernel got updated without you noticing, in which case you would have lost the TBS drivers and would need to reinstall them. Run If you lost the TBS drivers, the following command would not return anything:
On the other hand, if the drivers are still there, and you have the TBS receiver connected, you would see something like:
If that is all confirmed, go ahead and reinstall the drivers:
Once the drivers are reinstalled, you can check the
If you would like to prevent this issue from happening again (kernel updating on reboot), you can configure it to be held with a command like the following:
Lastly, for your question:
You can run the USB configuration in dry-run mode to see the commands that are executed:
|
Hello,
I tried to install the driver for the TBS 5927 receiver using the following command:
sudo blocksat-cli deps tbs-drivers
I get the following error message:
/home/delport/.blocksat/src/tbsdriver/media_build/v4l/ccs-core.c: In function 'ccs_set_ctrl':
/home/delport/.blocksat/src/tbsdriver/media_build/v4l/ccs-core.c:668:21: error: too many arguments to function 'pm_runtime_get_if_active'
668 | pm_status = pm_runtime_get_if_active(&client->dev, true);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/delport/.blocksat/src/tbsdriver/media_build/v4l/ccs-core.c:22:
./include/linux/pm_runtime.h:75:12: note: declared here
75 | extern int pm_runtime_get_if_active(struct device *dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /home/delport/.blocksat/src/tbsdriver/media_build/v4l/cx25840-firmware.o
make[4]: *** [scripts/Makefile.build:243: /home/delport/.blocksat/src/tbsdriver/media_build/v4l/ccs-core.o] Fehler 1
make[4]: *** Auf noch nicht beendete Prozesse wird gewartet …
make[3]: *** [/usr/src/linux-headers-6.8.0-51-generic/Makefile:1925: /home/delport/.blocksat/src/tbsdriver/media_build/v4l] Fehler 2
make[2]: *** [Makefile:240: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.8.0-51-generic'
make[1]: *** [Makefile:53: default] Fehler 2
make[1]: Verzeichnis „/home/delport/.blocksat/src/tbsdriver/media_build/v4l“ wird verlassen
make: *** [Makefile:26: all] Fehler 2
Traceback (most recent call last):
File "/usr/local/bin/blocksat-cli", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/blocksatcli/main.py", line 85, in main
args.func(args)
File "/usr/local/lib/python3.10/dist-packages/blocksatcli/dependencies.py", line 748, in drivers
runner.run(["make", nproc_arg], cwd=media_build_dir)
File "/usr/local/lib/python3.10/dist-packages/blocksatcli/util.py", line 323, in run
res = subprocess.run(cmd,
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['make', '-j16']' returned non-zero exit status 2.
Best regards.
The text was updated successfully, but these errors were encountered: