4 hwinfo [debug=deb_flag] [log=log_file] [list[+]=hw_item] [[+|-]probe_option1] [[+|-]probe_option2] ...
9 - probes for nearly everything
12 - probes for everything
15 - default probing, output is written to hw_log
16 *** Please don't use "hwinfo >some_log 2>&1" to store the output into a
20 - probe for ide drives only
22 hwinfo +all -isapnp -floppy
23 - probe for everything *except* isapnp and floppies
25 Some probing flags do not stand for complete modules but enable additional
26 features; e.g. "pci.range" or "cdrom.info".
30 gives a list of all cdrom's
32 hwinfo -all +cdrom.info
33 additionally reads the iso9660 info
35 To get a list of all supported probing flags, call 'hwinfo -all'.
38 2. Environment variables/kernel cmdline parameters
39 ==================================================
41 You can control the hardware probing using the environment variable
42 "hwprobe" and the kernel cmdline parameters "hwprobe" & "x11".
44 If "hwprobe" is set on the kernel cmdline, the environment variable
45 "hwprobe" is ignored. Otherwise, the meaning of both is exactly the same.
48 - Controls the X server/X version to prefer. It is either "3" or "4" or the
49 name of the X server/X server module to use (XF3: server name without
50 the leading "XF86_", XF4: the server module name).
54 o prefer XFree86 3.x over 4.x (if possible)
57 o use the XF86_SVGA server (*** Even if the server does not
58 support the card! ***)
61 o use the XF4 nv_drv.o driver (*** Even if the module does not
62 support the card! ***)
65 - Controls which probing flags should *always* be set/cleared. (These
66 settings *cannot* be overridden by command line switches.)
70 o *never* do any isapnp probing
72 hwprobe=-braille,-modem
73 o don't look for braille displays & modems
75 - Allows you to add and remove hardware from the probing results. In this case
76 the syntax is (-: remove, +: add at end of list, <nothing>: add at begin of
78 hwprobe=[+-]<device_class>:<vendor_id>:<device_id>[:<unix_device_file>]
80 <device_class>, <vendor_id> and <device_id> are device ids as used by libhd.
81 See the output of hwinfo for examples. In connection with "-", you can use
82 "*" as a placeholder that matches every id.
84 Note: <unix_device_file> is optional.
86 Note2: you cannot usefully *add* hardware that needs more info than that
87 given by the hwprobe entry. Disks & floppies are notable examples.
88 (But you can *remove* them.)
90 Here is a typical hwinfo output for a mouse, with the relevant ids
91 underlined (<device_class> is the combined base_class & sub_class),
92 [see 1st example below]:
94 14: PS/2 00.0: 10500 PS/2 Mouse
95 ^^^^^ --> <device_class>
96 [Created at mouse.110]
97 Vendor: s0200 "Unknown"
99 Model: 0002 "Generic PS/2 Mouse"
101 Device File: /dev/psaux
102 ^^^^^^^^^^ --> <unix_device_file>
104 XFree86 Protocol: ps/2
106 Attached to: #8 (PS/2 Controller)
110 hwprobe=+10500:s200:2:/dev/psaux
111 o add a ps/2 mouse [at the end of the hardware list]
113 hwprobe=10500:s200:2:/dev/psaux
114 o add a ps/2 mouse [at the start of the hardware list, so it
115 is our default mouse]
117 hwprobe=+10b00:s5001:0:/dev/ttyS0
118 o add a braille display connected to /dev/ttyS0
120 hwprobe=-10500:s200:2:/dev/psaux
121 o remove ps/2 mice attached to /dev/psaux
123 hwprobe=-10500:s200:2
124 o remove all ps/2 mice
127 o remove all ps/2 mice
129 hwprobe=-*:*:*:/dev/hdc
132 hwprobe=+401:1274:5000
133 o add an ensoniq sound card
135 Grafics cards are are slightly trickier:
138 o add a Fire GL1 card
139 Note: this way you'll get a multihead config. You'll probably
140 rather want the following example.
142 hwprobe=-300:*:*,+300:1014:b7
143 o remove all graphics cards; then add a Fire GL1 card
146 o add a 3fx voodoo card (Note the class "400", not "300"!)
148 - for more ids, see "src/ids/names.*" and "src/ids/drivers.*"