Thanks for both suggestions. I installed lm_sensors, and it seems to find two of the temp sensors. Not sure which two, though:
# sensors e31x_battery-virtual-0 Adapter: Virtual device temp1: -273.0°C e000b000ethernetffffffff00-mdio-0 Adapter: MDIO adapter temp1: +28.0°C (crit = +100.0°C) jc-42.4-temp-i2c-0-19 Adapter: Cadence I2C at e0004000 temp1: +33.2°C (low = +0.0°C) ALARM (HIGH, CRIT) (high = +0.0°C, hyst = +0.0°C) (crit = +0.0°C, hyst = +0.0°C) On Tue, Aug 24, 2021 at 6:25 PM aneesh patel <ampselectron...@yahoo.com> wrote: > Correction-- missed you said "outside of gnuradio." Basically everything > below minus gnuradio. if the sensors_lm package is available (as marcus > stated), parse that output or just manually parse the /sys or /proc (forgot > which one) file descriptor for the sensor when you find it. > > Best of luck! > > Aneesh > > On Tuesday, August 24, 2021, 06:19:49 PM EDT, aneesh patel < > ampselectron...@yahoo.com> wrote: > > > Concur on verifying-- that being said I know at least one of them > (possibly CPU) was available on the SG3 image a while back (I'm sure > nothing much has changed there but its been a while). > > Then is would be very simple to write a simple custom GNURadio block (like > basically a command line script to cat the sensor file descriptor [just > google that as I can't recall if its in /sys or /proc]) to pull that data > from the OS to pass temp messages and ingest them into your message passing > or logging system. On the tougher end, depending on dev cycles, one can > cross-compile or pull code from lm-sensors and then turn that into a > GNURadio block (and maybe even being able to add the other sensors when > reading into the ettus kernel mod code/schematics if possible). Some > options exist. > > Going all from memory here but that should be >94.27% correct. :) > > Best of luck! > > Aneesh > > On Tuesday, August 24, 2021, 05:20:51 PM EDT, Marcus D Leech < > patchvonbr...@gmail.com> wrote: > > > My approach would be to see if any of those sensors are understood by the > kernel lm_sensors subsystem. > > Sent from my iPhone > > > On Aug 24, 2021, at 5:12 PM, Rich Gopstein <r...@ourowndomain.com> > wrote: > > > > > > I'm helping out on a project that's using an E310. Someone else is > doing the GNURadio code, but I need to read the temperature values > periodically (once every few seconds). My code will not be running in > GNURadio. > > > > It looks like there are three temp sensors (Zynq, ADT7408, and the > AD9361). > > > > What are my options for reading the temp values outside of GNURadio? If > it matters, the E310 is running UHD_3.15 > > My code will be running on the E310 directly. > > > > > > Thanks. > > > > Rich > > > > _______________________________________________ > > USRP-users mailing list -- usrp-users@lists.ettus.com > > To unsubscribe send an email to usrp-users-le...@lists.ettus.com > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com