LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   update to current - mouse and keyboard not working (https://www.linuxquestions.org/questions/slackware-14/update-to-current-mouse-and-keyboard-not-working-943408/)

lukkon 05-05-2012 10:33 AM

update to current - mouse and keyboard not working
 
Hi, today I update my two machines (both running Slackware Current) using slackpkg and after restart mouse and keyboard aren't working.
My first machine is a PC using integrated Intel videocard and wireless a4tech mouse and keyboard, here is a x.org log:

http://dl.dropbox.com/u/605085/Xorg.0.log

My second machine is a notebook using nvidia card, touchpad and keyboard not working, here's a log:

http://dl.dropbox.com/u/605085/Xorg2.log

Keyboard works before I start X.org so I type "Xorg - configure" but it didn't works.

Is there any solution to fix this (other then to reinstall packages from x directory of Slackware 13.37)?

TobiSGD 05-05-2012 10:39 AM

Yes, I had the same problem, but it was totally my fault. I forgot to launch the mandatory
Code:

slackpkg install-new
After that it worked.

55020 05-05-2012 10:47 AM

=>
Code:

[    31.013] (EE) Failed to load /usr/lib64/xorg/modules/input/evdev_drv.so: libmtdev.so.1: cannot open shared object file: No such file or directory
You didn't update your installation properly. New package "mtdev" is missing. (From the Change Log: "x/mtdev-1.1.2-x86_64-1.txz: Added. This is a multitouch library needed by the evdev and synaptics drivers.")

When updating your installation, *always* do "slackpkg install-new" before you do "slackpkg upgrade-all".

Edit: TobiSGD is faster and better at answering questions than I'll ever be :)

lukkon 05-05-2012 10:48 AM

Thanks a lot! Now it works. I didn't know option "install-new" in slackpkg, in the future I will remember to use it ;)

markush 05-05-2012 01:39 PM

Quote:

Originally Posted by TobiSGD (Post 4671009)
Yes, I had the same problem, but it was totally my fault. I forgot to launch the mandatory
Code:

slackpkg install-new

:doh: me too, thanks for the hint.

Markus

dr.s 05-05-2012 01:43 PM

Quote:

Originally Posted by TobiSGD (Post 4671009)
Yes, I had the same problem, but it was totally my fault. I forgot to launch the mandatory
Code:

slackpkg install-new
After that it worked.

+1

Thanks for the post.

repo 05-05-2012 01:44 PM

I also use
Code:

slackpkg install patches

Kind regards

TobiSGD 05-05-2012 02:44 PM

Quote:

Originally Posted by repo (Post 4671138)
I also use
Code:

slackpkg install patches

Kind regards

Would you like to explain? On my -current mirror /patches is empty (besides some text-files), so I don't understand that command.

repo 05-05-2012 03:15 PM

It's part of a script I run when I look for updates.
So if there are patches they will be installed also.

Code:

slackpkg update
slackpkg upgrade-all
slackpkg install-new
slackpkg install patches

Kind regards

specialized 05-05-2012 04:52 PM

i do this thing

slackpkg update
slackpkg upgrade-all
slackpkg install-new
slackpkg install patches

but my ati drivers doesnt work anymore ja! i cant install it

anyone?????

thanx guys

wildwizard 05-05-2012 04:55 PM

Quote:

Originally Posted by specialized (Post 4671210)
but my ati drivers doesnt work anymore ja! i cant install it

A binary driver from ATI?

and it doesn't work or it wont install?

EDIT

And I got caught by the mtdev thing, seems it becomes a dependency for every input driver when they get built with it present.

specialized 05-05-2012 05:15 PM

yes, the binary from ati

install, but doesnt works.....the effects of kde are off and if i run

aticonfig --initial --input=/etc/X11/xorg.conf , and startx, fails

only erasing xorg.conf works......but without effects

markush 05-05-2012 05:15 PM

Quote:

Originally Posted by specialized (Post 4671210)
...
but my ati drivers doesnt work anymore ja! i cant install it

Code:

slackpg clean-system
uninstalls radeon_hd and some other packages, maybe you have a conflict there.

Markus

specialized 05-05-2012 05:16 PM

i did it......but thats not the solution

markush 05-05-2012 05:18 PM

Which graphics-adapter do you have?

Markus

specialized 05-05-2012 05:19 PM

02:00.0 VGA compatible controller: ATI Technologies Inc Redwood [Radeon HD 5670]
02:00.1 Audio device: ATI Technologies Inc Redwood HDMI Audio [Radeon HD 5600 Series]

and the 12.4 drivers

markush 05-05-2012 05:25 PM

I have also an ATI 5000 series adapter. But I use the radeon-driver, not fglrx from ATI. And I don't use KDE but dwm, so I've no problems here.

You should reinstall the fglrx driver before you execute the "aticonfig --initial" command.

Markus

GazL 05-05-2012 05:30 PM

Just updated to latest current and found my mouse and keyboard unresponsive in X11..

Looks like anyone who is still using old style kbd or mouse drivers rather than evdev is going to hit this.
Code:

780.374] (II) LoadModule: "kbd"
[  780.374] (II) Loading /usr/lib64/xorg/modules/input/kbd_drv.so
[  780.374] (II) Module kbd: vendor="X.Org Foundation"
[  780.374]    compiled for 1.9.5, module version = 1.6.0
[  780.374]    Module class: X.Org XInput Driver
[  780.374]    ABI class: X.Org XInput driver, version 11.0
[  780.374] (EE) module ABI major version (11) doesn't match the server's version (16)
[  780.375] (II) UnloadModule: "kbd"
[  780.375] (II) Unloading kbd
[  780.375] (EE) Failed to load module "kbd" (module requirement mismatch, 0)
[  780.375] (II) LoadModule: "mouse"
[  780.375] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[  780.375] (II) Module mouse: vendor="X.Org Foundation"
[  780.375]    compiled for 1.9.5, module version = 1.7.0
[  780.375]    Module class: X.Org XInput Driver
[  780.375]    ABI class: X.Org XInput driver, version 11.0
[  780.375] (EE) module ABI major version (11) doesn't match the server's version (16)
[  780.375] (II) UnloadModule: "mouse"
[  780.375] (II) Unloading mouse
[  780.375] (EE) Failed to load module "mouse" (module requirement mismatch, 0)

