You are not logged in.

#1 2011-04-20 08:36:38

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

usb keyboard and mouse won't work until re-plugged in

As the subject says, my usb keyboard and mouse does not work at kdm until I unplug them and plug them back in.
I believe this is to do with the update to udev 167 but I'm really not sure what I can do to fix it.
Anyone else having the same issue?


neutral

Offline

#2 2011-04-21 09:33:00

SammyF
Member
Registered: 2010-05-28
Posts: 26

Re: usb keyboard and mouse won't work until re-plugged in

Similar problem lately (albeit only with the keyboard). I might be wrong, but I think it all began at the same time connected gamepads started being recognized as mices (they also crash X if I disconnect them). I can't offer any solutions sadly, as this is why I'm looking through the forums right now ...

Offline

#3 2011-04-21 09:39:35

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: usb keyboard and mouse won't work until re-plugged in

Do they work if you wait for some minutes? In this case it would be related to what happens to me. Sometimes when I boot udev takes a lot of time to load, and when X starts I have to wait some minutes or unplug un replug them.

Offline

#4 2011-04-24 15:17:14

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: usb keyboard and mouse won't work until re-plugged in

Hello,

I had the same problem.
Downgrading udev solved the issue.

pacman -U http://schlunix.org/archlinux/core/os/x86_64/udev-compat-166-2-x86_64.pkg.tar.xz http://schlunix.org/archlinux/core/os/x86_64/udev-166-2-x86_64.pkg.tar.xz

Bug report : https://bugs.archlinux.org/task/23916


Regards.

Offline

#5 2011-04-24 17:33:10

Zamboniman
Member
Registered: 2010-06-20
Posts: 17

Re: usb keyboard and mouse won't work until re-plugged in

After some googling apparently Arch isn't the only distro to be affected by this. It seems motherboard dependant, so not everyone
will get this.

After the latest update of the kernel and udev, upon booting, your keyboard and mouse will be utterly useless in X. They will still work
from a console though if you haven't started X on boot. Not much good if, like most people, you start X on boot since once X is started
the useless mouse and keyboard mean you can't even Ctrl-F1 to a terminal or anything else.

The solution is simple enough. Unplug and plug back in your keyboard and mouse, and they will immediately start working.
Kind of a pain, but the choices right now while waiting for the bugfix are to use the unplug-plug back in method on boot, or to downgrade
your software.

Offline

#6 2011-04-25 05:31:53

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: usb keyboard and mouse won't work until re-plugged in

Offline

#7 2011-04-25 05:38:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: usb keyboard and mouse won't work until re-plugged in

merging...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2011-04-30 02:31:36

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: usb keyboard and mouse won't work until re-plugged in

Hello everyone!

I found a fix on debian forum...

1- update your system
2- reboot
3- log as root
4- move /run folder : cd / && mv run run.bak
5- reboot

Now it's working fine.
More info : http://bugs.debian.org/cgi-bin/bugrepor … =621036#77

Offline

#9 2011-05-03 12:09:18

indianahorst
Member
Registered: 2008-08-23
Posts: 129

Re: usb keyboard and mouse won't work until re-plugged in

Thank you for the fix, but... I have a problem ;-)
Not only my mouse but also my keyboard doesn't work after GDM is started. My keyboard is still a PS/2 keyboard, which can't be replugged. So I have no possibility to log in and do anything...
Is there any workaround besides booting to runlevel 3 (where the keyboard works) and downgrading to udev 166?

Offline

Board footer

Powered by FluxBB