-
Notifications
You must be signed in to change notification settings - Fork 67
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
Status.lua - unsupported device #193
Comments
Can you send me the output of the following (a lua script): require('aredn.hardware') |
root@K5DLQ-UNSM2-100:~# lua
|
Also.... |
The Ubiquiti stuff has some serious mucking about to get the radio info. How about the output for this: require('aredn.hardware') And this: |
Pinging @dman776 for more info. |
root@K5DLQ-UNSM2-100:~# lua
root@K5DLQ-UNSM2-100:~# /usr/local/bin/get_boardid |
Okay. This one has me confused then as both the old and new board id functions return the same value, and if I force my build to return that value (fixing the return value of aredn.hardware.get_board_id to "0xe012") the board isn't marked as unsupported. Above you included board.json which looks truncated and not valid json - does it really look like that? That file being invalid might have some unexpected side effects. |
That was a partial snippet from board.json
Thanks,
Darryl
… On Dec 21, 2021, at 6:18 PM, Tim Wilkinson ***@***.***> wrote:
Okay. This one has me confused then as both the old and new board id functions return the same value, and if I force my build to return that value (fixing the return value of aredn.hardware.get_board_id to "0xe012") the board isn't marked as unsupported.
Above you included board.json which looks truncated and not valid json - does it really look like that? That file being invalid might have some unexpected side effects.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Could you post the whole thing? I'm somewhat stumped as to what's going on :-( |
So I bought a M2 node but that didn't show this problem, so I guessed it was actually an old M2 node you had. I couldn't source one of those but managed to locally trade a shiny new M5 for an old M5 and that did show the issue! Turns out these older nodes append an extra character return to the information which I needed to strip: Fixed here: 7fe5372 |
Can we close this now? |
Nanostation M2
dump_perl2 build
The "!!! UNSUPPORTED DEVICE !!!" banner is showing on status.lua (but not on the status page - perl based)
The text was updated successfully, but these errors were encountered: