Skip to content

Installation of the driver for the TBS 5927 fails #115

@VDelport

Description

@VDelport

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions