Posts: 903
plvera
Joined: 11 Oct 2008
#1
Hello:
I installed Antix 13 (64) in a new HP Envy 17 laptop alongside with Win 8 and the install went fine but it would not boot.
Then I thought I installed Fedora which is supposed to install fine along Win 8 with a UEFI bios and that borkled windows 8. Not a great loss.
So, I went back and installed Antix (entire drive; no windows) and that worked and booted fine.

Sound is not working though. Inxi sees the cards

$ inxi -F
System: Host: laptop2 Kernel: 3.9-1-amd64 x86_64 (64 bit)
Desktop: Fluxbox 1.3.5 Distro: antiX-13.1_x64-full Luddite 19 June 2013
Machine: System: Hewlett-Packard product: HP ENVY 17 Notebook PC version: 0884100000305B00000620100
Mobo: Hewlett-Packard model: 1965 version: KBC Version 93.34 Bios: Insyde version: F.1C date: 06/07/2013
CPU: Quad core Intel Core i7-4700MQ CPU (-HT-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx)
Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz 3: 800.00 MHz 4: 800.00 MHz 5: 800.00 MHz 6: 800.00 MHz 7: 800.00 MHz 8: 800.00 MHz
Graphics: Card: Intel 4th Gen Core Processor Integrated Graphics Controller
X.Org: 1.12.4 drivers: fbdev,vesa (unloaded: intel) Resolution: 1600x900@0.0hz
GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 0x209) GLX Version: 2.1 Mesa 8.0.5
Audio: Card-1: Intel 8 Series/C220 Series High Definition Audio Controller driver: snd_hda_intel
Card-2: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture ver: k3.9-1-amd64
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
IF: eth0 state: down mac: 2c:44:fd:ac:b4:a6
Card-2: Intel Centrino Wireless-N 2230 driver: iwlwifi
IF: wlan0 state: up mac: 68:17:29:36:ec:64
Drives: HDD Total Size: 1000.2GB (0.0% used) 1: id: /dev/sda model: HGST_HTS541010A9 size: 1000.2GB
Partition: ID: / size: 20G used: 5.7G (30%) fs: ext4 ID: /home size: 890G used: 124M (1%) fs: ext4
ID: swap-1 size: 8.35GB used: 0.00GB (0%) fs: swap
Sensors: System Temperatures: cpu: 39.0C mobo: 0.0C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 153 Uptime: 2:08 Memory: 541.8/7783.8MB Client: Shell (bash) inxi: 1.9.12


But when I test the sound with aplay, I get this:

$ aplay -vv alert.wav
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
aplay: main:682: audio open error: No such file or directory

Here's my alsa-base.conf

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2


Btw, I also tried Ubuntu and sound worked fine. I figure it's something with the driver or with alsa-base.conf

Any help will be appreciated.

Thanks.

Pedro

EDIT:
Forgot to mention that I tried a liquorix kernel and a debian kernel and the problem persisted.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
I see your system has more than one audio card. alsa may not be using the correct hardware as the default. go into alsamixer and see if the sound card that you expect is selected as the default. You can see the list and change cards with F6.

This expends my knowledge of asla troubleshooting, so I hope it helps!
Posts: 903
plvera
Joined: 11 Oct 2008
#3
thanks for the suggestion. However, selecting the second card from alsamixer does not fix the problem.
Posts: 630
Eino
Joined: 12 Oct 2012
#4
I have found a bug about the internal speakers, and your sound cards, with Debian.
Try an external speaker or headphones to narrow down the problem. If they work you have the same bug.
Here is the bug report.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://lists.debian.org/debian-kernel/2012/05/msg00634.html"
linktext was:"http://lists.debian.org/debian-kernel/2 ... 00634.html"
====================================
Posts: 903
plvera
Joined: 11 Oct 2008
#5
Thanks for the suggestion. There is no sound through earphones either.
Posts: 903
plvera
Joined: 11 Oct 2008
#6
Seems that I solved the problem. I installed. PulseAudio and rebooted and then sound works. Not really sure why it fixed it but I'm happy it's fixed.