Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Keyboard not resonding at login
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
[h2o]
n00b
n00b


Joined: 17 Nov 2004
Posts: 3

PostPosted: Wed Nov 17, 2004 3:42 pm    Post subject: USB Keyboard not resonding at login Reply with quote

Ok, I now there are quite a few topics on this, but I have read all (?) of these and none of these solved my problem.

I dual boot Gentoo (2.4.26-r10) with WinXP using the NT Bootloader as described in the FAQ.

When I have chosen to boot Gentoo Linux, I arrive at the login-prompt, and there it stops, since my keyboard is not responding.

This is when USB-keyboardcontrol is set to "Bios".
Chaning this to "OS" only makes me unable to use the keyboard at the NT bootloader, and thus makes me unable to even boot into Gentoo :(

I had these problems with the LiveCD as well (as USB Keyboard-control was set to "OS" before I started to mess around). Because when you arrive at the "Boot:"-prompt to boot to a different kernel, make memtest etc, I was unabke to write anything. When the default-kernel had loaded I could use the keyboard as usual.

My kernel weas compiled with all the USB-controllers I could find.

I believe my bios is a Phoenix-award.
Motherboard is an Abit A17. USB Keyboard is a Logitech Internet Navigator Keyboard.
Back to top
View user's profile Send private message
originalbrownster
n00b
n00b


Joined: 26 Aug 2003
Posts: 61
Location: Kent, UK

PostPosted: Wed Nov 17, 2004 7:30 pm    Post subject: Reply with quote

Hi,
It looks like the necessary usb modules are not loading at boot time, you say you have added all the usb controller support you could find, it's worth knowing did you compile them as modules or 'in' the kernel?
Anyway a short while ago they made a change in gentoo that might be the cause, see this announcement:
http://www.gentoo.org/news/20041113-kernels.xml
In effect you can tackle the problem in one of two ways, the preferred way being adding required modules to /etc/modules.autoload.d/kernel-2.6
Which modules do you need? Well here's a little trick, the livecd is very good normally at recognising your hardware and you can use this to your advantage by seeing what modules it's loaded. Boot back into a chroot environment from the live cd then do an 'lsmod' and note the output, no doubt you will see usb entries so you'll know what your system actually needs.

The other way is to install coldplug and setting it to the default runlevel. I use the former method.

HTH

OB.
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Wed Nov 17, 2004 8:30 pm    Post subject: Reply with quote

Use a PS/2 keyboard to see if the correct modules are loaded.
Back to top
View user's profile Send private message
[h2o]
n00b
n00b


Joined: 17 Nov 2004
Posts: 3

PostPosted: Wed Nov 17, 2004 8:36 pm    Post subject: Reply with quote

racoontje wrote:
Use a PS/2 keyboard to see if the correct modules are loaded.

Can't do that. I don't own one.

I believe I compiled everything into the kernel. Not entirely sure though.

Should I perhaps try using a 2.6 kernel instead? Only reason I did not install a 2.6 in the first place was the fact that the Gentoo Handbook explicitly said that it might cause compability issues if you try to install a 2.6 kernel when booting into a 2.4 kernel on the LiveCD.

I will try lsmod. And if that fails I guess I could just use genkernel?
Back to top
View user's profile Send private message
originalbrownster
n00b
n00b


Joined: 26 Aug 2003
Posts: 61
Location: Kent, UK

PostPosted: Wed Nov 17, 2004 9:42 pm    Post subject: Reply with quote

Hi,
Personally I would use a 2.6 kernel unless you have a specific reason not to.

How old is the live cd you booted from? From the handbook it seems the default boot is a 2.6 kernel:
Quote:

Below you'll find a short overview on the available kernels:
Kernel Description
gentoo Default 2.6 kernel with support for multiple CPUs
gentoo-nofb Same as gentoo but without framebuffer support
memtest86 Test your local RAM for errors


I would compile a 2.6 kernel, build as modules things like USB, sound support etc. I found this less problematic in the past.

OB
Back to top
View user's profile Send private message
[h2o]
n00b
n00b


Joined: 17 Nov 2004
Posts: 3

PostPosted: Thu Nov 18, 2004 4:14 pm    Post subject: Reply with quote

Hi.
Compiling with genkernel made it all worked (except internet which died, but I guess that will be easier to fix).

I will recompile the kernel another time, and then I will follow your directions and compile stuff as modules.
Thank you for your time. :D
Back to top
View user's profile Send private message
axeblind
n00b
n00b


Joined: 23 Oct 2004
Posts: 3
Location: San Jose

PostPosted: Wed Nov 24, 2004 6:47 pm    Post subject: Unresponsive usb keyboard at boot Reply with quote

I'm having a similar problem. I turn on the PC, the lights flash on the keyboard and the optical mouse LED is lit. But into Gentoo's boot process the keyboard lights and mouse go dead. Once the KDM loggin window appears, half the time the keyboard and mouse will be unresponsive, but will come allive if I wait about 20 seconds.

I'm running kernel 2.4.27. I've got all the USB HID stuff compiled into the kernel. Once they come back on line, the system runs beautifully - this is really just a minor inconvenience. I'm hesitant to move to kernel 2.26 since I've heard it doesn't support SATA w/ hardware RAID striping very well. (Asus A7N8X delux mobo - ask me how I got the install to work! That's whole other thread.) Anyway, here's a clip of dmesg in which the keyboard & mouse go out:
Code:

....
spurious 8259A interrupt: IRQ7.
keyboard: Timeout - AT keyboard not present?(00)
FDC 0 is a post-1991 82077
.....


And here's some USB stuff later on in dmesg:
Code:

......
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Setting latency timer of device 00:02.2 to 64
ehci_hcd 00:02.2: nVidia Corporation nForce2 USB Controller
ehci_hcd 00:02.2: irq 11, pci mem f89dc000
usb.c: new USB bus registered, assigned bus number 1
PCI: cache line size of 64 is not supported by device 00:02.2
ehci_hcd 00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 6 ports detected
PCI: Setting latency timer of device 00:02.0 to 64
host/usb-ohci.c: USB OHCI at membase 0xf89de000, IRQ 5
host/usb-ohci.c: usb-00:02.0, nVidia Corporation nForce2 USB Controller
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:02.1 to 64
host/usb-ohci.c: USB OHCI at membase 0xf89e0000, IRQ 5
host/usb-ohci.c: usb-00:02.1, nVidia Corporation nForce2 USB Controller
(#2)
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 3 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
usb.c: registered new driver usbscanner
scanner.c: 0.4.16:USB Scanner Driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
Linux video capture interface: v1.00
mice: PS/2 mouse device common for all mice
.....

And then the last several lines:
Code:

USB Mass Storage device found at 2
hub.c: new USB device 00:02.1-1, assigned address 2
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: new USB device 00:02.1-2, assigned address 3
input: USB HID v1.00 Mouse [Kensington USB/PS2 Wheel Mouse ] on usb3:3.0
hub.c: new USB device 00:02.1-1.1, assigned address 4
printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vi
d 0x04E8 pid 0x300C
hub.c: new USB device 00:02.1-1.3, assigned address 5
input: USB HID v1.00 Keyboard [  Keyboard Hub] on usb3:5.0
input: USB HID v1.00 Device [  Keyboard Hub] on usb3:5.1
hub.c: new USB device 00:02.0-2, assigned address 2
input: USB HID v1.10 Joystick [Logitech Logitech Freedom 2.4] on usb2:2.
0


Any help would be greatly appreciated. Sorry for the long post! Looks like I violated one of my own pet peaves.
Back to top
View user's profile Send private message
axeblind
n00b
n00b


Joined: 23 Oct 2004
Posts: 3
Location: San Jose

PostPosted: Wed Nov 24, 2004 6:50 pm    Post subject: Unresponsive usb keyboard at boot...Continued! Reply with quote

Okay sorry! That wasn't the last several lines. These are, and probably point to the cause of the problem:
Code:

.....
input: USB HID v1.10 Joystick [Logitech Logitech Freedom 2.4] on usb2:2.0
VFS: Disk change detected on device 08:30
sdd: Unit Not Ready, sense:
Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
VFS: Disk change detected on device 08:20
sdc: Unit Not Ready, sense:
Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
VFS: Disk change detected on device 08:10
sdb: Unit Not Ready, sense:
Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
VFS: Disk change detected on device 08:00
sda: Unit Not Ready, sense:
Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum