[SOLVED] No sound with Asus Xonar DGX

I've got no sound so I've looked into journalctl and there were some bluez and pulseaudio related erros. So i.a.w. this topic https://bbs.archlinux.org/viewtopic.php?id=155714 I did `systemctl enable bluetooth.service`. No more errors but still no sound.
Other things I did:
- unplug/plug headphones
- check whether anything is muted in alsamixer and the gnome sound applet (note: nothing is greyed-out, microphone picks up signals)
snd_oxygen i.e. ASUS XONAR is the sound card I would like to use and I hook my headphones to.
# cat /proc/asound/cards
0 [DGX ]: CMI8786 - Xonar DGX
C-Media Oxygen HD Audio at 0xee00, irq 17
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfd7fc000 irq 30
# lsmod | grep '^snd' | column -t
snd_hda_codec_hdmi 49263 1
snd_hda_intel 26387 2
snd_hda_controller 26857 1 snd_hda_intel
snd_oxygen 23783 2
snd_hda_codec 112621 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller
snd_oxygen_lib 36709 1 snd_oxygen
snd_hwdep 17244 1 snd_hda_codec
snd_mpu401_uart 13507 1 snd_oxygen_lib
snd_rawmidi 26806 1 snd_mpu401_uart
snd_seq_device 13307 1 snd_rawmidi
snd_pcm 88779 5 snd_hda_codec_hdmi,snd_oxygen_lib,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer 26614 1 snd_pcm
snd 73436 19 snd_oxygen,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_oxygen_lib,snd_hda_codec,snd_hda_intel,snd_mpu401_uart,snd_seq_device
# journalctl -b | grep -i bluez
Apr 26 12:13:52 arch1411 dbus[326]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Apr 26 12:13:52 arch1411 dbus[326]: [system] Successfully activated service 'org.bluez'
Apr 26 12:14:31 arch1411 /usr/lib/gdm/gdm-x-session[359]: Activating service name='org.bluez.obex'
Apr 26 12:14:31 arch1411 /usr/lib/gdm/gdm-x-session[359]: Successfully activated service 'org.bluez.obex'
[root@arch1411 hg1]# journalctl -b | grep -i audio
Apr 26 12:13:50 arch1411 kernel: snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client
Apr 26 12:13:52 arch1411 rtkit-daemon[432]: Successfully made thread 431 of process 431 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Apr 26 12:13:52 arch1411 rtkit-daemon[432]: Successfully made thread 456 of process 431 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Apr 26 12:13:52 arch1411 rtkit-daemon[432]: Successfully made thread 497 of process 431 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Apr 26 12:13:52 arch1411 rtkit-daemon[432]: Successfully made thread 498 of process 431 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Apr 26 15:37:00 arch1411 vlc.desktop[876]: [00007ffabc009ee8] mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer
Apr 26 15:37:02 arch1411 vlc.desktop[876]: [00007ffae0c244f8] mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer
# systemctl status pulseaudio.service
● pulseaudio.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
# systemctl start pulseaudio.service
Failed to start pulseaudio.service: Unit pulseaudio.service failed to load: No such file or directory.
Should I proceed per https://bbs.archlinux.org/viewtopic.php?id=149501 and remove pulseaudio daemon from the /etc/rc.conf file?
Last edited by bbarcher (2015-05-01 07:42:36)

systemctl --all --no-pager|grep -i pulse
returns nothing.
Thank you for your input, V1del.
$ pacmd list-cards
2 card(s) available.
index: 0
name: <alsa_card.pci-0000_01_00.1>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfd7fc000 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aa88"
device.product.name = "Barts HDMI Audio [Radeon HD 6800 Series]"
device.string = "0"
device.description = "Barts HDMI Audio [Radeon HD 6800 Series]"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:hdmi-stereo>
sinks:
alsa_output.pci-0000_01_00.1.hdmi-stereo/#0: Barts HDMI Audio [Radeon HD 6800 Series] Digital Stereo (HDMI)
sources:
alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor/#0: Monitor of Barts HDMI Audio [Radeon HD 6800 Series] Digital Stereo (HDMI)
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
index: 1
name: <alsa_card.pci-0000_04_04.0>
driver: <module-alsa-card.c>
owner module: 24
properties:
alsa.card = "1"
alsa.card_name = "Xonar DGX"
alsa.long_card_name = "C-Media Oxygen HD Audio at 0xee00, irq 17"
alsa.driver_name = "snd_oxygen"
device.bus_path = "pci-0000:04:04.0"
sysfs.path = "/devices/pci0000:00/0000:00:05.0/0000:03:00.0/0000:04:04.0/sound/card1"
device.bus = "pci"
device.vendor.id = "13f6"
device.vendor.name = "C-Media Electronics Inc"
device.product.id = "8788"
device.product.name = "CMI8788 [Oxygen HD Audio]"
device.string = "1"
device.description = "CMI8788 [Oxygen HD Audio]"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_04_04.0.analog-stereo/#1: CMI8788 [Oxygen HD Audio] Analog Stereo
sources:
alsa_output.pci-0000_04_04.0.analog-stereo.monitor/#1: Monitor of CMI8788 [Oxygen HD Audio] Analog Stereo
alsa_input.pci-0000_04_04.0.analog-stereo/#2: CMI8788 [Oxygen HD Audio] Analog Stereo
ports:
analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: unknown)
properties:
analog-input-aux: Analog Input (priority 8000, latency offset 0 usec, available: unknown)
properties:
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
$ pacmd list-sinks
2 sink(s) available.
index: 0
name: <alsa_output.pci-0000_01_00.1.hdmi-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9050
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
card: 0 <alsa_card.pci-0000_01_00.1>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "0"
alsa.card_name = "HDA ATI HDMI"
alsa.long_card_name = "HDA ATI HDMI at 0xfd7fc000 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "aa88"
device.product.name = "Barts HDMI Audio [Radeon HD 6800 Series]"
device.string = "hdmi:0"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "Barts HDMI Audio [Radeon HD 6800 Series] Digital Stereo (HDMI)"
alsa.mixer_name = "ATI R6xx HDMI"
alsa.components = "HDA:1002aa01,00aa0100,00100200"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
active port: <hdmi-output-0>
* index: 1
name: <alsa_output.pci-0000_04_04.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9059
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 1837.50 ms
card: 1 <alsa_card.pci-0000_04_04.0>
module: 24
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "Multichannel"
alsa.id = "Multichannel"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "Xonar DGX"
alsa.long_card_name = "C-Media Oxygen HD Audio at 0xee00, irq 17"
alsa.driver_name = "snd_oxygen"
device.bus_path = "pci-0000:04:04.0"
sysfs.path = "/devices/pci0000:00/0000:00:05.0/0000:03:00.0/0000:04:04.0/sound/card1"
device.bus = "pci"
device.vendor.id = "13f6"
device.vendor.name = "C-Media Electronics Inc"
device.product.id = "8788"
device.product.name = "CMI8788 [Oxygen HD Audio]"
device.string = "hw:1"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "352800"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "CMI8788 [Oxygen HD Audio] Analog Stereo"
alsa.mixer_name = "CMI8786"
alsa.components = "CS4245 CMI8786"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-headphones>
After all of the recommended solutions from the wiki I still get
$ systemctl status pulseaudio.service
● pulseaudio.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
$ pulseaudio -vvvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 6.0
D: [pulseaudio] main.c: Compilation host: x86_64-unknown-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
D: [pulseaudio] main.c: Running on host: Linux x86_64 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015
D: [pulseaudio] main.c: Found 6 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is d36c9fa4b78f4c8cae7f7ad7897683e3.
I: [pulseaudio] main.c: Session ID is c1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/hg1/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-6.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
Last edited by bbarcher (2015-04-27 19:16:41)

