[PATCH] Add hal/dbus fallback when not able to talk to hal/dbus daemons.

Paulo César Pereira de Andrade pcpa at mandriva.com.br
Tue Jan 20 14:21:45 PST 2009


  This is a possible solution for the problem reported in the
"xorg server should wait HAL if it's not avail during init"
thread.

  In my tests, it worked when running this:

% sudo service haldaemon stop; startx -- -verbose 3

  After waiting all the timeouts, it loaded kbd and mouse
drivers, and I had a usable desktop (I don't use gnome/kde).

  And also worked when running:

% startx -- -verbose 3 & sleep 5; sudo service haldaemon start

  After a few "timeouts" it managed to connect to hal and
"just worked" as expected.

  Maybe the timeouts should be configurable, etc. But consider
this, a "beta" patch :-)

  (The attached patch doesn't include the "trivial" changes
required to compile today's git master).

Thanks,
Paulo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-hal-dbus-fallback-when-not-able-to-talk-to-hal-d.patch
Type: text/x-patch
Size: 4808 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090120/fa44d934/attachment.bin>


More information about the xorg mailing list