Side project, "DMR Station" network radio
Re: Side project, "DMR Station" network radio
Do you have pulseaudio installed? what is the output of "pacmd list-cards"?
Re: Side project, "DMR Station" network radio
Hi David,
Yes pulseaudio is installed:
pacmd list-cards:
Yes pulseaudio is installed:
pacmd list-cards:
Code: Select all
1 card(s) available.
index: 0
name: <alsa_card.platform-1c22c00.codec>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "H3 Audio Codec"
alsa.long_card_name = "H3 Audio Codec"
alsa.driver_name = "sun4i_codec"
device.bus_path = "platform-1c22c00.codec"
sysfs.path = "/devices/platform/soc/1c22c00.codec/sound/card0"
device.form_factor = "internal"
device.string = "0"
device.description = "Wbudowany dźwięk"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
profiles:
input:analog-mono: Wejście Analogowe mono (priority 7, available: unknown)
output:analog-mono: Wyjście Analogowe mono (priority 700, available: unknown)
output:analog-mono+input:analog-mono: Analogowy dupleks mono (priority 707, available: unknown)
off: Wyłączone (priority 0, available: unknown)
active profile: <output:analog-mono+input:analog-mono>
sinks:
alsa_output.platform-1c22c00.codec.analog-mono/#0: Wbudowany dźwięk Analogowe mono
sources:
alsa_output.platform-1c22c00.codec.analog-mono.monitor/#0: Monitor of Wbudowany dźwięk Analogowe mono
alsa_input.platform-1c22c00.codec.analog-mono/#1: Wbudowany dźwięk Analogowe mono
ports:
analog-input: Wejście analogowe (priority 10000, latency offset 0 usec, available: unknown)
properties:
analog-output: Wyjście analogowe (priority 9900, latency offset 0 usec, available: unknown)
properties:
Re: Side project, "DMR Station" network radio
Hi all,
Where can I get md380-3emu binary?
Where can I get md380-3emu binary?
Re: Side project, "DMR Station" network radio
The emu can be obtained (compilation required) from:
https://github.com/DVSwitch/md380tools/ ... r/emulator
@sp2ong, sorry about your audio card problems, I have no idea of what is preventing the application from running.
David
https://github.com/DVSwitch/md380tools/ ... r/emulator
@sp2ong, sorry about your audio card problems, I have no idea of what is preventing the application from running.
David
Re: Side project, "DMR Station" network radio
David
I connect USB sound card to Orange Pi Zero and exist still a problem, it looks like PulseAudio configuration ?
I can display window on remote machine (when compile version wih put // in audio.c before on begining line "g_assert(r == 0);"
I must find solve problem with pulseaudio.
73 Waldek
I connect USB sound card to Orange Pi Zero and exist still a problem, it looks like PulseAudio configuration ?
I can display window on remote machine (when compile version wih put // in audio.c before on begining line "g_assert(r == 0);"
I must find solve problem with pulseaudio.
73 Waldek
Re: Side project, "DMR Station" network radio
Seems like a pulseaudio related problem indeed. Are you using other audio or multimedia applications?
Can you run "pactl info" with the user that runs DMRStation?
Try issuing a "pulseaudio --start" before launching DMRStation
Can you run "pactl info" with the user that runs DMRStation?
Try issuing a "pulseaudio --start" before launching DMRStation
Re: Side project, "DMR Station" network radio
This is Orange Pi Zero with latest Armbian without GUI dedicated only for DMRStation
Pulseaudio is started with: pulseaudio -D
ps aux:
List of devices are by command: pacmd list-cards
but when try use command: pactl info
Pulseaudio is started with: pulseaudio -D
ps aux:
Code: Select all
sp2ong 1458 25.3 3.4 198816 17280 ? Sl 17:53 0:00 pulseaudio -D
Code: Select all
2 card(s) available.
index: 0
name: <alsa_card.usb-GeneralPlus_USB_Audio_Device-00>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "USB Audio Device"
alsa.long_card_name = "GeneralPlus USB Audio Device at usb-1c1b400.usb-1, full speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "platform-1c1b400.usb-usb-0:1:1.0"
sysfs.path = "/devices/platform/soc/1c1b400.usb/usb4/4-1/4-1:1.0/sound/card0"
udev.id = "usb-GeneralPlus_USB_Audio_Device-00"
device.bus = "usb"
device.vendor.id = "1b3f"
device.vendor.name = "Generalplus Technology Inc."
device.product.id = "2007"
device.product.name = "USB Audio Device"
device.serial = "GeneralPlus_USB_Audio_Device"
device.string = "0"
device.description = "USB Audio Device"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
profiles:
input:analog-mono: Wejście Analogowe mono (priority 7, available: unknown)
output:analog-stereo: Wyjście Analogowe stereo (priority 6500, available: unknown)
output:analog-stereo+input:analog-mono: Wyjście Analogowe stereo + Wejście Analogowe mono (priority 6507, available: unknown)
output:iec958-stereo: Wyjście Cyfrowe stereo (IEC958) (priority 5500, available: unknown)
output:iec958-stereo+input:analog-mono: Wyjście Cyfrowe stereo (IEC958) + Wejście Analogowe mono (priority 5507, available: unknown)
output:iec958-ac3-surround-51: Wyjście Cyfrowe przestrzenne 5.1 (IEC958/AC3) (priority 300, available: unknown)
output:iec958-ac3-surround-51+input:analog-mono: Wyjście Cyfrowe przestrzenne 5.1 (IEC958/AC3) + Wejście Analogowe mono (priority 307, available: unknown)
off: Wyłączone (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-mono>
sinks:
alsa_output.usb-GeneralPlus_USB_Audio_Device-00.analog-stereo/#0: USB Audio Device Analogowe stereo
sources:
alsa_output.usb-GeneralPlus_USB_Audio_Device-00.analog-stereo.monitor/#0: Monitor of USB Audio Device Analogowe stereo
alsa_input.usb-GeneralPlus_USB_Audio_Device-00.analog-mono/#1: USB Audio Device Analogowe mono
ports:
analog-input-mic: Mikrofon (priority 8700, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-output-speaker: Głośniki (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
iec958-stereo-output: Wyjście cyfrowe (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:
but when try use command: pactl info
Code: Select all
Connection failed: Connection refused
pa_context_connect () failed: Connection refused
Re: Side project, "DMR Station" network radio
But when try start pulseaudio :
pulseaudio --start
N: [pulseaudio] main.c: Server configured by user in {9a91bf8e180291f23866ce8d538f065f} unix: /run/user/1000/pulse/native, refusing to start / auto resume.
pulseaudio --start
N: [pulseaudio] main.c: Server configured by user in {9a91bf8e180291f23866ce8d538f065f} unix: /run/user/1000/pulse/native, refusing to start / auto resume.
Re: Side project, "DMR Station" network radio
You're getting the pulseaudio error because it tries to play the sound on your host computer (due to DISPLAY envvar).
Many that could help you.
Cheers.
---
Daniel
Re: Side project, "DMR Station" network radio
mmmm, when Sp2ong mentioned before the display setting I thought he was referring to the ip of the pi to connect to the pi display and not to his "work" computer.
I would also suggest killing pulseaudio (pulseaudio -k) and starting it with "pulseaudio --start". Until pactl connects to the pulse server there is no much to do.
Maybe the best environment to get the app running is connecting the pi to a screen, mouse, keyboard and ethernet, and boot a clean raspbian image. But take into account that audio can also work through hdmi, so you won't hear it if your monitor does not have audio capabilities. Throwing too many ingredients into the equation can only make things harder.
David
I would also suggest killing pulseaudio (pulseaudio -k) and starting it with "pulseaudio --start". Until pactl connects to the pulse server there is no much to do.
Maybe the best environment to get the app running is connecting the pi to a screen, mouse, keyboard and ethernet, and boot a clean raspbian image. But take into account that audio can also work through hdmi, so you won't hear it if your monitor does not have audio capabilities. Throwing too many ingredients into the equation can only make things harder.
David