(11-17-2023, 11:56 AM)MichaIng Wrote: Regarding the Waveshare CM4 baseboard: If an overlay is required, then this should be either part of the default RPi kernel (see /boot/overlays and in case the README file for a list of available ones), or provided by Waveshare. I checked some docs: https://www.waveshare.com/wiki/CM4-IO-BASE-A
They suggest to add dtoverlay=dwc2,dr_mode=host to /boot/config.txt, i.e. using the dwc2 driver instead of dwc_otg, and set it to host mode explicitly. Even if this is not your exact baseboard model, worth to give it a try.
Not sure how that is supposed to work with DietPi though, as none of these files exist in /boot there. Not a big deal for now since th Waveshare CM4-to-Pi3 board doesn't have a 12v header I can plug my fan heatsink into and running the CM4 without heatsinks is a bad idea. I got to 71°C on moderate load that way.
One other thing that I wanted to see working are my FIDO2 security keys that are used for 2FA. I have several such keys that I require for access to some critical accounts, and they don't work. I get the following for my Yubico Yubikey:
Code:
[ 3985.502029] input: Yubico YubiKey OTP+FIDO+CCID as /devices/platform/fcc00000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:1050:0407.0006/input/input12
[ 3985.560558] hid-generic 0003:1050:0407.0006: input: USB HID v1.10 Keyboard [Yubico YubiKey OTP+FIDO+CCID] on usb-xhci-hcd.0.auto-1.1/input0
[ 3985.561965] hid-generic 0003:1050:0407.0007: device has no listeners, quitting
I think it needs CONFIG_USB_HIDDEV and CONFIG_USB_HIDRAW enabled in the kernel to work fully, and this seems to be disabled in the kernel build we have:
# gzip -d < /proc/config.gz |grep HIDDEV
# CONFIG_USB_HIDDEV is not set
# gzip -d < /proc/config.gz |grep HIDRAW
# CONFIG_HIDRAW is not set
I'd try to rebuild the kernel myself (haven't done this in a very long time, not since my Gentoo days) but I don't know where to get the sources to do that.