Migration from Pi3 to Pi5: troubles #2108
HJLK
started this conversation in
Bug Reports
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
202605: I migrated my rAudio 20260509 with pacman up to 20260520 from Pi3 to Pi5, and these are my issues so far:
@rern : do you have plans to use another library? Say, gpiozero and/or lgpio? (These are recommended on the internet).
By the way: my ROTARY ENCODER in rAudio still works fine after migrating to Pi5, but it is not managed thru python, I think.
20260601 Update: In Arch Linux python and its modules are "externally managed" (= thru pacman). So it says when I try to install modules via pip (after I installed pip...). So I tried to install the modules lgpio and gpiozero thru pacman, but : "target not found".
I will try further (with pipx install in a user environment?), and I will report when I know more (or less).
rAudio:~ # pacman -S python-pipx
resolving dependencies...
looking for conflicting packages...
Packages (5) python-argcomplete-3.6.3-1 python-click-8.3.3-1 python-distro-1.9.0-4
python-userpath-1.9.2-4 python-pipx-1.12.0-1
Total Download Size: 0.52 MiB
Total Installed Size: 3.09 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
python-click-8.3.3-1-any 221.8 KiB 81.1 KiB/s 00:03 [###################################] 100% python-pipx-1.12.0-1-any.pkg.tar.xz failed to download
Total (2/5) 537.4 KiB 177 KiB/s 00:03 [###################################] 100%
error: failed retrieving file 'python-pipx-1.12.0-1-any.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
rAudio:~ #
Oops...
20260611 Update: Power Button works: I use pin 7 (is free, not used by DAC) for power off, and LED on pin 11.
I do not dare to touch pin 5 anymore: my Hifiberry DAC is dead, possibly because of using pin 5: this pin is used by the DAC (now a Pi DAC PRO).
As for Python use of GPIO: I'm still trying to fix this.
20260618 Update. When migrating rAudio 20260509 from a Pi3 to a Pi5, as for Python: The Python RPi.GPIO module does not work anymore. Python is (system-wide) maintained by Arch thru pacman, When you try to install (say) gpiozero thru pacman: error: target not found: python-gpiozero. Install via pip is refused: This environment is externally managed. Bottomline: Only gpiod (a low level GPIO managing module) is present. So you have to create a "virtual environment" in Python. In that environment you can pip install gpiozero, but that fails in the end: pin-factory lgpio is not present, and all other possible factories are also not present... I will continue testing and so on...
Beta Was this translation helpful? Give feedback.
All reactions