| Main index | Section 4 | Options |
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
uled_load="YES"
Subsequently, the /dev/uled0 device can be used by userland applications.
| ULED_GET_COLOR | |
The command returns LED colors with values for RGB.
This
ioctl(2)
takes the following structure:
struct uled_color {
uint8_t red;
uint8_t green;
uint8_t blue;
};
| |
| ULED_SET_COLOR | |
| The command sets LED colors with values for RGB. It uses the same structure as above. | |
| /dev/uled0 | |
| blocking device node | |
| ULED (4) | March 31, 2017 |
| Main index | Section 4 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | What will happen when the 32-bit Unix date goes negative in mid-January 2038 does not bear thinking about. | ” |
| — Henry Spencer | ||