Dynamic device management with Udev, HAL, and D-Bus
Just a couple of years ago, configuring new hardware on Linux was a daunting task and just one more reason for newcomers to keep clear. Now, Linux offers convenient device management that provides trouble-free, dynamic handling of devices plugged in at run time – including WLAN sticks, digital cameras, and even camcorders. Linux can listen on interfaces such as Bluetooth and Firewire and, if necessary, not only integrate a device you plug in, but launch the matching application as well.
Fortunately, the trend in recent months has been toward standardizing the underlying technologies. Udev has already clearly ousted its predecessor, Devfs, and found its way into the Linux kernel. Now the Freedesktop.org-sponsored team of HAL and D-Bus is establishing itself in the face of competition from the previous Gnome and KDE favorites, Corba and DCOP.
This merge has greatly improved communications between the two desktop environments. Gnome already has a mature front end for dynamic device management with Gnome Volume Manager and related tools. KDE is following suit after considerable restructuring of its libraries in version 4.
The KDE Solid hardware library adds a new and powerful framework to make hardware management on KDE easier than ever. In the months to come, you can look forward to more dynamic device management fireworks.
Short form of User Event. This means a notification event from the kernel to programs in userspace. This memory area, which is separate from the kernel space, is populated by normal programs and non-kernel subsystems. The Udev subsystem runs in userspace.
A virtual filesystem that was introduced with kernel version 2.6. It is normally accessible under /sys and makes device and driver information defined in the Kernel Device Model, the kernel's internal device database, available to programs in userspace.
Short for Interprocess Communication, a method of communication and data exchange between processes on the same computer.
- Udev: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
- HAL: http://www.freedesktop.org/wiki/Software/hal
- Freedesktop.org: http://www.freedesktop.org/wiki
- D-Bus: http://www.freedesktop.org/wiki/Software/dbus
- Corba: http://de.wikipedia.org/wiki/CORBA
- DCOP: http://developer.kde.org/documentation/other/dcop.html
- DCOM for programmers: http://msdn.microsoft.com/en-us/library/ms809311.aspx
Buy this article as PDF
Carnegie Mellon researchers say 3 million pages could fall down the phishing hole in the next year.
The US government rolls new best-practice rules for protecting SSH.
Klaus Knopper announces the latest version of his iconic Live Linux system.
All websites that use these popular CMS tools could be vulnerable to denial of service attacks if users don't install the updates.
According to a report, many potential victims of the Heartbleed attack have patched their systems, but few have cleaned up the crime scene to protect themselves from the effects of a previous intrusion.
DARPA and NICTA release the code for the ultra-secure microkernel system used in aerial drones.
Should you trust an online service to store your online passwords?
New B+ board lets you build cool things without the complication of a powered USB hub.
Redmond rushes in to root out alleged malware haven.
New initiative will bring futuristic virtual reality effects to the web surfing experience.