mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
nusbrd: pass $usbdebug to nusb/usbd
This can be usefull for debugging usb enumeration issues from boot, if one has the chance to pass parameters on the bootloader. It was initially suggested in a troubleshooting session todo as a quick modification, but it can be usefull in general.
This commit is contained in:
parent
eb52c928b1
commit
aa1e68e9fe
2 changed files with 10 additions and 2 deletions
|
@ -448,7 +448,7 @@ will appear when using the WIFI interface for netbooting.
|
|||
To avoid the prompt, the
|
||||
.I password
|
||||
can be specified with the boot parameter above.
|
||||
.SS \fLwpaopts=\fivalue\fP
|
||||
.SS \fLwpaopts=\fIvalue\fP
|
||||
Pass
|
||||
.I value
|
||||
as additional options to
|
||||
|
@ -956,6 +956,14 @@ When defined,
|
|||
.IR nusbrc (8)
|
||||
will use the dynamically assigned usb device address to name
|
||||
usb devices instead of the device unique name.
|
||||
.SS \fLusbdebug=\fIvalue\fP
|
||||
When defined, pass
|
||||
.I value
|
||||
as arguments to
|
||||
.IR usbd (4).
|
||||
Usually used to pass
|
||||
.B -d
|
||||
flags for verbose debug printing.
|
||||
.SS VIDEO
|
||||
.SS \fL*nocga=\fP
|
||||
This inhibits the kernel and
|
||||
|
|
|
@ -5,7 +5,7 @@ if(! bind -a '#u' /dev)
|
|||
mkdir -p -m 700 '#σc/usb'
|
||||
mkdir -p -m 700 '#σc/usbnet'
|
||||
|
||||
if(! nusb/usbd)
|
||||
if(! nusb/usbd $usbdebug)
|
||||
exit
|
||||
|
||||
@{
|
||||
|
|
Loading…
Reference in a new issue