Carry out a search in the documentation:
1 - Search in in the manuals:
Execute
manpath(1), that will, as the name says, print man pages paths.
Code:
/usr/share/man:/usr/local/share/man:/usr/local/man:/usr/share/openssl/man:/usr/local/lib/perl5/site_perl/man:/usr/local/lib/perl5/5.30/perl/man
To search for documentation in the manuals for
hw.psm.sysnaptics_support
:
grep -rZn hw.psm.sysnaptics_support /usr/share/man /usr/local/share/man /usr/local/man
Code:
Binary file /usr/share/man/mandoc.db matches
/usr/share/man/man4/psm.4.gz:336:.Va hw.psm.synaptics_support
grep -rZn hw.snd.default_unit /usr/share/man /usr/local/share/man /usr/local/man
Code:
Binary file /usr/share/man/mandoc.db matches
/usr/share/man/man4/snd_hda.4.gz:88:.Ar hw.snd.default_unit
/usr/share/man/man4/sound.4.gz:340:.It Va hw.snd.default_unit
/usr/share/man/man4/sound.4.gz:349:.Pa /dev/dsp Ns Va ${hw.snd.default_unit} .
/usr/share/man/man4/sound.4.gz:699:.Dl sysctl hw.snd.default_unit=1
/usr/share/man/man4/snd.4.gz:340:.It Va hw.snd.default_unit
/usr/share/man/man4/snd.4.gz:349:.Pa /dev/dsp Ns Va ${hw.snd.default_unit} .
/usr/share/man/man4/snd.4.gz:699:.Dl sysctl hw.snd.default_unit=1
/usr/share/man/man4/pcm.4.gz:340:.It Va hw.snd.default_unit
/usr/share/man/man4/pcm.4.gz:349:.Pa /dev/dsp Ns Va ${hw.snd.default_unit} .
/usr/share/man/man4/pcm.4.gz:699:.Dl sysctl hw.snd.default_unit=1
grep -rZ hw.vga.textmode /usr/share/man /usr/local/share/man /usr/local/man
Code:
Binary file /usr/share/man/mandoc.db matches
/usr/share/man/man4/vt.4.gz:.Cd hw.vga.textmode=1
/usr/share/man/man4/vt.4.gz:.Va hw.vga.textmode
/usr/share/man/man4/vt.4.gz:.It Va hw.vga.textmode
Open man
vt(4) (pager is
less(1)), search in manual
/hw.vga.textmode
, to repeat search press
n
, to repeate search reverse direction press
N
, for (search) help press
h
.
2 - Search in the FreeBSD documentation:
pkg install en-freebsd-doc
, with
pkg info -l en-freebsd-doc
determine installation path, e.g.:
/usr/local/share/doc/freebsd/en_US.ISO8859-1/books/handbook/book.html (single HTML), or
/usr/local/share/doc/freebsd/en_US.ISO8859-1/books/faq/book.html (single HTML)
Enter those file paths in a web browser (graphical or console), bookmark them, open when necessary, use find function of the web browser. I have in
www/lynx and
www/firefox that documentation (and other) bookmarked.
Running
pkg info -l en-freebsd-doc
you may notice a lot of other documentation is installed. You may find the one or other interesting.
Books:
https://download.freebsd.org/ftp/doc/en_US.ISO8859-1/books/
Articles:
https://download.freebsd.org/ftp/doc/en_US.ISO8859-1/articles/
PS:
hw.psm.sysnaptics_support
is mentiones in the handbook page
Sevendogsbsd linked to:
Rich (BB code):
In this example, the graphics card (NVidia) has been enumerated before the sound card (Realtek ALC889). To use the sound
card as the default playback device, change hw.snd.default_unit to the unit that should be used for playback:
# sysctl hw.snd.default_unit=n
where n is the number of the sound device to use. In this example, it should be 4. Make this change permanent by adding the
following line to /etc/sysctl.conf:
hw.snd.default_unit=4
Neither nor, you lacked the know how, but now you have it.