LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-22-2008, 12:04 PM   #1
Herbivore
LQ Newbie
 
Registered: Mar 2008
Posts: 17

Rep: Reputation: 0
Error opening PCM device Device or resource busy


Hope I haven't missed an answer; did many searches over several days but could not find a duplicate problem or a solution to a related problem that worked. Tried lsof /dev/snd/{whatever your device name is} but after trying different possibilities would see "No such file or directory".

I realize there could be many causes, so thanks in advance for any suggsetions.

System: Mint 5.0 via Ubuntu 8.04 (Hardy), GNOME 2.22.3, 2GB memory, AMD Athlon 64 3200+

Every time the sound stops, there is a syslog entry that says:

Code:
Aug 22 12:05:28 forest pulseaudio[6421]: module-alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Would this be helpful:

Code:
tmr@forest ~ $ lspci 
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3) 
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3) 
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2) 
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2) 
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3) 
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2) 
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2) 
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2) 
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) 
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2) 
05:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 
05:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) 
tmr@forest ~ $
user.log has entries like this:

Code:
Aug 22 15:02:58 forest pulseaudio[6447]: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
Thanks for any suggestions. Remember, small brain cage noob here.
 
Old 08-22-2008, 12:08 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
Do you have /dev/snd directory in your system? What devices have you tried with lsof, and when does the "File not found" error occurs?
In my system I have
ls /dev/snd
controlC0 hwC0D3 pcmC0D0c pcmC0D0p seq timer
with 2 pcm devices as you can see.
 
Old 08-23-2008, 01:45 AM   #3
Herbivore
LQ Newbie
 
Registered: Mar 2008
Posts: 17

Original Poster
Rep: Reputation: 0
Re Error opening PCM device Device or resource busy

Quote:
Originally Posted by Uncle_Theodore View Post
Do you have /dev/snd directory in your system? What devices have you tried with lsof, and when does the "File not found" error occurs?
In my system I have
ls /dev/snd
controlC0 hwC0D3 pcmC0D0c pcmC0D0p seq timer
with 2 pcm devices as you can see.
In Sound Preferences there are 5 choices:

NVidia CK804 (Alsa mixer)
Realtek ALC850 rev 0 (OSS Mixer)
Playback: ALSA PCM on front:0 (NVidia CK804) via DMA (PulseAudio Mixer)
Capture: Monitor Source of ALSA PCM on fron:0 (NVidia CK804) via DMA (PulseAudio Mixer)
Capture: ALSA PCM on front:0 (NVidia CK804) via DMA (PulseAudio Mixer)

Maybe there is a simultaneous request between them for PCM device front:0: causing the busy error?


Code:
tmr@forest ~ $ ls /dev/snd
controlC0  pcmC0D0c  pcmC0D0p  pcmC0D1c  pcmC0D2p  seq  timer
tmr@forest ~ $ lsof /dev/snd/controlC0
COMMAND    PID USER   FD   TYPE DEVICE SIZE  NODE NAME
mixer_app 6416  tmr   20w   CHR  116,0      12140 /dev/snd/controlC0
tmr@forest ~ $ lsof /dev/snd/pcmC0D0c
tmr@forest ~ $ lsof /dev/snd/pcmC0D0p
tmr@forest ~ $ lsof /dev/snd/pcmC0D1c
tmr@forest ~ $ lsof /dev/snd/pcmC0D2p
tmr@forest ~ $ lsof /dev/snd/seq
tmr@forest ~ $ lsof /dev/snd/timer
tmr@forest ~ $
 
  


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
Can't open audio device. Device or resource busy. deepumnit Linux - Software 2 06-16-2008 09:36 AM
Fix For "[ao_alsa] Playback Open Error: Device Or Resource Busy. No coding!! Frank64 Linux - Hardware 2 03-03-2008 04:28 PM
Boot cd initrd error - pivot_root: Device or resource busy fotoguy Linux - Software 2 08-03-2006 07:44 PM
Device or resource busy error obulpathi Linux - Laptop and Netbook 1 01-20-2006 04:03 AM
realtek rtl8139 gives device or resource busy error with slack 9.1 /xp dualboot joe83 Linux - Networking 2 06-10-2004 07:32 AM


All times are GMT -5. The time now is 10:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration