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
390 stars 68 forks source link

GPIO for specific DevTerm hardware with CM4 #42

Open andypiper opened 2 years ago

andypiper commented 2 years ago

The fan control script #40 and the audio patch script (/usr/local/bin/audio_3.5_patch.py) rely on specific GPIO pins for control of the DevTerm hardware.

What GPIO pins are used for the Fan, and the Audio Jack? What other GPIO pins map to specific hardware features of the DevTerm?

cuu commented 2 years ago

Fan GPIO is 17 Audio Jack is 11 and 10

andypiper commented 2 years ago

I'm unable to get the fan to spin up on GPIO 17. I've tried directly setting GPIO 17 as an output and then setting it to high/1 (using the gpio command) but the fan doesn't spin up. I'll try again later, but is there anything that could be missing here?

andypiper commented 2 years ago

OK. Confirmed that the fan is working on GPIO 17 - thank you.