Main Page | Report this Page
Linux Forum Index  »  Linux - Gentoo Forum  »  xorg-server 1.5 lost keyboard and mouse...
Page 1 of 1    

xorg-server 1.5 lost keyboard and mouse...

Author Message
AZ Nomad...
Posted: Tue Apr 07, 2009 11:44 am
Guest
I allowed portage to upgrade my system to xorg-server 1.5 and now I
have lost all input.

I did some googling, but things are still not working right.
xorg's log file says it is now using evdev for input. It seems to be
ignoring my old serverlayout.


Two things broken with evdev:
1) hal didn't find keyboard or mouse
/etc/hal/fdi/policy is empty
I copied /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
to /etc/hal/fdi/policty

2) xorg can't find evdev driver. WTF do I have an xorg server
that insists on using evdev yet doesn't include it? I couldn't find a
use flag to control wether evdev is built.
from the tail of /var/log/X*0.log:
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(II) LoadModule: "evdev"

(WW) Warning, couldn't open module evdev
(II) UnloadModule: "evdev"
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching evdev'
(EE) config/hal: NewInputDeviceRequest failed
 
Nikos Chantziaras...
Posted: Tue Apr 07, 2009 12:04 pm
Guest
AZ Nomad wrote:
Quote:
I allowed portage to upgrade my system to xorg-server 1.5 and now I
have lost all input.

I did some googling, but things are still not working right.
xorg's log file says it is now using evdev for input. It seems to be
ignoring my old serverlayout.


Two things broken with evdev:
1) hal didn't find keyboard or mouse
/etc/hal/fdi/policy is empty
I copied /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
to /etc/hal/fdi/policty

2) xorg can't find evdev driver. WTF do I have an xorg server
that insists on using evdev yet doesn't include it? I couldn't find a
use flag to control wether evdev is built.
from the tail of /var/log/X*0.log:
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(II) LoadModule: "evdev"

(WW) Warning, couldn't open module evdev
(II) UnloadModule: "evdev"
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching evdev'
(EE) config/hal: NewInputDeviceRequest failed


Evdev needs two things: 1) kernel support (Input device support ---> <*>
Event interface) and 2) the x11-drivers/xf86-input-evdev package installed.

Also, using HAL for this is purely optional. I'm not using it and
continue to manually specify mouse and keyboard settings in xorg.conf.
My setup is the following (you might want to adjust or ignore some of
the settings; the crucial part here is the "AutoAddDevices" "false"
option which disables HAL for keyboard and mouse):

Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "250 30"
Option "XkbRules" "xorg"
Option "XkbModel" "microsoftinet"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "evdev"
Option "Protocol" "auto"
Option "Device" "/dev/input/event4"
Option "AccelerationProfile" "2"
Option "AdaptiveDeceleration" "2"
Option "FilterHalflife" "5"
Option "VelocityCoupling" "0.15"
Option "FilterChainLength" "8"
EndSection

Section "ServerLayout"
# ...
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
 
Arthur Hagen...
Posted: Tue Apr 07, 2009 12:34 pm
Guest
AZ Nomad <aznomad.3 at (no spam) PremoveOBthisOX.COM> wrote:
Quote:

2) xorg can't find evdev driver. WTF do I have an xorg server
that insists on using evdev yet doesn't include it?

1: It doesn't insist on it, it only insists on it if you pass "hal" as a
USE flag when building xorg-server.
2: It's a kernel module, so it can't include it.

Anyhow, this is explained in the notes that "emerge --sync" tells you to
read before upgrading Xorg to 1.5, on the pain of otherwise your system stop
working, you house burning down, your kitten being eaten, and your sister
dating P. Diddy.

If you missed it, try "eselect news read all". It will lead you to the
upgrade guide.

Regards,
--
*Art
 
