LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-24-2014, 08:09 PM   #1
chytraeus
Member
 
Registered: Dec 2008
Distribution: slackware64 openbsd
Posts: 75

Rep: Reputation: 2
no sound in slackware 14.1 on new i7 laptop with haswell hdmi


I saw this similar thread http://www.linuxquestions.org/questi...-a-4175497740/ but I am unable to resolve this issue on my own.

My son just bought this laptop from system76 and I have set it up per his wishes to dual boot slackware and windows 7. Everything but the sound is working in slackware.

Code:
root@seth:/etc# lspci
00:00.0 Host bridge: Intel Corporation Haswell DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Haswell PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Haswell Integrated Graphics Controller (rev 06)                                 
00:03.0 Audio device: Intel Corporation Haswell HD Audio Controller (rev 06)                                                         
00:14.0 USB controller: Intel Corporation Lynx Point USB xHCI Host Controller (rev 05)                                               
00:16.0 Communication controller: Intel Corporation Lynx Point MEI Controller #1 (rev 04)                                            
00:1a.0 USB controller: Intel Corporation Lynx Point USB Enhanced Host Controller #2 (rev 05)                                        
00:1b.0 Audio device: Intel Corporation Lynx Point High Definition Audio Controller (rev 05)                                         
00:1c.0 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #1 (rev d5)                                                   
00:1c.2 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #3 (rev d5)                                                   
00:1c.3 PCI bridge: Intel Corporation Lynx Point PCI Express Root Port #4 (rev d5)                                                   
00:1d.0 USB controller: Intel Corporation Lynx Point USB Enhanced Host Controller #1 (rev 05)                                        
00:1f.0 ISA bridge: Intel Corporation Lynx Point LPC Controller (rev 05)                                                             
00:1f.2 SATA controller: Intel Corporation Lynx Point 6-port SATA Controller 1 [AHCI mode] (rev 05)                                  
00:1f.3 SMBus: Intel Corporation Lynx Point SMBus Controller (rev 05)                                                                
03:00.0 Network controller: Intel Corporation Intel(R) Dual Band Wireless-AC 7260 (rev 73)                                           
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)                                                
04:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 0a)
Code:
bash-4.2$ aplay -l                                                                                                                   
**** List of PLAYBACK Hardware Devices ****                                                                                          
card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]                                                                               
  Subdevices: 1/1                                                                                                                    
  Subdevice #0: subdevice #0                                                                                                         
card 0: MID [HDA Intel MID], device 7: HDMI 1 [HDMI 1]                                                                               
  Subdevices: 1/1                                                                                                                    
  Subdevice #0: subdevice #0                                                                                                         
card 0: MID [HDA Intel MID], device 8: HDMI 2 [HDMI 2]                                                                               
  Subdevices: 1/1                                                                                                                    
  Subdevice #0: subdevice #0                                                                                                         
card 1: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 2: VT1802 Alt Analog [VT1802 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
In KDE, if I right-click KMix in the system tray, click "Select Master Channel" and then select "Current Mixer --> HDA Intel PCH" and then run the following I hear sound.

Code:
aplay -D plughw:1,0 /usr/share/sounds/alsa/Noise.wav 
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
At a loss how to troubleshoot this.
 
Old 04-25-2014, 12:26 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,517

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
You want to set card 1 device 0 as the default sound device.
http://docs.slackware.com/howtos:har...s_on_slackware
 
1 members found this post helpful.
Old 04-25-2014, 12:33 AM   #3
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 78

Rep: Reputation: 14
once you get the sound in kde using the mixer try opening a terminal and at the cli use the "alsactl store" command.
If that dosn't work check out http://docs.slackware.com/howtos:har...s_on_slackware
 
Old 04-25-2014, 06:19 PM   #4
chytraeus
Member
 
Registered: Dec 2008
Distribution: slackware64 openbsd
Posts: 75

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by allend View Post
You want to set card 1 device 0 as the default sound device.
http://docs.slackware.com/howtos:har...s_on_slackware
That worked earlier today. I have the following in /etc/asound.conf
Code:
pcm.!default {
        type hw
        card 1
        device 0
   }
   ctl.!default {
        type hw
        card 1
        device 0
   }
I was able to hear sound from youtube in firefox. Now it stopped working.

alsamixer no longer opens for me either.

Code:
bash-4.2$ alsamixer 
cannot open mixer: Invalid argument

Last edited by chytraeus; 04-25-2014 at 06:23 PM.
 
Old 04-25-2014, 11:03 PM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,517

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Please post the output of 'cat /proc/asound/card*/id' as it should show the id's being used for the devices.

It may be preferable to create a /etc/modprobe.d/snd-hda-intel.conf containing something like the below to configure the devices.
Code:
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-hda-intel

options snd cards_limit=2

options snd-hda-intel id=PCH index=0
options snd-hda-intel id=MID index=1
The id's shown in blue may need to edited.

Last edited by allend; 04-26-2014 at 12:31 AM.
 
Old 04-28-2014, 01:44 AM   #6
chytraeus
Member
 
Registered: Dec 2008
Distribution: slackware64 openbsd
Posts: 75

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by allend View Post
Please post the output of 'cat /proc/asound/card*/id' as it should show the id's being used for the devices.

It may be preferable to create a /etc/modprobe.d/snd-hda-intel.conf containing something like the below to configure the devices.
Code:
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-hda-intel

options snd cards_limit=2

options snd-hda-intel id=PCH index=0
options snd-hda-intel id=MID index=1
The id's shown in blue may need to edited.
can't get the laptop back from him now to test this. he is obsessed with civilization v and some paradox games.
 
Old 04-28-2014, 06:10 PM   #7
julian516
LQ Newbie
 
Registered: Apr 2011
Location: Loveland, CO
Distribution: Debian, LMDE,Xubuntu, Slackware
Posts: 6

Rep: Reputation: Disabled
I arrived at this same situation with an S-76 laptop just a few days ago. Go over to Installation and check "Slackware64-14.1 ALSA Configuration?" In the last post there I try to outline what I did that solved my problem. I am running Xfce but I do not think that is relevant to this issue. I think allend is on to it. The essential step is to have Alsa recognize and work with the proper card.
 
1 members found this post helpful.
Old 04-28-2014, 07:18 PM   #8
chytraeus
Member
 
Registered: Dec 2008
Distribution: slackware64 openbsd
Posts: 75

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by julian516 View Post
I arrived at this same situation with an S-76 laptop just a few days ago. Go over to Installation and check "Slackware64-14.1 ALSA Configuration?" In the last post there I try to outline what I did that solved my problem. I am running Xfce but I do not think that is relevant to this issue. I think allend is on to it. The essential step is to have Alsa recognize and work with the proper card.
Thanks. I'll see if I can wrench the laptop away from him long enough to try your setup when he comes home from college on the weekend. Also, I wasn't quite correct that sound isn't working at all in firefox anymore. I setup two users on his computer. Sound in firefox works for the first user account I setup but not for the second user.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] New AMD APU, no sound from HDMI (Slackware 14.1 x64) spudgunner Slackware 5 01-26-2014 04:09 PM
Asus H87-Pro LGA1150 : Unsupported hardware device - Haswell HDMI audio vinorda Linux - Hardware 1 11-08-2013 11:08 AM
Slackware HDMI Sound delroot Linux - Newbie 5 09-26-2013 02:04 PM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 02:09 PM
HDMI Sound Problem after building a new kernel (Slackware 13.1) Danalol Slackware 4 12-29-2010 09:06 AM


All times are GMT -5. The time now is 02:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration