usbd 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .TH USBD 4
  2. .SH NAME
  3. usbd \- Universal Serial Bus daemon
  4. .SH SYNOPSIS
  5. .B usbd
  6. [
  7. .B -DfV
  8. ] [
  9. .B -d
  10. .I bitmask
  11. ] [
  12. .B -u
  13. root-hub-num
  14. ]
  15. .SH DESCRIPTION
  16. .I Usbd
  17. manages the USB infrastructure, polls all ports, configures hubs and
  18. provides access to USB devices through a file system in
  19. .BR #U .
  20. It monitors all ports, active or inactive and acts on state changes
  21. by configuring devices when they are plugged in or turned on and
  22. unconfiguring them when they are pulled out or switched off.
  23. .PP
  24. .B Usbd
  25. recognizes the following options:
  26. .TP
  27. .B d
  28. Set USB library debugging option
  29. .IR bitmask .
  30. A value of 1 sets
  31. .BI Dbginfo ,
  32. 2 sets
  33. .BI Dbgfs ,
  34. 4 sets
  35. .BI Dbgproc ,
  36. and 8 sets
  37. .BI Dbgcontrol ;
  38. they may be added to set multiple options.
  39. .TP
  40. .B D
  41. Debug; print the bytes in each message sent or received.
  42. .TP
  43. .B f
  44. Don't fork.
  45. .TP
  46. .B u
  47. Specifies the controller number of the root hub.
  48. .TP
  49. .B V
  50. Verbose; print configuration information and device status as they change.
  51. .SH SOURCE
  52. .B /sys/src/cmd/usb/usbd
  53. .SH "SEE ALSO"
  54. .IR usb (3),
  55. .IR usb (4)