08-11-2024, 05:33 PM
Hi Tim!
No cigar on the commands:
Here's the content of /sys/class/gpio:
There were no headphones attached, but I wondered it would unmute if I plugged one and uplugged it right away... Nope.
By the way: there IS sound coming through to the headphones.
I guess the answer is a shell script away maybe.
No cigar on the commands:
Code:
frederic@moode:~ $ echo "22" >/sys/class/gpio/export
-bash: echo: write error: Invalid argument
frederic@moode:~ $ echo "out" >/sys/class/gpio/gpio22/direction
-bash: /sys/class/gpio/gpio22/direction: No such file or directory
frederic@moode:~ $ echo "1" >/sys/class/gpio/gpio22/value
-bash: /sys/class/gpio/gpio22/value: No such file or directory
Here's the content of /sys/class/gpio:
Code:
frederic@moode:/sys/class/gpio $ ls
export gpiochip512 gpiochip566 unexport
There were no headphones attached, but I wondered it would unmute if I plugged one and uplugged it right away... Nope.
By the way: there IS sound coming through to the headphones.
I guess the answer is a shell script away maybe.