[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xorg7.4 doesn't work



Hi,

On Wed, Jun 10, 2009 at 04:10:31PM +0200, Aurelien Jarno wrote:
> > | # dpkg-reconfigure -plow hal
> > | Stopping Hardware abstraction layer: hald.
> > | Reloading system message bus config...done.
> > | Can't start Hardware abstraction layer - enable inotify support in your kernel failed!
> > 
> > Haha. And no, I wouldn't call that "working on GNU/kFreeBSD".
> 
> It's a mistake, the init script hasn't been correctly patched to remove
> this check. Could you please try to remove it manually from
> /etc/init.d/hal? You may have other lines to remove too.

You're right! I didn't expect this error message to come from the
init.d script.

I commented out the following checks:

  * -d /proc/sys/fs/inotify
  * -d /sys/kernel (doesn't exist either)

Then hal starts.

Unfortunately it doesn't change anything with regards to X.

I moved away my xorg.conf, restarted dbus and then gdm, but neither
mouse nor keyboard are working.

The following appears again in the logfile:

| (II) Cannot locate a core pointer device.
| (II) Cannot locate a core keyboard device.
| (II) The server relies on HAL to provide the list of input devices.
|         If no devices become available, reconfigure HAL or disable
|	  AllowEmptyInput.

Keyboard is back as before if I create an xorg.conf just consisting
of:

| Section "ServerFlags"
|         Option "AllowEmptyInput" "no"
| EndSection

Also the xorg.conf which was working with 7.3 plus these lines didn't
get the mouse working. I also changed the device from /dev/sysmouse to
/dev/ums0, but this didn't help either.

Plugging it out an in while X was running didn't help either. dmesg
says:

| ums0: at uhub1 port 2 (addr 2) disconnected
| ums0: detached
| ums0: <Logitech USB Trackball, class 0/0, rev 1.10/14.00, addr 2> on
| uhub1
| ums0: 5 buttons.

/var/log/syslog only knows:

| Jun 10 16:19:19 metisse kernel: ums0: <Logitech USB Trackball, class 0/0, rev 1.10/14.00, addr 2> on uhub1

>From Xorg.0.log when using my 7.3 xorg.conf plus AllowEmptyInput:

| # egrep -i 'input|mouse|usb|usm|hal' /var/log/Xorg.0.log 
| (**) |-->Input Device "Generic Keyboard"
| (**) |-->Input Device "Configured Mouse"
| (**) Option "AllowEmptyInput" "no"
|         X.Org XInput driver : 4.0
| (II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
|         Module class: X.Org XInput Driver
|         ABI class: X.Org XInput driver, version 4.0
| (II) LoadModule: "mouse"
| (II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
| (II) Module mouse: vendor="X.Org Foundation"
|         Module class: X.Org XInput Driver
|         ABI class: X.Org XInput driver, version 4.0
| (II) intel(0): SDVOB: 1 input channel
| (II) intel(0): Digital Display Input
| (==) intel(0): Silken mouse enabled
| (II) Initializing built-in extension XInputExtension
| (II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
| (**) Configured Mouse: Device: "/dev/sysmouse"
| (==) Configured Mouse: Protocol: "Auto"
| (**) Configured Mouse: always reports core events
| (**) Option "Device" "/dev/sysmouse"
| (==) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
| (**) Configured Mouse: ZAxisMapping: buttons 4 and 5
| (**) Configured Mouse: Buttons: 9
| (**) Configured Mouse: Sensitivity: 1
| (II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
| (**) Configured Mouse: (accel) keeping acceleration scheme 1
| (**) Configured Mouse: (accel) filter chain progression: 2.00
| (**) Configured Mouse: (accel) filter stage 0: 20.00 ms
| (**) Configured Mouse: (accel) set acceleration profile 0
| (II) Configured Mouse: SetupAuto: hw.iftype is 4, hw.model is 0
| (II) Configured Mouse: SetupAuto: protocol is SysMouse

These log entries look fine to me. It seem to have found the mouse.
But the cursor just doesn't move.

If I use the minimal xorg.conf with only AllowEmptyInput or none, I
only get the following in Xorg.0.log:

| # egrep -i 'input|mouse|usb|usm|hal' /var/log/Xorg.0.log
|  X.Org XInput driver : 4.0
| (II) The server relies on HAL to provide the list of input devices.
|         If no devices become available, reconfigure HAL or disable
| 	AllowEmptyInput.
| (II) intel(0): SDVOB: 1 input channel
| (II) intel(0): Digital Display Input
| (==) intel(0): Silken mouse enabled
| (II) Initializing built-in extension XInputExtension

Any further ideas what else could have gone wrong? Any ideas in which
logfiles to look into except dmesg, /var/log/Xorg.0.log, and
/var/log/syslog?

		Regards, Axel
-- 
Axel Beckert - abe@deuxchevaux.org, abe@noone.org - http://noone.org/abe/


Reply to: