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
Azure CTO says Redmond has already considered the unthinkable.
Lead developer quells rumors that the Debian version is slated for center stage.
MSBuild is now just another GitHub project as Redmond continues its path to the light.
Malware could pass data and commands between disconnected computers without leaving a trace on the network.
New rules emphasize collegiality in coding.
Upstart lands in the dust bin as a new era begins for Linux.
HP's annual Cyber Risk report offers a bleak look at the state of IT.
But what do the big numbers really mean?
.NET Core execution engine is the basis for cross-platform .NET implementations.
The Xnote trojan hides itself on the target system and will launch a variety of attacks on command.