Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Can not find Mac mini sound card driver
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
Chili0_
n00b
n00b


Joined: 09 Oct 2017
Posts: 71

PostPosted: Thu Nov 23, 2017 2:07 pm    Post subject: [Solved] Can not find Mac mini sound card driver Reply with quote

Can not find proper driver, thanks in advance.

Code:

~ $ sudo lspci -v |grep -i audio
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
            Subsystem: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller


Code:

lshw export:
        *-multimedia
             description: Audio device
             product: 7 Series/C216 Chipset Family High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:48 memory:a0710000-a0713fff



my emerge --info
Code:

 emerge --info
Portage 2.3.13 (python 3.4.5-final-0, default/linux/amd64/13.0/no-multilib, gcc-6.4.0, glibc-2.25-r9, 4.14.0-gentoo x86_64)
=================================================================
System uname: Linux-4.14.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.4.1
Timestamp of repository gentoo: Mon, 20 Nov 2017 07:00:01 +0000
Head commit of repository gentoo: 43f12cee5009303ea52000cfc507b16621143e6b
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.8::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /backup/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 50

posativ
    location: /var/lib/layman/posativ
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=ivybridge -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=ivybridge -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"
LANG="zh_CN.UTF-8"
LC_ALL="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 ap berkdb bzip2 cli cracklib crypt cxx dri firmware flac fortran gdbm iconv ipv6 jpeg logrotate modules ncurses nls nptl openmp pam pcre perl png python readline seccomp session sqlite ssl tcpd tk turetype unicode vim-syntax xattr xml zh_CN zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en-US zh_CN zh_TW" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



My kernel config:

https://paste.pound-python.org/show/Aa5GIFm7wA3aCiJIXptD/

dmesg output

https://paste.pound-python.org/show/ZmdS0imzdqRWOGYhNB9q/

Code:

 ~ $ cat /sys/class/sound/card*/id
Dummy
Loopback
VirMIDI
PCH


Code:

 ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 3: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: PCH [HDA Intel PCH], device 1: Generic Digital [Generic Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0



Last edited by Chili0_ on Thu Nov 23, 2017 3:19 pm; edited 6 times in total
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Thu Nov 23, 2017 2:26 pm    Post subject: Reply with quote

Hi,

What kernel parameters did you set in the kernel ?

See https://wiki.gentoo.org/wiki/ALSA
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Chili0_
n00b
n00b


Joined: 09 Oct 2017
Posts: 71

PostPosted: Thu Nov 23, 2017 2:48 pm    Post subject: Reply with quote

xaviermiller wrote:
Hi,

What kernel parameters did you set in the kernel ?

See https://wiki.gentoo.org/wiki/ALSA



My kernel config:

https://paste.pound-python.org/show/Aa5GIFm7wA3aCiJIXptD/

dmesg output

https://paste.pound-python.org/show/ZmdS0imzdqRWOGYhNB9q/
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Thu Nov 23, 2017 2:56 pm    Post subject: Reply with quote

Hi,

Code:
[    0.629549] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops 0xffffffff9a4f44e0)
[    0.638448] snd_hda_codec_generic hdaudioC3D0: autoconfig for Generic: line_outs=1 (0xb/0x0/0x0/0x0/0x0) type:speaker
[    0.638460] snd_hda_codec_generic hdaudioC3D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    0.638465] snd_hda_codec_generic hdaudioC3D0:    hp_outs=1 (0xa/0x0/0x0/0x0/0x0)
[    0.638469] snd_hda_codec_generic hdaudioC3D0:    mono: mono_out=0x0
[    0.638473] snd_hda_codec_generic hdaudioC3D0:    dig-out=0x10/0x0
[    0.638477] snd_hda_codec_generic hdaudioC3D0:    inputs:
[    0.638481] snd_hda_codec_generic hdaudioC3D0:      Line=0xc
[    0.638485] snd_hda_codec_generic hdaudioC3D0:    dig-in=0xf
[    0.643888] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card3/input4
[    0.643983] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card3/input5
[    0.644082] input: HDA Intel PCH SPDIF In as /devices/pci0000:00/0000:00:1b.0/sound/card3/input6
[    0.644166] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card3/input7
[    0.644249] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card3/input8
[    0.644337] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1b.0/sound/card3/input9


The driver is working.

Can you run alsamixer and see if the volume is set (not "M"/muted)?
what is the output of
Code:
aplay -l
?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Chili0_
n00b
n00b


Joined: 09 Oct 2017
Posts: 71

PostPosted: Thu Nov 23, 2017 3:18 pm    Post subject: Reply with quote

xaviermiller, thank you.

I did what u said. Now it works.

Code:

xxxx@mini ~ $ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, CS4206 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, CS4206 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, CS4206 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, CS4206 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, CS4206 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, CS4206 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, CS4206 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, CS4206 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, CS4206 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, CS4206 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Nov 23, 2017 3:21 pm    Post subject: Reply with quote

your card is there, but appears later as dummy is default, and loopback take next position.
remove CONFIG_SND_DUMMY=y and CONFIG_SND_ALOOP=y and your card could only be first and default one to use.
edit: ah well, looks like it is now default :)
Back to top
View user's profile Send private message
Chili0_
n00b
n00b


Joined: 09 Oct 2017
Posts: 71

PostPosted: Wed Dec 06, 2017 2:33 pm    Post subject: Reply with quote

krinn wrote:
your card is there, but appears later as dummy is default, and loopback take next position.
remove CONFIG_SND_DUMMY=y and CONFIG_SND_ALOOP=y and your card could only be first and default one to use.
edit: ah well, looks like it is now default :)


Yes, removed CONFIG_SND_DUMMY=y and CONFIG_SND_ALOOP=y too.
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