Closed AristoChen closed 1 year ago
Hi,
Yeah, this is expected. There is no stable API for kernel modules. I think, for simplicity, we should keep the code in this repository compatible with the latest R Pi Zero kernel. And add a note what to do in case the modules do not compile.
I'll take a closer look into doing this when I get a chance. Let's keep this bug open for now.
Thanks!
I am on kernel version 6.1.21 (Raspbian/RPi Zero) and I am seeing the same issue. usb_gadget_probe_driver
doesn't seem to exist. I pulled the kernel headers via raspberrypi-kernel-headers
. Is there anything I am missing here?
Ah, got it. Thanks.
Hi,
the following error message will appear if trying to compile
raw-gadget
kernel module afterupdate.sh
is executedlooks like this patch is causing the issue,
usb_gadget_probe_driver()
was renamed tousb_gadget_register_driver()
, the following patch works fine with my SBC with5.10.60
kernel version.