Package Details: eq3_char_loop-dkms 2.19.9-4

Git Clone URL: (read-only, click to copy)
Package Base: eq3_char_loop-dkms
Description: eQ-3 IPC loopback char driver
Upstream URL:
Licenses: GPL
Conflicts: eq3_char_loop
Submitter: AlexanderS
Maintainer: AlexanderS
Last Packager: AlexanderS
Votes: 2
Popularity: 0.000000
First Submitted: 2019-03-25 01:03 (UTC)
Last Updated: 2020-03-28 15:25 (UTC)

Latest Comments

df8oe commented on 2024-04-01 15:31 (UTC) (edited on 2024-04-01 15:33 (UTC) by df8oe)

Does not build:

In Datei, eingebunden von ./include/linux/linkage.h:7,
von ./include/linux/kernel.h:17,
von /var/lib/dkms/eq3_char_loop/2.19.9/build/eq3_char_loop.c:23:
/var/lib/dkms/eq3_char_loop/2.19.9/build/eq3_char_loop.c: In Funktion »eq3loop_init«:
./include/linux/export.h:29:22: Fehler: Übergabe des Arguments 1 von »class_create« von inkompatiblem Zeigertyp [-Werror=incompatible-pointer-types]
29 | #define THIS_MODULE (&__this_module)
| ~^ | |
| struct module
/var/lib/dkms/eq3_char_loop/2.19.9/build/eq3_char_loop.c:946:42: Anmerkung: bei Substitution des Makros »THIS_MODULE«
946 | control_data->class=class_create(THIS_MODULE, EQ3LOOP_DRIVER_NAME);
| ^~~
In Datei, eingebunden von ./include/linux/device.h:31,
von /var/lib/dkms/eq3_char_loop/2.19.9/build/eq3_char_loop.c:33: ./include/linux/device/class.h:230:54: Anmerkung: »const char
« erwartet, aber Argument hat Typ »struct module «
230 | struct class * __must_check class_create(const char
/var/lib/dkms/eq3_char_loop/2.19.9/build/eq3_char_loop.c:946:29: Fehler: zu viele Argumente für Funktion »class_create« 946 | control_data->class=class_create(THIS_MODULE, EQ3LOOP_DRIVER_NAME);
| ^~
./include/linux/device/class.h:230:29: Anmerkung: hier deklariert
230 | struct class * __must_check class_create(const char *name);
| ^
cc1: Einige Warnungen werden als Fehler behandelt
make[2]: *** [scripts/
/var/lib/dkms/eq3_char_loop/2.19.9/build/eq3_char_loop.o] Fehler 1
make[1]: *** [/usr/lib/modules/6.6.23-1-rpi/build/Makefile:1913: /var/lib/dkms/eq3_char_loop/2.19.9/build] Fehler 2
make: *** [Makefile:234: __sub-make] Fehler 2
make: Verzeichnis „/usr/lib/modules/6.6.23-1-rpi/build“ wird verlassen

Any hints?

kuchenblech commented on 2023-07-08 11:02 (UTC)

In case you want to run this on kernel 6.4, the following patch needs to be applied:

--- a/eq3_char_loop.c   2023-07-08 12:51:11.105793993 +0200
+++ b/eq3_char_loop.c   2023-07-08 12:52:30.893164897 +0200
@@ -943,7 +943,11 @@
        printk(KERN_ERR EQ3LOOP_DRIVER_NAME ": Unable to add driver\n");
        goto out_unregister_chrdev_region;
    control_data->class=class_create(THIS_MODULE, EQ3LOOP_DRIVER_NAME);
+   control_data->class=class_create(EQ3LOOP_DRIVER_NAME);
        ret = -EIO;
        printk(KERN_ERR EQ3LOOP_DRIVER_NAME ": Unable to register driver class\n");

Aside from that, I would also be curious to know about the difference between that package and the one from AlexReinert.

dkadioglu commented on 2022-09-04 09:37 (UTC)

Hi AlexanderS,

I have a question regarding this package and the package pivccu-modules-dkms: What are the reasons to have an extra package for this module and the other relevant Homematic modules are in pivccu-modules-dkms? As AlexReinert also has a modified/more recent version of eq3_char_loop in his repo, would it be possible to include eq3_char_loop into the package pivccu-modules-dkms? Would that even make sense? However, I don't know, if there are relevant differences between your patches for eq3_char_loop and AlexReinerts modified version. Thanks for some insight and for your packaging work.