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

Regression : raspberry pi zero yellow led is blinking #256

Closed
2 of 4 tasks
SonnyT72 opened this issue May 28, 2021 · 8 comments · Fixed by #257
Closed
2 of 4 tasks

Regression : raspberry pi zero yellow led is blinking #256

SonnyT72 opened this issue May 28, 2021 · 8 comments · Fixed by #257
Labels
bug Something isn't working

Comments

@SonnyT72
Copy link

SonnyT72 commented May 28, 2021

Version of pynab: v0.9.0 (updated from previous available release)

Version of Nabaztag:

  • Nabaztag (v1)
  • Nabaztag:Tag (v2)

Version of TagTagTag:

  • Maker Faire 2018
  • Ulule 05/2019

The problem
Regression : the raspberry pi zero internal yellow led, disabled in a previous release of pynab, is back to life on my rabbit following 0.9.0 pynab update.
Update was succesfully done through the web interface.

Expected behavior
The led shall be shut off after startup.

@SonnyT72 SonnyT72 added the bug Something isn't working label May 28, 2021
@f-laurens
Copy link
Contributor

What exact version of the Raspberry Pi kernel are you running? (see Version information on the System Information page).

@SonnyT72
Copy link
Author

I am running Raspbian GNU/Linux 10 (buster) - Kernel 4.19.118+ armv6l

@f-laurens
Copy link
Contributor

f-laurens commented May 28, 2021

Kernel 4.19.118+ armv6l

This is not really a Pynab bug, but rather a Raspberry Pi kernel related glitch: the logic to toggle the Pi Zero LED on/off was inverted in kernel 5.x :-(
A solution for you is to update your kernel from 4.x to 5.x:

@SonnyT72
Copy link
Author

Thank you for your answer!
I will try the first solution now and give the result here for others to know.
If I don't succeed I will then switch to your second solution.

Thanks again to you and the team working hard to bring our rabbits back to life!

@SonnyT72
Copy link
Author

If I find how to remove it, I will :)

@mehdichaouch
Copy link
Contributor

In the meanwhile, can you remove the bug label from this issue?

As I know labels can be managed only by @nabaztag2018

@pguyot
Copy link
Collaborator

pguyot commented May 29, 2021

I beg to differ: this is a bug of pynab. We released 4.x images and allowed @SonnyT72 and others to upgrade our code without upgrading the kernel. We definitely
should check kernel version and handle the led accordingly.

@f-laurens
Copy link
Contributor

f-laurens commented May 29, 2021

We definitely should check kernel version and handle the led accordingly.

Indeed; PR #158 for Issue #156 should not have been merged as is. PR #257 does it better...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants