Page 1 of 2

[Solved] No Sound

Posted: 29 Mar 2014, 11:48
by mparillo
On a different machine, I do just fime with the Open Source Video drivers, but I get no sound. Windows seems to think I have IDT High Definition Audio. Is there a driver for that?

Re: No Sound

Posted: 29 Mar 2014, 12:07
by francois
Windows...
This is porteus. Please give more information on the problem. It is not clear. :)

Re: No Sound

Posted: 30 Mar 2014, 13:25
by mparillo
Is there an audio driver that works with an HP EliteBook 840?

Re: No Sound

Posted: 30 Mar 2014, 13:48
by francois
1.0 Try in command line:

Code: Select all

guest@porteus:~$ alsamixer
guest@porteus:~$ 
See if you cannot adjust the parameters. Toggle and adjust with the arrow keys.

2.0 Please give us the output:

Code: Select all

guest@porteus:~$ lsmod | grep snd
3.0 Meanwhile that we find some solution, have a look at:
http://docs.slackware.com/howtos:hardwa ... -hda-intel

4.0 What have your tried under porteus to assert that there is no sound? Your laptop is sais to work under linux, so there should be a solution, see:
http://h71016.www7.hp.com/dstore/html/p ... _Sheet.pdf

Re: No Sound

Posted: 30 Mar 2014, 14:01
by brokenman
In a terminal as root run this:

Code: Select all

cat >> /etc/asound.conf << EOF
defaults.pcm.card 1
defaults.ctl.card 1
EOF

Re: No Sound

Posted: 30 Mar 2014, 14:18
by mparillo
It looks as if the guest account used for the Always Fresh mode lacks permissions to do it directly:

guest@porteus:~$ cat >> /etc/asound.conf << EOF
defaults.pcm.card 1
defaults.ctl.card 1
EOF
bash: /etc/asound.conf: Permission denied

And cannot use sudo either:

guest@porteus:~$ sudo cat >> /etc/asound.conf << EOF
defaults.pcm.card 1
defaults.ctl.card 1
EOF
bash: /etc/asound.conf: Permission denied

Re: No Sound

Posted: 30 Mar 2014, 17:57
by francois
In guest mode use terminal to get in root mode:

Code: Select all

guest@porteus:~$ su
Password: 
The root password is toor, unless you changed it. Then try the commands. Some work only in root mode. 8)

Re: No Sound

Posted: 30 Mar 2014, 19:24
by mparillo
su worked when sudo did not. Thank you very much. Sound (both YouTube.com and Great Little Radio Player) now works. Two questions:

1. Since I prefer to run always fresh, is there a way I do not need to do this every time? Maybe write some kind of script? But if I put it in my KDE System Settings > Startup and Shutdown > Autostart, it will not survive the re-boot as I am Always Fresh, right?
2. I assume asound.conf contains my sound configuration, but what do these settings do?
defaults.pcm.card 1
defaults.ctl.card 1

Re: No Sound

Posted: 30 Mar 2014, 22:47
by francois
There is no sudo package installed stock on porteus. It has to be installed.

What type of porteus install do you have: usb, cd, hdd? It will be easier to give some reccomandations. 8)

Re: No Sound

Posted: 30 Mar 2014, 23:41
by brokenman
Put the file /etc/asound.conf into your rootcopy folder and then in /mnt/sdxY/boot/syslinux/porteus.cfg change the graphics line mode line that says :

LABEL mate
MENU LABEL Graphics mode (mate)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus guiexec=mate-terminal
TEXT HELP
Run Porteus the best way we can.
Try to autoconfigure graphics
card and use the maximum
allowed resolution
ENDTEXT

Remove the changes= part and you will be booting into always fresh mode, but stuff in your rootcopy folder will be copied into the live file system.

Code: Select all

cp -a --parents /etc/asound.conf /mnt/sdxY/porteus/rootcopy

Re: No Sound

Posted: 31 Mar 2014, 01:25
by mparillo
brokenman wrote:

Code: Select all

cp -a --parents /etc/asound.conf /mnt/sdxY/porteus/rootcopy
I used your command above to copy /etc/asound.conf to my USB (/mnt/sdb1/), and was able to test without even having to edit /mnt/sdb1/boot/syslinux/porteus.cfg on my USB, because you taught me the tab trick. I simply hit tab at the mode selection, removed the changes=/porteus parameter, and I heard the Porteus KDE Workspace login sound, and am listening to the Great Little Radio Player.

Thank you.

[Solved] No Sound

Posted: 01 Sep 2017, 15:20
by hargitay
Dear Porteus users/friends!

I am having the same issue... on my laptop on Porteus 3.2.2.mate 64.


I have tried everything listed here... but still no sound.
The output for aplay -l now:

root@porteus:/home/guest# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Generic [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0


I really like Porteus... Can anyone help me to configure my soundcard?

Kind regards,
Attila

[Solved] No Sound

Posted: 01 Sep 2017, 16:16
by francois
Have you tried:

Code: Select all

cat >> /etc/asound.conf << EOF
defaults.pcm.card 1
defaults.ctl.card 1
EOF

[Solved] No Sound

Posted: 27 Oct 2018, 18:28
by olhado
Hello,
I have the same problem on a pc using a sis966 audio card. I tried the cat trick above but it didn't work, sound preferences still says dummy output. I'm using porteus 4 32 bit mate.

Code: Select all

aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: SIS966 [HDA SIS966], device 0: AD1984A Analog [AD1984A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SIS966 [HDA SIS966], device 2: AD1984A Alt Analog [AD1984A Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lspci:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:05.0 SATA controller: Silicon Integrated Systems [SiS] AHCI IDE Controller (0106) (rev 03)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5764M Gigabit Ethernet PCIe (rev 10)
things in alsamixer looked ok.
Any ideas?
Thanks.

[Solved] No Sound

Posted: 27 Oct 2018, 19:50
by Blaze
Hi olhado.
Probably, this tweak will help you

Code: Select all

su
toor
echo 'options snd-hda-intel index=1,0' > /etc/modprobe.d/50-alsa.conf
reboot