Debugging dbus

Dave Wood dave at unrealize.co.uk
Tue Jan 13 19:55:33 PST 2009


On (23:34 13/01/09), Ozan Çağlayan <ozan at pardus.org.tr> put forth the proposition:
>Dave Wood wrote:
>> I'm trying to find out why I no longer have device icons pop up in kde and xfce.
>>
>> I've so far verified that the kernel is recognising the device through dmesg, 
>> and that udev is creating a device in /dev for it. Next thing seems to be to
>> debug dbus and hal and that's where I'm stuck at the moment.
>>   
>Trying to debug hal would make much more sense. First of all you can 
>analyze the output of lshal command to see if hal has the related device 
>entries in its global device list. If you see a problem there, try 
>running the hal daemon manually without daemonising it and enabling and 
>plug a device. Observe the whole output to catch some problems. I'm 
>doing this with the following commands:
>
>killall hald
>/usr/sbin/hald --verbose=yes --daemon=no 2&> hald.log

That's strange - hald runs for a few seconds and then exits. This is the
end of the log:

03:50:39.968 [I] hald_dbus.c:5834: entering
03:50:39.968 [E] hald_dbus.c:5845: dbus_bus_request_name(): Connection ":1.15" is not allowed to own the service "org.
freedesktop.Hal" due to security policies in the configuration file
03:50:39.969 [D] addon-cpufreq.c:1311: exit

And near the top:

03:50:39.126 [W] osspec.c:373: Unable to open /proc/mdstat: No such file or directory
** (process:18616): WARNING **: Failed to add monitor on '/usr/share/hal/fdi/policy': No such file or directory
** (process:18616): WARNING **: Failed to add monitor on '/etc/hal/fdi/policy': No such file or directory

Don't know if any of this is significant.

>
>If HAL seems to not detect anything at all, it may be related to udev/udev rules. A recent HAL or udev
>update may possibly break the whole stuff.
>
>
>-- 
>
>Ozan Çağlayan
><ozan_at_pardus.org.tr>
>
>_______________________________________________
>dbus mailing list
>dbus at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/dbus

-- 
Slaves are generally expected to sing as well as to work ... I did not,
when a slave, understand the deep meanings of those rude, and
apparently incoherent songs.  I was myself within the circle, so that I
neither saw nor heard as those without might see and hear.  They told a
tale which was then altogether beyond my feeble comprehension:  they
were tones, loud, long and deep, breathing the prayer and complaint of
souls boiling over with the bitterest anguish.  Every tone was a
testimony against slavery, and a prayer to God for deliverance from
chains.
		-- Frederick Douglass



More information about the dbus mailing list