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

HDMI and Power LED dead after using this dtb file #5

Closed
jiejiecn opened this issue Sep 7, 2023 · 7 comments
Closed

HDMI and Power LED dead after using this dtb file #5

jiejiecn opened this issue Sep 7, 2023 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@jiejiecn
Copy link

jiejiecn commented Sep 7, 2023

After using this dtb file, the power LED is dead. Confused me a lot with the device status.

And there's no signal on HDMI output.

@jiejiecn
Copy link
Author

jiejiecn commented Sep 8, 2023

To be clear, the blue LED indicate for the system status is dead. Not the green LED.

@mamin27
Copy link
Owner

mamin27 commented Sep 25, 2023

Hmm. I will check out of HDMI output signal. You are right about blue LED. If you have some advice let me know.

@jiejiecn
Copy link
Author

According to the PCB design, PC13 is the STATUS_LED output.

In the dts file, I can only find the related section around line 483
image

Maybe you can try to remove those lines and have a try.

@mamin27
Copy link
Owner

mamin27 commented Sep 29, 2023

Thanks, I will test it during weekend.

@mamin27
Copy link
Owner

mamin27 commented Oct 2, 2023

Yes, LED (blue) is working now.

  1. add OPi.GPIO library at the mangopi mq-quad (see package description part install OPi.GPIO lib)
  2. run script led_mq_quad.py (flashing of LED)
  3. dbd file was updated under your recommendation.

Note: I will be glad for the supporting star.

@mamin27 mamin27 added the enhancement New feature or request label Oct 2, 2023
@mamin27
Copy link
Owner

mamin27 commented Oct 3, 2023

Here is how it works:

flashing_blue_led

@mamin27
Copy link
Owner

mamin27 commented Oct 3, 2023

pin 77 (PC13): GPIO 300b000.pinctrl:77 <-- LED PIN

root@mangopi:/sys/kernel/debug/pinctrl/300b000.pinctrl# cat pinmux-pins | grep PI
pin 74 (PC10): GPIO 300b000.pinctrl:74
pin 76 (PC12): GPIO 300b000.pinctrl:76
pin 77 (PC13): GPIO 300b000.pinctrl:77
pin 210 (PG18): GPIO 300b000.pinctrl:210
pin 256 (PI0): device 5097000.ahub-i2s0 function i2s0 group PI0
pin 257 (PI1): device 5097000.ahub-i2s0 function i2s0 group PI1
pin 258 (PI2): device 5097000.ahub-i2s0 function i2s0 group PI2
pin 259 (PI3): device 5097000.ahub-i2s0 function i2s0_din1 group PI3
pin 260 (PI4): device 5097000.ahub-i2s0 function i2s0_dout1 group PI4
pin 261 (PI5): UNCLAIMED
pin 262 (PI6): UNCLAIMED
pin 263 (PI7): device 5002400.i2c function i2c1 group PI7
pin 264 (PI8): device 5002400.i2c function i2c1 group PI8
pin 265 (PI9): device 5002800.i2c function i2c2 group PI9
pin 266 (PI10): device 5002800.i2c function i2c2 group PI10
pin 267 (PI11): UNCLAIMED
pin 268 (PI12): UNCLAIMED
pin 269 (PI13): UNCLAIMED
pin 270 (PI14): UNCLAIMED
pin 271 (PI15): UNCLAIMED
pin 272 (PI16): UNCLAIMED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants