-
Notifications
You must be signed in to change notification settings - Fork 47
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
[FR] Fedora support #90
Comments
Fixed with #82 maybe? |
Hi @Runkar, Add Kernel Module Loading Instructions: Create or edit a configuration file in the /etc/modules-load.d/ directory (e.g., dwc2.conf) and add the dwc2 module to ensure it is loaded automatically at startup. Set Up Device Tree: Add or modify configurations in the device tree to enable dwc2 as a USB peripheral. This may involve modifying .dts or .dtsi files and ensuring the correct device tree configuration is loaded at startup. Install USB Firmware: Make sure the required USB firmware is installed on your system. This can be achieved by adding the linux-firmware package to your image installation list. Modify Configuration File: Add dtoverlay=dwc2,dr_mode=peripheral to the config.txt file to set dwc2 to peripheral mode. Install USB Library: Install the libusb1 library, which may be required for interacting with USB devices. Enable DWC2 Peripheral Mode: Set the environment variable ENABLE_DWC2_PERIPHERAL to 1, which may need to be set when building the system image. Check Module Loading: Use the lsmod command to check if the dwc2 module is loaded. Please note that the above steps may need to be adjusted based on your specific system environment and the version of Fedora OS you are using. If you are using Fedora OS, you may need to consult Fedora's specific documentation or community forums for more detailed guidance. |
Thanks for your advice @yoyojacky. |
you are welcome ~ , have a nice day~ |
Hello!
I switched my homeserver from an x86 host to a raspberry pi4 - because of USB-boot your deskpi case is perfect for this purpose.
But it seems your install-scripts for linux are lacking an option for fedora (or other rpm-based distros) which I prefer.
Maybe there are some more fedora users like me out there who would like to have a convenient way to add your button and fan control.
Cheers!
The text was updated successfully, but these errors were encountered: