<div dir="ltr"><div><div><div><div><div>Hi Matt, <br><br></div>"If you plug it in again, does it
give you another "Device added!" or is it now wedged in some fashion?"<br></div>No, if I plugged it again I still got a "Device added!" message. It is DeviceRemoved the one I never got.<br><br></div>
>From your new code the change of DBusInterface to Path seems to work for me now. However I'm still not able to make it work using DBusInterface. Luckily I only need to detect when a signal is sent and nothing else, so your code is enough for my purpose, however I believe that If I'd need the data provided by DBusInterface I would have been stuck again.<br>
<br></div>I do not really see why the DeviceRemoved is not properly caught by DBusInterface. I wouldn't say it's a D-Bus bug that fast though since the signal is sent. Could it be something related to the OS (Ubuntu 12)? Other process interferences? a local missconfiguration of the config files? (I haven't tweak them, as they remain to the defaults)... I'm quite lost here.<br>
<br></div>Anyways, thanks very much.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 7, 2013 at 12:30 PM, Matthew Johnson <span dir="ltr"><<a href="mailto:dbus@matthew.ath.cx" target="_blank">dbus@matthew.ath.cx</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi mzt,<br>
<br>
I've just run this (attached) little test and it seems to work fine. I'm using dbus-send to generate the signals and so I had to change DBusInterface to Path in the signals. Path just gives you the string representation, whereas DBusInterface does some magic introspection on the bus to give you a dynamic object. I don't think you need that, however, so try making the same change and see if that helps.<br>

<br>
Matt<br>
<br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iQIcBAEBCgAGBQJSKwBfAAoJEKVC9ua3o6NmMswQAMDxKsBZIAtLuFLX9bVlqcY4<br>
P11fa68ccHUnLn0IcToGX46dM6s6poAN735ukaIGmhe7Crrfsws/AJXAHAxR6AJj<br>
nxEPjxrRpu5kU98zhfFmwCrxzN5fgGday2OLkdmw0FWWFhJkvK+6J1EjXsAwb9fq<br>
6es2JoJuaBhp3oktbNACcr3iTTeVl/ORs3cB4Rzu8YeVBglPZn5OKifPatYgoBU1<br>
7Ra1vM1Dz5mfkaKI0lQP6Iy3OM7gddj8D+xknedet8Ax8iK1aAXsSeb+Pf21gTsE<br>
6V4Ru145ng9zGJ2e8RQUMfz/qans/kL4YHMyL3K28r/zVDQzb1kpB/ohV05zC8ZA<br>
rZK00Uu8WiimRbKgZAwgyoMXUAEZYswkPHFOQLSKHMDnK/AI8ntdPMJe7YFQfcqA<br>
Klnc2v/EGvkUfZHMkO/jZ/Xb2MkqRHcuSq5Gor7kNGMCFx3WcBDGb05Qy6oxuP9D<br>
u6m3/FiaQHMnUMqfn/TpYP9aoDo1GDZXGSAmeEn5HOCD6Xyii3KNk8Ka1uVwSG0+<br>
olv+/Hn/IUVcmEA/kFMC8hFRP1xqkRNgmad1iHZMSFfibvtGbf5VjVxj3gAeQRaX<br>
8L7JBb+MAU3522jONjCS/T7Tm9tBxEr+0leSDjKJgqTgEywbPoy/2GGvJpzYIPMZ<br>
zpLexXjHHAiaX9hO0e0I<br>
=xnel<br>
-----END PGP SIGNATURE-----<br>
<br></blockquote></div><br></div>