Browse Source

Plan 9 from Bell Labs 2004-11-26

David du Colombier 19 years ago
parent
commit
8acf207b7b
4 changed files with 24 additions and 30 deletions
  1. 1 1
      dist/replica/_plan9.db
  2. 1 1
      dist/replica/plan9.db
  3. 1 0
      dist/replica/plan9.log
  4. 21 28
      sys/man/4/usb

+ 1 - 1
dist/replica/_plan9.db

@@ -5018,7 +5018,7 @@ sys/man/4/tapefs - 664 sys sys 944959699 1731
 sys/man/4/telco - 664 sys sys 1015024814 4359
 sys/man/4/u9fs - 664 sys sys 1043769139 4748
 sys/man/4/upasfs - 664 sys sys 1034348505 6212
-sys/man/4/usb - 664 sys sys 1099760451 3518
+sys/man/4/usb - 664 sys sys 1101397021 3413
 sys/man/4/usbd - 664 sys sys 1018386778 731
 sys/man/4/vacfs - 664 sys sys 1084333062 1545
 sys/man/4/webcookies - 664 sys sys 1019828742 3525

+ 1 - 1
dist/replica/plan9.db

@@ -5018,7 +5018,7 @@ sys/man/4/tapefs - 664 sys sys 944959699 1731
 sys/man/4/telco - 664 sys sys 1015024814 4359
 sys/man/4/u9fs - 664 sys sys 1043769139 4748
 sys/man/4/upasfs - 664 sys sys 1034348505 6212
-sys/man/4/usb - 664 sys sys 1099760451 3518
+sys/man/4/usb - 664 sys sys 1101397021 3413
 sys/man/4/usbd - 664 sys sys 1018386778 731
 sys/man/4/vacfs - 664 sys sys 1084333062 1545
 sys/man/4/webcookies - 664 sys sys 1019828742 3525

+ 1 - 0
dist/replica/plan9.log

@@ -17114,3 +17114,4 @@
 1101270700 1 c 386/bin/fossil/flfmt - 775 sys sys 1101269451 243577
 1101270700 2 c 386/bin/fossil/fossil - 775 sys sys 1101269452 358243
 1101312107 0 c sys/src/cmd/mkone - 664 sys sys 1101311048 835
+1101398463 0 c sys/man/4/usb - 664 sys sys 1101397021 3413

+ 21 - 28
sys/man/4/usb

@@ -7,10 +7,7 @@ usbprinter
 .SH SYNOPSIS
 .B usb/usbmouse
 [
-.B \-s
-] [
-[
-.B \-f
+.B -f
 ] [
 .I ctrlno
 .I n
@@ -18,15 +15,15 @@ usbprinter
 .PP
 .B usb/usbaudio
 [
-.B \-V
+.B -V
 ] [
-.B \-v
+.B -v
 .I volume
 ] [
-.B \-m
+.B -m
 .I mountpoint
 ] [
-.B \-s
+.B -s
 .I srvname
 ] [
 .I ctrlno
@@ -52,11 +49,7 @@ and uses the first one it finds.  A pair of numeric arguments overrides this sea
 with a specific USB controller and device.
 .PP
 The
-.B \-s
-flag enables scroll-wheel or scroll-button, if present.
-.PP
-The
-.B \-f
+.B -f
 flag runs
 .B usbmouse
 in the foreground.
@@ -68,15 +61,15 @@ normally mounted in
 but this can be changed with the
 .B \-m
 flag, with files
-.IR /volume ,
-.IR /audioctl ,
-.IR /audio ,
+.BR volume ,
+.BR audioctl ,
+.BR audio ,
 and
-.IR /audioin .
+.BR audioin .
 The names
-.I /volume
+.B volume
 and
-.I /audio
+.B audio
 maintain backward compatibility with the soundblaster driver.
 .PP
 The
@@ -89,11 +82,11 @@ flag specifies a name for a file descriptor to be posted in
 .CW /srv .
 .PP
 Reading
-.I /volume
+.B volume
 or
-.I /audioctl
+.B audioctl
 yields the device's settings.  The data format of
-.I /volume
+.B volume
 is compatible with the soundblaster and
 produces something like
 .PP
@@ -109,7 +102,7 @@ This file can be written using the same syntax.  The keyword
 may be omitted.  Settings are given as percentages of the range.
 .PP
 The file
-.I /audioctl
+.B audioctl
 provides more information, using up to 6 columns of 12 characters each.
 From left to right, the fields are:
 .IR "control name" ,
@@ -129,19 +122,19 @@ is reported as 1 (one) if the sampling frequency is continuously variable.  It i
 if it is settable at a fixed number of discrete values only.
 .PP
 When all values from
-.I /audioctl
+.B audioctl
 have been read, a zero-sized buffer is returned (the usual end-of-file indication).
 A new read will then block until one of the settings changes and then report its new value.
 .PP
 The file
-.I /audioctl
+.B audioctl
 can be written like
-.IR /volume .
+.BR volume .
 .PP
 Audio data is written to
-.I /audio
+.B audio
 and read from
-.IR /audioin .
+.BR audioin .
 The data format is little endian, samples ordered primarily by time and
 secondarily by channel.  Samples occupy the minimum integral number
 of bytes.  Read and write operations of arbitrary size are allowed.