Changeset a3d0817 for chapter09/usage.xml
- Timestamp:
- 06/12/2020 08:42:32 PM (4 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 9e7475a
- Parents:
- 96f04d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/usage.xml
r96f04d7 ra3d0817 236 236 <para>For information on kernel module loading and udev, see 237 237 <xref linkend="module-loading"/>.</para> 238 <!--239 <sect3>240 <title>Module Loading</title>241 242 <para>Device drivers compiled as modules may have aliases built into them.243 Aliases are visible in the output of the <command>modinfo</command>244 program and are usually related to the bus-specific identifiers of devices245 supported by a module. For example, the <emphasis>snd-fm801</emphasis>246 driver supports PCI devices with vendor ID 0x1319 and device ID 0x0801,247 and has an alias of <quote>pci:v00001319d00000801sv*sd*bc04sc01i*</quote>.248 For most devices, the bus driver exports the alias of the driver that249 would handle the device via <systemitem250 class="filesystem">sysfs</systemitem>. E.g., the251 <filename>/sys/bus/pci/devices/0000:00:0d.0/modalias</filename> file252 might contain the string253 <quote>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</quote>.254 The default rules provided with Udev will cause <command>udevd</command>255 to call out to <command>/sbin/modprobe</command> with the contents of the256 <envar>MODALIAS</envar> uevent environment variable (which should be the257 same as the contents of the <filename>modalias</filename> file in sysfs),258 thus loading all modules whose aliases match this string after wildcard259 expansion.</para>260 261 <para>In this example, this means that, in addition to262 <emphasis>snd-fm801</emphasis>, the obsolete (and unwanted)263 <emphasis>forte</emphasis> driver will be loaded if it is264 available. See below for ways in which the loading of unwanted drivers can265 be prevented.</para>266 267 <para>The kernel itself is also able to load modules for network268 protocols, filesystems and NLS support on demand.</para>269 270 </sect3>271 272 <sect3>273 <title>Handling Hotpluggable/Dynamic Devices</title>274 275 <para>When you plug in a device, such as a Universal Serial Bus (USB) MP3276 player, the kernel recognizes that the device is now connected and277 generates a uevent. This uevent is then handled by278 <command>udevd</command> as described above.</para>279 280 </sect3>281 -->282 238 </sect2> 283 239 … … 294 250 hardware clock's time to the local time using the 295 251 <filename>/etc/localtime</filename> file (which tells the 296 <command>hwclock</command> program which timezone t he user is in). There is no252 <command>hwclock</command> program which timezone to use). There is no 297 253 way to detect whether or not the hardware clock is set to UTC, so this 298 254 needs to be configured manually.</para> 299 255 300 <para>The <command>setclock</command> is run via256 <para>The <command>setclock</command> program is run via 301 257 <application>udev</application> when the kernel detects the hardware 302 258 capability upon boot. It can also be run manually with the stop parameter to … … 316 272 <para>Change the value of the <envar>UTC</envar> variable below 317 273 to a value of <parameter>0</parameter> (zero) if the hardware clock 318 is <emphasis> not</emphasis> set to UTC time.</para>274 is <emphasis>NOT</emphasis> set to UTC time.</para> 319 275 320 276 <para>Create a new file <filename>/etc/sysconfig/clock</filename> by running … … 337 293 time zones, UTC, and the <envar>TZ</envar> environment variable.</para> 338 294 339 <note><para>The CLOCKPARAMS and UTC paramaters may be alternativelyset295 <note><para>The CLOCKPARAMS and UTC paramaters may also be set 340 296 in the <filename>/etc/sysconfig/rc.site</filename> file.</para></note> 341 297 … … 353 309 354 310 <para>This section discusses how to configure the <command>console</command> 355 bootscript that sets up the keyboard map, console font and console kernel log311 bootscript that sets up the keyboard map, console font, and console kernel log 356 312 level. If non-ASCII characters (e.g., the copyright sign, the British pound 357 313 sign and Euro symbol) will not be used and the keyboard is a U.S. one, much … … 506 462 <para>Due to the use of a 512-glyph LatArCyrHeb-16 font in the previous 507 463 example, bright colors are no longer available on the Linux console unless 508 a framebuffer is used. If one wants to have bright colors without 464 a framebuffer is used. If one wants to have bright colors without a 509 465 framebuffer and can live without characters not belonging to his language, 510 466 it is still possible to use a language-specific 256-glyph font, as … … 549 505 languages, because there accents are added to unaccented ASCII 550 506 characters, or two ASCII characters are composed together. However, in 551 UTF-8 mode it is a problem ,e.g., for the Greek language, where one507 UTF-8 mode it is a problem; e.g., for the Greek language, where one 552 508 sometimes needs to put an accent on the letter <quote>alpha</quote>. 553 509 The solution is either to avoid the use of UTF-8, or to install the … … 557 513 558 514 <listitem> 559 <para>For Chinese, Japanese, Korean and some other languages, the Linux515 <para>For Chinese, Japanese, Korean, and some other languages, the Linux 560 516 console cannot be configured to display the needed characters. Users 561 517 who need such languages should install the X Window System, fonts that 562 518 cover the necessary character ranges, and the proper input method (e.g., 563 SCIM, itsupports a wide variety of languages).</para>519 SCIM, supports a wide variety of languages).</para> 564 520 </listitem> 565 521 … … 572 528 the Linux text console localization. It has nothing to do with setting 573 529 the proper keyboard layout and terminal fonts in the X Window System, with 574 ssh sessions or with a serial console. In such situations, limitations530 ssh sessions, or with a serial console. In such situations, limitations 575 531 mentioned in the last two list items above do not apply.</para> 576 532 </note> … … 586 542 </indexterm> 587 543 588 <para>At times, it is desir edto create files at boot time. For instance,544 <para>At times, it is desirable to create files at boot time. For instance, 589 545 the <filename class="directory">/tmp/.ICE-unix</filename> directory 590 may be desired. This can be done by creating an entry in the546 is often needed. This can be done by creating an entry in the 591 547 <filename>/etc/sysconfig/createfiles</filename> configuration script. 592 548 The format of this file is embedded in the comments of the default
Note:
See TracChangeset
for help on using the changeset viewer.