On Tue, Dec 11, 2018 at 11:13 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote: > > On Tue, Dec 11, 2018 at 10:30:58PM +0200, Ranran wrote: > > Hello, > > > > I have several nodes /sys/class/hwmon/hwmonX , > > but checking the fields I could not find yet a way how to identify a > > device (for example i2c address) to the given mapping of hwmonX. > > > > Is there a way to find out which device is mapped to which hwmonX ? > > > > Maybe libsensors would work for you ? > Thanks , I will check that. But I was looking for something to check in /sys or /proc to get the matching. Probably if libsensor somehow knows the mapping it also looks there, No ? > Guenter