Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] No sound on Intel NUC5i5RYH
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 721
Location: Oslo, Norway

PostPosted: Thu Jul 16, 2015 6:35 am    Post subject: [SOLVED] No sound on Intel NUC5i5RYH Reply with quote

I just installed Gentoo on a Intel NUC5i5RYH and aplay -l does not display any devices:

Code:
# lspci -s 00:1b.0 -k
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
        Subsystem: Intel Corporation Device 2057
        Kernel driver in use: snd_hda_intel

# lspci -s 00:03.0 -k
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
        Subsystem: Intel Corporation Device 2057
        Kernel driver in use: snd_hda_intel

# cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7134000 irq 45
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7130000 irq 46

aplay -l
**** List of PLAYBACK Hardware Devices ****


Also trying to aplay a wav file results in an odd error message:

Code:
# aplay /tmp/Yamaha-SY-35-Clarinet-C5.wav
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
aplay: main:722: audio open error: No such file or directory


There is a front audio jack on the NUC which I would like to get working.


Last edited by pgu on Thu Jul 16, 2015 8:07 am; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Jul 16, 2015 7:04 am    Post subject: Reply with quote

that intel-hda-audio is basically a summary of so many hardware "sound" cards or implemented in chipsets that you better check if any of these "special" intel-hda-audio flag brings up your card. some intel-hda-audio cards, see this forum search needed special settings to get it to work. It is also advised that you use the newest kernel available. I think a NUC is kinda "new / fresh" hardware and a newer kernel with newest alsa and such may just bring up your card.

so gentoo-sources 4.1.2 is advised with newest alsa ... as of now

did you search the net for your nuc and see if anyone got it working already?
Back to top
View user's profile Send private message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 721
Location: Oslo, Norway

PostPosted: Thu Jul 16, 2015 7:59 am    Post subject: Reply with quote

The problem was due to missing codecs in my kernel (4.0.5). I can now see the devices using aplay -l:

Code:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


But the aplay error message persists.
Back to top
View user's profile Send private message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 721
Location: Oslo, Norway

PostPosted: Thu Jul 16, 2015 8:07 am    Post subject: Reply with quote

Solved the aplay error by creating .asoundrc with a pcm.dmixer.
Back to top
View user's profile Send private message
stu_rat
n00b
n00b


Joined: 17 Jan 2011
Posts: 50
Location: UK

PostPosted: Thu Jul 16, 2015 8:04 pm    Post subject: Reply with quote

pgu wrote:
Solved the aplay error by creating .asoundrc with a pcm.dmixer.


Any chance you could post the contents of your .asoundrc? I have a similar problem, but my attempts to construct a working .asoundrc file have been unsuccessful.

Thanks.
Back to top
View user's profile Send private message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 721
Location: Oslo, Norway

PostPosted: Fri Jul 17, 2015 11:00 am    Post subject: Reply with quote

Code:
pcm.!default {
         type asym
         playback.pcm {
                 type plug
                 slave.pcm "dmixer"
         }
}

pcm.dmixer  {
        type dmix
        ipc_key 1024
        slave {
                pcm "hw:1,0"
                period_time 0
                period_size 1024
                buffer_size 4096
                rate 44100
        }
        bindings {
                0 0
                1 1
        }
}

ctl.dmixer {
        type hw
        card 1
}
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 449
Location: Saitama, JP

PostPosted: Thu Dec 10, 2015 1:26 am    Post subject: Reply with quote

Hey thanks, pgu! I struggled with this for a long time. Your .asoundrc fixed it!
Back to top
View user's profile Send private message
zhak
n00b
n00b


Joined: 04 May 2015
Posts: 21

PostPosted: Fri Jan 08, 2016 2:07 pm    Post subject: Reply with quote

pgu wrote:
The problem was due to missing codecs in my kernel (4.0.5)

What codecs did you use? I have the very same card
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Jan 08, 2016 4:05 pm    Post subject: Reply with quote

zhak wrote:
pgu wrote:
The problem was due to missing codecs in my kernel (4.0.5)

What codecs did you use? I have the very same card

Unlike what you think having the same card may lead to having different codecs than him ;)

You can get the codec your cards need with
Code:
 head -1 /proc/asound/card?/codec*
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum