trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2012

Re: [trinity-devel] Tim: TDEHWLIB

From: Darrell Anderson <humanreadable@...>
Date: Tue, 28 Aug 2012 12:04:32 -0700 (PDT)
> It looks like the apparent lack of functionality is caused
> by two main things:
> 1.) The TDEHW backend does not yet have per-device mount
> configuration support written for it.  Now that I am aware of the
> missing functionality I will see what I can do to add it in.

I ask that first we add Serghei's udisks2 code. Even if incomplete most/all systems today no longer supporting HAL have udisks/udisks2 installed. TDEHW might be the best long-term option, but having udisks support seems sensible. Perhaps in the short term we focus on udisks support and focus on TDEHW for the long-term.

> 2.) Some of the other problems, such as unmounting not
> always working, may be bugs in udev and/or the kernel, as I remember fighting
> with similar bugs when I was developing the TDEHW library.  What
> kernel and udev versions are you running?

Slackware 14 RC3:

kernel 3.2.28
udev 182
udisks 1.0.4
udisks2 1.98.0
upower 0.9.17

I have not tested removable devices with other desktop environments to determine whether the problem is solely TDE. I suspect probably so because there are many people testing Slackware 14 and no such reports have surfaced.

I successfully patched HAL, rebuilt tdebase, and retested on Slackware 14 RC3. The TDE results remained intermittent. I suspect there is a conflict between HAL and udisks. I did not try removing udisks and I won't pursue that. Tampering that deep with the upstream packages ends hope of support and ends hope of user motivation to use TDE.

My 2 cents: I expect no more than one more release candidate before Slackware 14 goes live. Slackware is not the first distro to offer a HAL-less system. Actually, the opposite generally is true. That is, Slackware usually is one of the last to adopt major changes like that. Thus, if Slackware no longer supports HAL and is supporting udisks, then the transition is pretty much complete in the Linux based world. In other words, TDE needs to support HAL-less systems. Users are not going to wait or care. :-)

Darrell