Similar Messages

  • Asus Xonar DGX no rear sound / mic. Front panel sound/mic ok. [SOLVED]

    Hi guys,
    I have a ASUS Xonar DGX PCI-E GX2.5 sound card since my onboard audio crapped out on my motherboard. I just did a first time install on my desktop and the rear portion of my card refuses to work. If I connect up my speakers to my analog output in the back I don't have any options in my sound manager for the analog output to just be a 2.0 system. I get 4.0, 4.1, 5.0, 5.1. All of which do not work obviously. Also my microphone doesn't work plugged into the actual card. If I plug them into the front panel audio, both the microphone and headphone out work. I did some searching, and it seems like a likely cause has something to do with amixer being multichannel. I tried several commands but wasn't successful in getting the audio to work through the back. Any help would be useful, I'm still trying to learn a lot about Arch while doing all this. Thanks in advance!
    Solution. Using Alsamixer in terminal and selecting the analog out as stereo headphones, instead of stereo headphones (fp).
    Last edited by 15goudreau (2014-08-04 21:56:36)

    Search for vid and pid combination, ergo 13f6:8788 in your case. This should be one of the search terms, vid and pid could be also separated, other search terms could include oxygen, sonar, dgx and so on. Simple google search should turn something up.
    Edit: The point is to locate a thread/post where the support for this card was implemented/talked about. It could provide some further insight.
    The simplest approach would be to download linux-rt sources from aur with yaourt, modify PKGBUILD, compile and then install.
    yaourt -G linux-rt
    cd linux-rt
    Copy this into PKGBUILD replacing the original:
    # Maintainer: Joakim Hernberg <[email protected]>
    # Contributor: Ray Rashif <[email protected]>
    # Contributor: timbosa <[email protected]>
    # Contributor: Tobias Powalowski <[email protected]>
    # Contributor: Thomas Baechler <[email protected]>
    pkgbase=linux-rt
    pkgname=('linux-rt' 'linux-rt-headers' 'linux-rt-docs') # Build realtime patched -rt kernel
    #pkgname=linux-custom # Build kernel with a different name
    _kernelname=${pkgname#linux}
    _basekernel=3.14
    _releasever=12
    _rtpatchver=rt9
    pkgrel=1
    _pkgver=${_basekernel}.${_releasever}
    pkgver=${_basekernel}.${_releasever}_${_rtpatchver}
    arch=('i686' 'x86_64')
    url="http://rt.wiki.kernel.org/"
    license=('GPL2')
    makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
    options=('!strip')
    source=("https://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basekernel}.tar.xz"
    "https://www.kernel.org/pub/linux/kernel/v3.x/patch-${_pkgver}.xz"
    "https://www.kernel.org/pub/linux/kernel/projects/rt/${_basekernel}/patch-${_pkgver}-${_rtpatchver}.patch.xz"
    # the main kernel config files
    'config' 'config.x86_64'
    # standard config files for mkinitcpio ramdisk
    "${pkgname}.preset"
    'change-default-console-loglevel.patch'
    '0001-Bluetooth-allocate-static-minor-for-vhci.patch'
    '0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch'
    '0003-module-remove-MODULE_GENERIC_TABLE.patch'
    '0006-genksyms-fix-typeof-handling.patch'
    '0007-asus-xonar-dgx.patch')
    md5sums=('b621207b3f6ecbb67db18b13258f8ea8'
    '89a5af1f3609d0c27e63fea298dd80ed'
    '2aa3614e488efa939007a1c428406c30'
    'a8126ad28c0a902a575397cacd099db2'
    '843119a441c942efc5ec4b73c3c6ced5'
    'eb14dcfd80c00852ef81ded6e826826a'
    '6623d69fdc936d707990ca060dabd2ce'
    '6839ddec74a5300beff1709a81b0e4f3'
    '706549e8a05f33f7fc697f28c0ca71d2'
    'd23fc66be93ebce698bd7da844789de1'
    '16a161979f846b049e90daea907c35dd'
    'SKIP')
    prepare() {
    cd "${srcdir}/linux-${_basekernel}"
    # add upstream patch
    msg "apply patch-${_pkgver}"
    patch -p1 -i "${srcdir}/patch-${_pkgver}"
    # add realtime patch
    msg "applying patch-${_pkgver}-${_rtpatchver}.patch"
    patch -p1 -i "${srcdir}/patch-${_pkgver}-${_rtpatchver}.patch"
    # add latest fixes from stable queue, if needed
    # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
    # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
    # remove this when a Kconfig knob is made available by upstream
    # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
    msg "change-default-console-loglevel.patch"
    patch -p1 -i "${srcdir}/change-default-console-loglevel.patch"
    # Fix vhci warning in kmod (to restore every kernel maintainer's sanity)
    msg "0001-Bluetooth-allocate-static-minor-for-vhci.patch"
    patch -p1 -i "${srcdir}/0001-Bluetooth-allocate-static-minor-for-vhci.patch"
    # Fix atkbd aliases
    msg "0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch"
    patch -p1 -i "${srcdir}/0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch"
    msg "0003-module-remove-MODULE_GENERIC_TABLE.patch"
    patch -p1 -i "${srcdir}/0003-module-remove-MODULE_GENERIC_TABLE.patch"
    # Fix generation of symbol CRCs
    # http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dc53324060f324e8af6867f57bf4891c13c6ef18
    msg "0006-genksyms-fix-typeof-handling.patch"
    patch -p1 -i "${srcdir}/0006-genksyms-fix-typeof-handling.patch"
    msg "0007-asus-xonar-dgx.patch"
    patch -p1 -i "${srcdir}/0007-asus-xonar-dgx.patch"
    msg "All patches have successfully been applied"
    if [ "${CARCH}" = "x86_64" ]; then
    cat "${srcdir}/config.x86_64" > ./.config
    else
    cat "${srcdir}/config" > ./.config
    fi
    # if [ "${_kernelname}" != "" ]; then
    # sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    # sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config
    # fi
    # set extraversion to pkgrel
    #sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
    # set localversion to pkgrel-rt
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"-${pkgrel}${_kernelname}\"|g" ./.config
    # don't run depmod on 'make install'. We'll do this ourselves in packaging
    sed -i '2iexit 0' scripts/depmod.sh
    # get kernel version
    make prepare
    # load configuration
    # Configure the kernel. Replace the line below with one of your choice.
    #make menuconfig # CLI menu for configuration
    #make nconfig # new CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # rewrite configuration
    yes "" | make config >/dev/null
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"; return 1
    build() {
    cd "${srcdir}/linux-${_basekernel}"
    make ${MAKEFLAGS} LOCALVERSION= bzImage modules
    package_linux-rt() {
    pkgdesc="The Linux Kernel and modules (with realtime preemption)."
    #groups=('base')
    depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
    optdepends=('crda: to set the correct wireless channels of your country')
    # provides=("kernel26${_kernelname}=${pkgver}")
    # conflicts=("kernel26${_kernelname}")
    # replaces=("kernel26${_kernelname}")
    backup=("etc/mkinitcpio.d/${pkgname}.preset")
    install=${pkgname}.install
    cd "${srcdir}/linux-${_basekernel}"
    KARCH=x86
    # get kernel version
    _kernver="$(make LOCALVERSION= kernelrelease)"
    # _basekernel=${_kernver%%-*}
    # _basekernel=${_basekernel%.*}
    mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
    make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install
    cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgname}"
    # add vmlinux
    install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux"
    # set correct depmod command for install
    cp -f "${startdir}/${install}" "${startdir}/${install}.pkg"
    true && install=${install}.pkg
    sed \
    -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \
    -i "${startdir}/${install}"
    # install mkinitcpio preset file for kernel
    install -D -m644 "${srcdir}/${pkgname}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset"
    sed \
    -e "1s|'linux.*'|'${pkgname}'|" \
    -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgname}\"|" \
    -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgname}.img\"|" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgname}-fallback.img\"|" \
    -i "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset"
    # remove build and source links
    rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
    # remove the firmware
    rm -rf "${pkgdir}/lib/firmware"
    # gzip -9 all modules to save 100MB of space
    find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
    # make room for external modules
    ln -s "../extramodules-${_basekernel}${_kernelname:--rt}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
    # add real version for building modules and running depmod from post_install/upgrade
    mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--rt}"
    echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--rt}/version"
    # Now we call depmod...
    depmod -b "$pkgdir" -F System.map "$_kernver"
    # move module tree /lib -> /usr/lib
    mv "$pkgdir/lib" "$pkgdir/usr"
    package_linux-rt-headers() {
    pkgdesc="Header files and scripts for building modules for linux kernel (with realtime preemption)."
    # provides=("kernel26${_kernelname}-headers=${pkgver}")
    # conflicts=("kernel26${_kernelname}-headers")
    # replaces=("kernel26${_kernelname}-headers")
    install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
    cd "${pkgdir}/usr/lib/modules/${_kernver}"
    ln -sf ../../../src/linux-${_kernver} build
    cd "${srcdir}/linux-${_basekernel}"
    install -D -m644 Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/Makefile"
    install -D -m644 kernel/Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile"
    install -D -m644 .config \
    "${pkgdir}/usr/src/linux-${_kernver}/.config"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
    for i in acpi asm-generic config crypto drm generated keys linux math-emu \
    media net pcmcia scsi sound trace uapi video xen; do
    cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/"
    done
    # copy arch includes for external modules
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/x86"
    cp -a arch/x86/include "${pkgdir}/usr/src/linux-${_kernver}/arch/x86/"
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
    cp -a scripts "${pkgdir}/usr/src/linux-${_kernver}"
    # fix permissions on scripts dir
    chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel"
    cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
    if [ "${CARCH}" = "i686" ]; then
    cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
    fi
    cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/"
    # add docbook makefile
    install -D -m644 Documentation/DocBook/Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
    # add dm headers
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
    cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
    # add inotify.h
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/linux"
    cp include/linux/inotify.h "${pkgdir}/usr/src/linux-${_kernver}/include/linux/"
    # add wireless headers
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
    cp net/mac80211/*.h "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core"
    cp drivers/media/dvb-core/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core/"
    # and...
    # http://bugs.archlinux.org/task/11194
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
    cp include/config/dvb/*.h "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
    # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
    # in reference to:
    # http://bugs.archlinux.org/task/13146
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
    cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
    cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
    # add dvb headers
    # in reference to:
    # http://bugs.archlinux.org/task/20402
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb"
    cp drivers/media/usb/dvb-usb/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb/"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends"
    cp drivers/media/dvb-frontends/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners"
    cp drivers/media/tuners/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners/"
    # add xfs and shmem for aufs building
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
    cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`
    cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}"
    done
    chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}"
    find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \;
    # strip scripts directory
    find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
    case "$(file -bi "${binary}")" in
    *application/x-sharedlib*) # Libraries (.so)
    /usr/bin/strip ${STRIP_SHARED} "${binary}";;
    *application/x-archive*) # Libraries (.a)
    /usr/bin/strip ${STRIP_STATIC} "${binary}";;
    *application/x-executable*) # Binaries
    /usr/bin/strip ${STRIP_BINARIES} "${binary}";;
    esac
    done
    # remove unneeded architectures
    rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa}
    package_linux-rt-docs() {
    pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel (with realtime preemption)."
    # provides=("kernel26${_kernelname}-docs=${pkgver}")
    # conflicts=("kernel26${_kernelname}-docs")
    # replaces=("kernel26${_kernelname}-docs")
    cd "${srcdir}/linux-${_basekernel}"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}"
    cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}"
    find "${pkgdir}" -type f -exec chmod 444 {} \;
    find "${pkgdir}" -type d -exec chmod 755 {} \;
    # remove a file already in linux package
    rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
    # vim:set ts=8 sts=2 sw=2 et:
    Then create the file '0007-asus-xonar-dgx.patch' with the following content:
    --- a/sound/pci/oxygen/oxygen.c 2014-08-01 20:45:20.299191180 +0200
    +++ b/sound/pci/oxygen/oxygen.c 2014-08-01 20:46:11.179947117 +0200
    @@ -105,7 +105,7 @@
    { OXYGEN_PCI_SUBID(0x10b0, 0x0219), .driver_data = MODEL_CMEDIA_REF },
    { OXYGEN_PCI_SUBID(0x13f6, 0x0001), .driver_data = MODEL_CMEDIA_REF },
    { OXYGEN_PCI_SUBID(0x13f6, 0x0010), .driver_data = MODEL_CMEDIA_REF },
    - { OXYGEN_PCI_SUBID(0x13f6, 0x8788), .driver_data = MODEL_CMEDIA_REF },
    + { OXYGEN_PCI_SUBID(0x13f6, 0x8788), .driver_data = MODEL_XONAR_DGX },
    { OXYGEN_PCI_SUBID(0x147a, 0xa017), .driver_data = MODEL_CMEDIA_REF },
    { OXYGEN_PCI_SUBID(0x1a58, 0x0910), .driver_data = MODEL_CMEDIA_REF },
    /* Asus Xonar DG */
    Finally run makepkg, should there be errors try removing the src dir first 'yes|rm -r src', then run makepkg again. Should there still be an error post here.
    As for the patch, should there be no real difference there is also MODEL_XONAR_DG, might be worth trying out.
    Last edited by emeres (2014-08-01 22:34:05)

  • No pulseaudio profiles for digital audio - Asus Xonar DGX

    Hi all,
    I am unable to usa the digital sound ports of my Asus Xonar DGX card with pulseaudio. I see four profiles for analogue audio in pavucontrol but none for digital SP/DIF.
    ALSA recognizes the hardware:
    $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    card 1: DGX [Xonar DGX], device 0: Multichannel [Multichannel]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 1: DGX [Xonar DGX], device 1: Digital [Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    and when using ALSA directly (e.g., by telling smplayer to use alsa device 1.1) digital audio works fine. However, pulseaudio apparently does not find device 1.1, I have only analogue profiles:
    $ pacmd list-cards
    2 card(s) available.
    index: 0
    index: 1
    name: <alsa_card.pci-0000_06_04.0>
    driver: <module-alsa-card.c>
    owner module: 25
    properties:
    alsa.card = "1"
    alsa.card_name = "Xonar DGX"
    alsa.long_card_name = "C-Media Oxygen HD Audio at 0xd000, irq 19"
    alsa.driver_name = "snd_oxygen"
    device.bus_path = "pci-0000:06:04.0"
    sysfs.path = "/devices/pci0000:00/0000:00:1c.7/0000:05:00.0/0000:06:04.0/sound/card1"
    device.bus = "pci"
    device.vendor.id = "13f6"
    device.vendor.name = "C-Media Electronics Inc"
    device.product.id = "8788"
    device.product.name = "CMI8788 [Oxygen HD Audio]"
    device.string = "1"
    device.description = "CMI8788 [Oxygen HD Audio]"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card-pci"
    profiles:
    input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
    output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
    output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
    off: Off (priority 0, available: unknown)
    active profile: <output:analog-stereo+input:analog-stereo>
    sinks:
    alsa_output.pci-0000_06_04.0.analog-stereo/#1: CMI8788 [Oxygen HD Audio] Analog Stereo
    sources:
    alsa_output.pci-0000_06_04.0.analog-stereo.monitor/#1: Monitor of CMI8788 [Oxygen HD Audio] Analog Stereo
    alsa_input.pci-0000_06_04.0.analog-stereo/#2: CMI8788 [Oxygen HD Audio] Analog Stereo
    ports:
    analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: unknown)
    properties:
    device.icon_name = "audio-input-microphone"
    analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
    properties:
    device.icon_name = "audio-input-microphone"
    analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: unknown)
    properties:
    analog-input-aux: Analog Input (priority 8000, latency offset 0 usec, available: unknown)
    properties:
    analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
    properties:
    device.icon_name = "audio-headphones"
    Do you guys have any idea how to fix this?
    Thanks in advance,
    k0ol

    Hi all,
    I am unable to usa the digital sound ports of my Asus Xonar DGX card with pulseaudio. I see four profiles for analogue audio in pavucontrol but none for digital SP/DIF.
    ALSA recognizes the hardware:
    $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    card 1: DGX [Xonar DGX], device 0: Multichannel [Multichannel]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 1: DGX [Xonar DGX], device 1: Digital [Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    and when using ALSA directly (e.g., by telling smplayer to use alsa device 1.1) digital audio works fine. However, pulseaudio apparently does not find device 1.1, I have only analogue profiles:
    $ pacmd list-cards
    2 card(s) available.
    index: 0
    index: 1
    name: <alsa_card.pci-0000_06_04.0>
    driver: <module-alsa-card.c>
    owner module: 25
    properties:
    alsa.card = "1"
    alsa.card_name = "Xonar DGX"
    alsa.long_card_name = "C-Media Oxygen HD Audio at 0xd000, irq 19"
    alsa.driver_name = "snd_oxygen"
    device.bus_path = "pci-0000:06:04.0"
    sysfs.path = "/devices/pci0000:00/0000:00:1c.7/0000:05:00.0/0000:06:04.0/sound/card1"
    device.bus = "pci"
    device.vendor.id = "13f6"
    device.vendor.name = "C-Media Electronics Inc"
    device.product.id = "8788"
    device.product.name = "CMI8788 [Oxygen HD Audio]"
    device.string = "1"
    device.description = "CMI8788 [Oxygen HD Audio]"
    module-udev-detect.discovered = "1"
    device.icon_name = "audio-card-pci"
    profiles:
    input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
    output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
    output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
    off: Off (priority 0, available: unknown)
    active profile: <output:analog-stereo+input:analog-stereo>
    sinks:
    alsa_output.pci-0000_06_04.0.analog-stereo/#1: CMI8788 [Oxygen HD Audio] Analog Stereo
    sources:
    alsa_output.pci-0000_06_04.0.analog-stereo.monitor/#1: Monitor of CMI8788 [Oxygen HD Audio] Analog Stereo
    alsa_input.pci-0000_06_04.0.analog-stereo/#2: CMI8788 [Oxygen HD Audio] Analog Stereo
    ports:
    analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: unknown)
    properties:
    device.icon_name = "audio-input-microphone"
    analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
    properties:
    device.icon_name = "audio-input-microphone"
    analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: unknown)
    properties:
    analog-input-aux: Analog Input (priority 8000, latency offset 0 usec, available: unknown)
    properties:
    analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
    properties:
    device.icon_name = "audio-headphones"
    Do you guys have any idea how to fix this?
    Thanks in advance,
    k0ol

  • No sound with Asus Motherboard

    Hi everybody,
    I have a computer with an Asus A8NE-FM. This motherboard has sound with Realtek AC97 ALC655 codec.
    I have installed Solaris 10 and i've tryied all possible drivers available on the Net but does not work :(
    Any idea please ?
    Thanks for your help.

    Thanks for your help.
    I have desactive pnpos and installed oss driver and now it works great !
    However oss is not a freeware :(
    Thanks ;)

  • Problems with Asus Xonar D2X and DMIX

    Hello,
    i have a problem with my ASUS Xonar D2X and DMIX. It is not possible for me to change the "defaults.pcm.dmix.format" in /usr/share/alsa my audio/video/youtube files are always playing with "format: S32_LE" (defaults.pcm.dmix.rate is working fine). On my other rig with an Onboard Realtek Soundcard i dont have this problem. Iam also using on a extern DAC.
    Please help me.

    If it only needs 12V, you could use one of the auxiliary power connectors in the PCI bay. See Figure 1
    <http://developer.apple.com/documentation/Hardware/Conceptual/HWtechPCI/Articles/pciimplementation.html>
    You can get the connector from this cable
    <http://www.welovemacs.com/9227128.html>

  • [SOLVED]No Sound with ALSA - Intel Corporation 82801G HD Audio

    Hey all,
    I've succesfully installed Arch Linux. My past two attempts have met with failure, all because of my own failure to read and follow directions correctly. This time everything is installed correctly. I am running Kdemod3 on my laptop with Arch and everything works great. I LOVE Pacman and the simplicity of Arch's configuration files. It's super fast and all together simple. My only remaining problem is this:
    My sound with ALSA is not functioning. I followed the installation instructions at the arch wiki and after unmuting all of my channels I still would not get any sound. My sound module is snd_hda_intel and it is detected, loaded and the whole nine yards (as far as I can tell). My user is a member of the 'audio' user group also. I looked at the troubleshooting tips on the bottom of the Wiki but decided not to try them as they do not seem to pertain to my card (snd_hda_intel) but I will try them if anyone would like me to.
    If anyone has any ideas, they'd be greatly appreciated!:D Anything I can provide that you need I will be more than willing to provide.
    Thanks for such a great distribution,
    Dan
    Last edited by JazzDan (2008-06-29 05:06:35)

    Problem resolved. I ran alsaconf, selected my soundcard, and everything was working from there out. Thanks MisfitI38 on the IRC!!!

  • [SOLVED] No sound with vmware

    I'm getting no sound with vmware, not sure why
    Here's what I've been trying to test things:
    $ cat /dev/urandom | aplay
    Playing raw data 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
    Here's some alsa info, if it helps:
    $ aplay -L
    null
    Discard all samples (playback) or generate zero samples (capture)
    default:CARD=AudioPCI
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Default Audio Device
    sysdefault:CARD=AudioPCI
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Default Audio Device
    front:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Front speakers
    rear:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC1
    Rear speakers
    surround40:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    4.0 Surround output to Front and Rear speakers
    iec958:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    IEC958 (S/PDIF) Digital Audio Output
    Last edited by specular (2014-08-27 19:52:45)

    Don't think I was clear enough, but arch is installed as a vmware guest. Below is the requested output from the alsa-info script:
    upload=true&script=true&cardinfo=
    !!ALSA Information Script v 0.4.63
    !!Script ran on: Wed Aug 27 18:29:05 UTC 2014
    !!Linux Distribution
    NAME="Arch Linux" ID=arch PRETTY_NAME="Arch Linux" HOME_URL="https://www.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/"
    !!DMI Information
    Manufacturer: VMware, Inc.
    Product Name: VMware7,1
    Product Version: None
    Firmware Version: VMW71.00V.0.B64.1310020058
    !!Kernel Information
    Kernel release: 3.14.2-1-ARCH
    Operating System: GNU/Linux
    Architecture: x86_64
    Processor: unknown
    SMP Enabled: Yes
    !!ALSA Version
    Driver version: k3.14.2-1-ARCH
    Library version: 1.0.27.2
    Utilities version: 1.0.28
    !!Loaded ALSA modules
    snd_ens1371
    !!Sound Servers on this system
    No sound servers found.
    !!Soundcards recognised by ALSA
    0 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
    Ensoniq AudioPCI ENS1371 at 0x1000, irq 19
    !!PCI Soundcards installed in the system
    02:01.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02)
    !!Advanced information - PCI Vendor/Device/Subsystem ID's
    02:01.0 0401: 1274:1371 (rev 02)
    Subsystem: 1274:1371
    !!Loaded sound module options
    !!Module: snd_ens1371
    enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
    id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
    index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    joystick_port : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    lineio : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    spdif : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    !!AC97 Codec information
    --startcollapse--
    0-0/0: Cirrus Logic CS4297A rev 3
    PCI Subsys Vendor: 0x1274
    PCI Subsys Device: 0x1371
    Flags: 4
    Capabilities :
    DAC resolution : 16-bit
    ADC resolution : 16-bit
    3D enhancement : No 3D Stereo Enhancement
    Current setup
    Mic gain : +0dB [+0dB]
    POP path : pre 3D
    Sim. stereo : off
    3D enhancement : off
    Loudness : off
    Mono output : MIX
    Mic select : Mic1
    ADC/DAC loopback : off
    0:00 = 0000
    0:02 = 0e8e
    0:04 = 0000
    0:06 = 0000
    0:08 = 0000
    0:0a = 0000
    0:0c = bfbf
    0:0e = bfbf
    0:10 = bfbf
    0:12 = bfbf
    0:14 = bfbf
    0:16 = bfbf
    0:18 = 28a8
    0:1a = 0000
    0:1c = 0808
    0:1e = 0000
    0:20 = 0000
    0:22 = 0000
    0:24 = 0000
    0:26 = 000f
    0:28 = 0000
    0:2a = 0000
    0:2c = 0000
    0:2e = 0000
    0:30 = 0000
    0:32 = 0000
    0:34 = 0000
    0:36 = 0000
    0:38 = 0000
    0:3a = 0000
    0:3c = 0000
    0:3e = 0000
    0:40 = 0000
    0:42 = 0000
    0:44 = 0000
    0:46 = 0000
    0:48 = 0000
    0:4a = 0000
    0:4c = 0000
    0:4e = 0000
    0:50 = 0000
    0:52 = 0000
    0:54 = 0000
    0:56 = 0000
    0:58 = 0000
    0:5a = 0000
    0:5c = 0000
    0:5e = 0000
    0:60 = 0000
    0:62 = 0000
    0:64 = 0000
    0:66 = 0000
    0:68 = 0000
    0:6a = 0000
    0:6c = 0000
    0:6e = 0000
    0:70 = 0000
    0:72 = 0000
    0:74 = 0000
    0:76 = 0000
    0:78 = 0000
    0:7a = 0000
    0:7c = 4352
    0:7e = 5913
    --endcollapse--
    !!ALSA Device nodes
    crw-rw----+ 1 root audio 116, 6 Aug 28 01:35 /dev/snd/controlC0
    crw-rw----+ 1 root audio 116, 2 Aug 28 01:35 /dev/snd/midiC0D0
    crw-rw----+ 1 root audio 116, 5 Aug 28 01:35 /dev/snd/pcmC0D0c
    crw-rw----+ 1 root audio 116, 4 Aug 28 03:28 /dev/snd/pcmC0D0p
    crw-rw----+ 1 root audio 116, 3 Aug 28 01:35 /dev/snd/pcmC0D1p
    crw-rw----+ 1 root audio 116, 1 Aug 28 01:35 /dev/snd/seq
    crw-rw----+ 1 root audio 116, 33 Aug 28 01:35 /dev/snd/timer
    /dev/snd/by-path:
    total 0
    drwxr-xr-x 2 root root 60 Aug 28 01:35 .
    drwxr-xr-x 3 root root 200 Aug 28 01:35 ..
    lrwxrwxrwx 1 root root 12 Aug 28 01:35 pci-0000:02:01.0 -> ../controlC0
    !!Aplay/Arecord output
    APLAY
    **** List of PLAYBACK Hardware Devices ****
    card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: AudioPCI [Ensoniq AudioPCI], device 1: ES1371/2 [ES1371 DAC1]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    ARECORD
    **** List of CAPTURE Hardware Devices ****
    card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    !!Amixer output
    !!-------Mixer controls for card 0 [AudioPCI]
    Card hw:0 'AudioPCI'/'Ensoniq AudioPCI ENS1371 at 0x1000, irq 19'
    Mixer name : 'Cirrus Logic CS4297A rev 3'
    Components : 'AC97a:43525913'
    Controls : 26
    Simple ctrls : 13
    Simple mixer control 'Master',0
    Capabilities: pvolume pswitch pswitch-joined
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 63
    Mono:
    Front Left: Playback 49 [78%] [-21.00dB] [on]
    Front Right: Playback 49 [78%] [-21.00dB] [on]
    Simple mixer control 'PCM',0
    Capabilities: pvolume pswitch pswitch-joined
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 63
    Mono:
    Front Left: Playback 23 [37%] [0.00dB] [on]
    Front Right: Playback 23 [37%] [0.00dB] [on]
    Simple mixer control 'Line',0
    Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
    Capture exclusive group: 0
    Playback channels: Front Left - Front Right
    Capture channels: Front Left - Front Right
    Limits: Playback 0 - 63
    Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
    Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
    Simple mixer control 'CD',0
    Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
    Capture exclusive group: 0
    Playback channels: Front Left - Front Right
    Capture channels: Front Left - Front Right
    Limits: Playback 0 - 63
    Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
    Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
    Simple mixer control 'Mic',0
    Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
    Capture exclusive group: 0
    Playback channels: Front Left - Front Right
    Capture channels: Front Left - Front Right
    Limits: Playback 0 - 63
    Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [on]
    Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [on]
    Simple mixer control 'Mic Boost (+20dB)',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [off]
    Simple mixer control 'Video',0
    Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
    Capture exclusive group: 0
    Playback channels: Front Left - Front Right
    Capture channels: Front Left - Front Right
    Limits: Playback 0 - 63
    Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
    Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
    Simple mixer control 'Phone',0
    Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
    Capture exclusive group: 0
    Playback channels: Front Left - Front Right
    Capture channels: Front Left - Front Right
    Limits: Playback 0 - 63
    Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
    Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
    Simple mixer control 'IEC958',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [off]
    Simple mixer control 'Aux',0
    Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
    Capture exclusive group: 0
    Playback channels: Front Left - Front Right
    Capture channels: Front Left - Front Right
    Limits: Playback 0 - 63
    Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
    Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
    Simple mixer control 'Capture',0
    Capabilities: cvolume cswitch cswitch-joined
    Capture channels: Front Left - Front Right
    Limits: Capture 0 - 15
    Front Left: Capture 8 [53%] [12.00dB] [on]
    Front Right: Capture 8 [53%] [12.00dB] [on]
    Simple mixer control 'Mix',0
    Capabilities: cswitch cswitch-exclusive
    Capture exclusive group: 0
    Capture channels: Front Left - Front Right
    Front Left: Capture [off]
    Front Right: Capture [off]
    Simple mixer control 'Mix Mono',0
    Capabilities: cswitch cswitch-exclusive
    Capture exclusive group: 0
    Capture channels: Front Left - Front Right
    Front Left: Capture [off]
    Front Right: Capture [off]
    !!Alsactl output
    --startcollapse--
    state.AudioPCI {
    control.1 {
    iface MIXER
    name 'Master Playback Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.2 {
    iface MIXER
    name 'Master Playback Volume'
    value.0 49
    value.1 49
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 63'
    dbmin -9450
    dbmax 0
    dbvalue.0 -2100
    dbvalue.1 -2100
    control.3 {
    iface MIXER
    name 'Phone Playback Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.4 {
    iface MIXER
    name 'Phone Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 63'
    dbmin -3450
    dbmax 6000
    dbvalue.0 -3450
    dbvalue.1 -3450
    control.5 {
    iface MIXER
    name 'Mic Playback Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.6 {
    iface MIXER
    name 'Mic Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 63'
    dbmin -3450
    dbmax 6000
    dbvalue.0 -3450
    dbvalue.1 -3450
    control.7 {
    iface MIXER
    name 'Mic Boost (+20dB)'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.8 {
    iface MIXER
    name 'Line Playback Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.9 {
    iface MIXER
    name 'Line Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 63'
    dbmin -3450
    dbmax 6000
    dbvalue.0 -3450
    dbvalue.1 -3450
    control.10 {
    iface MIXER
    name 'CD Playback Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.11 {
    iface MIXER
    name 'CD Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 63'
    dbmin -3450
    dbmax 6000
    dbvalue.0 -3450
    dbvalue.1 -3450
    control.12 {
    iface MIXER
    name 'Video Playback Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.13 {
    iface MIXER
    name 'Video Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 63'
    dbmin -3450
    dbmax 6000
    dbvalue.0 -3450
    dbvalue.1 -3450
    control.14 {
    iface MIXER
    name 'Aux Playback Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.15 {
    iface MIXER
    name 'Aux Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 63'
    dbmin -3450
    dbmax 6000
    dbvalue.0 -3450
    dbvalue.1 -3450
    control.16 {
    iface MIXER
    name 'PCM Playback Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.17 {
    iface MIXER
    name 'PCM Playback Volume'
    value.0 23
    value.1 23
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 63'
    dbmin -3450
    dbmax 6000
    dbvalue.0 0
    dbvalue.1 0
    control.18 {
    iface MIXER
    name 'Capture Source'
    value.0 Mic
    value.1 Mic
    comment {
    access 'read write'
    type ENUMERATED
    count 2
    item.0 Mic
    item.1 CD
    item.2 Video
    item.3 Aux
    item.4 Line
    item.5 Mix
    item.6 'Mix Mono'
    item.7 Phone
    control.19 {
    iface MIXER
    name 'Capture Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.20 {
    iface MIXER
    name 'Capture Volume'
    value.0 8
    value.1 8
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 15'
    dbmin 0
    dbmax 2250
    dbvalue.0 1200
    dbvalue.1 1200
    control.21 {
    iface MIXER
    name 'IEC958 Playback Con Mask'
    value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access read
    type IEC958
    count 1
    control.22 {
    iface MIXER
    name 'IEC958 Playback Pro Mask'
    value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    comment {
    access read
    type IEC958
    count 1
    control.23 {
    iface MIXER
    name 'IEC958 Playback Default'
    value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access 'read write'
    type IEC958
    count 1
    control.24 {
    iface MIXER
    name 'IEC958 Playback Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.25 {
    iface PCM
    name 'Playback Channel Map'
    value.0 0
    value.1 0
    comment {
    access read
    type INTEGER
    count 2
    range '0 - 36'
    control.26 {
    iface PCM
    device 1
    name 'Playback Channel Map'
    value.0 0
    value.1 0
    comment {
    access read
    type INTEGER
    count 2
    range '0 - 36'
    --endcollapse--
    !!All Loaded Modules
    Module
    fuse
    vmw_vsock_vmci_transport
    vsock
    nls_iso8859_1
    nls_cp437
    vfat
    fat
    coretemp
    hwmon
    joydev
    snd_ens1371
    mousedev
    snd_ac97_codec
    hid_generic
    ac97_bus
    gameport
    snd_rawmidi
    snd_seq_device
    snd_pcm
    snd_timer
    snd
    crct10dif_pclmul
    crc32_pclmul
    crc32c_intel
    ghash_clmulni_intel
    soundcore
    usbhid
    aesni_intel
    aes_x86_64
    lrw
    gf128mul
    glue_helper
    hid
    psmouse
    vmwgfx
    ppdev
    ablk_helper
    cryptd
    evdev
    vmxnet3
    mac_hid
    pcspkr
    vmw_balloon
    i2c_piix4
    serio_raw
    ttm
    microcode
    drm
    processor
    i2c_core
    intel_agp
    intel_gtt
    vmw_vmci
    parport_pc
    parport
    battery
    shpchp
    ac
    button
    ext4
    crc16
    mbcache
    jbd2
    dm_mod
    sd_mod
    crc_t10dif
    crct10dif_common
    sr_mod
    cdrom
    ata_generic
    pata_acpi
    atkbd
    libps2
    ata_piix
    libata
    mptsas
    scsi_transport_sas
    mptscsih
    uhci_hcd
    ehci_pci
    scsi_mod
    ehci_hcd
    usbcore
    mptbase
    usb_common
    floppy
    i8042
    serio
    !!ALSA/HDA dmesg
    [ 5.342713] mousedev: PS/2 mouse device common for all mice
    [ 5.345140] snd_ens1371 0000:02:01.0: enabling device (0000 -> 0001)
    [ 5.391722] intel_rapl: domain package energy ctr 0:0 not working, skip
    Last edited by specular (2014-08-27 18:45:55)

  • [SOLVED] No sound (with flash)

    Hello.
    I have no sound with flash. It does work elsewhere.
    I am using ALSA.
    My flash should output audio correctly according to wiki: https://wiki.archlinux.org/index.php/Fl … d_in_Flash
    # aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC889 Analog [ALC889 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 1: ALC889 Digital [ALC889 Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    EDIT: I'm retarded. I didn't add my user to audio group. And sound elsewhere was from speaker-test which needs SU.
    Last edited by handl3r (2012-01-22 07:39:34)

    codemac wrote:
    Orrrr it's because the flash plugin uses OSS.
    run `aoss firefox` and be happy.
    OSS does still work or at least the alsa backwards compatibility layer that emulates the old interfaces, right? did i miss anything?
    for newer versions of flash (like version 9) simply install firefox in wine and let it install the plugin. that usually works great!

  • [solved] No sound with ALC269VB on asus 1215b EeePC

    Hello,
    I've just finished the basic install on a Asus Eee PC 1215B (with an APU C-50) and I'm having problems to make the sound work. I've googled around without succes...
    # aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: SB [HDA ATI SB], device 0: ALC269VB Analog [ALC269VB Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    # cat /proc/asound/card1/pcm0p/info
    card: 1
    device: 0
    subdevice: 0
    stream: PLAYBACK
    id: ALC269VB Analog
    name: ALC269VB Analog
    subname: subdevice #0
    class: 0
    subclass: 0
    subdevices_count: 1
    subdevices_avail: 1
    # cat /etc/modprobe.d/modprobe.conf
    blacklist radeon
    option snd-hda-intel mode=auto
    I've runned alsaconf and rebooted several times and nothing helped...
    When I run alsamixer, the default chip that appears is ATI R6xx HDMI, with only S/PDIF channel, when I change card to HDA ATI SB (chip Realtek ALC269VB) it appears the usual channels the change volume. Only mic is muted, the I run speaker-test:
    # speaker-test -c 1
    speaker-test 1.0.24.2
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 1 channels
    Using 16 octaves of pink noise
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
    Playback open error: -2,No such file or directory
    I dont have ideas to solve this...
    Could someone help me??
    Gratefull,
    Heitor.
    Last edited by heitorpb (2012-01-22 20:00:19)

    New try. Check IDs with:
    cat /proc/asound/card0/id
    cat /proc/asound/card1/id
    Then do something like
    options snd-hda-intel id=SB,HDMI index=0,1
    using the IDs you got with the commands above.
    As for .asoundrc, I've seen one recently, but can't remember where. Edit - Found it:
    pcm.!default {
    type hw
    card SB
    ctl.!default {
    type hw
    card SB
    However this will only play one sound at a time. Check here if you want to play around with this stuff: http://alsa.opensrc.org/FAQ026. Hopefully you won't need to.
    Last edited by Gusar (2012-01-22 20:02:39)

  • [solved] no sound with multimedia apps using Pulseaudio Dummy drive

    It seems audio issues are kindof frequent atm, but I couldn't solve the strange issue using the informations provided in the threads nor the wiki
    Issue:
    One app plays audio just fine: Deadbeef Audio player, but no activity shows up in Pavucontrol while playing.
        Deadbeef uses default Alsa outpput (currently Pulse audio server)
    The other multimedia that I use or tried (mplayer, VLC and paplay test.wav) play files with no sound to be heard. Pavucontrol just shows 'dummy output' activity
    as for mplayer that is the case with default pulse and alsa audio drivers
    Context:
    1/ Recently switched from ALSA to PulseAudio
    Have no  ~/.asoundrc
    2/ First appeared when:
    Installed software updates last week. I lazily hoped it will resolve itself with the next update which it didn't so far. None of the packets I updated had linux|pulse|alsa|sound|audio in its name.
    Another issue appeared at the same time: no software is able to play any media from the DVD drive. The optical drive itself is well recognized whether by 'lsscsi' or /proc/sys/dev/cdrom/info
    3/ PulseAudio did not start today after booting the system
    $ pulseaudio --start
        E: [pulseaudio] main.c: daemon startup failed
    Started OK after commenting "/etc/pulse/default.pa" config line that remap microphone to mono for Skype (as per the Pulseaudio wiki)
    System Audio info:
    $ cat /proc/asound/cards
    0 [PCH ]: HDA-Intel - HDA Intel PCH
    HDA Intel PCH at 0xf7d00000 irq 46
    $ lspci|grep -i audio
    00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
    $ aplay -l
    carte 0: PCH [HDA Intel PCH], périphérique 0: ALC892 Analog [ALC892 Analog]
    Sous-périphériques: 1/1
    Sous-périphérique #0: subdevice #0
    carte 0: PCH [HDA Intel PCH], périphérique 1: ALC892 Digital [ALC892 Digital]
    Sous-périphériques: 1/1
    Sous-périphérique #0: subdevice #0
    # fuser -v /dev/snd/*
    /dev/snd/controlC0: kozaki 20121 F.... pulseaudio
    $ cat /proc/asound/modules;
    0 snd_hda_intel
    $ lsmod | grep ^snd;
    snd_hda_codec_realtek 67127 1
    snd_hda_codec_generic 63126 1 snd_hda_codec_realtek
    snd_hda_intel 26327 3
    snd_hda_controller 26727 1 snd_hda_intel
    snd_hda_codec 108552 4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
    snd_hwdep 17244 1 snd_hda_codec
    snd_pcm 88487 3 snd_hda_codec,snd_hda_intel,snd_hda_controller
    snd_timer 26614 1 snd_pcm
    snd 69340 13 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
    $ systool -vm relevant_snd_module
    EDIT
    $ systool -vm snd_hda_intel
    Module = "snd_hda_intel"
    Attributes:
    coresize = "26327"
    initsize = "0"
    initstate = "live"
    refcnt = "5"
    taint = ""
    uevent = <store method only>
    Parameters:
    align_buffer_size = "-1"
    bdl_pos_adj = "1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    beep_mode = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
    enable_msi = "1"
    enable = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
    id = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
    index = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    jackpoll_ms = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
    model = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
    patch = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
    position_fix = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    power_save = "1"
    power_save_controller= "Y"
    probe_mask = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    probe_only = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
    single_cmd = "N"
    snoop = "Y"
    Sections:
    .bss = "0xffffffffa0365a80"
    .data = "0xffffffffa0365000"
    .data.unlikely = "0xffffffffa03657d0"
    .exit.text = "0xffffffffa0362930"
    .gnu.linkonce.this_module= "0xffffffffa0365800"
    .init.text = "0xffffffffa0368000"
    .note.gnu.build-id = "0xffffffffa0363000"
    .rodata = "0xffffffffa0363040"
    .rodata.str1.1 = "0xffffffffa0363f02"
    .rodata.str1.8 = "0xffffffffa03642e0"
    .smp_locks = "0xffffffffa0364618"
    .strtab = "0xffffffffa036b508"
    .symtab = "0xffffffffa0369000"
    .text = "0xffffffffa0360000"
    __mcount_loc = "0xffffffffa0364848"
    __param = "0xffffffffa0364628"
    __verbose = "0xffffffffa0365640"
    I guess it might be a rather basic configuration step that I missed and am blind to see. If so, sorry for wasting your time :-/ Hint appreciated.
    Last edited by kozaki (2014-09-01 19:43:16)

    Read how to post correctly to get English output.
    kozaki wrote:$ systool -vm relevant_snd_module;
    Really? What do you think relevant_snd_module is? When you copy something from another thread, maybe it would be wise to read through it first. I tried to explain that there is no relevant_snd_module, it is a hint to the user, yes you, to use the module that is relevant in users case, which often is snd_hda_intel, which again is also mentioned in the other thread. Read it and correct your post accordingly please.
    As for the issue at hand, is module-suspend-on-idle loaded? If so, disable and unload it. Start PA with '-vvvv' switch and post the log here. You might want to try defaulting the configuration for PA, meaning delete your ~/.config/pulse. Does your GPU have a hdmi sound card?
    Check if you can get sound output with PA killed through speaker-test:
    speaker-test -c 8 -t wav -D plug:"dmix:{CARD PCH DEV 0}"
    speaker-test -c 2 -t wav -D plug:"dmix:{CARD PCH DEV 0}"
    Both should work launched in that order at the same time.

  • [SOLVED]No sound with ALSA. I'm looking for help with troubleshooting.

    Hi!
    Recently I bought a new laptop (HP Probook 450 G1). For some reason I can't hear sound from the laptop's speaker or headphones. I already read the troubleshooting guide on wiki. Unfortunately none of the solutions described on the wiki helped. I'm not using PulseAudio and I'm out of ideas.
    Additional information:
    Alsamixer screenshot.
    ~ lsmod |grep snd
    snd_hda_codec_realtek 54803 1
    snd_hda_codec_generic 56366 1 snd_hda_codec_realtek
    snd_hda_codec_hdmi 40396 1
    snd_hda_intel 22831 6
    snd_hda_controller 22975 1 snd_hda_intel
    snd_hda_codec 104665 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
    snd_hwdep 6652 1 snd_hda_codec
    snd_pcm 83207 6 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
    snd_timer 19294 3 snd_pcm
    snd 61276 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
    soundcore 5551 2 snd,snd_hda_codec
    ~ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: ALC888 Analog [ALC888 Analog]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 0: SB [HDA ATI SB], device 1: ALC888 Digital [ALC888 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    ~ speaker-test
    speaker-test 1.0.28
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 1 channels
    Using 16 octaves of pink noise
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 2048 to 16384
    Period size range from 1024 to 1024
    Using max buffer size 16384
    Periods = 4
    was set period_size = 1024
    was set buffer_size = 16384
    0 - Front Left
    Time per period = 2.651060
    0 - Front Left
    lspci |grep Audio
    00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
    01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]
    ~ cat /proc/asound/cards
    cat /proc/asound/cards
    0 [SB ]: HDA-Intel - HDA ATI SB
    HDA ATI SB at 0xfe024000 irq 16
    1 [HDMI ]: HDA-Intel - HDA ATI HDMI
    HDA ATI HDMI at 0xfdffc000 irq 43
    Last edited by Skitter (2014-09-01 06:22:30)

    brebs wrote:
    emeres wrote:Why disable a card?
    So that the right output becomes the all-important *default* output. And it's conveniently a simple one-liner.
     I am very aware of that, why not use index instead? It is as convenient as enable. Why leave the user with a disabled device, when it can continue to work? I consider this highly inefficient, because it does not solve the actual issue and creates a potential problem in the future.
     In this case, user interaction was the cause, so it does not matter.
    Edit: Typo.
    Last edited by emeres (2014-08-29 17:45:29)

  • [SOLVED] Low sound with ALSA

    Hi! I'm using alsa on a laptop with master, speaker and PCM at 100%, and I still can't get an output as loud as I'd like.
    On ubuntu with pulseaudio, I had the option of setting the volume to 120% on the sound preferences menu, which made a desirable volume level for me. Is there an equivalent thing in arch? Is this like setting PCM to something higher than 0b?
    Cheers!
    Last edited by orlox (2010-08-14 20:09:46)

    Just installed pulseaudio. Not really a solution to the name of this thread, since I didn't get a loud volume with ALSA, but it solves my problem of having low volume on my PC

  • [Solved] No sound with udev 173

    After updating to udev 173, i don't have any sound. The problem resolves when downgrading to udev 172. I compared the permissions in /dev/snd:
    < drwxr-xr-x 2 root root 60 by-path
    < crw-rw----+ 1 root audio 116, 8 controlC0
    < crw-rw----+ 1 root audio 116, 7 hwC0D2
    < crw-rw----+ 1 root audio 116, 6 pcmC0D0c
    < crw-rw----+ 1 root audio 116, 5 pcmC0D0p
    < crw-rw----+ 1 root audio 116, 4 pcmC0D1c
    < crw-rw----+ 1 root audio 116, 3 pcmC0D1p
    < crw-rw----+ 1 root audio 116, 2 pcmC0D2c
    < crw-rw---- 1 root audio 116, 1 seq
    < crw-rw----+ 1 root audio 116, 33 timer
    > drwxr-xr-x 2 root root 60 by-path
    > crw-rw---- 1 root audio 116, 8 controlC0
    > crw-rw---- 1 root audio 116, 7 hwC0D2
    > crw-rw---- 1 root audio 116, 6 pcmC0D0c
    > crw-rw---- 1 root audio 116, 5 pcmC0D0p
    > crw-rw---- 1 root audio 116, 4 pcmC0D1c
    > crw-rw---- 1 root audio 116, 3 pcmC0D1p
    > crw-rw---- 1 root audio 116, 2 pcmC0D2c
    > crw-rw---- 1 root audio 116, 1 seq
    > crw-rw---- 1 root audio 116, 33 timer
    I don't know if it's related, but i noticed a segfault in dmesg:
    [ 209.583561] gnome-settings-[725]: segfault at b3aca160 ip b3aca160 sp bfcaeccc error 4
    What should i do?
    Edit: Fixed with 173-2.
    Last edited by Wey (2011-07-31 15:25:53)

    Please mark your topic solved Wey.

  • W520 No sound with ASUS PA248 Monitor connected via Displayport

    When I connect my external monitor (ASUS PA248) to my W520, the audio disappears.  When I disconnect it, the audio returns.  This seems a bizarre link between audio and video, but there it is.  Note that the PA248 does NOT have built-in speakers.
    Does anyone have any ideas?
    Solved!
    Go to Solution.

    Yes, that was it.  I have a bluetooth adapter connected to my Yamaha 5.1 system, and I stream music to it from my PC.  Somehow the default was changed to the bluetooth.  I have set it back to the Conexant Audio.
    Even so, it is extremely odd that if I disconnected the monitor, the sound returned.

  • [SOLVED] No sound with Chromium, libpepflashplayer problem.

    Hi,
    I had problem with no sound in Chromium when using the flashplayer, but it all worked in Firefox.
    The problem was the chromium-pepper-flash player that I used as described in the Wiki.
    with that player I get following message when starting Chromium:
    ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem (MIXER,'Audigy Analog/Digital Output Jack',0,0,0): No such file or directory
    But if I use:
    Shockwave Flash
    Version:    11.2 r202
    Location:    /usr/lib/mozilla/plugins/libflashplayer.so
    Type:    NPAPI
    I got sound ok, unfortunately the player crach much more often, something that was the reason I changed to  chromium-pepper-flash player
    Any ides why I do not get sound in Chromium with chromium-pepper-flash player?
    Best regards.
    Christer
    Last edited by agkbill (2012-12-08 08:29:34)

    To share my findings.
    The problem was a the settings in asound.conf.
    My old "asound.conf."
    # conver alsa API over jack API
    # use it with
    # % aplay foo.wav
    # use this as default
    pcm.!default {
    type plug
    slave { pcm "jack" }
    ctl.mixer0 {
    type hw
    card 1
    # pcm type jack
    pcm.jack {
    type jack
    playback_ports {
    0 system:playback_1
    1 system:playback_2
    capture_ports {
    0 system:capture_1
    1 system:capture_2
    Left since I was playing around wirh PureData and Jack.
    All my outher audio apps like mpd, xbmc worked just finde with this one but not libpepflashplayer.
    My new asound.conf
    # use this as default
    pcm.!default {
    type hw
    card 0
    device 0
    ctl.mixer0 {
    type hw
    card 0
    With the new one also libpepflashplayer works OK.
    Using libflashplayer was a very bad option for me because it crash so often. libpepflashplayer much more stable for me.
    All the best.
    Christer

Maybe you are looking for