On 11/24/2016 06:44 AM, Lucas Tanure wrote:
Hi,

My hardware needs to be configured before I can read the temperature sensor.
Like, my hardware can make 0-1023 samples per measure, more samples
more accurate, but takes longer times.
Where I can put a sysfs atribute to configure my hardware ? There is
no  temp[1-*]_configure or chip_configure.

Chips are expected to be configured by the BIOS, ROMMON, or through devicetree 
data,
not through sysfs. Drivers sometimes have an "update_interval" attribute which 
may
affect, for example, the number of samples taken or the number of bits reported.

Unfortunately, since you did not tell us what chip you are talking about, it is 
a
bit difficult to give advice (like asking where to find the emergency brake on 
your
car without telling the make and model).

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to