[Keyboard] laptop keyboard does not work after GRUB => it makes impossible id and pwd entering

Asked by achevrier on 2009-11-17

Hello everybody.
Wishing you pleasant moments.

My configuration : Ubuntu Hardy installed in june 08 on a DELL VOSTRO Laptop.

My Problem : for a unidentified reason, suddenly this week end, when I put on my laptop, after having used up and down menu in GRUB, laptop keyboard does not work. Then I can enter neither my id or pawd. The touchpad mouse also does not work. Then I'm blocked on the Ubuntu opening screen. I've never have this problem before. It's totaly new.

However, if I plug a USB mouse at this stage, this USB mouse works. Then, using this USB mouse, I can go to the exit menu (down left of screen) and I can choose sleeping menu, or put off, ...

I've tried to choose Sleeming menu. So my laptop stop and become sleeping. I wake up the PC, coming back on Ubuntu opening screen, and surprise ! : the keyboard and the touchpad mouse work. But it works only for the session. If I put-off and put-on the PC, the problem re-appear.

If I choose a "recovery mode", sometimes keyboard still not works (Then I can not use the up or down menu at the end of recovery mode, neither enter key), but sometimes, keyboard works.

I'm a bit disapointed with this.

Do you know a way to come back to a normal keyboard working ?

Thanks a lot for your helps.

Antoine

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2009-11-18
Last query:
2009-11-18
Last reply:
2009-11-18

What make and model is the laptop, sounds like you need some boot options to get your touchpad working.

I bet its a Lenovo.

achevrier (a-chevrier-pro) said : #2

Hello,

It is a DELL VOSTRO 1510.

Do not forget, it is a sudden problem. Before last week end, everything was fine, during the last 14 month.

Yep thought as much. You need to add:

i8042.reset

to your boot options.

I'll save the message of you asking "how do I do that?" and inform below (If you know how to do it, just do it)

cd cd /etc/default/; sudo cp ./grub ./grub.old; gksudo gedit ./grub

Find this line (its near the top, and may be different to mine):
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Using mine as an example you will need to change it to:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.reset"

Save the new file and close gedit then run:

sudo update-grub

You have now comitted the change and can reboot to test.

achevrier (a-chevrier-pro) said : #4

Thank you.
Ok, I think I understand.

However, I've no grub file in /etc/default/ directory, but executable grub file is in /usr/sbin/.

Then, should I prefer to modify /usr/sbin/ using your method ?

. or

Should'nt I prefer to modify menu.lst of grub located in :
 /boot/grub/menu.lst
   That would means to change line bellow :
   line to change defoptions=quiet splash
   changing it in defoptions=quiet splash i8042.reset

I imagine, you advice me to reset grub in the right version, meaning right version has been modified for un-identified reason, don't you ?

achevrier (a-chevrier-pro) said : #5

What I can tell you more, is this :excatly at the moment when began the keyboard problem, since this keyboard problem appeared, the battery of my laptop has not been able to be filled up any more. My batterie is at 8% level, and do not want to be filled up any more. (using XP it is the same, battery seems to be dead).

This 2 problems may have no connexion. However, as they appeared exactly in the same moment, I give you this information, we never know.

I'm guessing you are using hardy. In which case it will need adding to the end of the kernel line in /boot/grub/menu.lst

Jaunty doesnt se grub2 by default (but can) but grub is fine, just run:

gksudo gedit /boot/grub/menu.lst

Every line that starts with kernel. Eg:

kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro quiet

add the option:

kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro quiet i8042.reset

Save the new file and reboot

achevrier (a-chevrier-pro) said : #7

Ok, super thanks !
I'm going to test.

Just one more question : must I put i8042.reset also at the end of sentences ending with "single" instead of "quiet" ? (it is for recovery mode I presume)

Like for exemple :
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro single

I ask you this question, because, as you know, keyboard doesn't work also at the end of recovery opening process (I can not use up and down keys to choose item menu at the end of recovery mode process).

Yes just change it to:

kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro single i8042.reset

On al lines, you may need to add this to any future kernels you add, Grub2 does this automagically (the ONLY advantage I have found in grub2 so far)

Otherwise you should be fine

achevrier (a-chevrier-pro) said : #9

Ok,
I've done.
It works perfect, both with normal start and recovery mode.
Super thanks to you !

However, I wander why this happend : does it mean grub has been recently update in my system (I think an update came recently, didn't it ?), and those grub update is now less efficient than the older one ?

Anyway, I will remember to put those additive i8042.reset in /boot/grub/menu.lst lines :

Process just to keep it in mind :

sudo cp /boot/grub/menu.lst menu.lst.old
gksudo gedit /boot/grub/menu.lst
And then put i8042.reset in lines beginning with kernet and ending with signle or quiet, like for exemple :
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro single i8042.reset
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda5 ro quiet i8042.reset

:)

achevrier (a-chevrier-pro) said : #10

Thanks actionparsnip, that solved my question.

With the new kernel you need the option, you added the option and it works

WTG

Glad you got the gold

achevrier (a-chevrier-pro) said : #12

Attention :

After having modify the menu.lst file like above, then when a new version arrive, Grub does not take in account the new version in menu.lst.

To make it works, we must prefer to choose the version of menu.lts done by author of application (or something like that) at the opening of an alert window (at the moment of installation of new version) instead of "current but customized version of menu.lst".