Message: previous - next
Month: November 2012

Re: [trinity-devel] Re: New backend for the media:/ kioslave

From: "Timothy Pearson" <kb9vqf@...>
Date: Sun, 11 Nov 2012 13:19:45 -0600
> Timothy Pearson <kb9vqf@...> writes:
>> All,
>> I recently pushed a new (alpha quality) backend for the media:/ kioslave
>> which uses udev/pmount and therefore does not rely on HAL.  I encourage
>> developers here to try it out!
>> Please report failures to this list, not to the bugtracker, as it has
>> not
>> been tested much beyond mounting simple flash drives.  Encryption
>> support
>> is buggy, but repairing it is my next task.
>> Rhis will NOT be made default for R14.0 due to the vast array of
>> hardware
>> that it still needs to be tested on, but if your distribution no longer
>> works with HAL it may be better than nothing even in this alpha form.
>> To enable it, pass the -DWITH_TDEHWLIB="on" option to tdebase CMake.
>> Enjoy!
>> Tim
> I built Trinity without HAL and udev (165) seems to be working. tdebase
> would
> not build with udev-181. One bug is that all loop devices are showing up
> under
> kioslave media:/ which is bad for me since our distro is based on modules
> mounted on loopback. I have a rules file in:
> /etc/udev/rules.d/10-local.rules
> containing:
> but this makes no difference.
> Jay

TDE does not parse udisks/udev configuration files, but you can override
its device classifier through a currently undocumented mechanism which
involves adding a distro-specific .hwclass file to

The .hwclass files operate by matching all conditions in the [Conditions]
section; if a match is found the device is classified according to the
rules in the [DeviceType] section.  Look at
for an example file which is used to classify floppy drives.

I have not tested this, but it should get you started: