2011-08-18 20:54:07 +00:00
|
|
|
.TH NUSBRC 8
|
|
|
|
.SH NAME
|
|
|
|
nusbrc - Universal Serial Bus startup script
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B nusbrc
|
|
|
|
.SH DESCRIPTION
|
|
|
|
Started by
|
|
|
|
.I bootrc
|
|
|
|
(see
|
|
|
|
.IR boot (8)),
|
|
|
|
.I termrc
|
|
|
|
or
|
|
|
|
.I cpurc
|
|
|
|
(see
|
|
|
|
.IR cpurc (8)),
|
|
|
|
.I nusbrc
|
|
|
|
handles the startup and shutdown of usb drivers on physical
|
2014-06-28 16:09:43 +00:00
|
|
|
device attach and detach events by reading
|
|
|
|
.B /dev/usbevent
|
|
|
|
file.
|
2011-08-18 20:54:07 +00:00
|
|
|
.SH SOURCE
|
|
|
|
.B /rc/bin/nusbrc
|
|
|
|
.B /sys/src/9/boot/nusbrc
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.IR nusb (4)
|
2014-06-28 16:09:43 +00:00
|
|
|
.SH BUGS
|
|
|
|
Usb devices appear as files under
|
|
|
|
.B /dev
|
|
|
|
and
|
|
|
|
.B /shr
|
2014-06-28 17:55:14 +00:00
|
|
|
identified by the devices unique name assigned by usbd.
|
2014-06-28 16:09:43 +00:00
|
|
|
When the environment variable
|
|
|
|
.I nousbhname
|
2021-11-16 08:06:50 +00:00
|
|
|
is defined, devices are named by their dynamically assigned
|
2014-06-28 16:09:43 +00:00
|
|
|
usb device address instead. This emulates the old behaviour.
|