clockworkpi / DevTerm

This code repository offers downloads for the latest images of various DevTerm models, as well as kernel patches, keyboard firmware, the source code for screen and printer drivers, hardware schematics, assembly instructions, and essential technical documents.
GNU Lesser General Public License v2.1
384 stars 68 forks source link

CM4 packages cause Python 2 to be installed #43

Closed andypiper closed 2 years ago

andypiper commented 2 years ago

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 commented 2 years ago

done

andypiper commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

OK thank you I will recheck this.

andypiper commented 2 years ago

OK cool - confirmed the fan is working here.

fei20th commented 5 months ago

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?