[gentoo-user] hal-hell - please help

2009-02-21 Thread Helmut Jarausch
Hi,

I have a strange problem with hal.

To get my usb mouse (Logitech RX1000) running,
I have to 
unplug the mouse before booting
and plug it again after booting but before
starting X11.

This is nuisance and make a graphical login manager
impossible.

To make it even work I had to put
Option AutoAddDevices no

to my xorg.conf file

What am I missing?

Many thanks for your help,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] hal-hell - please help

2009-02-21 Thread Arttu V.
On 2/21/09, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:
 To make it even work I had to put
 Option AutoAddDevices no

 to my xorg.conf file

 What am I missing?

(Sorry if this came through already, gmail's draft saving via IMAP and
a spotty wlan really mix up threads and messages in gmail's view.)

During my short-lived and generally moderately clueless
experimentation with the latest xorg-server, evdev and a hal-enabled
PS/2 keyboard and a hal-enabled Logitech USB mouse, the mouse was not
the problem, but the keyboard layouts were the killer which prompted
me to disable hal altogether (ref: earlier CTRL+C kills
korganizer-thread).

Mouse worked ok with following changes to my earlier xorg.conf and I
had no need for plugging cables in and out, it Just Worked:

Section Module:
Loadevdev

Section ServerFlags:
Option AllowEmptyInput false

Section for the mouse InputDevice needed to change driver to evdev.

Section ServerLayout:
Option AutoAddDevices false
Option AutoEnableDevices true
(But I ended up commenting them out and the mouse still worked ok, so
not sure if you need to toggle the defaults values for these at all.)

Those changes gave me a functional USB mouse pointer with xorg-server
1.5.x, but my keyboard problems went away only after I disabled acpid
and hal, and re-emerged xorg-server with USE=-hal. Wasted nearly
three good weeks' nights and weekends there with kde 4.2.0 upgrade, so
you can understand my above-average grumpiness about hal -- just
disable it unless you really really need it. :(

-- 
Arttu V.



Re: [gentoo-user] hal-hell - please help

2009-02-21 Thread Roy Wright

Arttu V. wrote:

On 2/21/09, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:

To make it even work I had to put
Option AutoAddDevices no

to my xorg.conf file

What am I missing?


During my short-lived and generally moderately clueless
experimentation with the latest xorg-server, evdev and a hal-enabled
PS/2 keyboard and a hal-enabled Logitech USB mouse, the mouse was not
the problem, but the keyboard layouts were the killer which prompted
me to disable hal altogether (ref: earlier CTRL+C kills
korganizer-thread).

Those changes gave me a functional USB mouse pointer with xorg-server
1.5.x, but my keyboard problems went away only after I disabled acpid
and hal, and re-emerged xorg-server with USE=-hal. Wasted nearly
three good weeks' nights and weekends there with kde 4.2.0 upgrade, so
you can understand my above-average grumpiness about hal -- just
disable it unless you really really need it. :(



I've felt the pain (MS natural keyboard) until recently.  For my two 
~x86 systems, here's the procedure that worked to get hal/xorg working.


* set INPUT_DEVICES and VIDEO_CARDS in make.conf
* set hal use flag in make.conf
* emerge -uDNav world
* emerge xorg-x11
* emerge xf86-input-evdev
* create a default xorg.conf (Xorg --configure)
* remove all InputDevice sections in xorg.conf
* remove all references to InputDevice in the ServerLayout section
* configure your video in xorg.conf
* test using X -config path/to/new/xorg.conf

Here's my xorg.conf:  http://gist.github.com/68202

HTH,
Roy