Closed kenwdelong closed 4 months ago
Ah, I found the install-raspios-64bit.sh
script and I ran that. That seemed successful, but the fan does not run.
The /dev/ttyUSB0
still has 0644 and shows as a regular file.
Something is wrong with the serial port:
umbrel@umbrel:~ $ /usr/bin/pwmFanControl64
Can not open /dev/ttyUSB0 serial port ErrorCode: Permission denied
Please check the /boot/config.txt file and add dtoverlay=dwc2, dr_mode=host and reboot RPi
Please check serial port over OTG
---Serial Port Can not detected---
So I deleted the bogus /dev/ttyUSB0
and rebooted. The file did not come back.
It appears all USB 2 functionality is broken, I plugged in a device to the front panel, and there was no device created in /dev
. Oh well, nice case anyway...
yes, the Umbrel system may not work properly and we did not test it on this system. we are recommended you to use Raspberry Pi OS instead due to the official team has been optimized a lot of thing for the hardware on Raspberry Pi. so it will be stable and nice, and we are always update the driver on official Raspberry Pi OS first. if you can compile a new dwc2 overlay on your system and make it recognized the serial port on deskpi daugher board's MCU, it may become easy to fix the bug, it needs to generate the '/dev/ttyUSB0' device and the front usb will work properly too. we are trying to make it works on UBUNTU 24.04 LTS but no luck, it will not generate ‘/dev/ttyUSB0' device , so that it means we can not send the serial command to the MCU's Serial port to control the fan. it make me frustrated .... and I am working on manjaro and dietPi OS too.
if you can see '/dev/ttyUSB0', you can try to use the python script to test the fan which is in the folder "drivers/python" , all you need is to install the pyserial library to you system and execute the python script. if it works fine. maybe i can help you create a installation script for the umbrel OS.
I have an Umbrel 0.5.3 running on a RPi 4 Model B. I just put it in a DeskPi Pro v2 case (awesome case, BTW).
I used the base install.sh to install the fan control, but it's not working.
Based on
I wonder if I should have used the 64 bit Raspberry Pi OS (aarm64)?
Also, the device for the fan looks fishy