Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:sw:02-apis:04-sysfs [2024/07/15 08:55] – kcerny | en:sw:02-apis:04-sysfs [2026/07/16 11:23] (current) – updated to deb13 ofojt | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| <div id=" | <div id=" | ||
| <div id=" | <div id=" | ||
| - | <a href="">< | + | <a href="">< |
| + | <a href="/ | ||
| <a href="/ | <a href="/ | ||
| </ | </ | ||
| Line 16: | Line 17: | ||
| </ | </ | ||
| - | ====== | + | ====== |
| <WRAP group> | <WRAP group> | ||
| + | /* | ||
| <WRAP half column 81%> | <WRAP half column 81%> | ||
| - | The SysFS driver is part of the kernel module for Unipi units with inputs and outputs and provides easy file-based access to all inputs and outputs. | + | */ |
| + | The sysfs driver is part of the kernel module for Unipi units with inputs and outputs and provides easy file-based access to all inputs and outputs. | ||
| + | /* | ||
| </ | </ | ||
| <WRAP half column 15%> | <WRAP half column 15%> | ||
| ;;# | ;;# | ||
| - | < | + | /*< |
| < | < | ||
| < | < | ||
| ;;# | ;;# | ||
| </ | </ | ||
| + | */ | ||
| </ | </ | ||
| ---- | ---- | ||
| - | <WRAP center round info 95%> | + | < |
| - | To use 1-Wire on a Unipi unit with OpenSource | + | {{ : |
| + | <WRAP half column 13%> | ||
| + | {{ : | ||
| + | </ | ||
| + | <WRAP half column 83%> | ||
| + | **Note:** \\ | ||
| + | To use 1-Wire on a Unipi unit with Base OS, you must install and configure OWFS. If the OS has Evok preinstalled, OWFS will be already installed. | ||
| **Do not install OWFS for Mervis OS**! It uses an alternative method to work with 1-Wire and collisions could occur. | **Do not install OWFS for Mervis OS**! It uses an alternative method to work with 1-Wire and collisions could occur. | ||
| + | </ | ||
| </ | </ | ||
| ---- | ---- | ||
| - | {{page> | + | < |
| + | All files within sysfs can be accessed in the same way. | ||
| + | \\ | ||
| + | |||
| + | **DO** status reading: | ||
| + | < | ||
| + | |||
| + | Setting the **DO** to the closed state: | ||
| + | < | ||
| + | |||
| + | ---- | ||
| + | |||
| + | **DI** status reading: | ||
| + | < | ||
| + | |||
| + | Status reading of all first section **DI**' | ||
| + | < | ||
| + | |||
| + | Status reading of all available **DI** units: | ||
| + | < | ||
| + | |||
| + | {{page> | ||