By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 850

Summary: Implement tdehardware library
Product: TDE Reporter: Timothy Pearson <kb9vqf>
Component: tdelibsAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: enhancement CC: bugwatch, darrella, kb9vqf
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: All   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 431, 427    
Attachments: Start of udev interface

Description Timothy Pearson 2012-02-07 17:49:16 CST
Implement tdehardware library; specification available here: http://trinitydesktop.org/wiki/bin/view/Developers/TUComputerAPI

The new library must also detect and send hotplug events to interested applications via the Qt signal/slot mechanisms.
Comment 1 Calvin Morrison 2012-02-07 18:53:02 CST
Samelian shared this link some time ago. It is based on udev

   www.thel.ro/tdelibs.tar.gz
Comment 2 Timothy Pearson 2012-02-07 19:29:36 CST
AFAIK that is not a complete implementation up to the API level, but it is definitely a good starting point for the backend of the new tdehardware library.
Comment 3 Timothy Pearson 2012-02-07 21:02:40 CST
Created attachment 344 [details]
Start of udev interface

Attaching file here in case it disappears in the future.
Comment 4 Darrell 2012-09-03 19:26:56 CDT
In response to recent extensive patching and testing, I believe we have made great progress with this support. I'm adding a punch list of sorts to help us track known issues.

TDEHW Bugs/Problems

TDEHW does not migrate existing mediamanagerrc settings, requiring users to reconfigure devices. As UUID is used in both the HAL and TDEHW backends, hopefully some copy-and-paste code can be added to migrate existing settings.

Missing mount options:
  Generic Mount Options:
    Quiet
  Filesystem Specific Mount Options:
    Flushed IO
    Mount as user
    Short names
  (Related mediamanagerrc):
    flush=true
    quiet=false
    shortname=lower
    uid=true
Apparently pmount does not support these options.

Safely Remove does not remove the desktop icon. Setting /usr/bin/eject suid is a work-around, which indicates possible privilege issues with TDEHW.

Eject does not remove the desktop icon for CDs/DVDs. Several patches from Arch seem to help or, setting /usr/bin/eject suid.

Icon appearance times remain weird, some fast, some very slow. This seems to be a udev issue but noted here for future reference.

No support as of yet to poll floppy drives to automount.

Various [FIXME] issues embedded in the code.
Comment 5 Darrell 2012-09-16 16:00:52 CDT
An update: When I select Safely Remove from the popup menu, the respective USB drive icon does not disappear. When I open a terminal window and type 'eject /dev/sdf' then the icon disappears, whether the device is mounted or unmounted. I performed this with the eject command having normal 755 permissions (not suid).

With an optical disk I need a patched eject command, but with that patched version optical disk ejections work from the popup menu, whether the device is mounted or unmounted.

At this point I'd guess that TDEHW needs something tuned with respect to USB devices to properly use the Safely Remove command.
Comment 6 Darrell 2013-04-05 15:05:58 CDT
Can we close this report as resolved? Any subsequent bugs can be filed as separate reports?
Comment 7 Timothy Pearson 2013-04-05 15:09:48 CDT
(In reply to comment #6)
> Can we close this report as resolved? Any subsequent bugs can be filed as
> separate reports?

Yes.  The hardware library has been through months of testing at this point, and appears to work as well as HAL did on most systems (if not better in some cases!)