I had Ubuntu 9.10 x64 Desktop installed on a nettop I have (that I normally run headless), and yesterday I decided to take the plunge and update to 10.04.

So, I plugged in a screen and usb mouse/keyboard, booted up and set to work.

It was 1am, and it was telling me it had 3hrs left to install all the new packages, so I unplugged the screen and usb mouse/keyboard, left the box running, and went to bed.

This evening, I plugged it all back in again to check progress. It's asking if I want to remove obsolete packages. I do, but neither the mouse nor keyboard work!

I can access the box via SSH like I normally do; is there any way I can re-enable the keyboard from there?

I'm reluctant to restart the box (via ssh) mid-way through such a complicated upgrade.

Thanks for any help!

lsusb (with wireless mouse/keyboard receiver unplugged):

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb (with wireless mouse/keyboard receiver attached):

Bus 004 Device 005: ID 045e:005f Microsoft Corp. Wireless MultiMedia Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
link|improve this question

For future reference. If you are using the box headless then you probably would have been better off running a do-release-update within GNU screen. – Zoredache May 20 '10 at 17:26
feedback

5 Answers

up vote 1 down vote accepted

not sure about ubuntu, but you could try a hardware rescan with Kudzu.

link|improve this answer
ooh, that looks like it could be ideal. Just tried to install it, but because the upgrade is still paused, I'm blocked from installing anything! Good to know though. – aidan May 20 '10 at 16:19
that's a shame. Have you tried / do you have ports for a ps2 keyboard? – Joeme May 21 '10 at 15:10
unfortunately not - it's all usb – aidan May 24 '10 at 11:57
feedback

did you try to restart udev?

$ sudo /etc/init.d/udev restart

link|improve this answer
Just tried that - didn't seem to do anything. Good to know about though. Thanks. – aidan May 24 '10 at 11:57
feedback

On a desktop install, the keyboard and mouse are run by X.org, so you could try restarting X, which is done on a desktop install by restarting gdm. So

sudo /etc/init.d/gdm restart
link|improve this answer
Thanks, I'll try that when I get home. But will it kill my desktop session? – aidan May 20 '10 at 16:20
feedback

In the future use screen, so you will be able to detach session and attach via ssh.

@Answer above: If you restart GDM it will crash you X session.

link|improve this answer
feedback

I too have run into this on update, but it turned out that the grub file (in /boot/grub/menu.lst) was booting the old Ubuntu 9 kernel with the Ubuntu 10.04 drivers.

I fixed this by ssh-ing into a running system (with a dead/frozen console), manually added the correct kernel (look in /boot for the newest one) and rebooted. Note the top system is the default one.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.