A major change within the linux community has driven a need for a change to the hardware detection methods within the lmce smart home automation system. This change will affect all users of LMCE1204 (Ubuntu Precise) and up, including the pre-pre-alpha LMCE1404 (Ubuntu Trusty).
The linux community dropped support for hald (the hal daemon) which provided hardware detection events and information to applications, including lmce, for many years. This change happened about 4 years ago. LMCE has been sheltered from the changes because Ubuntu has maintained support for hald through the 1204 LTS release. As of Ubuntu 1404 LTS hald has been discontinued completely.
In order to maintain our level of automatic hardware detection, and ultimately improve it beyond its' current capabilities, hal detection is being replaced with udev based device detection with appropriate device detected/removed event notifications for dcerouter.
udev is the hardware event notification system that has replaced the hald (hal daemon) in the general linux community. udev has been incorporated into the new systemd (system daemon) which is becoming the standard for boot managment and service launching under the linux kernel. LMCE will also support systemd launching in the near future.
In the next few days we will be pushing an updated version of the HAL daemon that linuxmce uses to detect devices. The HAL daemon was named for its interface to the hald. The updated version of our HAL daemon will now interface with udev directly rather than hald. The package in question is "pluto-hald". At the moment the pkg name will not change to avoid issues with upgrades. Eventually the package name will change to reflect the new "lmce-" package naming convention.
Once the update is deployed you will need to
apt-get updateyour lmce core and MD devices to receive the new device detection system. I am doing everything I can to mitigate issues that people may encounter during this upgrade process and I can offer the following observations so far:
- Some devices may trigger the Setup Wizard to appear. This is usually the Wizard confirming that the new device is actually the old device. i.e. My Zwave dongle is re-detected (due to changes in device identification) but recognizes that it is actually the old (original) device and simply requests confirmation of that fact.
- GSD devices may need to have their serial ports reset (as they may be lost) and saved, followed by a router reload. No issues have been observed after this with serial devices.
As always we ask you to remember that this is ongoing alpha software with very few developers contributing. If you have any issues please file tickets in the trac system (contact posde in IRC for credentials). Please watch http://wiki.linuxmce.org/index.php/LinuxMCE-1204_pre-alpha to follow changes to the 1204 development version, including when this change hits release.
Thanks everyone and enjoy LinuxMCE!