AZ Nomad...
Posted: Tue Apr 07, 2009 12:45 pm
Guest
On Tue, 7 Apr 2009 13:34:06 -0400, Arthur Hagen <art at (no spam) broomstick.com> wrote:
Quote:
AZ Nomad <aznomad.3 at (no spam) PremoveOBthisOX.COM> wrote:

2) xorg can't find evdev driver. WTF do I have an xorg server
that insists on using evdev yet doesn't include it?

1: It doesn't insist on it, it only insists on it if you pass "hal" as a
USE flag when building xorg-server.
2: It's a kernel module, so it can't include it.

Anyhow, this is explained in the notes that "emerge --sync" tells you to
read before upgrading Xorg to 1.5, on the pain of otherwise your system stop
working, you house burning down, your kitten being eaten, and your sister
dating P. Diddy.

If you missed it, try "eselect news read all". It will lead you to the
upgrade guide.

Regards,

I read the news and followed the link. It didn't help. It said
nothing about hal devices missing.

BTW: I have the kernel module already. xorg doesn't load kernel
modules and it's own evdev module is missing.
 
blaszki...
Posted: Tue Apr 07, 2009 3:32 pm
Guest
AZ Nomad pisze:
Quote:
I allowed portage to upgrade my system to xorg-server 1.5 and now I
have lost all input.

I did some googling, but things are still not working right.
xorg's log file says it is now using evdev for input. It seems to be
ignoring my old serverlayout.


Two things broken with evdev:
1) hal didn't find keyboard or mouse
/etc/hal/fdi/policy is empty
I copied /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
to /etc/hal/fdi/policty

2) xorg can't find evdev driver. WTF do I have an xorg server
that insists on using evdev yet doesn't include it? I couldn't find a
use flag to control wether evdev is built.
from the tail of /var/log/X*0.log:
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(II) LoadModule: "evdev"

(WW) Warning, couldn't open module evdev
(II) UnloadModule: "evdev"
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching evdev'
(EE) config/hal: NewInputDeviceRequest failed

xorg.conf:


Section "ServerFlags"
Option "AllowEmptyInput" "False"
Endsection
 
AZ Nomad...
Posted: Tue Apr 07, 2009 7:48 pm
Guest
On Tue, 07 Apr 2009 20:04:17 +0300, Nikos Chantziaras <realnc at (no spam) arcor.de> wrote:

Quote:
Evdev needs two things: 1) kernel support (Input device support ---> <*
Event interface) and 2) the x11-drivers/xf86-input-evdev package installed.

emerging xf86-input-evdev did the trick. thanks.
 
Gene Poole...
Posted: Wed Apr 08, 2009 9:43 am
Guest
Nikos Chantziaras wrote:
Quote:
AZ Nomad wrote:
I allowed portage to upgrade my system to xorg-server 1.5 and now I
have lost all input.

I did some googling, but things are still not working right.
xorg's log file says it is now using evdev for input. It seems to be
ignoring my old serverlayout.


Two things broken with evdev:
1) hal didn't find keyboard or mouse
/etc/hal/fdi/policy is empty
I copied /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
to /etc/hal/fdi/policty

2) xorg can't find evdev driver. WTF do I have an xorg server
that insists on using evdev yet doesn't include it? I couldn't find a
use flag to control wether evdev is built.
from the tail of /var/log/X*0.log:
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(II) LoadModule: "evdev"
(WW) Warning, couldn't open module evdev
(II) UnloadModule: "evdev"
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching evdev'
(EE) config/hal: NewInputDeviceRequest failed


Evdev needs two things: 1) kernel support (Input device support ---> <*
Event interface) and 2) the x11-drivers/xf86-input-evdev package installed.

Also, using HAL for this is purely optional. I'm not using it and
continue to manually specify mouse and keyboard settings in xorg.conf.
My setup is the following (you might want to adjust or ignore some of
the settings; the crucial part here is the "AutoAddDevices" "false"
option which disables HAL for keyboard and mouse):

Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "250 30"
Option "XkbRules" "xorg"
Option "XkbModel" "microsoftinet"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "evdev"
Option "Protocol" "auto"
Option "Device" "/dev/input/event4"
Option "AccelerationProfile" "2"
Option "AdaptiveDeceleration" "2"
Option "FilterHalflife" "5"
Option "VelocityCoupling" "0.15"
Option "FilterChainLength" "8"
EndSection

Section "ServerLayout"
# ...
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Thanks for the input. That worked for me too (using event3 though).

I don't get the nVidia logo anymore. I did re-emerge nvidia-drivers,
but still no logo. How can I be sure I'm still using the nVidis driver?
 
AZ Nomad...
Posted: Wed Apr 08, 2009 11:02 am
Guest
On Wed, 08 Apr 2009 09:43:48 -0500, Gene Poole <gene.poole at (no spam) remove.hoxnet.com> wrote:

Quote:
Thanks for the input. That worked for me too (using event3 though).

I don't get the nVidia logo anymore. I did re-emerge nvidia-drivers,
but still no logo. How can I be sure I'm still using the nVidis driver?

$ grep -i module /var/log/X*0.log | grep -i nvidia
(II) Module glx: vendor="NVIDIA Corporation"
(II) NVIDIA GLX Module 177.82 Tue Nov 4 17:15:47 PST 2008
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"

[this is on a gentoo desktop system actually; my ubuntu laptop
doesn't have nvidia video. should be the same]
 
Gene Poole...
Posted: Thu Apr 09, 2009 11:10 pm
Guest
AZ Nomad wrote:
Quote:
On Wed, 08 Apr 2009 09:43:48 -0500, Gene Poole <gene.poole at (no spam) remove.hoxnet.com> wrote:

Thanks for the input. That worked for me too (using event3 though).

I don't get the nVidia logo anymore. I did re-emerge nvidia-drivers,
but still no logo. How can I be sure I'm still using the nVidis driver?

$ grep -i module /var/log/X*0.log | grep -i nvidia
(II) Module glx: vendor="NVIDIA Corporation"
(II) NVIDIA GLX Module 177.82 Tue Nov 4 17:15:47 PST 2008
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"

[this is on a gentoo desktop system actually; my ubuntu laptop
doesn't have nvidia video. should be the same]

OK, So it looks like nVidia is alive and well. So why did the logo
disappear? Can I get it back (I kinda like it)?
 
AZ Nomad...
Posted: Fri Apr 10, 2009 12:48 am
Guest
On Thu, 09 Apr 2009 23:10:31 -0500, Gene Poole <gene.poole at (no spam) remove.hoxnet.com> wrote:
Quote:
AZ Nomad wrote:
On Wed, 08 Apr 2009 09:43:48 -0500, Gene Poole <gene.poole at (no spam) remove.hoxnet.com> wrote:

Thanks for the input. That worked for me too (using event3 though).

I don't get the nVidia logo anymore. I did re-emerge nvidia-drivers,
but still no logo. How can I be sure I'm still using the nVidis driver?

$ grep -i module /var/log/X*0.log | grep -i nvidia
(II) Module glx: vendor="NVIDIA Corporation"
(II) NVIDIA GLX Module 177.82 Tue Nov 4 17:15:47 PST 2008
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"

[this is on a gentoo desktop system actually; my ubuntu laptop
doesn't have nvidia video. should be the same]

OK, So it looks like nVidia is alive and well. So why did the logo
disappear? Can I get it back (I kinda like it)?

file:///usr/share/doc/nvidia-drivers-177.82/html/appendix-b.html

The following driver options are supported by the NVIDIA X driver. They may be specified either in the Screen or Device sections of the X config file.

X Config Options
....

Option "NoLogo" "boolean"
Disable drawing of the NVIDIA logo splash screen at X startup. Default: the logo is drawn for screens with depth 24.
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Thu Dec 03, 2009 2:21 am