From: Guenter Roeck Date: Tue, 27 Jan 2015 16:37:23 +0000 Subject: Re: [lm-sensors] [PATCH] hwmon: (ads7828) Make sample interval configurable Message-Id: <20150127163723.GA25845@roeck-us.net> List-Id: References: <1421409922-28299-1-git-send-email-robert.rosengren@axis.com> <54B92596.2040206@roeck-us.net> <20150116183020.GA6262@roeck-us.net> <54C74567.9020201@axis.com> In-Reply-To: <54C74567.9020201@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Robert Rosengren Cc: Jean Delvare , "lm-sensors@lm-sensors.org" , Johan Adolfsson , "linux-kernel@vger.kernel.org" On Tue, Jan 27, 2015 at 08:59:35AM +0100, Robert Rosengren wrote: > 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//in0_input to > /sys/bus/i2c/devices//hwmon/hwmon0/in0_input. > > Any ideas? Haven't had REGMAP configured in my kernel earlier, might it be > some specific configuration I miss? > My module test script at github.com/groeck/module-tests.git passes. Only downside is that it doesn't use real register values since I do not have a register dump. I requested samples for both ads2828 and ads2830, so I should be able to test the code myself on real hardware in a couple of days. Guenter _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors