/dev/uled0
blocking device node
Usb led driver
device uled device usb
In loader.conf(5): uled_load="YES"
The uled driver provides support for Dream Cheeky WebMail Notifier and ThingM blink(1) notification LED.
Subsequently, the /dev/uled0 device can be used by userland applications.
The following ioctl(2) commands can be performed on /dev/uled0, which are defined in ⟨dev/usb/uled_ioctl.h⟩:
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;
};
The command sets LED colors with values for RGB. It uses the same structure as above.
/dev/uled0
blocking device node
28 releases since FreeBSD 10.2-RELEASE; the text changed 15 times.