ULED(4)
π ULED π
okay bestie, welcome to the uled manual page β it's the USB LED driver and it is, no cap, the cutest little corner of the kernel π (this one lives in the Kernel Interfaces Manual, iykyk)
β¨ NAME β¨
uled β the USB LED driver, fr fr π‘
πΈ SYNOPSIS πΈ
so if you wanna bake this driver straight into your kernel, you gotta drop these lines into your kernel configuration file, periodt:
device uled
device usb
orrr, if you'd rather load it as a module at boot time (iconic behaviour honestly), just put this line in loader.conf(5):
uled_load="YES"
π¦ DESCRIPTION π¦
the uled driver provides support for the Dream Cheeky WebMail Notifier and the ThingM blink(1) notification LED. yes bestie, actual physical LEDs, actual vibes β¨
and then? the /dev/uled0 device can be used by userland applications. that's the whole point, she's serving π«Ά
π IOCTLS π
these are the ioctl(2) commands you can run on /dev/uled0, and they're all defined in <dev/usb/uled_ioctl.h>:
ULED_GET_COLORβ this command returns LED colors with values for RGB. it takes this structure, look:
struct uled_color {
uint8_t red;
uint8_t green;
uint8_t blue;
};
ULED_SET_COLORβ this one sets the LED colors with values for RGB. it uses the exact same structure as above, she's consistent π
π FILES π
/dev/uled0β blocking device node
π SEE ALSO π
π AUTHORS π
the uled driver was written by Kevin Lo <kevlo@FreeBSD.org>. king behaviour, we love to see it π
and that's the whole page bestie, you ate it up π this one came from Debian, dated March 31, 2017, and yeah she's filed under that Kernel Interfaces Manual energy. mwah, go blink some LEDs πβ¨π¦
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2014 Kevin Lo
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms