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

NB798 led issue on USB150 #203

Closed
ab7pa opened this issue Jan 18, 2022 · 7 comments
Closed

NB798 led issue on USB150 #203

ab7pa opened this issue Jan 18, 2022 · 7 comments
Assignees

Comments

@ab7pa
Copy link
Contributor

ab7pa commented Jan 18, 2022

The GL.iNet USB-150 only has two leds. The bottom one indicates power, and the upper one should indicate when the USB150 is associated or meshed with other nodes. In my recent testing, the upper led remained unlit even when the unit was associated/meshed.

@dman776
Copy link
Contributor

dman776 commented Jan 18, 2022

Can you attach the /etc/board.json file?

@dman776
Copy link
Contributor

dman776 commented Jan 18, 2022

need to check if we have access to that led

@ab7pa
Copy link
Contributor Author

ab7pa commented Jan 18, 2022

something may have changed when the mechanism for manipulating leds was moved to lua. leds worked as expected on 3.22.1.0. Here is the board.json file.
nb798-usb150-board-json.txt

@K6AH
Copy link

K6AH commented Jan 19, 2022

My USB150 does exactly the same thing. Works as it should on 3.22.1.0, not on NB798.

@dman776
Copy link
Contributor

dman776 commented Jan 19, 2022 via email

@aanon4
Copy link
Contributor

aanon4 commented Jan 19, 2022

I'm sure. We changed how the LED light was determined in the lua code compared to the older perl code, simply pulling a specific led definition from the board.json info. It looks like this isn't going to work, or at least cause too many regressions, so I'm going to revert that code back to the original (which was just a copy of what Perl did).

@aanon4 aanon4 self-assigned this Jan 21, 2022
@aanon4 aanon4 mentioned this issue Jan 24, 2022
@ab7pa
Copy link
Contributor Author

ab7pa commented Jan 30, 2022

NB838 fixed this issue. USB150 link light now illuminates when linked. THX

@ab7pa ab7pa closed this as completed Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants