Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] xorg-server-1.7.6 no mouse no keyboard

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
Joseph_sys
Advocate
Advocate
Posts: 2731
Joined: Tue Jun 08, 2004 4:05 pm
Location: Edmonton, AB

[SOLVED] xorg-server-1.7.6 no mouse no keyboard

  • Quote

Post by Joseph_sys » Sat Apr 10, 2010 4:23 am

I just upgraded to xorg-server-1.7.6 (on x86) and the only file that was touched was:
xorg.conf.example, so I did not pay attention to it. Now after reboot, keyboard and mouse are not responding.
Where is the upgrade guide, no information was enclosed after emerge nor there is anything in "eselect news"

How to fix it?
Last edited by Joseph_sys on Sat Apr 10, 2010 5:57 am, edited 1 time in total.
Top
champ
Tux's lil' helper
Tux's lil' helper
Posts: 97
Joined: Wed Oct 25, 2006 6:52 am
Location: Thailand
Contact:
Contact champ
Website

  • Quote

Post by champ » Sat Apr 10, 2010 4:40 am

What video driver do you have? Many people have been having problems with xorg-sever-1.7.6, including myself. It seems to be especially a problem for NVIDIA drivers. Search the forums for some more details.
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin

blog: johnsearth.blogspot.com
Top
Joseph_sys
Advocate
Advocate
Posts: 2731
Joined: Tue Jun 08, 2004 4:05 pm
Location: Edmonton, AB

  • Quote

Post by Joseph_sys » Sat Apr 10, 2010 4:57 am

Originally I was using xorg.conf without "hall", in xorg.conf I had:

Code: Select all

Section "ServerFlags"

# If you don't want to use HAL, you can either build xorg-server with
# USE="-hal" or you can turn AutoAddDevices option off in the ServerFlags
# section of your xorg.conf.

 Option      "AutoAddDevices"    "false"
but after reboot kyboard and mouse stop responding.
In xorg.conf I have:
Driver "nv"

I disable option:
# Option "AutoAddDevices" "false"
so "hal" takes effect but without any effect.
I'm just looking up in Gentoo docs how to enable 'hal'
I removed "xorg.conf" and copy as per instructions:
For example, to get a basic working keyboard/mouse combination, you could copy the following files to /etc/hal/fdi/policy/:

Code Listing 3.1: Using HAL policy files

# cp /usr/share/hal/fdi/policy/10osvendor/10-input-policy.fdi /etc/hal/fdi/policy
# cp /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi /etc/hal/fdi/policy
but still nothing keyboard and mouse are not responding.

What a screw-up!
Top
champ
Tux's lil' helper
Tux's lil' helper
Posts: 97
Joined: Wed Oct 25, 2006 6:52 am
Location: Thailand
Contact:
Contact champ
Website

  • Quote

Post by champ » Sat Apr 10, 2010 5:16 am

Joseph,

If you want to use hal then you should be using the evdev driver for input devices. You need to enable evdev support in the kernel and then

Code: Select all

emerge xf86-input-evdev
Then add

Code: Select all

Option "AllowEmtpyInput" "on"
in the ServerFlags section of xorg.conf
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin

blog: johnsearth.blogspot.com
Top
Joseph_sys
Advocate
Advocate
Posts: 2731
Joined: Tue Jun 08, 2004 4:05 pm
Location: Edmonton, AB

  • Quote

Post by Joseph_sys » Sat Apr 10, 2010 5:27 am

I see, in kernel:

Code: Select all

Device Drivers --->
  Input device support --->
  <*>  Event interface
make.conf: (for keyboard and mouse)
INPUT_DEVICES="evdev"
VIDEO_CARDS="nv vesa fbdev"

and in xorg.conf (only):
Option "AllowEmtpyInput" "on"

and yes, I'll emerge:
emerge xf86-input-evdev

Did I miss anything?
Top
salahx
Guru
Guru
Posts: 574
Joined: Sat Mar 12, 2005 6:39 am

  • Quote

Post by salahx » Sat Apr 10, 2010 5:42 am

Same problem here. Turns it its not a HAL or driver issue, but an X ABI issue. You need to rebuild all your xorg drivers:

Code: Select all

qlist  -I -C | grep ^x11-drivers/ | xargs emerge -1
Last edited by salahx on Sat Apr 10, 2010 5:53 am, edited 1 time in total.
Top
champ
Tux's lil' helper
Tux's lil' helper
Posts: 97
Joined: Wed Oct 25, 2006 6:52 am
Location: Thailand
Contact:
Contact champ
Website

  • Quote

Post by champ » Sat Apr 10, 2010 5:44 am

The actual kernel config option for evdev is

Code: Select all

