-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio input device 0 error: Broken pipe #129
Comments
This is the #1 most common issue on Raspberry Pi's. I imagine it could be similar on other machines. |
I don't understand why lack of an Ethernet connection would cause the sound system to be less reliable. |
I don't understand why a lack of Ethernet connection would make it less reliable either. Yet it works. I've recently purchased a Fe-Pi in hopes using I2S for audio will work. |
Here's the real fix for those using a Raspberry Pi. It showed up early at my doorstep. It's nearly plug n play with some boot config edits and a certain minimum kernel version needed for ease. After running it on a high rate tx over night, it hasn't suffered any errors of any kind, when normally any USB card would fail in minutes to just an hour or two. So this tells me it works, since it never errored out. |
My test with Raspberry Pi 3 quadcore show that this message can occur when CPU is overloaded. |
My average CPU has always been at 10% or less. It's only higher when I'm compiling or using multiple applications at once. Regardless of the the CPU usage, it still does it. But good to know that high CPU usage could lead to the same issue. So far the Fe-Pi is working great and produces no issues with a proper setup. Running an HT with the stock antenna an inch from the card does create a broken pipe issue. But I'm not surprised, since some things don't tolerate RF feeding right into it like that. |
Pi ZeroW gets this now and then, maybe once an hour, almost nothing to worry about, plus it seems to happen after I get an [ig>tx] line from the aprs server. This is with an Fe-Pi audio hat. Observed with ethernet or wifi. CPU 79% idle...
|
As the output from Direwolf tells you to do, what's the output of "top" when Direwolf throws this error? You say the CPU is 79% idle but is that according to "top", "vmstat 5", or something else? The Raspberry Pi ZeroW is a low performance system and it might be getting overwhelmed at that moment with other tasks like cron jobs, etc. |
I'm referring to the average cpu utilization from top... which correlates a bit with uptime/load averages. |
Possibly some insight to this. I've been doing APRS digipeating work with a Pi. When I was using rig control with a FT-857D managed through Direwolf, it worked reliably with USB audio devices. However, after I switched to using VOX as a test, this issue bit me. I have noticed fiddling with DWAIT seems to help somewhat, but I think there's a problem with rapidly switching between record and playback on the same ALSA node that comes out on slower machines. I could also resolve the problem by moving audio input to the USB device, and audio out to the port on the side of the Pi. Hope this helps the next guy. |
This is from 7 years ago. |
Some of my packets don't get decoded because of the above error. Or they do get decoded, but are missing parts. The larger the packet, the higher the chance of an error. I'm using Alsa with a SoundBlaster PCI sound card.
The text was updated successfully, but these errors were encountered: