General > Users
1204/1404 HAL replacement !!! Please read!
phenigma:
Hey there LMCE'ers! :o
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
--- Code: ---apt-get update
apt-get dist-upgrade
--- End code ---
your 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!
(J.)ason
Marie.O:
Jason,
I'm up-to-date with all the latest packages, and haven't seen any ill behavior so far.
Great job!
phenigma:
Excellent! Thank you. Please keep me apprised of any ill behaviour you may experience. :D
Jason.
maverick0815:
I don't know, if this is really related, but since the update, I noticed some decrease in performance, qorbiter takes long to load and display the viewpoint.....also internet access seems slower. I checked my connection in the fritzbox...there it's fine.
phenigma:
There is no way that the new HAL could affect performance of your system. qOrbiter is under a lot of changes atm and HAL is completely unrelated to it. There is no affect that HAL could have on your internet connection either. Talk to golgo about the qOrbiter issues in the qOrbiter thread.
To be sure you can always check if HAL is chewing cpu using top at the command line, but it sits consistently at 0% cpu usage on all my test systems, including rpi1 & rpi2.
J.
Navigation
[0] Message Index
[#] Next page
Go to full version