If you don’t have a lot invested into that image, transfer over what you need and wipe it. I’m trying to get drivers and scripts current for kernel 6.6.y and a bookworm image for it. Stuff like raspi-gpio has been deprecated and is no longer used.
hate to resurrect a dead post, but i have a similar issue
i can temp fix the issue with the gpio command like the above did.
however it appears i have removed the repository that the devterm-audio-patch comes from and its not able to be installed.
im fairly certain reinstalling will fix it, does anyone happen to know how to readd that repository so that i can sudo apt-get install devterm-audio-patch ?
my only previous linux experience is with ubuntu so please be gentle with me
what distro are you on? The patch will be different depending on what you’re running.
its debian bookworm i believe.
it says debian 12 when it first boots
So it’s the one you downloaded from the forums?
If so:
wget -q -O- https://raw.githubusercontent.com/ak-rex/ClockworkPi-apt/main/bookworm/KEY.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/ak-rex.gpg
sudo add-apt-repository -y "deb [arch=arm64] https://raw.githubusercontent.com/ak-rex/ClockworkPi-apt/main/bookworm stable main"
Then:
sudo apt install clockworkpi-audio-patch clockworkpi-audio-shutdown
thank you so much, that got me going
Hey @Rex thread ressurect again, i am having his same issue.
I when I try pinctrl set 11 op dh and also raspi-gpio set 11 op dh the audio cuts in for one second then drops out again. So I know my connections are good and the speakers do operate.
It seems like something keeps resetting pin 11 and the terminal command forces it to work for 1 second.
My output after raspi-gpio get 10,11 is
GPIO 10: level=1 func=INPUT pull=NONE
GPIO 11: level=0 func=OUTPUT pull=DOWN
I am on the newest Bookworm from the drive link as of today. I also have the uHub triple USB C expansion card installed.
Any ideas?
have you tried to reinstall the audio sudo apt reinstall clockworkpi-audio
?
Yes I did still no audio
You install or change anything with the audio?
Nope it didn’t work from the moment I fresh booted off a brand new Bookworm installation. The only change is the uHub card.
Try and flash it again on a different SD to test. Here in a few I’ll flash a fresh SD and test. Maybe it was a update, did you install anything from the fresh install before you noticed the sound not working?
I’ll try it this afternoon on a new card. Nothing installed after install except standard updates as initial boot is happening.
I just flashed and updated, audio works. Maybe make sure you’re still using pulseaudio and not pipewire.
Brand new card, fresh flash, still nothing. I never switched to pipewire so pulse audio should be active by default right? Could it be on the config file? I noticed that config is set for dt overlay=audremap,pins_12_13 does that need to be set for 10 and 11 or is that irrelevant?
that overlay is as it should be.
the fact it’s not working on a fresh install and that if you manually turn it on it goes back off makes me thing something it wrong with the headphone port. it’s thinking something is connected to it.
have you tried with the default clockwork distro?
probably won’t help but try plugging and unplugging some headphones a few times to work the port.
Tried a bunch of plug/unplug. Yeah must be something with the headphone port. Didn’t work properly on stock image either. Bummer, it was almost perfect.
ya that sucks, i’d contact alex and see if they’ll replace the main board.
maybe take a look at it and see if you can see anything wrong with the port like solder bridges and such.
Is it possible the uHub is the issue? It replaces the expansion board, right? The speakers connect through that board, so maybe they aren’t making contact?
there speakers are working if they manually change the gpio pin that monitors the 3.5mm jack, but it changes back to acting like something is connected.