You are not logged in.

#1 2011-08-21 00:17:40

NegativeFPS
Member
From: 192.168.0.1
Registered: 2008-04-14
Posts: 37
Website

Mouse and Keyboard don't work in X

I searched beforehand and apparently in the past, the solution was to enable hal. I read up on hal on the wiki and it says hal is no longer supported so maybe it isn't the issue?

Anyway I wanted to try it regardless but since it's no longer in pacman, I don't know how to download it from the AUR from within the CLI since I don't have GUI.

I'm using a PS/2 keyboard and USB mouse and neither works (KB works of course in plain CLI)


Big Linux Noob

Offline

#2 2011-08-21 00:24:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mouse and Keyboard don't work in X

Are you using xorg.conf as the config file for X? If so, post it. Any errors in the logs?
What's the output of

pacman -Qs xf86-input

Offline

#3 2011-08-21 00:26:52

NegativeFPS
Member
From: 192.168.0.1
Registered: 2008-04-14
Posts: 37
Website

Re: Mouse and Keyboard don't work in X

I can't post the config here because again, I don't have a GU to copy paste it here I and I don't know how to do this kind of stuff from the CLI (if even possible)

the output is:
xf86-input-evdev
xf86-input-keyboard
xf86-input-mouse

The mouse and keyboard I added myself as part of troubleshooting earlier


Big Linux Noob

Offline

#4 2011-08-21 00:31:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mouse and Keyboard don't work in X

Not sure how to make it easiest for you to share the logs, try https://wiki.archlinux.org/index.php/Pastebin_Clients e.g. wgetpaste.
How are you posting here? Are you using another computer or are you posting from the CLI?

Offline

#5 2011-08-21 00:39:58

NegativeFPS
Member
From: 192.168.0.1
Registered: 2008-04-14
Posts: 37
Website

Re: Mouse and Keyboard don't work in X

Ha, that's pretty sweet!
I am using a laptop but don't have a flash drive around

Here is the conf file: http://paste.pocoo.org/show/461620/
And the log: http://paste.pocoo.org/show/461618/


Big Linux Noob

Offline

#6 2011-08-21 00:48:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mouse and Keyboard don't work in X

[  1466.678] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  1466.678] (WW) Disabling Mouse0
[  1466.678] (WW) Disabling Keyboard0

Try adding this to your xorg.conf:

Section "ServerFlags"
     Option "AutoAddDevices" "False"
     Option "AllowEmptyInput" "no" 
EndSection

Last edited by karol (2011-08-21 00:49:04)

Offline

#7 2011-08-21 00:49:47

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Mouse and Keyboard don't work in X

Remove the conf file. Also, you have some weird drivers loading there. Remove all video drivers except the one you actually need.

Offline

#8 2011-08-21 00:52:46

NegativeFPS
Member
From: 192.168.0.1
Registered: 2008-04-14
Posts: 37
Website

Re: Mouse and Keyboard don't work in X

karol wrote:
[  1466.678] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  1466.678] (WW) Disabling Mouse0
[  1466.678] (WW) Disabling Keyboard0

Try adding this to your xorg.conf:

Section "ServerFlags"
     Option "AutoAddDevices" "False"
     Option "AllowEmptyInput" "no" 
EndSection

No go sad


Big Linux Noob

Offline

#9 2011-08-21 00:54:34

NegativeFPS
Member
From: 192.168.0.1
Registered: 2008-04-14
Posts: 37
Website

Re: Mouse and Keyboard don't work in X

Gusar wrote:

Remove the conf file. Also, you have some weird drivers loading there. Remove all video drivers except the one you actually need.

What drivers are you talking about? tdfx? That's required for my graphics card (3dfx Voodoo 5500)

Removing the conf file makes no difference

Last edited by NegativeFPS (2011-08-21 00:55:29)


Big Linux Noob

Offline

#10 2011-08-21 00:54:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mouse and Keyboard don't work in X

Gusar wrote:

Remove the conf file. Also, you have some weird drivers loading there. Remove all video drivers except the one you actually need.

OP uses

Driver      "tdfx"
NegativeFPS wrote:

What drivers are you talking about? tdfx? That's required for my graphics card (3dfx Voodoo 5500)

It's not a very common card :-)

Last edited by karol (2011-08-21 00:56:24)

Offline

#11 2011-08-21 00:59:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mouse and Keyboard don't work in X

How about just

Section "ServerFlags"
    Option "AutoAddDevices" "False"
EndSection

https://wiki.archlinux.org/index.php/Xo … t-plugging

Even if it doesn't work, can you post the logs again?

Offline

#12 2011-08-21 01:03:46

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Mouse and Keyboard don't work in X

karol wrote:

It's not a very common card :-)

^^ This! I don't think I've seen the vbe and int10 modules loaded before. But apparently tdfx need them.

@NegativeFPS: Post the log for when you don't have any config file. You shouldn't need one.

Offline

#13 2011-08-21 01:06:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mouse and Keyboard don't work in X

Are you running X as root?

Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.
[  1468.279] 
Your xorg.conf file is /root/xorg.conf.new

[  1468.297] To test the server, run 'X -config /root/xorg.conf.new'

Be sure to edit the right conf file then.

Offline

#14 2011-08-21 01:06:48

NegativeFPS
Member
From: 192.168.0.1
Registered: 2008-04-14
Posts: 37
Website

Re: Mouse and Keyboard don't work in X

karol wrote:

How about just

Section "ServerFlags"
    Option "AutoAddDevices" "False"
EndSection

https://wiki.archlinux.org/index.php/Xo … t-plugging

Even if it doesn't work, can you post the logs again?

Here is the log: http://paste.pocoo.org/show/461636


Big Linux Noob

Offline

#15 2011-08-21 01:09:27

NegativeFPS
Member
From: 192.168.0.1
Registered: 2008-04-14
Posts: 37
Website

Re: Mouse and Keyboard don't work in X

karol wrote:

Are you running X as root?

Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.
[  1468.279] 
Your xorg.conf file is /root/xorg.conf.new

[  1468.297] To test the server, run 'X -config /root/xorg.conf.new'

Be sure to edit the right conf file then.

Yes currently running as root, still installing Arch smile

Am I not editing the right file? The one I add that section to is the /root/xorg.conf.new one

Also worth noting that I can't switch virtual terminals after launching X (X and Gnome, KB and mouse don't work in either one). You would think maybe the computer froze, but GNOME goes through loading stages until fully loaded and the am unable to switch terminals during loads (meaning the computer isn't frozen, just the KB and mouse completely stop working immediately after launching X)

Last edited by NegativeFPS (2011-08-21 01:33:00)


Big Linux Noob

Offline

#16 2011-08-21 05:24:11

NegativeFPS
Member
From: 192.168.0.1
Registered: 2008-04-14
Posts: 37
Website

Re: Mouse and Keyboard don't work in X

Hrmm not sure what was originally wrong, but I reinstalled Arch now using the updated image (released just today) and now mouse and KB work just fine and dandy.

Though I did notice later on that for whatever reason, by default (and what I went with), the new images selects a TON of conflicting packages. For example it installed the entire xf86* library of drivers for me. So I got nv, tdfx, xgi, vesa.... the works. Surprisingly I was able to get Enlightenment up and running with all those installed at the same time (before I knew that was the case).

Then I went to change my refresh rate, so I did X -configure so that it'll auto generate a pre-made config for me so I don't have to manually type it in, and it wasn't able to, spitting a bunch of errors relating to all those installed drivers.

So now I'll reinstall Arch for the third time today, hopefully get it right this time hehe


Big Linux Noob

Offline

#17 2011-08-21 07:17:07

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Mouse and Keyboard don't work in X

Just an advice: Install only those drivers you really need (and want). They often conflict.

And you most likely don't need to reinstall Arch again (unless, maybe, you want just some more practice tongue). Just remove all video drivers packages and install the one you want.


To know or not to know ...
... the questions remain forever.

Offline

#18 2011-08-21 07:23:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mouse and Keyboard don't work in X

@NegativeFPS
You need to pay attention to which groups you install. xorg group has tons of stuff you don't need. (a tiny "rant": https://bbs.archlinux.org/viewtopic.php?id=124923 )
The image selects just the base group by default.

Offline

#19 2011-08-21 10:10:27

NegativeFPS
Member
From: 192.168.0.1
Registered: 2008-04-14
Posts: 37
Website

Re: Mouse and Keyboard don't work in X

bernarcher wrote:

Just an advice: Install only those drivers you really need (and want). They often conflict.

And you most likely don't need to reinstall Arch again (unless, maybe, you want just some more practice tongue). Just remove all video drivers packages and install the one you want.

Thing is, who knows what other conflicts this has caused. If it already made this mess by auto installing every single GPU driver available, I have no doubts it made other such messes, this one I just happened to notice.

Karol wrote:

@NegativeFPS
You need to pay attention to which groups you install. xorg group has tons of stuff you don't need. (a tiny "rant": https://bbs.archlinux.org/viewtopic.php?id=124923 )
The image selects just the base group by default.

I sort of assumed the X.org group would simply include the essentials from the Beginner's Guide, providing a small shortcut. Packages such as  xorg-server xorg-xinit xorg-utils xorg-server-utils and maybe mesa. Not EVERYTHING yikes


Big Linux Noob

Offline

#20 2011-08-21 10:13:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mouse and Keyboard don't work in X

Read the Beginner's Guide carefully, because people often say "I followed the guide and things are not working" when they clearly were not following it but making assumptions that happened to be waaay off.

Offline

#21 2011-08-21 10:20:28

NegativeFPS
Member
From: 192.168.0.1
Registered: 2008-04-14
Posts: 37
Website

Re: Mouse and Keyboard don't work in X

karol do you mean that about anything in specific? Because I really did follow the beginner's guide as step by step as I could each time (seeing as how little understanding I have of Linux, I wouldn't be able to get anywhere past booting into the ISO without it wink )

Last edited by NegativeFPS (2011-08-21 10:21:00)


Big Linux Noob

Offline

#22 2011-08-21 10:21:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Mouse and Keyboard don't work in X

NegativeFPS wrote:

karol do you mean that about anything in specific? Because I really did follow the beginner's guide as step by step as I could each time (seeing as how little understanding I have of Linux, I wouldn't be able to get anywhere past booting into the ISO without it wink )

I mean https://wiki.archlinux.org/index.php/Be … #Install_X

Install the base packages:
# pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils

Install mesa for 3D support:
# pacman -S mesa

I prefer to install just base and base-devel during the installation and configuration of the system and later use pacman to get additional packages.
If users are unaware of what the xorg group holds, they are in for a big (literally ;P) surprise if they select it in the installer.

Last edited by karol (2011-08-21 10:25:28)

Offline

#23 2011-08-21 10:28:28

NegativeFPS
Member
From: 192.168.0.1
Registered: 2008-04-14
Posts: 37
Website

Re: Mouse and Keyboard don't work in X

Yes of course I read that section, that's where I grabbed the packages I mentioned (I'd never even know their names if it wasn't for the guide).

That's exactly what I meant, I thought the X.org package in the CD would include those packages mentioned in the beginner's guide and maybe a couple extras just to save people some time, but not everything!

From now on will just do base and base-devel smile


Big Linux Noob

Offline

Board footer

Powered by FluxBB