NUSBRC(8)NUSBRC(8)

NAME

nusbrc - Universal Serial Bus startup script

SYNOPSIS

nusbrc

DESCRIPTION

Started by bootrc (see boot(8)), termrc or cpurc (see cpurc(8)), nusbrc handles the startup and shutdown of usb drivers on physical device attach and detach events by reading /dev/usbevent file.

SOURCE

/rc/bin/nusbrc /sys/src/9/boot/nusbrc

SEE ALSO

nusb(4)

BUGS

Usb devices appear as files under /dev and /shr identified by the devices unique name assigned by usbd. When the environment variable nousbhname is defined, devies are named by ther dynamically assigned usb device address instead. This emulates the old behaviour.