WineHQ
Bug Tracking Database – Bug 21713

 Bugzilla

 

Last modified: 2012-10-02 20:49:04 UTC  

Add support for D-Bus provider "UDisks" (libhal.so is deprecated)

Bug 21713 - Add support for D-Bus provider "UDisks" (libhal.so is deprecated)
Add support for D-Bus provider "UDisks" (libhal.so is deprecated)
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: mountmgr.sys
1.1.38
Other Linux
: P2 enhancement
: 1.4.0
Assigned To: Detlef Riekenberg
http://www.freedesktop.org/wiki/Softw...
: download, source
: 26672 (view as bug list)
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-02-14 01:11 UTC by Detlef Riekenberg
Modified: 2012-10-02 20:49 UTC (History)
9 users (show)

See Also:
Regression SHA1:
Fixed by SHA1: 2a59f016dbe716aaefec9ab94d47d7b8172d0b5b
Distribution: ---
Staged patchset:


Attachments
demo app to dump and monitor udisks devices (18.46 KB, text/plain)
2011-06-28 22:16 UTC, Detlef Riekenberg
Details
demo app to dump and monitor udisks device (v2) (18.54 KB, text/plain)
2011-07-08 22:21 UTC, Detlef Riekenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Detlef Riekenberg 2010-02-14 01:11:17 UTC
HAL is now deprecated:
http://www.freedesktop.org/wiki/Software/hal

HAL replacement: DeviceKit
http://lists.freedesktop.org/archives/hal/2008-May/011560.html

DeviceKit-disks was renamed to udisks:
http://lists.freedesktop.org/archives/devkit-devel/2009-December/000567.html

Source:
http://cgit.freedesktop.org/udisks/

-- 
By by ... Detlef
Comment 1 Dmitry Timoshkov 2010-02-16 09:20:16 UTC
Perhaps they could provide backwards compatibility for old APIs?
Comment 2 Rafał Mużyło 2010-07-31 23:55:18 UTC
As I already said in bug 21617 (that *somebody* closed
a few days before this one was opened), the part that's
important is libudev, not udisks.

DeviceKit itself went dead anyway, useful parts of
it being absorbed into either libudev or libgudev
(udisks is a different matter, of course).

There could be no "compatibility API", as that was
redesign of the concept, not lib.

Migrating to libudev might even simplify things a bit,
as dbus will be taken out of equation.


OT: While I'm often not very clear on what's really my point is,
so my bug did seem a bit chaotic, I still think closing it was a bit premature.
Comment 3 David Heidelberg (okias) 2011-05-19 10:41:20 UTC
Yes, HAL shouldn't be used on linux systems anymore. :-)
Comment 4 Detlef Riekenberg 2011-06-28 22:01:05 UTC
(In reply to comment #2)
> As I already said in bug 21617 (that *somebody* closed
> a few days before this one was opened), the part that's
> important is libudev, not udisks.

libudev is not an option:
- monitoring events works only for uid=0
- you don't get an event on mount / umount

-- 
By by --- Detlef
Comment 5 Detlef Riekenberg 2011-06-28 22:16:48 UTC
Created attachment 35347 [details]
demo app to dump and monitor udisks devices

compile with:
gcc demo_dbus.c `pkg-config --cflags --libs dbus-1` -Wall -o demo_dbus

options:
--verbose  dump all fields of the request and the result message
--GetAll   use method "GetAll" to fetch all device properties at once


examples for dbus-send:
dbus-send --system --print-reply  --dest=org.freedesktop.UDisks /org/freedesktop/UDisks org.freedesktop.Udisks.EnumerateDevices


dbus-send --system --print-reply  --dest=org.freedesktop.UDisks /org/freedesktop/UDisks/devices/sda1   org.freedesktop.DBus.Properties.GetAll string:org.freedesktop.UDisks.Device 


-- 
By by ... Detlef
Comment 6 Detlef Riekenberg 2011-06-30 12:48:11 UTC
Patches send:
http://source.winehq.org/patches/data/75937
http://source.winehq.org/patches/data/75938

-- 
By by ... Detlef
Comment 7 Detlef Riekenberg 2011-07-08 22:21:39 UTC
Created attachment 35486 [details]
demo app to dump and monitor udisks device (v2)

this updated demo app displays also the method

-- 
By by ... Detlef
Comment 8 André H. 2011-10-02 11:52:10 UTC
nominating for 1.4 as of AJs keynote on wineconf 2011
Comment 9 André H. 2011-11-22 19:55:09 UTC
fixing assignee, or would you like to stop working on it, Detlef?
Comment 10 Alexandre Julliard 2011-12-21 08:37:44 UTC
Implemented by 2a59f016dbe716aaefec9ab94d47d7b8172d0b5b.
Comment 11 Alexandre Julliard 2011-12-30 18:56:48 UTC
Closing bugs fixed in 1.3.36.
Comment 12 Esme Povirk 2012-10-02 20:49:04 UTC
*** Bug 26672 has been marked as a duplicate of this bug. ***


Privacy Policy
If you have a privacy inquiry regarding this site, please write to privacy@winehq.org

Hosted By CodeWeavers