Robby, Do input-keyboard and input-mouse need rebuilding/version bumping or are you planning to remove them in favour of evdev?

I originally stuck with the keyboard and mouse drivers because evdev was a little flakey for me when I originally tried it. It's probably improved a little by now though so I'll give it another try.

specialized 05-05-2012 05:37 PM

markush

"You should reinstall the fglrx driver before you execute the "aticonfig --initial" command"

i know but nothing happens, i will try radeon-drivers

markush 05-05-2012 05:41 PM

If you experience that the KDE-eyecandy doesn't work properly with the radeon-driver, try to change Xrender to opengl, I once had success therewith.

Markus

TobiSGD 05-05-2012 05:47 PM

Same issue with AMD driver here, installs fine, but segfaults when trying to startx (HD6870). Not really a problem for me, gaming is done under Windows and my wmii runs fine with the radeon driver. May be another incompatibility of AMD's driver with current software.

specialized 05-05-2012 05:48 PM

works with xrender and not with opengl ja!!

wildwizard 05-05-2012 05:54 PM

Quote:

Originally Posted by specialized (Post 4671238)
works with xrender and not with opengl ja!!

You did the mesa upgrade and the freeglut new package?

Or does the ATI do the same as nvivida and bring it's own OpenGL library?

specialized 05-05-2012 06:24 PM

You did the mesa upgrade and the freeglut new package?

yes

Or does the ATI do the same as nvivida and bring it's own OpenGL library?

i gueeesss so

willysr 05-05-2012 06:29 PM

Quote:

Originally Posted by GazL (Post 4671230)
Just updated to latest current and found my mouse and keyboard unresponsive in X11..

Looks like anyone who is still using old style kbd or mouse drivers rather than evdev is going to hit this.
Code:

780.374] (II) LoadModule: "kbd"
[  780.374] (II) Loading /usr/lib64/xorg/modules/input/kbd_drv.so
[  780.374] (II) Module kbd: vendor="X.Org Foundation"
[  780.374]    compiled for 1.9.5, module version = 1.6.0
[  780.374]    Module class: X.Org XInput Driver
[  780.374]    ABI class: X.Org XInput driver, version 11.0
[  780.374] (EE) module ABI major version (11) doesn't match the server's version (16)
[  780.375] (II) UnloadModule: "kbd"
[  780.375] (II) Unloading kbd
[  780.375] (EE) Failed to load module "kbd" (module requirement mismatch, 0)
[  780.375] (II) LoadModule: "mouse"
[  780.375] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[  780.375] (II) Module mouse: vendor="X.Org Foundation"
[  780.375]    compiled for 1.9.5, module version = 1.7.0
[  780.375]    Module class: X.Org XInput Driver
[  780.375]    ABI class: X.Org XInput driver, version 11.0
[  780.375] (EE) module ABI major version (11) doesn't match the server's version (16)
[  780.375] (II) UnloadModule: "mouse"
[  780.375] (II) Unloading mouse
[  780.375] (EE) Failed to load module "mouse" (module requirement mismatch, 0)

