Skip to content
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

controlstream@299: audio/Failure: Module initialization failed #4

Closed
dbc opened this issue Dec 7, 2020 · 2 comments
Closed

controlstream@299: audio/Failure: Module initialization failed #4

dbc opened this issue Dec 7, 2020 · 2 comments

Comments

@dbc
Copy link

dbc commented Dec 7, 2020

Super excited to discover this project yesterday! I've been wanting to learn go, and this seems like a good place to dig in.

When I cloned and built kappanhang, on my system I get:

dave@roslap2:~/Documents/repos/contrib/kappanhang$ go run ./
2020-12-06T15:55:50.253-0800	info	main: kappanhang (devel) by Norbert Varga HA2NON and Akos Marton ES1AKOS   https://github.com/nonoo/kappanhang
2020-12-06T15:55:50.253-0800	info	streamcommon: control/connecting to IC-705:50001
2020-12-06T15:55:50.626-0800	info	controlstream: got serial and audio request success, device name: IC-705
2020-12-06T15:55:50.629-0800	info	streamcommon: serial/connecting to IC-705:50002
2020-12-06T15:55:50.651-0800	info	serialtcpsrv: exposing serial port on tcp port 4531
2020-12-06T15:55:50.686-0800	info	serialstream: stream started
2020-12-06T15:55:50.686-0800	info	streamcommon: audio/connecting to IC-705:50003
2020-12-06T15:55:50.779-0800	error	controlstream@299: audio/Failure: Module initialization failed
2020-12-06T15:55:50.729-0800   S0    14.019430 CW txpwr 100%
2020-12-06T15:55:51.279-0800	info	streamcommon: control/disconnecting
2020-12-06T15:55:51.279-0800	info	streamcommon: serial/disconnecting
2020-12-06T15:55:51.280-0800	info	main: waiting 1 seconds...

So... it looks like my configuration is close to correct, but somehow the audio stream is not starting up. Any clues for me?
73, Dave N6NZ

@nonoo
Copy link
Owner

nonoo commented Dec 7, 2020

Make sure pulseaudio is available for your Linux user. Check if pactl and pacmd commands are available. Make sure module-pipe-sink and module-pipe-source are installed and available.

@dbc
Copy link
Author

dbc commented Dec 8, 2020

pactl, pacmd, yes. modules needed to be added. module-pipe-sink fails to initialize -- looking at /var/log/syslog is appears that module-pipe-sink can not parse the requested options. I am trying this on a very old (Ubuntu 16.04) system for... reasons... so I suspect that my install of pulse-audio is simply too old. I will try on a more recent system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants