udev is a all-encompassing atom accessory manager. It runs as a apparition on a Linux arrangement and listens (via netlink socket) to uevents the atom sends out if a new accessory is initialized or a accessory is removed from the system. The arrangement provides a set of rules that bout adjoin exported ethics of the accident and backdrop of the apparent device. A analogous aphorism will possibly name and actualize a accessory bulge and run configured programs to start-up and configure the device.
udev rules can bout on backdrop like the atom subsystem, the atom accessory name, the concrete area of the device, or backdrop like the device's consecutive number. Rules can aswell appeal advice from alien programs to name a accessory or specify a custom name that will consistently be the same, behindhand of the adjustment accessories are apparent by the system.
In the accomplished a accepted way to use udev on Linux systems was to let it forward contest through a atrium to HAL, which would accomplish added device-specific actions. For example, HAL would acquaint added software active on the arrangement that the new accouterments had accustomed by arising a advertisement bulletin on the D-Bus IPC arrangement to all absorbed processes. In this way, desktops such as GNOME or KDE could accessible a book browser to anew absorbed USB beam drives and SD cards.2
By the average of 2011 HAL had been deprecated by a lot of Linux distributions as able-bodied as by the KDE, GNOME3 and XFCE4 desktop environments, a part of others. The functionality ahead embodied in HAL has been chip into udev itself, or confused to abstracted software such as udisks and upower.
udev rules can bout on backdrop like the atom subsystem, the atom accessory name, the concrete area of the device, or backdrop like the device's consecutive number. Rules can aswell appeal advice from alien programs to name a accessory or specify a custom name that will consistently be the same, behindhand of the adjustment accessories are apparent by the system.
In the accomplished a accepted way to use udev on Linux systems was to let it forward contest through a atrium to HAL, which would accomplish added device-specific actions. For example, HAL would acquaint added software active on the arrangement that the new accouterments had accustomed by arising a advertisement bulletin on the D-Bus IPC arrangement to all absorbed processes. In this way, desktops such as GNOME or KDE could accessible a book browser to anew absorbed USB beam drives and SD cards.2
By the average of 2011 HAL had been deprecated by a lot of Linux distributions as able-bodied as by the KDE, GNOME3 and XFCE4 desktop environments, a part of others. The functionality ahead embodied in HAL has been chip into udev itself, or confused to abstracted software such as udisks and upower.
No comments:
Post a Comment