LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-25-2006, 09:02 AM   #1
tajo01
Member
 
Registered: Feb 2006
Location: Spain, but I am Italian
Distribution: Fedora Core 3, now Debian sarge
Posts: 31

Rep: Reputation: 15
sound problem: maybe alsa config problem


Hi to everyone, I am new in Debian. I recently installed alsa libs, but now my mplayer doesn't work, and xmms too. When I try to listen one on my mp3 I got this error:
Code:
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
alsa-init: 1 soundcard found, using: default
Some of you can help me? Thanks a lot.

Antonello
 
Old 04-26-2006, 07:25 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
did you run alsaconf after installing the alsa libs ? that's usually all it takes to get my sound going again after changing ur upgrsding the software config..
 
Old 04-26-2006, 02:02 PM   #3
tajo01
Member
 
Registered: Feb 2006
Location: Spain, but I am Italian
Distribution: Fedora Core 3, now Debian sarge
Posts: 31

Original Poster
Rep: Reputation: 15
Now is working thanks, but when I reboot the system I lost the config. Do you know how can store this.

Thanks a lot
 
Old 04-26-2006, 03:00 PM   #4
whk
Member
 
Registered: Jun 2005
Posts: 202

Rep: Reputation: 37
alsactl store
 
Old 04-27-2006, 06:11 AM   #5
tajo01
Member
 
Registered: Feb 2006
Location: Spain, but I am Italian
Distribution: Fedora Core 3, now Debian sarge
Posts: 31

Original Poster
Rep: Reputation: 15
I did it but doesn't work. I run alsaconf and after alsactl store. But every time I reboot my machine I have to do it again.

Any tips? Thanks a lot Antonello
 
Old 04-27-2006, 11:08 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
After making the changes you want with alsamixer run:
Code:
alsactl store
to store the settings in the file /etc/asound.state. After rebooting alsa should read the settings from that file. If it does not then you have to run:
Code:
alsactl restore
and if it works you should check your init scripts.

Check the /etc/rc2.d for a startup script for alsa.. the startup script should be set to start alsa and do the alsactl restore on system startup..

Code:
itg-debian:/etc/rc2.d#  ls -l | grep alsa
lrwxrwxrwx  1 root root 14 Feb 13 10:13 S12alsa -> ../init.d/alsa

If that doesn't fix the problem entirely, you may want to take a look at your /etc/modules.conf
Take a look at this page here:

Last edited by farslayer; 04-27-2006 at 11:16 AM.
 
Old 04-28-2006, 04:52 AM   #7
tajo01
Member
 
Registered: Feb 2006
Location: Spain, but I am Italian
Distribution: Fedora Core 3, now Debian sarge
Posts: 31

Original Poster
Rep: Reputation: 15
I have this file, look like ok, but the problem is still present. After reboot my system I tried to do
Code:
alsactl restore
but it doesn't work.

Thanks for your help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ALSA Sound Problem Gerardoj Fedora 2 04-25-2005 09:55 PM
sound/ alsa problem noir911 Slackware 3 11-24-2004 12:05 AM
ALSA Config Sound Problem time112852 Linux - Software 1 11-06-2004 07:57 PM
alsa sound problem toastydeath Linux - Hardware 1 05-27-2004 03:09 AM
Problem with alsa sound grub Linux - Hardware 2 04-28-2003 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration