Re: [lm-sensors] [PATCH] hwmon: (ads7828) Make sample interval configurable

From: Jean Delvare
Date: Tue Jan 27 2015 - 05:38:00 EST


Hi Robert,

Le Tuesday 27 January 2015 Ã 08:59 +0100, Robert Rosengren a Ãcrit :
> On 01/16/2015 07:30 PM, Guenter Roeck wrote:
> > I sent a couple of patches a minute ago which should take care of the issue.
> > Would be great if you can test it.
> I applied the v2 versions of the patches for a quick test, but it was
> not successful. Haven't done any further investigation on what the
> problem might be, but when trying to read the sysfs driver I get "read
> error: No such device or address".
>
> The sysfs path have moved with the REGMAP settings, from
> /sys/bus/i2c/devices/<x>/in0_input to
> /sys/bus/i2c/devices/<x>/hwmon/hwmon0/in0_input.

This is expected, shouldn't be an issue if you are using a
libsensors-based application with a recent enough version of libsensors.

> Any ideas? Haven't had REGMAP configured in my kernel earlier, might it
> be some specific configuration I miss?

How are you testing/reading exactly?

--
Jean Delvare
SUSE L3 Support

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/