Robby, Do input-keyboard and input-mouse need rebuilding/version bumping or are you planning to remove them in favour of evdev?

I originally stuck with the keyboard and mouse drivers because evdev was a little flakey for me when I originally tried it. It's probably improved a little by now though so I'll give it another try.

have you installed mtdev ?

GazL 05-05-2012 06:45 PM

Quote:

Originally Posted by willysr (Post 4671263)
have you installed mtdev ?

Thanks for taking an interest but I don't have a problem, I was just reporting the issue incase others hit it.

xf86-input-keyboard and xf86-input-mouse packages haven't been rebuilt/bumped for the new server as can be seen here:
Code:

gazl@darkstar:/local/mirrors/slackware64-current/slackware64/x$ ls -l *input*txz
-rw-r--r-- 1 build build 86100 May  4 04:45 inputproto-2.2-noarch-1.txz
-rw-r--r-- 1 build build 69624 Jun 10  2009 scim-input-pad-0.1.2-x86_64-4.txz
-rw-r--r-- 1 build build 24664 May  4 05:00 xf86-input-acecad-1.5.0-x86_64-1.txz
-rw-r--r-- 1 build build 27984 May  4 05:00 xf86-input-aiptek-1.4.1-x86_64-1.txz
-rw-r--r-- 1 build build 41736 May  4 05:00 xf86-input-evdev-2.7.0-x86_64-1.txz
-rw-r--r-- 1 build build 34400 May  4 05:00 xf86-input-joystick-1.6.1-x86_64-1.txz
-rw-r--r-- 1 build build 25072 Mar 20  2011 xf86-input-keyboard-1.6.0-x86_64-1.txz
-rw-r--r-- 1 build build 46692 Mar 20  2011 xf86-input-mouse-1.7.0-x86_64-1.txz
-rw-r--r-- 1 build build 17880 May  4 05:00 xf86-input-penmount-1.5.0-x86_64-1.txz
-rw-r--r-- 1 build build 69376 May  4 05:00 xf86-input-synaptics-1.6.0-x86_64-1.txz
-rw-r--r-- 1 build build 26060 May  4 05:00 xf86-input-vmmouse-12.8.0-x86_64-1.txz
-rw-r--r-- 1 build build 16124 May  4 05:00 xf86-input-void-1.4.0-x86_64-1.txz
-rw-r--r-- 1 build build 85176 May  4 05:00 xf86-input-wacom-0.15.0-x86_64-1.txz
-rw-r--r-- 1 build build 37372 May  4 04:58 xinput-1.5.99.901-x86_64-1.txz

...and don't work. I was still trying to use 'kbd' and 'mouse' in my xorg.conf which didn't work. Switching to 'evdev' sorts everything out..

As the slackware-current/source/x/ directory doesn't contain them, I'm guessing robby is planning to remove them and just make everyone use evdev, in which case these two packages need to be removed from slackware-current/slackware/x/

willysr 05-05-2012 06:51 PM

XOrg upstream has a newer version
xf86-input-keyboard-1.6.1
http://cgit.freedesktop.org/xorg/dri...d-1.6.1.tar.gz

xf86-input-mouse-1.7.2
http://cgit.freedesktop.org/xorg/dri...e-1.7.2.tar.gz

So let's just wait for Robby's update for this two packages

GazL 05-05-2012 06:58 PM

Quote:

Originally Posted by willysr (Post 4671274)
XOrg upstream has a newer version
xf86-input-keyboard-1.6.1
http://cgit.freedesktop.org/xorg/dri...d-1.6.1.tar.gz

xf86-input-mouse-1.7.2
http://cgit.freedesktop.org/xorg/dri...e-1.7.2.tar.gz

So let's just wait for Robby's update for this two packages

At this point they're probably only intended for platforms that don't have evdev. As I said above, my guess is that robby is intending to drop them, but I could be wrong.

willysr 05-05-2012 07:05 PM

that would break some compatibility with older device

wildwizard 05-05-2012 07:51 PM

Drivers need to be recompiled with every major version jump in the xserver.

This has not occurred this time with those 2 drivers hence the ABI error.

They just to be recompiled and then they will work again normally.

RandomTroll 05-05-2012 10:33 PM

After updating Slackware, which I do daily with a script I wrote years ago, X starts but ignores keyboard and mouse input. Xorg.0.log is an empty file but if I capture the output of startx stderr I get:

