¿ªÔÆÌåÓý

Re: Trouble: DietPi Nano Pi Neo+Direwolf


 

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@...>:


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:
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!

Sergey, RN1M

email: rn1m@...
pr-mail: RN1M@...


Join [email protected] to automatically receive all group messages.