getting signals like "usbdisk plugged in"

Tako Schotanus quintesse at palacio-cristal.com
Wed Jun 15 04:21:36 PDT 2005


True, but it doesn't answer his question. The monitor should in fact 
behave as he says. At least I imagine the monitor can monitor all 
traffic that goes across the bus, if it understands the data or not 
should be irrelevant.

Alexander, I expect that the actual answer has something to do with 
rights: the monitor might not have rights to "see" the Hal messages and 
therefore it doesn't show them. I know too little though to suggest a 
solution, sorry (well, besides reading the part about rights in the docs).

Cheers,
 -Tako

John (J5) Palmieri wrote:

>DBus is only the transport.  HAL is what propagates hardware events over
>the bus.  http://hal.freedesktop.org
>
>
>On Tue, 2005-06-14 at 23:05 +0200, Alexander Bierbrauer wrote:
>  
>
>>Hey there,
>>
>>I'Ve just started learning DBUS and wanted to create a simple python 
>>prog for receiving messages when I plug in my usbdisk.
>>
>>The first thing what I've tested is starting dbus-monitor and plug in my 
>>  usbdisk.... uhhmm.. no messages, but why ??
>>
>>As far as I know gnome-volume-manager uses dbus to receive such signals, 
>>or not ??
>>
>>So it should be possible for me too to receive them....
>>
>>regards, Alex
>>
>>-- 
>>Alexander Bierbrauer
>>
>>eMail: abierbrauer at gmx.org
>>--
>>Administrator of Asia-Addict [www.asia-addict.de]
>>Maintainer of ghost-machinery [www.ghost-machinery.net]
>>--
>>LomoHome: http:/www.lomohomes.com/ghostrifle
>>    
>>



More information about the dbus mailing list