As you look at
the code I have written over the past year,
you can see I have been attempting to abstract all of these functions
into
a simple, easy-to-use, standardized TDE API that new (or old)
applications can use to easily gain access to information that is
normally very
difficult to retrieve. Another main function of this structure is
to effectively separate the (complex and prone to upstream breakage)
backend code from the user application code, obviating the need for full
rewrites of TDE applications code when upstream backends change.
I have pmount installed on a system without HAL. Automounting is not
working on that system.
In my build script I enable only WITH_HAL or WITH_TDEHWLIB:
if [ -x /usr/sbin/hald ]; then
BUILD_HAL=${BUILD_HAL:-ON}
BUILD_TDEHWLIB=${BUILD_TDEHWLIB:-OFF}
else
BUILD_HAL=${BUILD_HAL:-OFF}
BUILD_TDEHWLIB=${BUILD_TDEHWLIB:-ON}
fi
...
-DWITH_HAL=${BUILD_HAL} \
-DWITH_TDEHWLIB=${BUILD_TDEHWLIB} \
...
Here are the symptoms:
* In the device icon popup menu, selecting Properties no longer shows the
Mounting tab in the dialog.
* Digital camera icon never appears.
* Inserting a USB flash drive into a different physical port results in
using a default desktop icon label. with a HAL system, once configured, I
can insert a USB drive into any port and the icon label remains
consistent.
* There seems to be no support to convert existing device icon labels,
requiring the user to reconfigure from scratch.
* Safely Remove does not always work.
* Inserting a DVD results in a much longer delay than with HAL enabled
systems to show the dialog prompt.
* Ejecting the DVD from the popup menu does not work.
I do not experience these symptoms when building with a HAL system.
Darrell
I cannot understate the amount of functionality that was lost when HAL was
abandoned. It will take a long time to rebuild everything to the same
level of functionality that once was available through HAL.
I assume basic manual (non-automatic) mounting is working on your test
system?
Tim