Summary: | Modify hald to act like the Solaris volume manager | ||
---|---|---|---|
Product: | hal | Reporter: | Sam Morris <sam> |
Component: | hald | Assignee: | David Zeuthen (not reading bugmail) <zeuthen> |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | enhancement | ||
Priority: | low | CC: | danny.kukawka |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Sam Morris
2008-03-31 07:06:24 UTC
I don't see atm the problem. You can simply lock the device and HAL stops polling the device until you remove the lock again. You can use hal-lock or hal-disable-polling (or D-Bus directly) to stop the polling. This is what AFAIK e.g. k3b do. I found some more cryptic comments from Mr. Schilling on the Cdrecord Developers mailing list about what hal "should" do: > On Linux, hald polls the wrong way and need to be fixed to only act on the > right status transitions. Opennin with O_EXCL is not helpful, in special > on Linux as Linux has more than one driver for the same hardware. > > As long as hald on Linux has not been fixed, you need to kill hald. and: > O_EXCL is not a solution but creates just other different problems. > > The only way do deal with the problem is to fix hald. Hald works fine on Solaris > as on Solaris, hald gets the right events from the kernel loop in sd.c > Hald on Linux acts on events that should be of no interests for hald. > > If the hald people are interested to fix hald, I am open for a discussion. That's about as close as I can get to finding out why he thinks O_EXCL is not the right solution... Close the bug as NOTABUG since I can't see what's the problem/bug here. It works for me. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.