Missing org.freedesktop.UDisks signals (DBus 2.7 and Java)

Matthew Johnson dbus at matthew.ath.cx
Sat Sep 7 03:04:32 PDT 2013


On Fri Sep 06 09:36, mazzzta mazzzta wrote:
> When I manually add a usb device, I got this line:
> Device added!
> but when I remove manually the usb, and I mean not safely-removing it, just
> plugging it out, I got nothing.
> I also checked the bus signals with dbus-monitor along and see the
> DeviceRemoved signal is sent by org.freedesktop.UDisks, so I think there's
> a problem on the java side that I do not see. Why I do not get the line
> "Device removed!"? Is there something wrong in the code?

Hmm, that all looks fine, since it looks identical on both sides, so I see no
reason why one would work and the other not. If you plug it in again, does it
give you another "Device added!" or is it now wedged in some fashion?

Next thing to try I guess is compiling a debug version of libdbus-java[0].

Matt

0. http://dbus.freedesktop.org/doc/dbus-java/dbus-java/dbus-javase11.html#x35-3700011
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20130907/c2e1c685/attachment.pgp>


More information about the dbus mailing list