"(EE) module ABI major version (8) doesn't match the server's version (12)"

immediately after:

Using system config directory "/usr/share/X11/xorg.conf.d"

BEFORE attempting to load drivers for any specific hardware.

I found this thread and made sure I had the new package mtdev and all other new packages installed. I'm not sure I understand what you-all have said. Do we need new packages? Can I dump the xf86-keyboard and -mouse packages and use evdev instead? How would I rewrite xorg.conf to use evdev instead? I'm not crashed: mplayer continues to play the show I'm listening to.

What is the ABI version?

Had to run Microsoft's 'Windozzzzze' program(groan!) to post this message.

RandomTroll 05-05-2012 11:16 PM

Yay! Rewriting xorg.conf to use evdev instead of mouse and kbd (as the manpage instructs)- *plus* building the evdev module in the kernel (which I hadn't done) makes it work.

willysr 05-05-2012 11:16 PM

I think the solution is to rebuilt or upgrade xf86-input-{keyboard,mouse} to match XOrg's ABI changes

RandomTroll 05-06-2012 10:47 PM

Quote:

Originally Posted by willysr (Post 4671411)
I think the solution is to rebuilt or upgrade xf86-input-{keyboard,mouse} to match XOrg's ABI changes

I removed the xf86-input packages and installed the evdev package, which makes X work, but I still get the ABI not-match error. I downloaded the source for the latest xf86-input but can't build it because I don't build the rest of X. Is there a way to build only portions?

wildwizard 05-06-2012 11:06 PM

Quote:

Originally Posted by RandomTroll (Post 4672059)
Is there a way to build only portions?

You have read the comments at the top of the X SlackBuild?

rworkman 05-07-2012 12:04 AM

Quote:

Originally Posted by GazL (Post 4671230)
Just updated to latest current and found my mouse and keyboard unresponsive in X11..

Looks like anyone who is still using old style kbd or mouse drivers rather than evdev is going to hit this.
Code:

780.374] (II) LoadModule: "kbd"
[  780.374] (II) Loading /usr/lib64/xorg/modules/input/kbd_drv.so
[  780.374] (II) Module kbd: vendor="X.Org Foundation"
[  780.374]    compiled for 1.9.5, module version = 1.6.0
[  780.374]    Module class: X.Org XInput Driver
[  780.374]    ABI class: X.Org XInput driver, version 11.0
[  780.374] (EE) module ABI major version (11) doesn't match the server's version (16)
[  780.375] (II) UnloadModule: "kbd"
[  780.375] (II) Unloading kbd
[  780.375] (EE) Failed to load module "kbd" (module requirement mismatch, 0)
[  780.375] (II) LoadModule: "mouse"
[  780.375] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[  780.375] (II) Module mouse: vendor="X.Org Foundation"
[  780.375]    compiled for 1.9.5, module version = 1.7.0
[  780.375]    Module class: X.Org XInput Driver
[  780.375]    ABI class: X.Org XInput driver, version 11.0
[  780.375] (EE) module ABI major version (11) doesn't match the server's version (16)
[  780.375] (II) UnloadModule: "mouse"
[  780.375] (II) Unloading mouse
[  780.375] (EE) Failed to load module "mouse" (module requirement mismatch, 0)

Robby, Do input-keyboard and input-mouse need rebuilding/version bumping or are you planning to remove them in favour of evdev?

I originally stuck with the keyboard and mouse drivers because evdev was a little flakey for me when I originally tried it. It's probably improved a little by now though so I'll give it another try.

I was going to remove them (that was in fact my intent), but my position was based on the idea that nobody still used them these days on linux systems. However, I see that I was wrong, so...

They're small and don't hurt anything by being installed, and that way they'll still be present on the off chance that some weirdo like you wants to use them... ;-) Given that plus the fact that Pat asked me about them earlier today, I suspect you'll see an upgrade to the latest releases of those in the next public update.

GazL 05-07-2012 04:34 AM

Quote:

Originally Posted by rworkman (Post 4672090)
They're small and don't hurt anything by being installed, and that way they'll still be present on the off chance that some weirdo like you wants to use them... ;-)

LOL. I guess I have to hold my hands up to that one it's a fair cop guv'nor.

Thanks for the update. :)

zrdc28 05-07-2012 07:11 PM

I had this exact problem after an upgrade last week, about an hour ago I ssh the machine and did an upgrade, 2 of the upgrade files were keyboard and mouse, Now it works


All times are GMT -5. The time now is 02:22 AM.