Bug 22368 - No input possible if hald not running
Summary: No input possible if hald not running
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-19 08:19 UTC by Stefan Dirsch
Modified: 2009-06-20 00:19 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Stefan Dirsch 2009-06-19 08:19:17 UTC
When building Xserver with hal/dbus support, if hald is not running, input (keyboard/mouse) is not possible at all. Wouldn't it make sense to fall back to mouse/kbd in that case? I do not use an xorg.conf at all.
Comment 1 Peter Hutterer 2009-06-19 16:19:30 UTC
no. you can start up hald after X has started already. HAL is default configuration, if you need something other than the default you need an xorg.conf.
Comment 2 Stefan Dirsch 2009-06-19 18:14:55 UTC
Sure, hald should be running, if you don't want to use a xorg.conf. But if it's not - for which reasons whatsoever? What's the purpose of starting X at all without any input possibility? It's just confusing IMHO. X could also wait until hald is available. 

What about keeping this as enhancement?
Comment 3 Peter Hutterer 2009-06-19 23:46:30 UTC
you can start X before starting HAL, which - IIRC - shaves about a second or so off boot time.
we actually had a startup dependency on HAL until not too long ago and removed it for this very reason.
Comment 4 Stefan Dirsch 2009-06-20 00:13:07 UTC
This is news to me. Last time I tried this, this was just not possible. Could this be a new feature of upcoming xorg-server 1.7?
Comment 5 Stefan Dirsch 2009-06-20 00:19:19 UTC
You're right. I've been stupid.

# sudo /etc/init.d/haldaemon stop

# X
X.Org X Server 1.6.1
[...]
(EE) config/hal: couldn't initialise context: (null) ((null))

# sudo /etc/init.d/haldaemon start

(II) config/hal: Adding input device Logitech USB Receiver
(II) LoadModule: "evdev"
[...]

So indeed X can be started before hald. Good to know this. :-) Sorry for wasting your time, Peter.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.