SIMPLE SOLUTIONS

ULED(4FREEBSD) - Linux man page online | Special files

USB LED driver.

Chapter
September 5, 2014
ULED(4) BSD Kernel Interfaces Manual ULED(4)

NAME

uled — USB LED driver

SYNOPSIS

To compile this driver into the kernel, place the following lines into your kernel configu‐ ration file: device uled device usb Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): uled_load="YES"

DESCRIPTION

The uled driver provides support for the Dream Cheeky WebMail Notifier device. 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 follow‐ ing 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), uhci(4), usb(4)

AUTHORS

The uled driver was written by Kevin Lo <@FreeBSD.org>.
BSD September 5, 2014 BSD
This manual Reference Other manuals
uled(4freebsd) referred by
refer to ioctl(2) | ohci(4freebsd) | uhci(4freebsd) | usb(4freebsd)
Download raw manual
Index BSD Kernel Interfaces Manual (+773) BSD (+3984) № 4 (+981)
Go top