Azimout's Linux weblog


leave a comment »

when a device is plugged into your system, here’s what happens:

  1. the kernel notices, and adds an entry under /sys (sysfs)
  2. udev is notified by the kernel through a uevent, and creates an entry under /dev, matching the sysfs entry with the rules under /etc/udev/rules.d, and loads the related driver (modprobe)
  3. HAL is notified and adds the related information to its database (accessible via lshal)

To see a list of your hardware, run sudo lshw -short



Written by azimout

25/01/2009 at 18:20

Posted in Reference

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: