LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-05-2006, 04:35 PM   #1
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Audio not working anymore


Hi, I'd transported my computer physically and after I'd plugged in any cables again, sound had stopped from working.

Symptoms and notes:
  • There doesn't seem to be any sound-related messages in the /var/log/messages log.
  • "lsmod" returns (amongst others)
    Quote:
    snd 55268 12 snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    , and that should be OK.
  • When I run XMMS from a terminal and start to play a song, XMMS outputs,
    Quote:
    ** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): Device or resource busy
  • When I open the system menu "System --> Preferences --> Sound" and deactivate the option "Enable software sound mixing (ESD)" (the default setting is "activated"), XMMS won't output a warning anymore and - visually - plays that song (progressbar is progressing, equalizer is bouncing).
  • I'm sure that all amplifier/speaker cables are plugged in correctly, and I've also looked at the soundcard, which looks OK (plug plugged in and everything neatly fixed).
  • In the Device Manager, the sound card appears to be listed correctly ("Creative Sound Blaster AudioPCI128"), and I cannot find information that distinguishes it - regarding other devices - as "not working".
  • I've also read related threads and guides but didn't found a solution or further hints.
  • This is on Ubuntu Dapper.
Are there additional things I could do to analyse the problem?

Thanks indeed
robbbert
 
Old 05-05-2006, 04:56 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
I don't know if this will help or not, but one other thing to check is to make sure your permissions are OK
Code:
chmod 666 /dev/dsp
chmod 666 /dev/mixer
 
Old 05-05-2006, 05:06 PM   #3
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Original Poster
Rep: Reputation: 32
Thank you. The permissions had been already set that way. I've applied your code but nothing changed.
 
Old 05-05-2006, 06:44 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Make sure esound is set as the output device in xmms and other programs or else you are going to get a lot of messages stating "Device or resource busy."

Software mixers like esound and the dmix library in ALSA are used when sound cards and their modules (drivers) do not have mixing capabilities. This means when not using software mixers, the sound card can only handle one PCM stream at a time.
 
Old 05-06-2006, 02:42 AM   #5
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Original Poster
Rep: Reputation: 32
Thanks for the info on sound mixing. In XMMS' preferences, I've changed the output plugin from "OSS Driver 1.2.10 [libOSS.so]" to "eSound Output Plugin 1.2.10 [libesdout.so]" but nothing seemed to change. When being started, XMMS outputs,
Quote:
Message: device: default
- Would there be any means to diagnose a hardware issue?
 
Old 05-06-2006, 02:58 AM   #6
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Original Poster
Rep: Reputation: 32
Thank you again - this is solved. That dummy called robbbert missed some hardware volume control. D'oh!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[ubuntu] Audio did work, but not anymore (AC"97) tijdbom Linux - Hardware 2 01-30-2006 04:46 AM
TightVNC not working anymore... OverrRyde Linux - Software 10 12-01-2005 05:57 PM
ps/2 mouse not working anymore lopette Linux - Hardware 2 08-31-2004 12:16 PM
Scsi emulation - audio cd won't play anymore Joe Soap Linux - Newbie 9 02-10-2004 11:27 AM
Squirrelmail not working anymore nuzzy Linux - Software 3 08-28-2003 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:30 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