asb / raspi-config

Configuration tool for the Raspberry Pi. Now maintained at https://github.com/RPi-Distro/raspi-config
Other
263 stars 328 forks source link

Audio config auto #62

Open EdoubleDee opened 8 years ago

EdoubleDee commented 8 years ago

I just ran sudo raspi-config, went to advanced, audio and chose auto, enter.

The program responds with: There was an error running option A9 Audio.

In the terminal the following is printed: amixer: Control default open error: No such file or directory

Is this a dependency problem or is it because there is no jack or hdmi connected?

I'm running Rasbian Jesse on the Pi 2 (B).

I think the config tool is great! Maybe it would be nice to add support for user created (or maintained) scripts that can enable certain device and program specific configurations. Or make users able to share scripts to each other. So if i have a cousin with a pi and i have a pi running i can help remotely by sending a script with correct parameters to set stuff up. Or if i have a lot of pies in my network i can have them all execute a configuration script so the parameters are updated.

If there is already an obvious way of doing this I don't know of it.

lurch commented 8 years ago

Are you sure your Raspbian and raspi-config versions are up-to-date? I just tried this myself, and all three Audio options work fine, with no error reported.

adicarlo commented 8 years ago

I believe this problem is due to GPU audio being disabled. EdoubleDee, did you run 'rpi-upgrade'?

The fix is to set 'dtsparam=audio=on' in /boot/config.txt and rebooting, if its what I think it is.

See https://github.com/RPi-Distro/raspi-config/pull/26

AfzalivE commented 6 years ago

One and a half year later, I just wanna say it's

dtparam=audio=on

Not dts.

lurch commented 6 years ago

For reference, this project is now being maintained at https://github.com/RPi-Distro/raspi-config so if there are any problems with it, they should be reported there.