Device Drivers --->
  Input device support --->
  <*>  Generic Input Driver (needed for ...)
You can make sure by doing

Code: Select all

grep EVDEV /usr/src/linux/.config
which should give

Code: Select all

CONFIG_INPUT_EVDEV=y
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin

blog: johnsearth.blogspot.com
Top
Joseph_sys
Advocate
Advocate
Posts: 2731
Joined: Tue Jun 08, 2004 4:05 pm
Location: Edmonton, AB

  • Quote

Post by Joseph_sys » Sat Apr 10, 2010 5:45 am

I did all the above, but I'm back to command line no "X", startx doesn't work.
How does xorg.conf should looks like with "hal" do I need "xorg.conf" at all?
Top
Joseph_sys
Advocate
Advocate
Posts: 2731
Joined: Tue Jun 08, 2004 4:05 pm
Location: Edmonton, AB

  • Quote

Post by Joseph_sys » Sat Apr 10, 2010 5:57 am

Yes, I have in kernel:
CONFIG_INPUT_EVDEV=y

did:
emerge $(qlist -I -C x11-drivers)

I deleted "xorg.conf"
I think "hal" doesn't need one.

So, now everything (keyboard, mouse) are working, this time with "HAL"
Thanks to all.
Top
uraes
Tux's lil' helper
Tux's lil' helper
Posts: 135
Joined: Thu Nov 28, 2002 4:20 pm
Location: Estonia

  • Quote

Post by uraes » Sat Apr 10, 2010 12:41 pm

next time look at xorg log file. I had same problem and in log was line:

Code: Select all

(II) Module evdev: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 2.3.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 4.0
(EE) module ABI major version (4) doesn't match the server's version (7)
and for fix I just re-emerged x11-drivers/xf86-input-evdev and restarted X
Top
qfly
n00b
n00b
Posts: 7
Joined: Sat Feb 13, 2010 6:03 pm

  • Quote

Post by qfly » Sat Apr 10, 2010 1:29 pm

uraes wrote:next time look at xorg log file. I had same problem and in log was line:

Code: Select all

(II) Module evdev: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 2.3.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 4.0
(EE) module ABI major version (4) doesn't match the server's version (7)
and for fix I just re-emerged x11-drivers/xf86-input-evdev and restarted X
I fix this problem with re-emerged x11-drivers/xf86-input-evdev too.
Top
Caligatio
n00b
n00b
Posts: 48
Joined: Sat Feb 13, 2010 4:54 pm

  • Quote

Post by Caligatio » Sat Apr 10, 2010 1:30 pm

salahx wrote:Same problem here. Turns it its not a HAL or driver issue, but an X ABI issue. You need to rebuild all your xorg drivers:

Code: Select all

qlist  -I -C | grep ^x11-drivers/ | xargs emerge -1
This worked like a charm for me, my I emerged the x11-drivers/xf86-input-evdev on my own but missed the synaptics touchpad driver
Top
r3tep
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 108
Joined: Sat Sep 10, 2005 2:28 pm
Contact:
Contact r3tep
Website

  • Quote

Post by r3tep » Sat Apr 10, 2010 2:09 pm

I had the same problem here and was able to fix it by myself.

As my X was up, I found this in my mails (PORTAGE_ELOG_CLASSES in my make.conf was configured but I've not read it :lol: ):

Code: Select all

WARN: postinst
You must rebuild all drivers if upgrading from xorg-server 1.6
or earlier, because the ABI changed. If you cannot start X because
of module version mismatch errors, this is your problem.
You can generate a list of all installed packages in the x11-drivers
category using this command:
emerge portage-utils; qlist -I -C x11-drivers/
Top
amightywind
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 137
Joined: Tue Jun 01, 2004 2:47 pm
Location: Andover, MN USA

  • Quote

Post by amightywind » Sun Apr 11, 2010 3:11 am

@uraes Thanks for the solution, and don't be such a snot.
amightywind
Top
lemans24
n00b
n00b
Posts: 1
Joined: Thu Feb 18, 2010 11:50 am

same problem

  • Quote

Post by lemans24 » Mon May 24, 2010 2:34 pm

I got the same problem, (nvidia video card not so friendly in linux environment), after upgrading the system with emerge --deep world, can' t recognize mouse keyboard and touchpad. I googled for days before finding this post.

I fixed, as you suggested, reinstalling evdev drivers:

Code: Select all

emerge -av xf86-input-evdev.
Now all seem to be good, I wonder if it's better reinstalling all the drivers packages in the output of

Code: Select all

qlist -I -C x11-xdrivers
or safely leave all in such way.
For sure below these conditions (nvidia drivers) I am not so looking forward to upgrade my system again.

Gentoo is great, many thanks for your job.
Top
Post Reply

15 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic