Use manual controls to make sure things are setup properly. There is a command line utility to do this. Also make sure you are not confusing BCM numbering vs physical pin. i.e. GPIO 17 is Physical pin 11. Then also make sure nothing is using GPIO 17. (DAC Hats use GPIO pins for control)
To see the state of everything Code: -------------------- tc@Pi4-armhf-Devel:~$ sudo readall.sh +-----+---------+------+---+-----++-----+---+------+---------+-----+ | BCM | NAME | MODE | V | Physical | V | MODE | NAME | BCM | +-----+---------+------+---+-----++-----+---+------+---------+-----+ | | 3.3v | | | 1 || 2 | | | 5v | | | 2 | GPIO 2 | ALT0 | 1 | 3 || 4 | | | 5v | | | 3 | GPIO 3 | ALT0 | 1 | 5 || 6 | | | 0v | | | 4 | GPIO 4 | IN | 1 | 7 || 8 | 1 | IN | GPIO 14 | 14 | | | 0v | | | 9 || 10 | 1 | IN | GPIO 15 | 15 | | 17 | GPIO 17 | IN | 0 | 11 || 12 | 0 | ALT0 | GPIO 18 | 18 | | 27 | GPIO 27 | IN | 0 | 13 || 14 | | | 0v | | | 22 | GPIO 22 | IN | 0 | 15 || 16 | 0 | IN | GPIO 23 | 23 | | | 3.3v | | | 17 || 18 | 0 | IN | GPIO 24 | 24 | | 10 | GPIO 10 | ALT0 | 0 | 19 || 20 | | | 0v | | | 9 | GPIO 9 | ALT0 | 0 | 21 || 22 | 0 | IN | GPIO 25 | 25 | | 11 | GPIO 11 | ALT0 | 0 | 23 || 24 | 1 | OUT | GPIO 8 | 8 | | | 0v | | | 25 || 26 | 1 | OUT | GPIO 7 | 7 | | 0 | GPIO 0 | IN | 1 | 27 || 28 | 1 | IN | GPIO 1 | 1 | | 5 | GPIO 5 | IN | 1 | 29 || 30 | | | 0v | | | 6 | GPIO 6 | IN | 1 | 31 || 32 | 0 | IN | GPIO 12 | 12 | | 13 | GPIO 13 | IN | 0 | 33 || 34 | | | 0v | | | 19 | GPIO 19 | ALT0 | 0 | 35 || 36 | 0 | IN | GPIO 16 | 16 | | 26 | GPIO 26 | IN | 0 | 37 || 38 | 0 | ALT0 | GPIO 20 | 20 | | | 0v | | | 39 || 40 | 0 | ALT0 | GPIO 21 | 21 | +-----+---------+------+---+-----++-----+---+------+---------+-----+ | BCM | NAME | MODE | V | Physical | V | MODE | NAME | BCM | +-----+---------+------+---+-----++-----+---+------+---------+-----+ -------------------- Set GPIO 17 as an output Code: -------------------- tc@Pi4-armhf-Devel:~$ sudo pcp-gpio mode 17 out -------------------- Toggle GPIO 17 or set GPIO 17 to a value Code: -------------------- tc@Pi4-armhf-Devel:~$ sudo pcp-gpio toggle 17 tc@Pi4-armhf-Devel:~$ sudo pcp-gpio write 17 1 <----On tc@Pi4-armhf-Devel:~$ sudo pcp-gpio write 17 0 <----Off -------------------- If this still doesn't work, then you may have damaged your pi. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer ------------------------------------------------------------------------ paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=115108 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix