| Summary: | Implement tdehardware library | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Timothy Pearson <kb9vqf> |
| Component: | tdelibs | Assignee: | 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
Samelian shared this link some time ago. It is based on udev www.thel.ro/tdelibs.tar.gz 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. Created attachment 344 [details]
Start of udev interface
Attaching file here in case it disappears in the future.
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.
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. Can we close this report as resolved? Any subsequent bugs can be filed as separate reports? (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!) |