Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "Audio" menu with raspi-config 20231216 in Zero W #231

Open
toobaz opened this issue Dec 17, 2023 · 5 comments
Open

No "Audio" menu with raspi-config 20231216 in Zero W #231

toobaz opened this issue Dec 17, 2023 · 5 comments

Comments

@toobaz
Copy link

toobaz commented Dec 17, 2023

I am trying to follow a guide to get audio from the PWM pins of my Raspeberry Pi Zero W.

I correctly applied the dt overlay - as confirmed by the following commands:

pietro@pyplay:~ $ pinctrl get GPIO18
18: a5    -- | lo // GPIO18 = PWM0
pietro@pyplay:~ $ pinctrl get GPIO13
13: a0    -- | lo // GPIO13 = PWM1

Next step would be to use raspi-config to force the use of the 3.5 jack.

However, when I run raspi-config and select System Options and then S2 Audio, the interface simply goes back to the main menu. No audio menu is shown.

This bug is likely related to #147 , but the symptoms are different.

Ultimately, I found out the problem is solved by giving

pietro@pyplay:~ $ sudo rmmod snd_bcm2835
pietro@pyplay:~ $ sudo modprobe snd_bcm2835 enable_headphones

... but I guess raspi-config should show a message "no audio interface found" (and possibly suggest the command above, or some source of documentation) rather than silently coming back to main menu.

@j-davis-2022
Copy link

I can reproduce this on version 20240708.

@XECDesign
Copy link
Member

Since the vast majority of Pi Zero users won't have an audio jack to switch to, I think showing the option is more likely to cause issues and confuse people.

This seems a bit outside the scope of what raspi-config is for and is more of a documentation issue.

@XECDesign XECDesign closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
@toobaz
Copy link
Author

toobaz commented Jul 16, 2024

I think showing the option is more likely to cause issues and confuse people.

Then please hide "S2 Audio"... clicking on a menu item that does nothing (not even printing "no audio available"), that definitely confuses people.

@XECDesign XECDesign reopened this Jul 16, 2024
@XECDesign
Copy link
Member

Fair point. And upon further inspection is looks like it's not behaving the way it's meant to at all.

@toobaz
Copy link
Author

toobaz commented Jul 16, 2024

Fair point. And upon further inspection is looks like it's not behaving the way it's meant to at all.

Thanks! And I forgot to mention that this looks like a regression - the guide I referred to initially seems to imply that the submenu used to appear back in December 2015.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants