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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/26/2015 11:59 PM, 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/<x>/in0_input to /sys/bus/i2c/devices/<x>/hwmon/hwmon0/in0_input.

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


Robert,

Another thought: What is your kernel version, and what is your i2c controller ?

SMBus support was added to regmap only recently, so if your controller only
supports SMBus (not raw i2c transactions), and you have an older kernel,
this might not work. The driver should fail to instantiate in that case,
though, if I recall correctly.

Thanks,
Guenter


_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux