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
Trouble: DietPi Nano Pi Neo+Direwolf
Hello OMs! Now I¡¯m trying to launch a couple of audio modems on the basis of a Nanopi single-board computer (I started with direwolf, but still in terms of ardop), so that I can connect to them via Wi-Fi from android applications via TCP\IP and work in FX.25 and Winlink. The Nano Pi has a built-in audio card with pins to which I planned to attach an interface and a radio. While I can¡¯t start the sound, using the direwolf as an example, I do the following and get an error: root@DietPi:~# arecord -l **** List of CAPTURE Hardware Devices **** card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0] Subdevices: 1/1 Subdevice #0: subdevice #0 root@DietPi:~# cat /proc/asound/cards 0 [Codec ? ? ? ? ?]: H3_Audio_Codec - H3 Audio Codec H3 Audio Codec root@DietPi:~# nano /root/direwolf.conf ADEVICE plughw:0,0 CHANNEL 0 MODEM 1200 root@DietPi:~# direwolf Dire Wolf DEVELOPMENT version 1.8 A (Mar ?9 2024) Includes optional support for: ?cm108-ptt dns-sd Dire Wolf requires only privileges available to ordinary users. Running this as root is an unnecessary security risk. ¡ Audio device for both receive and transmit: plughw:0,0 ?(channel 0) Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, A+, 44100 sample rate / 3, DTMF decoder enabled. ¡ Ready to accept AGW client application 0 on port 8000 ... Ready to accept KISS TCP client application 0 on port 8001 ... DNS-SD: Avahi: Failed to create Avahi client: Daemon not running Audio input device 0 error code -5: Input/output error ¡ Audio input device 0 error code -5: Input/output error Terminating after audio input failure. root@DietPi:~# Any ideas? Maybe some package is missing? I would appreciate any help with this project. 73! |
¿ªÔÆÌåÓýCan you do basic audio playback or recording with tools like aplay and arecord? --David KI6ZHD On 03/13/2024 12:15 PM, Dr. Sergey
Ievkov wrote:
|
David, hello Yes, I tried to play the test file, it plays. I haven't tried the recording, but it probably works too....root@DietPi:~# aplay sample-15s.wav Playing WAVE 'sample-15s.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Next, I tried to install the missing package, and got a little better: root@DietPi:~# apt-get install avahi-daemon Now when I run it I get this: Ready to accept AGW client application 0 on port 8000 ... Ready to accept KISS TCP client application 0 on port 8001 ... DNS-SD: Avahi: Announcing KISS TCP on port 8001 as 'Dire Wolf on DietPi' DNS-SD: Avahi: Service 'Dire Wolf on DietPi' successfully registered. Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error What could be causing this error? §é§ä, 14 §Þ§Ñ§â. 2024?§Ô. §Ó 02:36, David Ranch <direwolf-groupsio@...>:
|
John, thank you! But GUHOR:( Audio device for both receive and transmit: default ?(channel 0) Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, A+, 44100 sample rate / 3, DTMF decoder enabled. ... DNS-SD: Avahi: Announcing KISS TCP on port 8001 as 'Dire Wolf on DietPi' DNS-SD: Avahi: Service 'Dire Wolf on DietPi' successfully registered. Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error Audio input device 0 error code -5: Input/output error Terminating after audio input failure. §ã§â, 27 §Þ§Ñ§â. 2024?§Ô. §Ó 23:10, WB2OSZ <wb2osz@...>: Try this: |
¿ªÔÆÌåÓý
I would recommend not to assume and to try it.? I imagine it won't work and if it doesn't, this isn't a direwolf issue.? This will probably be some specific OS issue, OS configuration issue, etc.? I see you're running the DietPi OS.? Have you tried the official Raspberry Pi (Bookworm) OS release? --David KI6ZHD |
I noticed that there are a bunch of different OS images, based on the specific Nano Pi model. Do you have the one for your specific model? Did you run this to get the latest updates? sudo apt update sudo apt upgrade As David suggested, see if you can record from the audio device to a file.? Find the name of the default audio device being used. You are running as root, so it should not be a permissions issue.? (i.e. user not in audio group) Is pulseaudio running??? Early Raspbian releases had a messed up pulseaudio (but it has been OK in recent releases). Maybe this version has issues and disabling pulseaudio might help.? Just grasping at straws here. The DietPi forum might have some useful information:?? Would you consider using the OS recommenced by the board manufacturer??? ? 73, John WB2OSZ |
to navigate to use esc to dismiss