Linux Kernel Launches Hardware Management Features - page 3
Preparing for Liftoff
HAL, the Hardware Abstraction Layer, maintains a database of devices on your system. You can see this by running the lshal command, which spews forth much output:
$ lshal [...] udi = '/org/freedesktop/Hal/devices/pnp_PNP0303' info.udi = '/org/freedesktop/Hal/devices/pnp_PNP0303' ... linux.subsystem = 'pnp' (string) linux.hotplug_type = 1 (0x1) (int) info.product = 'IBM Enhanced (101/102-key, PS/2 mouse ... [...] Dumped 112 device(s) from the Global Device List. ------------------------------------------------
You can play with
lshal a bit by putting it in monitor mode:
$ lshal --monitor Start monitoring devicelist:Then plug in and remove devices to see what happens.
Perhaps you are wondering why we need HAL when we already have
dmesg? HAL contains a lot more information about hardware than the kernel does. The kernel doesn't need to know all that stuff; it has other jobs to do. You saw how much data HAL holds on your devices. Where does it all come from? From querying the hardware, from the kernel, from various system files, and from information collected by your desktop. In a nutshell, anything on your system that needs hardware information simply asks HAL.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Linux from Scratch, Ubuntu 14.01 Beta and Arch Updates