Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tps6598x_powerup failed for /arm-io/i2c0/hpmBusManager/hpm1

See original GitHub issue

(Split off from AsahiLinux/m1n1#97)

On my MacBook Pro, which has run other kernels and boot loaders but is currently loading vanilla m1n1, commit c2c6da3, directly from iBoot, I occasionally see messages like:

TTY> i2c: want to read 1 bytes from addr 63 but can only read 0
TTY> usb: tps6598x_powerup failed for /arm-io/i2c0/hpmBusManager/hpm1.
TTY> usb: failed to init hpm1

I’ve been unable to reproduce this at will. I’ve never seen the problem except when the power supply was connected to either one of the USB-C ports. However, it’s always hpm1 that’s mentioned in the error message.

In AsahiLinux/m1n1#72, @jannau mentions he had to add delays to the i2c code in order to avoid similar-sounding issues. Do you want me to try doing that?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:23 (20 by maintainers)

github_iconTop GitHub Comments

marcancommented, Feb 6, 2022

Repro’d fairly reliably with the AV adapter.

alyssarosenzweigcommented, Aug 24, 2021

I just did 25 boots, long-pressing the power-button between each, and got 6 failures. In four of the failure cases, no ttyACM* interface showed up; in the other two, it did, and five subsequent chainloads were successful.

My gut says “race condition”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TPS65981 doesn not respond to TPS6598x Application ...
However the Flash process hanged and after rebooting the TPS65981, it seems not to respond any more to the Application Customization Tool. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found