rbonghi / jetson_stats

📊 Simple package for monitoring and control your NVIDIA Jetson [Orin, Xavier, Nano, TX] series
https://rnext.it/jetson_stats
GNU Affero General Public License v3.0
2.17k stars 264 forks source link

External dependencies required to compile smbus #358

Closed robcowie closed 1 year ago

robcowie commented 1 year ago

Hi,

Am I correct in thinking that gcc is required on the device in order to build smbus?

Build tools aren't installed by default on Jetson devices and I'd like to avoid installing a compiler if I can. One option would be to switch to smbus2 which purports to be a pure python drop-in replacement for smbus.

In my limited testing jetson-stats does seem to work well with smbus2. Any thoughts on making the switch?

Cheers and thanks!

rbonghi commented 1 year ago

Hi @robcowie ,

I never tried smbus2 , I quickly check and if works I move out on smbus2

rbonghi commented 1 year ago

The first tests look promising :-)

rbonghi commented 1 year ago

New version released :-) Thank you for your hint

robcowie commented 1 year ago

Thanks very much for the swift work! This will simplify our device provisioning a little!

rbonghi commented 1 year ago

You are welcome! For next major release, I'm still improving the jtop API for CPU, memory, and GPU. This new feature will optimize the analysis. Keep ready for a new release :-)