Debian Hardware :: ALSA - Cannot Play Sound As Regular User

Jan 27, 2011

I've been having some issues with my sound card since I cannot play a sound with my current user. As a root user I can play sounds with "aplay" but as my regular user, I can't play anything

# aplay file.wav
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:564: audio open error: No such file or directory

# sudo aplay file.wav
Playing WAVE 'file.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono

I have add my user to the audio group with no success
usermod -a -G audio myuser

View 2 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Only One App Can Play Sound On Alsa?

Aug 24, 2010

I have Ubuntu Lucid. If i dont' mistake, it should be possible to hear several applications playing sound simultaneously, with ALSA. But if 1 app is already playing, then starting a second one give always "device is busy".

View 2 Replies View Related

Hardware :: Choppy Sound When Play Through ALSA

Mar 1, 2011

I have an old Aureal Vortex 2 (by Diamond Multimedia) installed in my system (C2Q @3.4GHz, P35 motherboard), along with the on-board audio. I'm using my PCI sound card with my headphones and running everything else off of the onboard audio. Since it seems to have better sound, I would use it a lot more, but it skips like crazy whenever I try to play sound through ALSA. It sounds like something is sporadically dropping audio frames. The onboard audio works fine with ALSA.

I'm running Kubuntu 10.10 (2.6.35-25, gcc 4.4.5). I think it worked fine with earlier software, but I can't remember for sure. I've tried mplayer and kaffeine (xine backend). When using mplayer, the experimental openal works perfectly, but the advanced options for kaffeine are pitiful. I'm looking at switching video players (probably xbmc or a frontend for mplayer), but I assume I won't be able to completely avoid ALSA. I've done a quick search on google, but if there was anything useful, it was choked out by decade old discussions on getting the card to work at all.

View 2 Replies View Related

Hardware :: ALSA - Play Music On Simultaneous 2 Sound Cards?

May 31, 2010

how can I play audio (Mythtv - Play Music) simultaneously on two sound cards using ALSA drivers. I have two cards working well. One card is an onboard Intel cards, and the other card is a USB Audio card. Both cards are working well. I use the onboard Intel to output SPDIF to an amplified. The second USB card is bound to MPD service and it outputs an analog signal to a second amplified. I'd like to have the following configuration: Play to the default card with 5.1 passthrough, while the second card, connected to a second amplifier, plays an analog signal to the same audio played by Mythtv Play Music. In other words, I need to mix somehow and play the same audio on both cards.

Here is the list of cards:

root@mythtv:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)

[code]...

View 2 Replies View Related

Programming :: Play Multiple Sound Streams On ALSA Dmix?

Jul 31, 2010

I'm having trouble getting ALSA to play multiple sound streams (multiple sounds at once). My code is running on an embedded ARM board using a AC97 sound. It will only play one without any mixing, I have to use pure ALSA as higher sound mixers are a nightmare to cross compile for ARM. I've tested my system with aplay for example

aplay -D plughw:0,1 bang.wav

works fine. So I tried dmix with

aplay -D plug:dmix Win.wav

That gave the following error

ALSA lib pcm_direct.c:1587snd_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
aplay: main:550: audio open error: Invalid argument

I checked asound with

