ALSA: Trying to reset sound card

I have ALSA and Pulseaudio installed on my machine. When I play with
mplayer -ao pulse
It generally works fine even when the audio device gets stuck (just a bit glitch). However, if I play with
mplayer -ao alsa
When the audio device gets stuck, it gives me
[AO_ALSA] Write error: Broken pipe
[AO_ALSA] Trying to reset soundcard.
It's thrilling when the soundcard is reset and there is a sudden increase in the volume.  And I'm curious why the soundcard got reset.
I'm also wondering what happens when I specify ALSA as the audio output driver with Pulseaudio installed. Does Pulseaudio act as a proxy between ALSA and the actual soundcard hardware, or is it simply ignored?
Last edited by cyker (2015-05-18 02:57:49)

Hmm what do you mean the audio device gets stuck? does it stop playing or start to stutter or what?
Maybe it has problems when being reinitialized, set
exit-idle-time=-1
in /etc/pulse/daemon.conf which should prevent it from being unloaded
Regarding your question, it will act as a proxy when you install pulseaudio-alsa and (lib32-)alsa-plugins (and your ALSA application uses the default device defined by the /etc/asound.conf, created by pulseaudio-alsa) otherwise it will be ignored, thus blocking the device from being used by other clients (or if pulse-applications are active, blocking ALSA only clients from connecting).

Similar Messages

  • Sound problems, ALSA can't find sound card at boot

    Sometimes, my sound randomly drops out, and I can't get it back until I reboot. Even when I reboot, 1/20 times, it will not be back.
    When I watch stuff on youtube, sometimes the sound just drops out. Nothing gets muted. My audio player can't produce sound.
    If I do
    lsmod | grep snd
    I'll see the some output.
    When I reboot and try to play music from Quodlibet, I'll get an error like this:
    Output Error
    GStreamer output pipeline could not be initialized. The pipeline might be invalid, or the device may be in use. Check the player preferences.
    "lsmod | grep snd" will have NO output and when I try to start alsamixer:
    [xz@gestalt ~]$ alsamixer
    cannot open mixer: No such file or directory
    I can't figure out what's going on, and googling has just led me to various not-completely-related posts on this board... what could be the problem?
    EDIT: A few more things to note--
    I have alsa in my daemons list in rc.conf
    I'm part of the "audio" groups.
    soundcore is not blacklisted
    Last edited by brokengestalt (2012-08-29 09:10:59)

    If I try
    [xz@gestalt ~]$ lspci -nn
    00:00.0 RAM memory [0500]: NVIDIA Corporation MCP67 Memory Controller [10de:0547] (rev a2)
    00:01.0 ISA bridge [0601]: NVIDIA Corporation MCP67 ISA Bridge [10de:0548] (rev a2)
    00:01.1 SMBus [0c05]: NVIDIA Corporation MCP67 SMBus [10de:0542] (rev a2)
    00:01.2 RAM memory [0500]: NVIDIA Corporation MCP67 Memory Controller [10de:0541] (rev a2)
    00:01.3 Co-processor [0b40]: NVIDIA Corporation MCP67 Co-processor [10de:0543] (rev a2)
    00:02.0 USB controller [0c03]: NVIDIA Corporation MCP67 OHCI USB 1.1 Controller [10de:055e] (rev a2)
    00:02.1 USB controller [0c03]: NVIDIA Corporation MCP67 EHCI USB 2.0 Controller [10de:055f] (rev a2)
    00:04.0 USB controller [0c03]: NVIDIA Corporation MCP67 OHCI USB 1.1 Controller [10de:055e] (rev a2)
    00:04.1 USB controller [0c03]: NVIDIA Corporation MCP67 EHCI USB 2.0 Controller [10de:055f] (rev a2)
    00:06.0 IDE interface [0101]: NVIDIA Corporation MCP67 IDE Controller [10de:0560] (rev a1)
    00:08.0 PCI bridge [0604]: NVIDIA Corporation MCP67 PCI Bridge [10de:0561] (rev a2)
    00:09.0 IDE interface [0101]: NVIDIA Corporation MCP67 AHCI Controller [10de:0550] (rev a2)
    00:0a.0 Ethernet controller [0200]: NVIDIA Corporation MCP67 Ethernet [10de:054c] (rev a2)
    00:0c.0 PCI bridge [0604]: NVIDIA Corporation MCP67 PCI Express Bridge [10de:0563] (rev a2)
    00:0d.0 PCI bridge [0604]: NVIDIA Corporation MCP67 PCI Express Bridge [10de:0563] (rev a2)
    00:12.0 VGA compatible controller [0300]: NVIDIA Corporation C67 [GeForce 7150M / nForce 630M] [10de:0531] (rev a2)
    00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
    00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
    00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
    00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
    02:05.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 05)
    02:05.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 22)
    02:05.2 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter [1180:0592] (rev 12)
    02:05.3 System peripheral [0880]: Ricoh Co Ltd xD-Picture Card Controller [1180:0852] (rev 12)
    03:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) [168c:001c] (rev 01)
    Audio devices aren't even mentioned. I noticed when I tried to boot up that I get an error like "sound card not detected." Why would arch suddenly not be able to find a soundcard? It looks like it almost has nothing to do with my ALSA configuration, and has more to do with my sound card not being found at all in the first place....

  • No sound with alsa and integrated Intel sound card, any advice???

    I just got a new computer, erased the OEM windows install and installed Arch linux with xfce. I have an Integrated HDA intel sound card with Realtek ALC888 chip
    Sound worked just fine in the windows install, so I know the card and speakers work.
    I installed alsa and made sure to unmute PCM and Front speakers. Unmuting all of the entries didn't help. Any advice would be greatly appreciated.
    lsmod|grep '^snd'
    snd_seq_oss 35584 0
    snd_seq_midi_event 9344 1 snd_seq_oss
    snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event
    snd_seq_device 9364 2 snd_seq_oss,snd_seq
    snd_hda_intel 531252 0
    snd_pcm_oss 45440 0
    snd_mixer_oss 18944 1 snd_pcm_oss
    snd_hwdep 10632 1 snd_hda_intel
    snd_pcm 82952 2 snd_hda_intel,snd_pcm_oss
    snd_timer 24720 2 snd_seq,snd_pcm
    snd 65096 9 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_hwdep,snd_pcm,snd_timer
    snd_page_alloc 11792 2 snd_hda_intel,snd_pcm
    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Here is my rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: Type locale -a to see location listing
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.utf8"
    HARDWARECLOCK="UTC"
    USEDIRECTISA="no"
    TIMEZONE="America/Detroit"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=()
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="yes"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="Lychee"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    eth0="dhcp"
    INTERFACES=(eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng network netfs crond hal fam)
    I am going through the wikiarticl on alsa as well, but if anyone can point out what the issue is hear I would greatly appreciate it.

    Hmm. I have an onboard Intel sound chipset as well.. I noticed your rc.conf doesn't have "snd-hda-intel" in the MODULES array; make sure you add that.
    I never figured out how to read the right side of lsmod's output, so I'll assume that, despite having the snd-hda-intel module, you haven't enabled it yet. Try (as root or through sudo) `modprobe snd-hda-intel`. It may need underscores instead of hyphens; they seem to be interchangeable.

  • No sound with ALSA, using an intel sound card

    Hello !
    I have got a problem about sound on my computer. Indeed, my soundcard doesn't seems to be recognize by ALSA. It's weird, I'll show you. Well, my soundcard is :
    lspci | grep Audio
    00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
    Next, my sound modules loaded are
    lsmod | grep snd
    snd_hda_intel 21837 0
    snd_seq_dummy 1479 0
    snd_seq_oss 29240 0
    snd_seq_midi_event 5516 1 snd_seq_oss
    snd_seq 50562 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_seq_device 5281 3 snd_seq_dummy,snd_seq_oss,snd_seq
    snd_pcm_oss 39509 0
    snd_hda_codec 74609 1 snd_hda_intel
    snd_mixer_oss 17730 1 snd_pcm_oss
    snd_hwdep 6222 1 snd_hda_codec
    snd_pcm 72321 3 snd_hda_intel,snd_pcm_oss,snd_hda_codec
    snd_timer 19537 2 snd_seq,snd_pcm
    snd 58906 10 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_hda_codec,snd_mixer_oss,snd_hwdep,snd_pcm,snd_timer
    soundcore 6161 1 snd
    snd_page_alloc 7361 2 snd_hda_intel,snd_pcm
    Then, I want sound. I use alsaconf, of course, and I can choose my soundcard in a list (the other choice is "legacy"). I answer yes to the question "Do you want to modify /etc/modprobe.d/sound.conf [...] ", and then, during a few seconds :
    Loading driver...
    :: Saving ALSA Levels [BUSY]
    /usr/sbin/alsactl: save_state:1519: No soundcards found... [FAIL]
    It's eerie, I found my card in the list, and then not >_<
    Then, alsamixer say me : "cannot open mixer: No such file or directory".
    Here is my /dev/snd directory :
    lsi /dev/snd
    total 0
    crw-rw---- 1 root audio 116, 3 Mar 4 15:06 seq
    crw-rw---- 1 root audio 116, 2 Mar 4 15:06 timer
    /dev/dsp and /dev/mixer don't exist.
    So, to summarize, I finally don't have sound in my computer (I never had since I made it). I also tried using OSS, but it didn't work as well.
    So I need you help, if you need some more informations, I can get them. Thank you very much !
    Last edited by Germanof (2011-03-04 14:23:45)

    stlarch wrote:Hi, did you install alsa-utils and add alsa to your daemons array in /etc/rc.conf? Also, you need to add yourself to the audio group, #gpasswd -a yourusername audio. The wiki has an article on alsa that should help, or check the beginners guide.
    Yes, of course, alsa-utils is installed (so is alsa-firmware, and alsa-oss). I'm in audio group.
    ewaller wrote:can you post the output of
    cat /proc/asound/cards
    Also, you should have a directory /proc/asound/card0/  Which should have one or more files with names of the form codec#n, where n is a sequential integer starting with 0.  If those files are not hellaciously long, post them here (With code tags).  Otherwise, could you pastebin them and provide a link?
    Edit: fixed typo
    ~ $ cat /proc/asound/cards
    --- no soundcards ---
    The directory /proc/asound/card0 doesn't exist :
    ~ $ lsi /proc/asound/
    total 0
    -r--r--r-- 1 root root 0 Mar 5 12:38 cards
    -r--r--r-- 1 root root 0 Mar 5 12:38 devices
    -r--r--r-- 1 root root 0 Mar 5 12:38 hwdep
    -r--r--r-- 1 root root 0 Mar 5 12:38 modules
    dr-xr-xr-x 2 root root 0 Mar 5 12:38 oss/
    -r--r--r-- 1 root root 0 Mar 5 12:38 pcm
    dr-xr-xr-x 2 root root 0 Mar 5 12:38 seq/
    -r--r--r-- 1 root root 0 Mar 5 12:38 timers
    -r--r--r-- 1 root root 0 Mar 5 12:38 version
    Thanks for helping !

  • Issue with ALSA softvol and reloading sound card module

    I'm using a Chaintech AV710 card with the snd_ice1724 module as a driver. The core issue is that sometimes when this module is loaded during startup (or every time after a suspend), it will play nothing but very loud static. To fix this, I simply reload the module. This fix worked fine for me while I used pulseaudio: I would just kill pulse, reload the module, and start pulse after every suspend. Now, however, I'm using a system that involves an ALSA softvol plugin. The softvol device is being used by JACK: jackd -d alsa -d softvol. When I reload the module using this setup, the softvol control I set up becomes locked at 100%. amixer reports "Invalid command!" for sset Master2 10%. The audio will still play, but I can't figure out any way to reset it to make this control work again short of renaming the control, restarting jack, renaming the control back to the original name, then restarting jack again. Any help alleviating this issue on any of these fronts would be appreciated. Relevant asound.conf sections:
    pcm.mycard {
    type hw
    card AV710
    device 1
    rate 44100
    channels 2
    format S32_LE
    pcm.softvol {
    type softvol
    slave.pcm "mycard"
    control {
    name "Master2"
    card AV710
    ctl.softvol {
    type hw
    card AV710
    Last edited by XionZui (2013-06-11 16:33:25)

    stlarch wrote:Hi, did you install alsa-utils and add alsa to your daemons array in /etc/rc.conf? Also, you need to add yourself to the audio group, #gpasswd -a yourusername audio. The wiki has an article on alsa that should help, or check the beginners guide.
    Yes, of course, alsa-utils is installed (so is alsa-firmware, and alsa-oss). I'm in audio group.
    ewaller wrote:can you post the output of
    cat /proc/asound/cards
    Also, you should have a directory /proc/asound/card0/  Which should have one or more files with names of the form codec#n, where n is a sequential integer starting with 0.  If those files are not hellaciously long, post them here (With code tags).  Otherwise, could you pastebin them and provide a link?
    Edit: fixed typo
    ~ $ cat /proc/asound/cards
    --- no soundcards ---
    The directory /proc/asound/card0 doesn't exist :
    ~ $ lsi /proc/asound/
    total 0
    -r--r--r-- 1 root root 0 Mar 5 12:38 cards
    -r--r--r-- 1 root root 0 Mar 5 12:38 devices
    -r--r--r-- 1 root root 0 Mar 5 12:38 hwdep
    -r--r--r-- 1 root root 0 Mar 5 12:38 modules
    dr-xr-xr-x 2 root root 0 Mar 5 12:38 oss/
    -r--r--r-- 1 root root 0 Mar 5 12:38 pcm
    dr-xr-xr-x 2 root root 0 Mar 5 12:38 seq/
    -r--r--r-- 1 root root 0 Mar 5 12:38 timers
    -r--r--r-- 1 root root 0 Mar 5 12:38 version
    Thanks for helping !

  • [Solved] Alsa Sound Card Numbering Not Persistant Between Boots

    Hello,
    I'm having trouble with alsa and my multiple sound cards. Sometimes when I boot, I get the following output from "aplay -l"
    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: ALC889A Analog [ALC889A Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: SB [HDA ATI SB], device 1: ALC889A Digital [ALC889A Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    However, I also see this after other boots:
    **** List of PLAYBACK Hardware Devices ****
    card 1: SB [HDA ATI SB], device 0: ALC889A Analog [ALC889A Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: SB [HDA ATI SB], device 1: ALC889A Digital [ALC889A Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Because the card numbering is not consistant, I'm having a great deal of trouble (if the card is 0, then I don't need an asoundrc, but if it's 1, I do). It also breaks my volume panel applet for the alsa card number to often change (volumeicon - from the AUR). Is there a way to force a certain device to always be card number 0?
    Thanks for any help.
    -Sean
    Last edited by szim90 (2012-01-15 02:01:54)

    Thank you for your response, karol.
    I ran 'udevadm info -a -p /sys/class/sound/card1/' as was able to get the following information:
    looking at device '/devices/pci0000:00/0000:00:14.2/sound/card1':
    KERNEL=="card1"
    SUBSYSTEM=="sound"
    DRIVER==""
    ATTR{id}=="SB"
    ATTR{number}=="1"
    looking at parent device '/devices/pci0000:00/0000:00:14.2':
    KERNELS=="0000:00:14.2"
    SUBSYSTEMS=="pci"
    DRIVERS=="snd_hda_intel"
    ATTRS{vendor}=="0x1002"
    ATTRS{device}=="0x4383"
    ATTRS{subsystem_vendor}=="0x1458"
    ATTRS{subsystem_device}=="0xa102"
    ATTRS{class}=="0x040300"
    ATTRS{irq}=="16"
    ATTRS{local_cpus}=="00000000,0000000f"
    ATTRS{local_cpulist}=="0-3"
    ATTRS{numa_node}=="0"
    ATTRS{dma_mask_bits}=="64"
    ATTRS{consistent_dma_mask_bits}=="64"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""
    looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""
    I'm completely new to writing udev rules; would the proper procedure be to write something like this:
    DEVPATH=="/devices/pci0000:00/0000:00:14.2/sound/card*" ATTRS{number}="0"
    or will that happen too late in the boot process (after the card has already been assigned a number)?
    Perhaps it would be easier to work through alsa itself? I know I can get sound consistantly by calling out the card in asoundrc:
    pcm.!default { type hw card SB }
    ctl.!default { type hw card SB }
    But this seems to disable dmix (software mixing). Is there a way to re-enable dmix from the asoundrc (and would that be easier than trying to work in udev)?
    Regards,
    Sean

  • Sound Card

    I have tried 2 different sound cards in 2 different PCI slots, and my computer never finds them.  When i try to install the drivers (sound blaster) they say the device cannot be found on my computer.  Also, as i mentioned in another post, WindowsXp doesnt seem my other LAN controller (the bottom one)  Could like plug and play be off or something?  Why wouldnt any of this stuff load up?  Any ideas?
    But i do have a "PCI Device" in other devices in the device manager, says its on PCI Slot 8.  That means nothing to me i have no idea what this could be, cause its not letting me load the sound card drivers.

    Quote
    Did you disable to onboard sound
    like rc23 said  
    Quote
    tizzle specs please
    like supershanks said  
    you will get more help and more accurate help then  
    but try removing card setting onboard sound on in bios first.
    if all runs ok set on board sound to off. in bios.
    reboot....
    switch off.
    insert card.
    reboot . if not recognised by windows install manually under device manager.
    if windows recognises install drivers from orig disc before updating you can then always roll back to original if an driver update fails.
    you could check your soundcard in a friends machine first !
    try another sound card !
    just some ideas

  • Satellite A300 and Win7 - Strange problem with speakers\sound card

    Hello everyone,
    I am working on a - A300-1MO with win 7 ultimate 32 bit
    In the last few days (since I have installed the Bluetooth driver but I dont think it matters), the sound card, and therefore the laptop speakers, switch from being mute to being active, sometimes in high volume.
    It disturbs me a lot because my computer is making sounds while I am in classes (from apps running\web sites etc.). I almost got kicked out of class several times because of it.
    I tried muting the sound card from the windows mixer and from the sound card application, it's no use.
    I will appreciate any help.
    Thanks a bunch
    Roi.

    Hi roibs,
    > It disturbs me a lot because my computer is making sounds while I am in classes (from apps running\web sites etc.). I almost got kicked out of class several times because of it.
    Maybe you should leave your computer at home and not play with it in your class ;)
    Anyway, I would recommend disabling all Windows sounds in control panel. That means no sounds will be played while you navigate through the Internet or use the Explorer.
    Check this!!!

  • KT880 Delta LSR doesn't support second sound card?

    Hello,
    I've just bought my new KT880 Delta board because of burning my old KT4V.
    In my last configuration Ii had sound on bord (5.1) and one sound card added for microphone and headphones.
    Now i can't force my KT880 Delta LSR to support two sound card on the same time. When I don't plug PCI card system support card-on-board.
    But when I add this PCI card system dosen't see onboard card. In BIOS onbord card is turned on.
    What should I do to solve my problem?
    BRGDS
    Max.

    Quote from: Doctor Stu on 24-May-05, 04:34:01
    maxisus, maybe the PCI card is conflicting with onboard?
    have you tried the PCI sound card in another slot?
    No, i didn't try. I thought that is no different witch pci slot you use.
    Quote from: Doctor Stu on 24-May-05, 04:34:01
    did you do a fresh install of windows when you replaced the mobo?
    yes, i've formated hdd and installed all once again
    Quote from: Doctor Stu on 24-May-05, 04:34:01
    also KT880 probably needs more power than KT4V - if your PSU is now not powerful enough, some devices cannot start up correctly.
    I have got 350 Watt - i bought new because of special 4-pin plug for CPU. In the shop gays sad PSU should be enought for my configuraction of pc.

  • Setting ALSA sound card system wide (rather than just in KDE)

    Hi,
    I've got an HTPC with an ATI Radeon HD 4350 graphics card running Arch x86. It has its own integrated sound card for outputting audio via HDMI, which is detected by ALSA as a separate device. I've managed to set it as the default audio device in KDE 4 (via System Settings). This allows applications such as Amarok and SMPlayer to properly output audio to the HD 4350's integrated sound card, but software such as Flash and MPlayer (from the command line) are still outputting audio to the motherboard's built-in sound card. How can I change this setting on a system-wide level? I've tried running alsaconf as root and adding
    pcm.!default {
    type hw
    card 2
    device 3
    to ~/.asoundrc; I got the card and device numbers from aplay:
    [htpc@exia ~]$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Here is the output from MPlayer when I try to play a video, complete with errors regarding audio:
    MPlayer UNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team
    137 audio & 296 video codecs
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    Playing /tmp/FlashmvWXPy.
    libavformat file format detected.
    [flv @ 0xac7d250]skipping flv packet: type 18, size 294, flags 0
    [lavf] Video stream found, -vid 0
    [lavf] Audio stream found, -aid 1
    VIDEO: [H264] 854x480 0bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    FAAD: compressed input bitrate missing, assuming 128kbit/s!
    AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
    [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '2'
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    [AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
    [AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
    [AO_ALSA] Playback open error: No such file or directory
    [JACK] cannot open server
    [AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
    [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '2'
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
    [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    [AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
    [AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
    [AO SDL] Unable to open audio: No available audio device
    DVB card number must be between 1 and 4
    AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    VDec: vo config request - 854 x 480 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    VO: [xv] 854x480 => 854x480 Planar YV12
    Thanks!
    Last edited by w1ntermute (2009-06-28 18:40:03)

    whoops wrote:Do you use the motherboard sound-card?
    No.
    whoops wrote:If not - did you try just turning it off in bios (or blacklisting the driver)?
    No, I haven't tried that. I'll give it a shot. Thanks for the tip!
    Last edited by w1ntermute (2009-07-02 18:11:53)

  • ALSA is not detecting my M-Audio Delta 1010 sound card (x86-64)

    Hi
    I've been searching Arch forums and googling for my problem but I can't find a suitable answer.
    I installed my M-Audio Delta 1010 sound card on this PC but ALSA doesn't get it to work.
    Chipset envy24 / ice1712
    On dmesg I find:
    $ dmesg | grep -i ice1712
    [ 8.135832] snd_ice1712: probe of 0000:05:06.0 failed with error -5
    However, it is listed on lsmod:
    $ lsmod | grep '^snd' | column -t
    snd_hda_codec_hdmi 24529 4
    snd_ice1712 59590 0
    snd_cs8427 6970 1 snd_ice1712
    snd_i2c 4107 2 snd_ice1712,snd_cs8427
    snd_ice17xx_ak4xxx 2437 1 snd_ice1712
    snd_ak4xxx_adda 8070 2 snd_ice1712,snd_ice17xx_ak4xxx
    snd_hda_codec_realtek 61420 1
    snd_ac97_codec 113344 1 snd_ice1712
    snd_mpu401_uart 5980 1 snd_ice1712
    snd_hda_intel 26181 5
    snd_hda_codec 98034 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
    snd_hwdep 6429 1 snd_hda_codec
    snd_rawmidi 18800 1 snd_mpu401_uart
    snd_seq_device 5269 1 snd_rawmidi
    snd_pcm 75735 5 snd_ice1712,snd_ac97_codec,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
    snd_page_alloc 7218 2 snd_pcm,snd_hda_intel
    snd_timer 18935 1 snd_pcm
    snd 60189 25 snd_ice1712,snd_hda_codec_realtek,snd_ac97_codec,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_i2c,snd_pcm,snd_rawmidi,snd_hda_codec,snd_ak4xxx_adda,snd_hda_intel,snd_mpu401_uart,snd_seq_device,snd_cs8427
    I followed some instruction and created a alsa-base.conf file with:
    $ cat /etc/modprobe.d/alsa-base.conf
    options snd slots=snd_ice1712,snd_hda_intel
    options snd_ice1712 index=0
    options snd_hda_intel index=1
    aplay -l returns:
    $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 1: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: SB [HDA ATI SB], device 1: ALC889 Digital [ALC889 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Seems card 0 is reserved for the m-audio card but is not being detected by ALSA
    envy24control also exits with:
    $ envy24control
    No ICE1712 cards found
    Finally, my /dev/snd
    $ ls -l /dev/snd
    total 0
    drwxr-xr-x 2 root root 80 Dec 7 20:25 by-path
    crw-rw----+ 1 root audio 116, 7 Dec 7 20:25 controlC1
    crw-rw----+ 1 root audio 116, 16 Dec 7 20:25 controlC2
    crw-rw----+ 1 root audio 116, 6 Dec 7 20:25 hwC1D0
    crw-rw----+ 1 root audio 116, 15 Dec 7 20:25 hwC2D0
    crw-rw----+ 1 root audio 116, 14 Dec 7 20:25 hwC2D1
    crw-rw----+ 1 root audio 116, 13 Dec 7 20:25 hwC2D2
    crw-rw----+ 1 root audio 116, 12 Dec 7 20:25 hwC2D3
    crw-rw----+ 1 root audio 116, 5 Dec 7 20:26 pcmC1D0c
    crw-rw----+ 1 root audio 116, 4 Dec 7 20:26 pcmC1D0p
    crw-rw----+ 1 root audio 116, 3 Dec 7 20:26 pcmC1D1p
    crw-rw----+ 1 root audio 116, 2 Dec 7 20:25 pcmC1D2c
    crw-rw----+ 1 root audio 116, 11 Dec 7 20:27 pcmC2D3p
    crw-rw----+ 1 root audio 116, 10 Dec 7 20:26 pcmC2D7p
    crw-rw----+ 1 root audio 116, 9 Dec 7 20:26 pcmC2D8p
    crw-rw----+ 1 root audio 116, 8 Dec 7 20:26 pcmC2D9p
    crw-rw---- 1 root audio 116, 1 Dec 7 20:25 seq
    crw-rw----+ 1 root audio 116, 33 Dec 7 20:25 timer
    $ ls -l /dev/snd
    total 0
    drwxr-xr-x 2 root root 80 Dec 7 20:25 by-path
    crw-rw----+ 1 root audio 116, 7 Dec 7 20:25 controlC1
    crw-rw----+ 1 root audio 116, 16 Dec 7 20:25 controlC2
    crw-rw----+ 1 root audio 116, 6 Dec 7 20:25 hwC1D0
    crw-rw----+ 1 root audio 116, 15 Dec 7 20:25 hwC2D0
    crw-rw----+ 1 root audio 116, 14 Dec 7 20:25 hwC2D1
    crw-rw----+ 1 root audio 116, 13 Dec 7 20:25 hwC2D2
    crw-rw----+ 1 root audio 116, 12 Dec 7 20:25 hwC2D3
    crw-rw----+ 1 root audio 116, 5 Dec 7 20:26 pcmC1D0c
    crw-rw----+ 1 root audio 116, 4 Dec 7 20:26 pcmC1D0p
    crw-rw----+ 1 root audio 116, 3 Dec 7 20:26 pcmC1D1p
    crw-rw----+ 1 root audio 116, 2 Dec 7 20:25 pcmC1D2c
    crw-rw----+ 1 root audio 116, 11 Dec 7 20:27 pcmC2D3p
    crw-rw----+ 1 root audio 116, 10 Dec 7 20:26 pcmC2D7p
    crw-rw----+ 1 root audio 116, 9 Dec 7 20:26 pcmC2D8p
    crw-rw----+ 1 root audio 116, 8 Dec 7 20:26 pcmC2D9p
    crw-rw---- 1 root audio 116, 1 Dec 7 20:25 seq
    crw-rw----+ 1 root audio 116, 33 Dec 7 20:25 timer
    controlC0 and pcmC0 is not present!
    So, what might be causing the probe error -5?
    I really need to get this card working! :S
    I have Arch up to date!
    Hardware specs:
    CPU: AMD FX6100
    Board: Gigabyte (can't recall the model) with NVidia chipset
    Thank you,

    I have an m-audio delta 1010lt as well, it's a great card but it sits in my closet now because I "upgraded" to a motherboard that doesn't have legacy PCI slots. However, I'm pretty sure I remember the card working for me and being "plug and play" under arch with kernel 3.3 or newer. So some things I would consider:
    Try checking IRQs, make sure nothing is overlapping.
    Try using the LTS kernel, to see if it is kernel related, since ice1712 module should ship with almost any kernel => 2.6.26.
    How many watts is the power supply? Sometimes insufficient wattage can result in drivers failing to load.
    What other sound cards do you have installed? Have you tried blacklisting all of the other cards in your system using alsa-base.conf? This is a bit extreme, but might be a useful troubleshooting measure, as some people have had issues in the past with alsa indexing mutiple cards to the same slot number

  • [SOLVED] Software mixing on ALSA+USB sound card

    I have cheap chinesse USB soud card. lsusb says its "Tenx Technology, Inc. TP6911 Audio Headset"
    After arch installation sound was working about 2-3 reboots. Then i googled and deleted pulseaudio, and sound randomly working or not after reboots.
    After a lot of research i got /etc/asound.conf like that:
    pcm.!default {
    type hw
    card AUDIO
    ctl.!default {
    type hw
    card AUDIO
    "AUDIO" its name of card. Checked that. And now i had sound in 80% reboots.
    After research i founded that i cant play 2 sounds at same time. (And youtube writes "error occured" for 90% videos).
    Tested aplay (it never works):
    >aplay /usr/share/sounds/alsa/Front_Center.wav
    Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    aplay: set_params:1239: Channels count non available
    Then played sound in other program and in same time launched aplay:
    >aplay /usr/share/sounds/alsa/Front_Center.wav
    aplay: main:722: audio open error: Device or resource busy
    So that mean i need software mixing.
    Googled, and installed "alsa-oss" and did some random stuff with config
    pcm.!default {
    type hw
    card AUDIO
    slave.pcm "dmix"
    ctl.!default {
    type hw
    card AUDIO
    slave.pcm "dmix"
    and now youtube working. I hear it. But now aplay says:
    >aplay /usr/share/skype/sounds/CallBusy.wav
    ALSA lib pcm_hw.c:1743:(_snd_pcm_hw_open) Unknown field slave
    aplay: main:722: audio open error: Invalid argument
    He dont like "slave" thing in config, but it helps. I tested 3 times, added "slave" and rebooted and youtube works. Without "slave" it not working.
    And i still cant hear 2 sounds at same time. In google ALSA says like software mixing must work without config, if not then do bugreport.
    Im in arch less then 7 days, before i had experience with ubuntu server only, so configuring ALSA is hard for me.
    Can somebody help me configure software mixing?
    Thank you.
    Last edited by pico (2013-07-07 10:36:33)

    Okay. I surfed your URLs and ended in http://alsa.opensrc.org/Dmix
    Example /etc/asound.conf from 3 and 5 works great! Thank you!
    If somebody will google Tenx Technology, Inc. TP6911 Audio Headset
    Use /etc/asound.conf (you need create it)
    pcm.dsp0 {
    type plug
    slave.pcm "hw:0"
    ctl.mixer0 {
    type hw
    card 0
    or
    pcm.dsp0 {
    type plug
    slave.pcm "dmix"
    hint {
    show on
    description "My dmix dsp0"
    ctl.mixer0 {
    type hw
    card 0
    both works for me.
    =======
    Aaaaand after 2 reboots everything is broken. Both configs not helping. aoss and alsaplayer don't make any sound.
    5 reboots later sound again works.
    =======
    Okay, i know why i need reboot.
    If you have same problem - do aplay -l, if your card not first - nothing will work. You need reboot until your card is first. I tryed to do my card always first, but then mixer dont work. And for make it work on every reboot looks like you need read 18 huge books about universe creation.
    Last edited by pico (2013-07-09 09:53:25)

  • Usb Sound Card Playback Issues - Alsa [SOLVED]

    Hey folks:)
    Just want to say Archlinux is lovely and you guys are doing great work (if be it a little frustrating at times i might add)
    My problem is that i can't configure my USB UA-25 sound card properly.
    If i want to record with ardour, or hydrogen using JACK, everything is fine.
    BUT.
    If i want to play back a simple music file, or run 'youtube' for example, sound refuses to come out of my computer.
    In system>preferences>sound the driver is set to ALSA.
    How can i get sound to play back normaly through my externel sound card? I think Archlinux is trying to use my onboard laptop sound card.
    Thanks!
    Last edited by coffeemonster (2007-04-09 18:33:11)

    fixed the probelm;
    Had to reinstall alsa dirvers, removed all instances of 'usbaudio' from the modules. Reboot. modprobe snd-usb-audio. unmuted all mixers.
    Selected alsa as the driver. Test. Yay! :"")

  • Sound card not being detected by alsa

    I compiled a kernel using the /usr/src method as per the wiki page. However, I've been having some problems with ALSA. I compiled in ALSA and support for my card (I think I did at least) as modules. alsaconf finds my card fine, but alsamixer dies with this message:
    alsamixer: function snd_ctl_open failed for default: No such device
    I tried using strace on it:
    open("/etc/ld.so.cache", O_RDONLY) = 3
    open("/usr/lib/libncursesw.so.5", O_RDONLY) = 3
    open("/usr/lib/libasound.so.2", O_RDONLY) = 3
    open("/lib/libm.so.6", O_RDONLY) = 3
    open("/lib/libdl.so.2", O_RDONLY) = 3
    open("/lib/libpthread.so.0", O_RDONLY) = 3
    open("/lib/libc.so.6", O_RDONLY) = 3
    open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3
    open("/dev/snd/controlC0", O_RDONLY) = -1 ENODEV (No such device)
    open("/dev/aloadC0", O_RDONLY) = -1 ENODEV (No such device)
    alsamixer: function snd_ctl_open failed for default: No such device
    Process 28188 detached
    However, /dev/snd/controlC0 exists, even though the output of the above would lead me to believe differently.
    What else is weird is, mplayer and xmms can play sounds just fine, but Firefox and aplay cannot.
    More information about my setup is available from the output of an ALSA info script, here: http://pastebin.ca/591136 and http://pastebin.ca/590970
    Any idea what's going on? This is very strange. Thanks.
    Last edited by intimidat0r (2007-06-27 01:57:24)

    Silly question, installed the drivers for the z?

  • Trying to get my sound card to work with ArchLinux

    Okay, let me tell you my problem. I'm still somewhat of a noob when it comes to linux so don't be hard on me . And, yes that's half of my problem, anyways I've got a sound card called the Soundblaster X-FI USB and I've been trying it to get it to work with the alsaconf command which hasn't worked of course Let me point out that whenever I use my backup flashdrive with PuppyLinux it the Alsaconf inside of it see's the card that I'm using and automatically sets it up.. Plus whenever I type the ' cat /proc/asound/cards ' command I get this..
    0 [Intel          ]: HDA-Intel - HDA Intel
                          HDA Intel at 0xefffc000 irq 21
    1 [S51            ]: USB-Audio - SB X-Fi Surround 5.1
                          Creative Technology SB X-Fi Surround 5.1 at usb-0000:00:1d.2-2, full speed
    *(The first one being my dead onboard audio)
    So please help me out here I really want to have sound again and hey maybe I'll learn something new about linux!

    konni wrote:
    mhhm... the creative x-fi support for linux seems to be rather bad...
    --> http://www.phoronix.com/scan.php?page=n … &px=Njc3Mg
    there's some experimental driver that maybe makes it work with alsa, see here:
    http://www.phoronix.com/scan.php?page=n … &px=Njc3NQ
    My card is a USB which isn't compatible with the driver that they include. So no help there ;(. I've loaded Ubuntu recently and it has worked perfectly with my soundcard (Creative X-FI USB Surround 5.1) right out of the box. I personally think there has to be a way to get it to work in Archlinux since it worked in Ubuntu...
    Although. I suppose I could just use Ubuntu but I'm more of a fan of Arch. So does anyone have any idea what Ubuntu used as in drivers wise to get my card to work in linux??

Maybe you are looking for