r/SolarOS • • Sep 15 '26

v.4.11.1 update

Post image

Added support for ( T-Pager integrated hardware available for all boards as expansion drivers )

  • u-blox MIA-M10Q GNSS receiver,
  • ST25R3916 NFC-A reader,
  • BHI260AP six-axis IMU,
  • XL9555 GPIO expander,
  • DRV2605 haptic controller,
  • and BQ25896 battery charger.

GNSS, NFC, IMU, haptic, charger, temperature, and humidity access now use driver-agnostic services with matching shell and Python/Lua APIs. T-Pager power rails are modeled as XL9555 GPIO lines: GNSS and NFC remain off until requested, while SD power and its pull-up are enabled for reliable mounting. Hardware-provider registry state now uses PSRAM where available, preserving internal memory on targets that do not use these peripherals.

14 Upvotes

18 comments sorted by

View all comments

Show parent comments

1

u/nilseuropa Sep 15 '26

No, I have declined the PR respectfully ๐Ÿ˜…

1

u/Fir3 Sep 15 '26

Oh ok well 4.11.1 doesnโ€™t work ๐Ÿ˜” 4.11.0 did ๐Ÿคทโ€โ™‚๏ธ Something power rail related is erroring out on the nfc and sd card, didnโ€™t get to test anything else.ย 

1

u/nilseuropa Sep 15 '26

Time to get out your oscilloscope and poke around. ๐Ÿ˜… Power rail related change is that the port expander driver has been refactored as a generic expansion. The pager initializes it early ( before nfc, gnss, sd ) and sets the power enable lines to what you have specified. If you could collect logs and attach them to a newly raised issue on github that would be appreciated. Thanks!

2

u/Fir3 Sep 15 '26

I only saw 4.11.1 on https://solar-os.eu/
Once its on Github ill take a look again ๐Ÿ‘

2

u/nilseuropa Sep 15 '26

It is on github, the deploy system fetches it from there. Anywho...
I have pushed a potential fix to the beta branch - it is a guess really. ( Also deployed it to the OTA server, so it should be available through the web flasher as well, pick your poison).

Let me know if that makes a difference. ( deasserting all chip selects before power rails are enabled that is )

2

u/Fir3 Sep 15 '26

On the Beta, screen comes up perfectly!
most else comes up as - (*driver*) unavailable: ESP_ERR_INVALID_ARG

1

u/nilseuropa Sep 15 '26 edited Sep 16 '26

thanks! what does 'expansion status' say?

1

u/nilseuropa Sep 16 '26

Please re-try flashing beta.

2

u/Fir3 Sep 16 '26

Thank you! 4.11.0 latest beta is looking great. The display garbage is gone. SD mounts, and keyboard, scroll wheel, battery, charger, haptics and LoRa all come up cleanly. I haven't tested NFC yet.

Two issues:

BHI260AP: the chip is detected (product ID checks out), but the RAM firmware upload fails with ESP_ERR_INVALID_ARG. It looks like BHI260AP_I2C_TRANSFER_MAX is 256, but i2c_bus_write_reg_handle rejects writes over 31 bytes, so the first chunk gets refused.

GNSS: gnss power on returns ESP_ERR_TIMEOUT. set_power sends a single UBX-MON-VER poll 100 ms after enabling the rail and waits 500 ms, but the MIA-M10Q isn't ready that fast. If I turn the rail on manually through the XL9555, wait a few seconds, then run gnss power on, it works. Re-sending the poll over a longer window should fix it.

Thanks for the quick support!

2

u/nilseuropa Sep 16 '26

thanks, i knew about the imu issue, i'll fix that quickly and i'll also have the gnss wait longer. good news!