Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
"Timeout waiting for input from audio device 0" on Windows
Hey folks,
I've just started playing with Direwolf... I'm running it on a (fairly powerful) Windows machine, via a (cheap) USB sound device.? It's decoding incredibly well. WAY better than my ancient TH-D700.? Yay! However, I can't get it to run continuously.? Boo! Periodically (after running for a period of between 1 minute and 1 hour) I get:
and Direwolf exits. I would love some suggestions about what to DO about this. I looked at the source code, and the timeout interval (as well as the number of "allowed" timeouts) is hard-coded (and thus, not configurable). Anybody have any ideas? TIA, de Peter K1PGV |
开云体育
Thanks for the reply. Much appreciated. A very good thought.
Unfortunately, stray RF isn't the problem in this particular case.? I'm currently running receive-only (iGating received packets only) with no transmit happening at all.
vy 73 de Peter K1PGV
From: [email protected] <[email protected]> on behalf of Brent WG0A <bjpetit@...>
Sent: Sunday, October 1, 2023 4:14 PM To: [email protected] <[email protected]> Subject: Re: [direwolf] "Timeout waiting for input from audio device 0" on Windows ?
Random timeouts like this tend to point at RF interfering with your USB device.
If you don't have a USB cable with a ferrite choke built in, you should probably look into that, or try out one of the clip on ferrite beads on your USB cable. 73, Brent WG0A |
Just a thought: I have a known bad USB sound card, it has a tendency to overheat after 'x' amount of time, (varies) depending on ambient temperature and air flow near it. The system (linux or Windows) loses it. I can restart USB discovery and it usually finds it again, or I can unplug and re-plug it in and it gets rediscovered. Logs seldom gave a reason. I only use it for testing now (I hate to throw away anything, I'm a hoarder) but not for anything long term.
-- = = = = ? Kevin? --? KD9EFV |
开云体育
Many,
many, thanks for the replies and ideas so far.? Really very much appreciated!
John
WB2OSZ, wrote:
>?Could
the interruption be caused by the screen saver
Another very good thought... sadly, this happens without the screen saver: I can be quietly using the system (answering an email like I am now or surfing the web) and ... bang!? The Error occurs.
Kevin?
--? KD9EFV suggested:
>??have
a known bad USB sound card, it has a tendency to overheat after 'x' amount of time,
Given that these things cost, basically, nothing... I guess I wouldn't be surprised if it was some sort of device problem.
I'm using one of these:
Can anyone suggest a "known to work without problems on Windows" USB sound device?? And, while we're at it, suggestions for "known to work on RPI" would also be helpful -- I just may move the whole setup to an RPI and see if it avoids the problem.
:-(
vy 73 de Peter K1PGV
From: [email protected] <[email protected]> on behalf of WB2OSZ <wb2osz@...>
Sent: Monday, October 2, 2023 9:44 AM To: [email protected] <[email protected]> Subject: Re: [direwolf] "Timeout waiting for input from audio device 0" on Windows ?
Could the interruption be caused by the screen saver or the computer going into hibernation?
73, John WB2OSZ |
开云体育
Jeff KP3FT suggested:
>?Try changing
the default sampling rate of 44100? to 48000 by using the -r switch
Thanks!? I'm trying that right now.? I'll report back.
In the meantime, I'd love to hear other thoughts/suggestions/ideas/recommendations.
vy 73 de Peter K1PGV
|
开云体育Hello Peter, Consider running direwolf from a batch file that after the direwolf line is run, then run a "date /t" and a "time /t" command.? Now, when you run Direwolf and it then exits, it will print out WHEN exactly it crashed out.? At that point, go look a the the Windows Event Viewer aka the system logs and look around those timestamps to see what the OS says.? At that point, report back to the email list with what you've found and maybe someone can give you some more ideas what to do next. --David KI6ZHD On 10/02/2023 07:13 AM, Peter G.
Viscarola wrote:
|
开云体育
David KI6ZHD wrote:
>?Consider
running direwolf from a batch file that after the direwolf line is run, then run a "date /t" and a "time /t" command.? Now, when you run Direwolf and it then exits, it will print out WHEN exactly it crashed out.? At that point, go look a the the Windows Event
Viewer aka the system logs and look around those timestamps to see what the OS says.
Thank
you, David.? That's another very excellent suggestion... and one I had not thought of at all (I was just bemoaning the fact that direwolf didn't timestamp any output; I didn't even THINK of using a batch file to log the time/date).
SO,
thanks for that... I'll create that simple batch file and try that again right now.
Many
thanks to all so far...
vy 73 de Peter K1PGV
|
On Mon, Oct 2, 2023 at 11:01 AM, Peter G. Viscarola wrote:
I was just bemoaning the fact that direwolf didn't timestamp any output Put "-T %H:%M:%S" on the command line to get timestamps. Are you using a USB hub?? There have been cases where plugging the USB Audio adapter into a USB hub was less reliable. How about trying a different USB port on the computer? 73, John WB2OSZ |
开云体育
>Put "-T
%H:%M:%S" on the command line to get timestamps.
Oh, that's terrific.? Thanks for that!? That works great!
>Are you
using a USB hub?
No, I'm not.? I
am? using an extender cable, though ("a" type female to "a" type male).? I guess that could be causing some problems.? Hmmm...
Thanks again, and very much, to everyone for the suggestions so far.
(Interesting note: Since changing the sampling rate to 48000, I haven't seen the timeout problem. I don't really understand why this would fix the problem, but....)
VY 73 de Peter K1PGV
|
hi guys. I have been reading the post re this matter, Great stuff. This is outside of this, BUT how and where do you put the Command Line in the config file to bring up? the timestamps. I have tried?this so many times and i can't?get it the read it. >Put "-T %H:%M:%S" on the command line to get timestamps. any help here.. Thanks? ? ? ? ? ? ? ? ?Pete VK2BLO On Tue, Oct 3, 2023 at 4:51?AM Peter G. Viscarola <PeterVisc@...> wrote:
|
Not in the config file.? The command line is the Windows command prompt or a Linux terminal. In Windows search on "cmd", or modify the "Target:" information in a Windows shortcut. ?? <Right-click>on the shortcut and look at "Properties" for "Target:" In Linux, the terminal is typically an icon "of >_ " or under the Accessories menu >Terminal (on a Raspberry Pi).? Other Linux distros may have it under different menu items. Robert Giuliano KB8RCO
|
toggle quoted message
Show quoted text
On Tue, Oct 3, 2023 at 1:09?PM Rob Giuliano via <kb8rco=[email protected]> wrote:
|
On Mon, Oct 2, 2023 at 06:52 AM, Peter G. Viscarola wrote:
Can anyone suggest a "known to work without problems on Windows" USB sound device? Masters Communications ?but old models had limited bandwidth |
to navigate to use esc to dismiss