Skip to content
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

CM4 packages cause Python 2 to be installed #43

Closed
andypiper opened this issue Sep 4, 2022 · 6 comments
Closed

CM4 packages cause Python 2 to be installed #43

andypiper opened this issue Sep 4, 2022 · 6 comments

Comments

@andypiper
Copy link

The packages devterm-audio-patch and devterm-fan-temp-daemon-cm4 have an (invalid / incorrect) dependency on python2, which causes several obsolete Python packages to be installed.

These should be edited to change /usr/bin/python2 to /usr/bin/python3 in the .service files, and have the python2 dependency updated to python3 in the the APT/DEB packaging.

@cuu
Copy link
Contributor

cuu commented Sep 5, 2022

done

@andypiper
Copy link
Author

Thanks for fixing the packaging. Can you also check issue #40 and #42 and confirm the GPIO for the fan when using the CM4. The fan-temp-daemon is probably not needed but we would need to know which GPIO switches it on and off.

@cuu
Copy link
Contributor

cuu commented Sep 5, 2022

it is the 17
and with upgraded fan-temp-daemon,i've checked that the fan can work , I just set MAX_TEMP to 50 in py code,then the fan ran

if you can not run the fan with 17 GPIO,maybe is because your wiringpi library is not for devterm cm4

try the devterm cm4 wiringpi library

@andypiper
Copy link
Author

OK thank you I will recheck this.

@andypiper
Copy link
Author

OK cool - confirmed the fan is working here.

@fei20th
Copy link

fei20th commented Mar 28, 2024

The packages devterm-audio-patch and devterm-fan-temp-daemon-cm4 have an (invalid / incorrect) dependency on python2, which causes several obsolete Python packages to be installed.

These should be edited to change /usr/bin/python2 to /usr/bin/python3 in the .service files, and have the python2 dependency updated to python3 in the the APT/DEB packaging.

where are those .service files located?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants