Skip to content
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

Open
VDelport opened this issue Jan 23, 2025 · 4 comments
Open

Installation of the driver for the TBS 5927 fails #115

VDelport opened this issue Jan 23, 2025 · 4 comments

Comments

@VDelport
Copy link

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.

@blockstreamsatellite
Copy link
Contributor

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

@VDelport
Copy link
Author

delport@ftkt-nb06: uname -a
Linux ftkt-nb06 6.8.0-51-generic #52~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Dec 9 15:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

delport@ftkt-nb06: cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
UBUNTU_CODENAME=jammy

delport@ftkt-nb06: lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy

@VDelport
Copy link
Author

VDelport commented Feb 4, 2025

Hello, is there any solution to the problem?

@blockstreamsatellite
Copy link
Contributor

Hello, @VDelport .

Yes, this is a known issue with this kernel version. The following command should fix it:

blocksat-cli deps tbs-drivers --backport-disable v6.8-ccs.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants