GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ULED(4) FreeBSD Kernel Interfaces Manual ULED(4)

uled
USB LED driver

To compile this driver into the kernel, place the following lines into your kernel configuration 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"

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

ohci(4), uhci(4), usb(4)

The uled driver was written by Kevin Lo <kevlo@FreeBSD.org>.
March 31, 2017 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 4 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.