DeskPi-Team / deskpi

DeskPi Pro is the Ultimate Case Kit for Raspberry Pi 4 with Full Size HDMI/2.5 Hard Disk Support and Safe Power Button, It has QC 3.0 Power Supply inside and New ICE Tower Cooler inside.
GNU General Public License v3.0
140 stars 46 forks source link

Which GPIO Pins are utilised by this device? #150

Closed muckypaws closed 1 year ago

muckypaws commented 1 year ago

Hello All,

Which GPIO Pins are used for this DeskPi Pro V2 case?

I want to avoid any pins that are currently utilised (If any). I see most of the control is via ttyUSB0 with commands sent on this channel.

Specifically, the front power control button. As I'd like to include a safe shutdown script when pressed twice for example.

Kind Regards Muckypaws.

yoyojacky commented 1 year ago

None of the GPIO Pin is used for this case, the ttyUSB0 is from the USB-C on Raspberry Pi 4B and you need to enable it via using "dtoverlay=dwc2,dr_mode=host“ in /boot/config.txt file.