# How does Ubuntu identify hardware?

Exist any kind of usual activities that customer need to do after mounting new hardware? Is Ubuntu makes some hardware - reliant changes throughout installation (other than generation of /etc/fstab documents), that customer should do when transforming any kind of tool, like motherboard, visuals card or various other? Approaches of discovery hardware in Ubuntu is unclear for me. What I can review it?

I have unreal troubles now, yet I would love to recognize what to do when it take place.

(PS: Do you recognize me?: -) I am not an indigenous english audio speaker and also it is my first experience, please comment my blunders: -)

0
2019-05-18 21:41:52
Source Share

As a regulation, no. Ubuntu identifies the computer system is hardware throughout bootup, or when the hardware is connected in.

0
2019-05-22 20:36:44
Source

As Marius claims: hardware is identified by the bit at boot time, or later on if it is "pluggable" (USB, etc). When the hardware is identified, the relevant bit component (vehicle driver) will certainly be filled and also most of the times userspace will certainly be alerted using dbus/udev to establish what to do with that said hardware ; udev has a set of "regulations" that define what to do with particular sorts of hardware. E.g. "if the identified hardware is an USB printer, add it to the print web server (CUPS)" is an instance of such regulation, and also it would certainly look something similar to this:

# Low-level USB device add trigger

The above becomes part of /lib/udev/rules.d/70-printers.rules (at the very least, on 10.10), which additionally consists of a regulation for getting rid of the printer from CUPS if you disconnect it.