Reconfiguring Hardware with kudzu

When you add or remove hardware from your computer and reboot Red Hat Linux, a window appears during the reboot process advising that hardware has either been added or removed and asking if you want to reconfigure it. The program that detects and reconfigures your hardware is called kudzu.

The kudzu program is a hardware autodetection and configuration tool that runs automatically at boot time. If you like, you can also start kudzu while Red Hat Linux is running. In either case, here is what kudzu does:

It checks the hardware connected to your computer.

It compares the hardware it finds to the database of hardware information stored in the /etc/sysconfig/hwconf file.

It prompts you to change your system configuration, based on new or removed hardware that was detected.

The following is a list of hardware that kudzu can detect (according to the kudzu README file), followed by a description of what kudzu does to configure the device. Other devices may be detected as well (such as USB devices).

Network devices — Adds an Ethernet interface alias (eth0, eth1, etc.) if necessary and either migrates the old device configuration or creates a new one.

SCSI — Adds an alias for scsi_hostadapter.

Video card — Runs the Xconfigurator command to configure the video card. Sound card — Runs the sndconfig command to configure and test the sound card.

Mouse — Links the new mouse device to /dev/mouse and runs the mouseconfig command to configure and test the mouse.

Modem — Links the new modem device to /dev/modem.

Scanner — Links the new scanner device to /dev/scanner.

Keyboard — Runs the kbdconfig command to reconfigure the keyboard. Also, if you are using a serial console, it makes sure /etc/inittab and /etc/securetty are configured to be used by a serial console.

The following is a list of actions kudzu takes when a device is removed:

Network — Removes the alias for the Ethernet interface (eth0, ethl, etc.). SCSI — Removes the alias for the SCSI host adapter (scsi_hostadapter). Mouse — Removes the link to /dev/mouse. Modem — Removes the link to /dev/modem. CD-ROM — Removes the link to /dev/cdrom.

Scanner — Removes the link to /dev/scanner.

The only known problems with kudzu have to do with probing serial devices and video cards on a running Red Hat Linux system. If serial devices or older video cards are in use while kudzu is probing them, activity on those devices can be disturbed.

Was this article helpful?

0 0

Responses

  • cooper
    What is kudzu how can you reconfigure hardware with kudzu explain?
    2 months ago

Post a comment