-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 114919 b: refs/heads/master c: 6cd1597 h: refs/heads/master i: 114917: 4dd5b0f 114915: fa05085 114911: b46d36d v: v3
- Loading branch information
David Fries
authored and
Linus Torvalds
committed
Oct 16, 2008
1 parent
fc02fe8
commit aed2c09
Showing
5 changed files
with
61 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 6a158c0de791a81eb761ccf26ead1bd0834abac2 | ||
refs/heads/master: 6cd159744eaf212f3729d154f3881230a7c19eb2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
00-INDEX | ||
- This file | ||
w1_therm | ||
- The Maxim/Dallas Semiconductor ds18*20 temperature sensor. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Kernel driver w1_therm | ||
==================== | ||
|
||
Supported chips: | ||
* Maxim ds18*20 based temperature sensors. | ||
|
||
Author: Evgeniy Polyakov <johnpol@2ka.mipt.ru> | ||
|
||
|
||
Description | ||
----------- | ||
|
||
w1_therm provides basic temperature conversion for ds18*20 devices. | ||
supported family codes: | ||
W1_THERM_DS18S20 0x10 | ||
W1_THERM_DS1822 0x22 | ||
W1_THERM_DS18B20 0x28 | ||
|
||
Support is provided through the sysfs w1_slave file. Each open and | ||
read sequence will initiate a temperature conversion then provide two | ||
lines of ASCII output. The first line contains the nine hex bytes | ||
read along with a calculated crc value and YES or NO if it matched. | ||
If the crc matched the returned values are retained. The second line | ||
displays the retained values along with a temperature in millidegrees | ||
Centigrade after t=. | ||
|
||
Parasite powered devices are limited to one slave performing a | ||
temperature conversion at a time. If none of the devices are parasite | ||
powered it would be possible to convert all the devices at the same | ||
time and then go back to read individual sensors. That isn't | ||
currently supported. The driver also doesn't support reduced | ||
precision (which would also reduce the conversion time). | ||
|
||
The module parameter strong_pullup can be set to 0 to disable the | ||
strong pullup or 1 to enable. If enabled the 5V strong pullup will be | ||
enabled when the conversion is taking place provided the master driver | ||
must support the strong pullup (or it falls back to a pullup | ||
resistor). The DS18b20 temperature sensor specification lists a | ||
maximum current draw of 1.5mA and that a 5k pullup resistor is not | ||
sufficient. The strong pullup is designed to provide the additional | ||
current required. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters