uled(4)

uled4

Usb led driver

Usage

device uled device usb

In loader.conf(5): uled_load="YES"

Overview

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.

Ioctls

The following ioctl(2) commands can be performed on /dev/uled0, which are defined in ⟨dev/usb/uled_ioctl.h⟩:

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.

Files

/dev/uled0

blocking device node

Releases

28 releases since FreeBSD 10.2-RELEASE; the text changed 15 times.

  1. 10.2
  2. 10.3
  3. 10.4
  4. 11.0
  5. 11.1
  6. 11.2
  7. 11.3
  8. 11.4
  9. 12.0
  10. 12.1
  11. 12.2
  12. 12.3
  13. 12.4
  14. 13.0–13.2
  15. 13.3–15.1
  16. 16.0

Authors

The uled driver was written by Kevin Lo ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.