alsaaudio.ALSAAudioError: Device or resource busy [plughw:1]
See original GitHub issuei am using a usb sound card and there is something make the mic busy and kind of listening to nothing
thats what i got in debugging mode
pi@raspberrypi:~ $ /opt/AlexaPi/src/main.py -d Checking Internet Connection... Connection OK Play_Audio Request for: /opt/AlexaPi/src/resources/hello.mp3 Player State: State.Opening Player State: State.Playing Player State: State.Ended Traceback (most recent call last): File "/opt/AlexaPi/src/main.py", line 595, in <module> loop() File "/opt/AlexaPi/src/main.py", line 510, in loop inp = alsaaudio.PCM(alsaaudio.PCM_CAPTURE, alsaaudio.PCM_NORMAL, config['sound']['input_device']) alsaaudio.ALSAAudioError: Device or resource busy [plughw:1]
Issue Analytics
- State:
- Created 7 years ago
- Comments:33 (12 by maintainers)
Top Results From Across the Web
alsaaudio.ALSAAudioError: Device or resource busy · Issue #47
I have installed alsaaudio in order to perform PCM capture in Python ... ALSAAudioError: Device or resource busy [mic_mono] alsaaudio.
Read more >[SOLVED] ALSA: device or resource is busy / Multimedia and ...
[SOLVED] ALSA: device or resource is busy ... Hi, I can't get media players to play audio through 1 of soundcards: There's 2...
Read more >PureData: "ALSA output error Device or resource busy"
Hi guys, I am trying to get Pure Data working on my Raspberry Pi (Model B) with no success so far. I am...
Read more >pyalsaaudio - Bountysource
My problem is that I always get device or resource busy as soon as I attempt to do anything with the alsaaudio.PCM object...
Read more >ALSA works, but PulseAudio gives "Error opening PCM device"
I: [pulseaudio] alsa-util.c: Error opening PCM device plughw:1: Device or resource busy. E: [pulseaudio] module.c: Failed to load module ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mohaggag I’m really sorry you’re having so much trouble. It’s got to be frustrating. One thing we keep having trouble with is when pulseaudio is installed on the system. Which is something that is automatic on the full desktop versions of raspbian.
If you aren’t planning on using the desktop on your pi at all, can I suggest that you try using raspbian lite instead of pixel?
The plan is to be able to support other audio engines down the road, which will hopefully have less trouble with pulseaudio. But for now this seems to be the most foolproof solution.
Have you verified your levels and auto-gain in alsamixer? This does not sound like a software issue.