/etc # cat asound.conf
pcm.EP93XX {
type hw

[code]....

Does this mean dmix will not work? Is there someway with the above setup I can play multiple sounds? I have to use the vendor ALSA build (so can't update ALSA), I can change the .confs however. Also because I'm cross compiling things like pulseaudio SDL are very difficult to get working, so I basically need to use the above ALSA. Is there anyway I can find if dmix exists on the system?

Should add aplay -L does show dmix ?
iec958 'cards.pcm.iec958'
spdif 'cards.pcm.iec958'

[code]....

View 3 Replies View Related

Debian Configuration :: Regular User Cannot Unmount Autofs Share

Feb 19, 2016

Running 8.3..On 7.6 I had a automount and I was able to mount/unmount without issue. With 8.3, I can mount, but when I am in Thunar and i unmount, it gives me a permission denied.In /etc/groups I am in plugdev.

View 2 Replies View Related

Debian Multimedia :: My Sound - ALSA Or Pulseaudio?

Jun 18, 2010

I am using a couple of Debian Distro (Sid and Lenny) add some Ubuntu into the mix. I made the switch because I was amazed and satisfied with Debian --> once installed, everything works. For me that's okay for o so many years now. I don't question a lot because it just works and I do my job on it satisfactorily. Namely programming the LAMP style programming. Lately I have been using Debian to communicate over the internet -- using Skype and Pidgin and other such things, not to mention listening to music, watching movies, just using the default applications when I originally install Debian.

Along the way, I need to configure something -- that is desktop related -- like the screen resolution of a new LCD monitor replacing the old one and such. Now about my sound -- I'm not touching it because it is working. But that is not the case always. Now I have a constant error -- it is irritating. Rhythmbox don't make a sound always when I have open a web browser (iceweasel, chrome, epiphany) and a site with multimedia object on it -- like a video or something. So how do I correct this? How do I know, too what I am using -- ALSA or Pulseaudio?

View 1 Replies View Related

Debian Hardware :: ALSA - No Sound In Certain Apps

Nov 15, 2015

So I've got a new system on which I had to re-install Debian, and I've been trying to fix the sound today, but it doesn't seem to work... I've kept the same ALSA configuration (except a minor adjustment to the card number as this system appears to have two cards instead of one), but it doesn't seem to work as expected. I got this weird error while running an app that uses ALSA:

Code: Select allALSA sound driver initializing...
ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
    --> (Device: default)...Failed: Operation not permitted

In VLC it works fine, provided that I manually choose the right device under Audio -> Audio Device.here's my /etc/asound.conf:

Code: Select alldefaults.ctl.card 1

pcm.dsp {
    type plug
    slave.pcm "dmix"

[code]....

View 12 Replies View Related

Debian Multimedia :: ALSA Not Memorizing User Settings

Feb 24, 2015

This is probably one of those situations easy to solve but I haven't had any success as I've been messing around with the sound handling in my system.

I found it had running ALSA, OSS and PulseAudio and ended up purging everything in the system except for ALSA. Pulse Audio, for some reason, would shut down the sound-card when I muted sound though keyboard shortcut; after that, I had to manually open the sound table and enable a master control that would always remained closed.

Now, after purging the system of the excess baggage, ALSA will not retain the settings of the user; system will always reboot with PCM sound control fully closed.

View 0 Replies View Related

Debian Configuration :: ALSA Sound Setup To Use Card1

May 13, 2011

Alsa is currently using my HDMI port to play sounds through using card0 "ATI R6xx HDMI". I'm on a laptop and I want to be able to use my laptop speakers and headphone jack so how do I set alsa to use card1 which is "Conexant CX20582"?

View 8 Replies View Related

Debian Multimedia :: No Sound From ALSA - Softmodem Dead Too

Dec 17, 2010

In the process of trying to get the softmodem working, I finally attached speakers to this laptop and tried to play some sounds. Nothing but silence. Both the KDE system sounds and a stand-alone player (noatun) produce nothing. No error messages that I can find, either. (That might explain why the softmodem is dead, too...) I've run alsaconf several times, and even uninstalled and reinstalled ALSA. It thinks it is working, but is not. What sorts of things do I need to check to find where it isn't working?

Info: The motherboard is a FIC 3500W with the VIA P4M800 integrated chipset. This includes the VIA 8237 sound system, which is what ALSA detects and tries to use. The machine also has a Realtek ALC655 but I don't see any drivers for that in the lsmod output, so this is a possible source of the trouble.

View 11 Replies View Related

Debian Multimedia :: ALSA - Sound From 1 Source Being Played Only

May 29, 2011

I decided to break free from the horrible life of a windows vista user. I like my new debian (Wheezy) installation and everything worked fine so far. Now I stumbled upon a huge problem. When I want startup and login into my gnome installation the first application I open gets to play sound and others after that just don't work. I looked endlessly on google but in my understanding the problem is within the ALSA driver.

Some specs :
OS version : Debian 7 (Wheezy)
Laptop brand : Packerd Bell Easynote LJ-65
Kernel installed : 2.6.38-2-686 (Standard one in wheezy)

View 4 Replies View Related

Debian Hardware :: TV-Tuner With Alsa With Jessie No Sound

Jul 11, 2015

I've got a Leadtek TV2000 Expert tuner and it was connected with my soundcard on motherboard succesfully. Before many years it worked percectly with my early Ubuntu version 7.04 and 8.04 - that used the AUX for soundlevels in the alsamixer. In TVTIME I've get all my TV-channels but without sound...

Always when I run tvtime it sends me:

"mixer: Can't open device /dev/mixer, mixer volume and mute unavailable.
mixer: No such mixer channel 'aux', using channel 'line'."

I've got this in the .asoundrc file:

pcm.!dmix {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
channels 6
period_size 1024

[Code] ....

And everything works with sound - but tvtime can't...

View 8 Replies View Related

Debian Hardware :: ALSA Won't Recognize Sound Card?

Jan 6, 2011

I know sound is a recurring issue around here, but I can't find any posts/FAQs that address my particular problem.

Here it goes: When I first installed ALSA, I unsurprisingly had no sound. OK, no big deal, I'll just un-install and re-install ALSA and see if that helps. No, instead ALSA won't even recognize my card.

lspci shows:

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
alsactl init gives:
alsactl: init:1743: No soundcards found...
alsamixer:
cannot open mixer: No such device or address
aplay -l:
aplay: device_list:235: no soundcards found...

View 14 Replies View Related

Debian Hardware :: Alsa Can't Find Sound Card

Mar 27, 2011

since upgrading my desktop I've had trouble getting my old sound blaster audigy working. I've disabled the motherboard's on board sound in the bios. My new desktop is built around the Intel i7-2600K. I have a suspicion that maybe linux isn't playing nice with the pci-e to pci bridge that has replaced native pci support but I have no evidence of this. The sound card works fine in windows. The card is detected

[Code]...

View 1 Replies View Related

Debian Hardware :: Alsa Mixer Selected But No Sound With Squeeze

May 18, 2010

I just bought an HP Pavilion dv7-1273cl and it works excellent except for the sound and the webcam, the result for lspci is as follows:

lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)

Gnome volume control shows that HDA Intel(Alsa mixer) is selected and as a default the speaker is muted, if I unmute it, an infinite loop-like sound plays and no application seems to have access to the sound, I believe the correct module is installed by default, and the webcam does not work as well. I'm using debian squeeze i386.

View 5 Replies View Related

Debian Hardware :: ALSA Sound Not Persistent In Games Or System

Jul 26, 2011

I recently changed from Gentoo to Debian Squeeze. All went fine but I have an ALSA issue. I have an AMD Athlon II X4 board with a Nvidia (Realtek) sound chip. After installing I got a lot of "no such device" errors, so I installed the Realtek driver the Debian way and the errors vanished. I could successful run alsactl init and alsamixer.

At this point there is no sound neither in games nor system. alsaplay says (on the screen) that it is playing a wav file but there is no sound. My test ''dd if=/dev/urandom of=/dev/dsp'' complains "/dev/dsp : no such file or directory". Well, all clear. modprobing the snd-*-oss modules brings sound alive but I have to do this after every restart. I have no clue how to make this persistent the Debian way.

View 6 Replies View Related

Debian Multimedia :: Alsa, Pulseaudio, ION2 & HDMI Sound Output?

Apr 29, 2011

I have recently acquired a Lenovo Q150 machine and attempting to use it as a HTPC. I've been reading that with this platform a newer kernel is required to make wireless, sound and a few other tweaks work correctly--so I bumped up to testing repositories to upgrade to the 2.6.38 kernel.[URL]...

The audio on this device has been more than a pain. I'm currently using XBMC to play media on this device and after setting the outputs to custom: plughw:1,9 sound is played correctly. I found this out by using alsamixer, selecting the sound card with the F6 key (Nvidia 1) unmutting all outputs, quiting, and running speaker-test -D plughw:1,X where X is the sub-device from the output of aplay -l until sound could be heard from the receiver.

Now my problem is that applications like mplayer, and iceweasel won't output any sound. I'd prefer not to use the optical out on the device and would like to send sound over HDMI. Has anyone had any luck getting it to work as it should?

I've also installed pulseaudio, not too sure if this is really needed. I've also used module assistant before upgrading to compile alsa from source, it worked but i just decided to upgrade the kernel instead of dealing with m-a every time an update comes through. Linux floppy 2.6.38-2-amd64 #1 SMP Thu Apr 7 04:28:07 UTC 2011 x86_64 GNU/Linux

apt-cache policy alsa-base
alsa-base:
Installed: 1.0.23+dfsg-2
Candidate: 1.0.23+dfsg-3

[Code]...

View 1 Replies View Related

Debian :: Alsa - No Mixer Elems Found - Get No Sound After Compiling Kernel

Oct 18, 2010

After compileing my kernel i get no sound. I tried : alsaconf - choose my sound card - everything is all right, but when i try alsamixer i get : No mixer elems found

[Code]....

View 3 Replies View Related

Debian :: Install Alsa-driver-linxant Which Didn't Succeed And Now Don't Have Any Sound

Mar 27, 2010

I had normal sound... i did try to install alsa-driver-linxant which didnt succeed, and now i dont have any sound... i can see a red cross near my volume icon.

here's some output:

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.59
!!################################

[code].....

View 3 Replies View Related

Debian Configuration :: How To Install Alsa Drivers Along With Asus Xonar Dgx Sound Card

Oct 2, 2015

how to install alsa drivers along with Asus xonar dgx sound card. I followed these instructions. URL....And until "Setting up modprobe and kmod support" instructions were clear. I should put something in /etc/modules, but I dont down exactly what.

Code: Select allroot@SERVER:~# aplay -lL;
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Code: Select allroot@SERVER:~# lspci -nn | grep -i audio;
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
02:04.0 Multimedia audio controller [0401]: C-Media Electronics Inc CMI8788 [Oxygen HD Audio] [13f6:8788]

[code]....

View 3 Replies View Related

General :: Difference Between Regular User And System User (and Groups)

Sep 28, 2010

What is the difference between creating a "regular" user and creating a "system" user on Linux?

For example:

Code:

adduser john

Code:

adduser --system john

Similarly it seems there are normal groups and system groups. Doing an internet search and reading man pages does not give much information on the whole concept of system and regular user/group.

View 1 Replies View Related

OpenSUSE Hardware :: Unable To Get Sound-test To Play Sounds As Well As Connect To The Sound Device In Vmware And Play Sounds?

Nov 5, 2009

I'm trying to figure out what in the world is going on with my sound in OpenSuSE. I put in a brand new Audigy chipset soundcard and finally got some sound to come out of the speakers. I used the guide here: SDB:AudioTroubleshooting - openSUSE. to fix the permissions on my sound and am able to get sound-test to play sounds as well as connect to the sound device in my vmware and play sounds. That being said, I have terrible sound quality coming out. There is a lot of static sound like white noise and the volume of the actual sound played is very low compared to the noise. The sounds also distort somewhat.

I have tried the pulse audio change in the tutorial above also and have been searching around google. The only problem that I saw similar was a person who fixed the problem by updating KDE. I don't have KDE, I'm using Afterstep.

View 9 Replies View Related

Ubuntu :: Play Nethack In The Regular Terminal?

Jan 1, 2011

I could've sworn this website used to have a games section, but I guess I'll just post this here. Is there any way to play Nethack in the regular terminal? I've tried the normal install, but it says that xterm is an unknown terminal type. I don't really want to play in xterm anyway; I like the regular terminal much better.

View 3 Replies View Related

Ubuntu Multimedia :: No Sound Altough Alsa Mixer Seems To Indicate That Sound Card Works Properly

Nov 6, 2010

I have installed xubuntu version 10. My sound card is a Yamaha dS-1S, and seems to be properly configured. Alsa mixer doesn't indicates any error. However, I can't manage to get any sound. I have checked that jacks are correctly plugged.

View 4 Replies View Related

Ubuntu Multimedia :: No Sound In Gnash - ALSA For Sound System

Mar 15, 2010

I'm running Kubuntu 9.10 X64, and am using ALSA for my sound. I have no trouble with sound: VLC, Adobe's Flash plugin, Java, etc. all work properly. When I run the Gnash standalone player, sound does not work at all.

When I run Gnash in a terminal, I get this:

Quote:

View 5 Replies View Related

Debian Multimedia :: Vlc 1.0.4 No Sound In .mp4 And Unable To Play .flv At All?

Feb 23, 2010

so I have vlc 1.0.4 and when I try to play .flv files they won't load and when I try to play .mp4 files they play but after 1 or 2 vidoes there is no sound at all. I can get sound form other applications such as amsn and ice weasel when it happens

View 3 Replies View Related

Debian Multimedia :: Game Crashes When I Try To Play With Sound / Fix It?

Jan 22, 2011

I have been trying to play this game dawn-rpg.sourceforge.net and it immediately crashes whenever I try to play sounds. The only other sound in this system I have are the sounds for the bash/dash terminal.

So my questions are:-

a. How do I test if the sound system is working alright.
b. Do I need to increase some kind of priorty/niceness to sound systems to make sure they get the available resources (cpu, memory ) whatever it needs ?

On the same topic, while I was searching on the Net I got this link http://rosegardenmusic.com/wiki/low-latency_kernels .

I know this is actually for people who want to make sounds/music but can some of these ideas/instructions be useful for me as well ?

View 14 Replies View Related

Slackware :: Read And Write Data Dvds But Cannot Play A Regular Dvd?

Jun 29, 2011

I can read and write data dvds, but cannot play a regular dvd now. I have libdvdcss installed. I am running Slackware 64 13.37 (just installed).

Code:
MPlayer 20101218-4.5.1 (C) 2000-2010 MPlayer Team
Playing dvd://.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading

[Code]...

It can see the drive is there and /dev/sr0 is linked to /dev/dvd and I tried running as root to check if it was a permissions problem but got the same thing.

I have tried lots of different DVDs in the drive, same issue. I even switched out my DVD drive to another old DVD-ROM I had laying around, same thing.

View 14 Replies View Related

Debian Programming :: Play Beep / Alert Sound When Somebody Joins LAN

Aug 23, 2013

Code handy which could play a beep/alert sound when somebody (any user) joins your LAN. Or as second-hand choice, if this is too hard, to play a beep when X terminal windows writes some output lines.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved