USB Keyboard Kernel Panic


14 posts
by Cavolo nero » Tue May 29, 2012 4:35 pm
Hi,

I bought a cheap pcworld usb keyboard for use with the raspberry pi. Whether I boot the Pi with the keyboard connected, or connect it when the logon appears, the PI goes into kernel panic straight away. I take it Ill have to get another keyboard? :roll:

I intialled assumed the optical mouse was the problem, but it doesnt seem to object to that!
User avatar
Posts: 9
Joined: Sat May 26, 2012 7:16 pm
by westwinder » Wed May 30, 2012 12:00 am
Same thing happened to me using a Kensington USB keyboard. Following a tip elsewhere on this forum, I unplugged the keyboard and rebooted. This time, the Pi booted. When it got to the login prompt, I plugged in the keyboard again and it's working OK so far.
Posts: 2
Joined: Tue May 29, 2012 11:52 pm
by Cavolo nero » Wed May 30, 2012 7:11 am
Thanks. I think the issue might be that I was using an inadequate power supply. The first one I used was 350ma and the second 0.7amp. Same problem both times. Technically the 0.7a should be ok but its probably borderline. Im going to go and get a 1.2amp power supply today and give that a go!
User avatar
Posts: 9
Joined: Sat May 26, 2012 7:16 pm
by Cavolo nero » Wed May 30, 2012 7:22 am
Ah. Ive just noticed on the wiki that the Pcworld essentials keyboard ive been using is listed as a "problem keyboard". Best I change it out.
User avatar
Posts: 9
Joined: Sat May 26, 2012 7:16 pm
by bigsi111 » Wed May 30, 2012 8:05 am
The Tesco £5 keyboard works no problem
User avatar
Posts: 66
Joined: Thu Apr 19, 2012 8:50 am
by Cavolo nero » Wed May 30, 2012 3:27 pm
Thanks, I took the keyboard back and swapped it for a Microsoft one - everything works great now! :D
User avatar
Posts: 9
Joined: Sat May 26, 2012 7:16 pm
by westwinder » Wed May 30, 2012 10:54 pm
Update to my post above
After doing a bit of forum surfing, I got the impression that it wasn't the usb peripherals that were causing the no-boot problems, but rather the power supply. I also went looking on Amazon for a few extra usb chargers and noticed that a lot of the reviews complained of the poor quality of the power supplies and the usb cables on offer (I always read the 1-star reviews when buying on Amazon).

So I changed out the power supply and Nokia phone cable that I was using for a Motorola smartphone power supply and a Kindle usb cable and, hey presto, the Pi now boots with both the keyboard and optical mouse attached. I have soft rebooted several times and had one kernel panic, which was solved by a hard reboot (unplugging the power supply).

Other posts on the forum all point to the Pi being very sensitive to the quality of it's power supply and its associated micro usb cable, so if you're getting kernel panics, try a different (preferably branded) power source and cable.

BTW, my Pi is not yet connected to a network and I'm using the composite video output.
Posts: 2
Joined: Tue May 29, 2012 11:52 pm
by Cavolo nero » Thu May 31, 2012 9:17 am
Possibly a combination of the two, but the keyboard I was using is list as "problem" on the wiki. Having a decent power supply helps though - I got a duracell one that kicks out max 1amp, so i'm good for that now.
User avatar
Posts: 9
Joined: Sat May 26, 2012 7:16 pm
by 0xbaadf00d » Thu May 31, 2012 11:07 am
i've the same issue with 850ma alimentation. Kernel panic when i plug keyboard, but works well with other USB devices like Magnetic card reader, usb key
Posts: 2
Joined: Thu May 31, 2012 11:04 am
Location: France
by alexandru.cucu » Thu May 31, 2012 2:31 pm
I also get a kernel panic when connecting a USB keyboard.
I have measured voltage between the two test points (TP1 and TP2) while the keyboard is connected and it is within the accepted range.
What could be the problem?
https://launchpad.net/~alexandru.cucu
User avatar
Posts: 75
Joined: Mon Sep 05, 2011 6:07 pm
by abishur » Thu May 31, 2012 3:01 pm
For some reason, the pi just doesn't like certain keyboard at this time (beta device and all that jazz ;-)) If your keyboard is causing a kernel panic, then use a different keyboard ;)
Dear forum: Play nice ;-)
User avatar
Forum Moderator
Forum Moderator
Posts: 4261
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
by alexandru.cucu » Thu May 31, 2012 3:14 pm
Bought a USB keyboard just for the R-Pi.
My other keyboards are using the PS/2 interface. I love mechanical keyboards, using a Dell AT101W on my main computer.

I don't want to buy more keyboards, I already have 2 spares + this USB one.

Hope this bug will get fixed soon.

Best regards,
Alex
https://launchpad.net/~alexandru.cucu
User avatar
Posts: 75
Joined: Mon Sep 05, 2011 6:07 pm
by vinodstanur » Fri Sep 07, 2012 11:25 pm
I am also having the same problem :-(
Bought a usb keyboard from a shop and that is not working with the pi... Showing kernel panic.....
Any way to solve it ?
Is it any hardware issue or any software problem? Any guess?
Posts: 1
Joined: Fri Sep 07, 2012 11:20 pm
by Paul Webster » Fri Sep 07, 2012 11:44 pm
SE you running Raspbian with the latest firmware?
Have you experimented with the various cmdline.txt settings (see the "elephant" thread for history of the work in progress with USB
User avatar
Posts: 399
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK