Sound Card Setup
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Sound Card Setup




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Sound Card Setup  
Daryl Sawyer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-26-05 10:48 PM

I finally got sarge up and running fairly well. Now
I have a sound problem. I tried to stream some
music from a shoutcast style internet radio
station. I got the following error:

Couldn't open audio
Please check that:
Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard

I got the same error while attempting to play a
local mp3 file. I haven't the slightest idea how to
begin fixing this problem. Any ideas?





[ Post a follow-up to this message ]



    Re: Sound Card Setup  
Andreas Janssen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-27-05 10:47 PM

Hello

Daryl Sawyer (<tarNOSPAMvok@gmail.com> ) wrote:

> I finally got sarge up and running fairly well. Now
> I have a sound problem. I tried to stream some
> music from a shoutcast style internet radio
> station. I got the following error:
>
> Couldn't open audio
> Please check that:
> Your soundcard is configured properly
> You have the correct output plugin selected
> No other program is blocking the soundcard
>
> I got the same error while attempting to play a
> local mp3 file. I haven't the slightest idea how to
> begin fixing this problem. Any ideas?

1. make sure the driver for your card has been loaded (Google Groups to
find the name, lsmod to check)

2. If you use ALSA, make sure the alsa-base, alsa-oss and alsa-utils
packages are installed. Use `cat /proc/asound/cards` after reboot to
see it the driver has been loaded and your card has been recognized.
Make sure the sound card has the index 0.

3. make sure you are in the audio group (adduser daryl audio, exit and
login again)

4. make sure that a) no program (e.g. sound server like esd or arts) is
blocking the card or b) your player uses the output plugin for the
sound server you use.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html





[ Post a follow-up to this message ]



    Re: Sound Card Setup  
Eric Pozharski


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-05 01:46 AM

Daryl Sawyer <tarNOSPAMvok@gmail.com> wrote:
[***SKIP***]
> Couldn't open audio
> Please check that:
> Your soundcard is configured properly
> You have the correct output plugin selected
> No other program is blocking the soundcard
>
> I got the same error while attempting to play a
> local mp3 file. I haven't the slightest idea how to
> begin fixing this problem. Any ideas?

What `stat -L /dev/audio' says?

--
Torvalds' goal for Linux is very simple: World Domination
(it's third person quote.)





[ Post a follow-up to this message ]



    Re: Sound Card Setup  
Unruh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-05 07:46 AM

Eric Pozharski <whynot@ln.ua> writes:

>Daryl Sawyer <tarNOSPAMvok@gmail.com> wrote:
>[***SKIP***] 

Yu may also have something like artsd running whichhas the device open. You
cannot share audio devices.
[vbcol=seagreen]
>What `stat -L /dev/audio' says?

>--
>Torvalds' goal for Linux is very simple: World Domination
>(it's third person quote.)





[ Post a follow-up to this message ]



    Re: Sound Card Setup  
Daryl Sawyer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-31-05 10:47 PM

Eric Pozharski wrote:

> Daryl Sawyer <tarNOSPAMvok@gmail.com> wrote:
> [***SKIP***] 
>
> What `stat -L /dev/audio' says?
>

spacecow:/# stat -L /dev/audio
File: `/dev/audio'
Size: 0               Blocks: 0          IO Block: 4096   character
special file
Device: 302h/770d       Inode: 655147      Links: 1     Device type: e,4
Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (   29/   audio)
Access: 2005-02-25 22:39:39.000000000 -0800
Modify: 2005-02-25 22:39:39.000000000 -0800
Change: 2005-07-26 04:31:20.000000000 -0700
spacecow:/#

Over on #debian, I was told to run a file "sb." That
got my sound working for the time being, and then I
was told to add it to /etc/modules. I did that.
Unfortunately, upon reboot, it didn't load that
module; I'm back to getting the same error.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:00 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register