Page 1 of 1

No sound on new Porteus installation

Posted: 28 Apr 2015, 21:33
by rcrsf
I just recently installed Porteus on a USB stick, and everything works great except for no sound. There's not even a volume level icon (even though the "hidden" option for that icon is UNchecked).

I'm on a Dell Inspiron 15R (5537) bought in 2013. When I boot *buntu, there is sound, so I know the card is okay.

Here's possible relevant output of "aplay --list-devices":

**** List of PLAYBACK Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: ALC3223 Analog [ALC3223 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
guest@porteus:~$

Thanks for any help!

Re: No sound on new Porteus installation

Posted: 29 Apr 2015, 00:58
by francois

Re: No sound on new Porteus installation

Posted: 29 Apr 2015, 15:55
by rcrsf
Thanks for that link. I had some trouble following the conversion, but here's all I did:

1) Switched to root user
2) Used a text editor to create "/etc/asound.conf" and put these two lines in it:
defaults.pcm.card 1
defaults.ctl.card 1
3) Then restarted my computer.

I now have sound. No idea if I have both those cards, but something worked.

As a bonus, I can now also view YouTube. Without sound, the videos would fail after 1 second. I didn't know the two issues were related.

Re: No sound on new Porteus installation

Posted: 30 Apr 2015, 00:48
by francois
This brokenman solution. Maybe he will explain the rationale. If you find it we will gladly read you. :)

Re: No sound on new Porteus installation

Posted: 30 Apr 2015, 13:24
by brokenman
Some systems have two sound options. This config file puts the pcm card as the first option for alsa. To make it permanent copy the file into the rootcopy folder.

Code: Select all

cp -a --parents /etc/asound.conf /nmt/sdaxY/porteus/rootcopy