---
name: "uled"
section: "4"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/uled"
---

# uled(4)

USB LED driver

## NAME

**uled** – USB LED driver

## SYNOPSIS

**device** **uled** **device** **usb**

In [loader.conf(5)](/loader.conf/5.md): **uled\_load="YES"**

## DESCRIPTION

The **uled** driver provides support for Dream Cheeky WebMail Notifier and ThingM [blink(1)](/blink/1.md) notification LED.

Subsequently, the */dev/uled0* device can be used by userland applications.

## IOCTLS

The following [ioctl(2)](/ioctl/2.md) 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)](/ioctl/2.md) 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

## SEE ALSO

[ohci(4)](/ohci/4.md), [uhci(4)](/uhci/4.md), [usb(4)](/usb/4.md)

## AUTHORS

The **uled** driver was written by Kevin Lo ⟨*kevlo@FreeBSD.org*⟩.
