[SOLVED] HQPlayer cannot find NAA on Snakeoil machine
|
Posts: 10
Threads: 0
Joined: Feb 2017
Reputation:
0
Location: USA
21-Feb-2017, 12:35 PM
(This post was last modified: 21-Feb-2017, 12:35 PM by scan80269.)
NAA was selected as the player in the software tab ever since the NAA completed installation.
Today I re-installed Snakeoil 0.1.5, activated, updated to the latest firmware, changed the kernel to x64-ipv6, then finally installed HQPlayer NAA again. I'm getting the same issue where "Running: ERROR" appears under Player Status for NAA. I did the same workaround: SSH into the system with my user account, and did a "sudo networkaudiod start". This changes the Player Status to "Running: ok (pid:xxxx)", and HQPlayer can see my USB endpoint and play normally.
Thanks for any help to address this. There's no hurry since the above workaround is effective, and I'm already enjoying the sound.
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
22-Feb-2017, 07:45 AM
(This post was last modified: 20-Feb-2020, 06:45 PM by agent_kith.
Edit Reason: Updated tracker links from Mantis to gitlab
)
(21-Feb-2017, 12:35 PM)scan80269 Wrote: NAA was selected as the player in the software tab ever since the NAA completed installation.
Today I re-installed Snakeoil 0.1.5, activated, updated to the latest firmware, changed the kernel to x64-ipv6, then finally installed HQPlayer NAA again. I'm getting the same issue where "Running: ERROR" appears under Player Status for NAA. I did the same workaround: SSH into the system with my user account, and did a "sudo networkaudiod start". This changes the Player Status to "Running: ok (pid:xxxx)", and HQPlayer can see my USB endpoint and play normally.
Thanks for any help to address this. There's no hurry since the above workaround is effective, and I'm already enjoying the sound. I've created an issue to track this ( link), more so that I wouldn't forget about this . Hopefully will let you guys know what I find later this week.
Snakeoil Operating System - Music, your way!
Posts: 10
Threads: 0
Joined: Feb 2017
Reputation:
0
Location: USA
Thanks, Agent Kith!
One more data point: with the standard x64 kernel, "sudo NETWORKAUDIOD_IPV6=0 networkaudiod start" works, but "sudo networkaudiod start" does not. After changing to x64-ipv6 kernel, "sudo networkaudiod start" works.
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(22-Feb-2017, 03:03 PM)scan80269 Wrote: Thanks, Agent Kith!
One more data point: with the standard x64 kernel, "sudo NETWORKAUDIOD_IPV6=0 networkaudiod start" works, but "sudo networkaudiod start" does not. After changing to x64-ipv6 kernel, "sudo networkaudiod start" works. Since you have everything installed and running, can you try this and see if it works?
Code: sudo NETWORKAUDIOD_IPV6=0 /usr/sbin/service networkaudiod restart
Note the use of restart, and not start. Does that work? If not, try start and see if they work? If yes, I'd spin off a new firmware release with this update, which should alleviate the need for ipv6 kernel.
Snakeoil Operating System - Music, your way!
Posts: 10
Threads: 0
Joined: Feb 2017
Reputation:
0
Location: USA
22-Feb-2017, 09:49 PM
(This post was last modified: 22-Feb-2017, 10:30 PM by scan80269.)
Since my box is currently running the x64-ipv6 kernel, I just tried "sudo /usr/sbin/service networkaudiod restart" and it works! Refreshing the Software tab of the Snakeoil webpage changes the Player Status for HQPlayer Network Audio Adapter from "Running: ERROR" to "Running: ok (PID:xxxx)".
I'm pretty sure "sudo NETWORKAUDIOD_IPV6=0 /usr/sbin/service networkaudiod restart" would also work with the standard x64 kernel.
Cheers!
I just tried "sudo NETWORKAUDIOD_IPV6=0 /usr/sbin/service networkaudiod restart" on another machine running standard x64 kernel, but HQPlayer failed to see the NAA. Player Status was briefly OK but reverted to ERROR in about a minute. I ran this command again but got the same result: HQPlayer could not play to the NAA.
I then tried "sudo NETWORKAUDIOD_IPV6=0 networkaudiod restart" and it worked.
Hope this helps!
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(22-Feb-2017, 09:49 PM)scan80269 Wrote: Since my box is currently running the x64-ipv6 kernel, I just tried "sudo /usr/sbin/service networkaudiod restart" and it works! Refreshing the Software tab of the Snakeoil webpage changes the Player Status for HQPlayer Network Audio Adapter from "Running: ERROR" to "Running: ok (PID:xxxx)".
I'm pretty sure "sudo NETWORKAUDIOD_IPV6=0 /usr/sbin/service networkaudiod restart" would also work with the standard x64 kernel.
Cheers!
I just tried "sudo NETWORKAUDIOD_IPV6=0 /usr/sbin/service networkaudiod restart" on another machine running standard x64 kernel, but HQPlayer failed to see the NAA. Player Status was briefly OK but reverted to ERROR in about a minute. I ran this command again but got the same result: HQPlayer could not play to the NAA.
I then tried "sudo NETWORKAUDIOD_IPV6=0 networkaudiod restart" and it worked.
Hope this helps! Thanks. That's very helpful..
Looks like I have to export NETWORKAUDIOD_IPV6 instead of embedding it in the command line now. Not entirely sure why the second method don't work now as it did before.
Will play more around NAA later this weekend.
Snakeoil Operating System - Music, your way!
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
Firmware 0.1.5b now exports the variable, hopefully this should work without a IPV6 enabled kernel in the future
Snakeoil Operating System - Music, your way!
Posts: 10
Threads: 0
Joined: Feb 2017
Reputation:
0
Location: USA
Hi Agent Kith,
I just installed firmware 0.1.5b, but still encountering the same ERROR status of networkaudiod after bootup. I also tried switching between x86-64 and x64-ipv6 kernels with the same results. I'm not sure, but it looks to me there may be some strange execution permission issue with networkaudiod going on. Is there a Linux command to check the running status of networkaudiod (via SSH)?
The NAA I've been using is networkaudiod_3.4.0-29_amd64.deb, under "Trusty" on Signalyst's site.
Thanks!
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
Hi Agent Kith,
I just installed firmware 0.1.5b, but still encountering the same ERROR status of networkaudiod after bootup. I also tried switching between x86-64 and x64-ipv6 kernels with the same results. I'm not sure, but it looks to me there may be some strange execution permission issue with networkaudiod going on. Is there a Linux command to check the running status of networkaudiod (via SSH)?
[/quote]
The software tab already provide that information, if you see a PID with a XXX number, that indicates NAA is running.
alternatively, you can SSH in and run:
Code: ps aux |grep <program_name>
Where <program_name> is the process name of NAA (I can't remember this off the top of my head right now )
(28-Feb-2017, 12:27 AM)scan80269 Wrote: The NAA I've been using is networkaudiod_3.4.0-29_amd64.deb, under "Trusty" on Signalyst's site.
Thanks! Can you do me a favour? Edit the file /var/www/cgi/init by running this command:
Code: sudo nano /var/www/cgi/init
Add the following line to the file:
Quote:export NETWORKAUDIOD_IPV6=0
Save the file and reboot the computer. Does it work now with the stock kernel?
Snakeoil Operating System - Music, your way!
Posts: 10
Threads: 0
Joined: Feb 2017
Reputation:
0
Location: USA
I added the export line to /var/www/cgi/init and rebooted, but there was no change: webpage Player Status still shows ERROR. I believe the NAA process name is simply "networkaudiod". I did "ps aux | grep networkaudiod" but no networkaudiod process showed up. I did "sudo NETWORKAUDIOD_IPV6=0 networkaudiod restart", opened another SSH window and this time the "ps aux | grep networkaudiod" showed a running thread, and the webpage Player Status changes to ok with the same PID as with "ps aux | grep networkaudiod". I did all this with the standard x64 kernel only. Thanks.
|
Users browsing this thread: |
1 Guest(s)
|
|
Welcome
|
You have to register before you can post on our site.
|
SnakeoilOS Mission Statement
|
Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.
SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.
If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.
|
|
|