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

SenseHAT all LEDs On with Hardware Not Found #97

Open
avishek-rc1 opened this issue Jul 14, 2019 · 9 comments
Open

SenseHAT all LEDs On with Hardware Not Found #97

avishek-rc1 opened this issue Jul 14, 2019 · 9 comments

Comments

@avishek-rc1
Copy link

Description:
This was working perfectly earlier. All of a sudden, when Pi boots up all LEDs are on and nothing happens. Read a lot of forums but no specific answer. Please help.

Error:
Traceback (most recent call last):
File "/home/pi/Projects/SenseHat/sensehat_sensing.py", line 2, in
sense = SenseHat()
File "/usr/lib/python3/dist-packages/sense_hat/sense_hat.py", line 39, in init
raise OSError('Cannot detect %s device' % self.SENSE_HAT_FB_NAME)
OSError: Cannot detect RPi-Sense FB device

Attached: vcdbg log msg and dmesg
vcdbg.txt
dmesg.txt

@XECDesign
Copy link
Contributor

All on meaning all white or a rainbow pattern?

It sounds like a hardware issue. The Pi is unable to communicate with the Sense HAT, so there's not much to go on.

@avishek-rc1
Copy link
Author

Its a rainbow pattern. Does this mean the HAT is destroyed? Is there a workaround? Changing the breakout pins etc.?

@XECDesign
Copy link
Contributor

I don't know if it's destroyed or if there's just dirt in the connector. Without knowing what's actually wrong, there's not much that can be done. If it's still within the warranty period, you could try to RMA it.

@bsimmo
Copy link

bsimmo commented Jul 15, 2019 via email

@bsimmo
Copy link

bsimmo commented Jul 15, 2019

Ah a quick look through you dmesg, the sense fails to be detected when it tries, are you powering via OTG-USB?
Anyway, undervoltage etc at the end.

Same reason I had, not enough power during boot time.
Sort your power out.
See if it works.

@avishek-rc1
Copy link
Author

Thank You Ben. I am powering using the standard 5v/2.5a power outlet only. Also, the dt-overlay seems to be added in my config. Attaching a copy of it.
config.txt

@bsimmo
Copy link

bsimmo commented Jul 15, 2019 via email

@avishek-rc1
Copy link
Author

Thank You Ben, I will try with a new PSU first and if it still fails, would try with Buster. Might take a day or two to respond on this thread again.

@bsimmo
Copy link

bsimmo commented Jul 15, 2019

For reference

[    4.459523] rpi-sense 1-0046: Read from reg 240 failed
[    4.459578] rpi-sense: probe of 1-0046 failed with error -22
[    4.884412] uart-pl011 3f201000.serial: no DMA platform data
[    5.119991] random: crng init done
[    5.120011] random: 7 urandom warning(s) missed due to ratelimiting
[    5.397594] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    5.397614] brcmfmac: power management disabled
[    5.592001] Under-voltage detected! (0x00050000)

And then at the very end of dmesg, some in and out of voltage messages.

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

3 participants