LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 11-11-2008, 06:32 PM   #1
bendi
LQ Newbie
 
Registered: Jul 2004
Location: Poland
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
USB keyboard and mice not working after change of motherboard


Hello!

Recently I changed motherboard from Epox 8RDA+ (socket A, nForce2), which died, to Gigabyte GA-7VAX (socket A, VIA KT400) and faced a problem that I can't solve myself :/ I have USB keyboard and USB mouse, which worked fine on Epox and now they don't. I have Slackware 12 OS, with my custom 2.6.24.3 kernel. USB and HID support are compiled.

The problem is that keyboard and mouse aren't detected during the boot time as they used to be. I can see a line which says that HID module has started but nothing more (previously after that message appeared a few of lines about keyboard and mouse being detected). I can't log in or type anything, even diodes on keyboard and sensor in mouse don't light up. However, normal USB devices (eg. pendrive) work well and even run automatically in KDE.

In the BIOS I enabled options for USB keyboard and mouse support. I tried with both enabled and disabled, but with disabled I can't operate menu in LILO. I have an old PS/2 keyboard so I can do something if necessary.

I hope for you help, thanks!
 
Old 11-12-2008, 04:39 AM   #2
anonobomber
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
First thing I would do is check if there is a BIOS update available for this board.
 
Old 11-12-2008, 04:51 AM   #3
bendi
LQ Newbie
 
Registered: Jul 2004
Location: Poland
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Right, that was the first thing I did - there was an update but didn't help.

BTW: In Windows XP both mouse and keyboard work fine.
 
Old 11-12-2008, 04:53 AM   #4
anonobomber
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
When you have the system booted up with the ps/2 keyboard unplug the usb mouse and keyboard and plug them back in and see if anything new shows up in 'dmesg'. If we do get some messages in there then we know that the kernel is actually seeing the keyboard and mouse.
 
Old 11-12-2008, 05:41 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,353

Rep: Reputation: 205Reputation: 205Reputation: 205
Does the USB mouse and keyboard work if you boot from a LiveCD? It might just be your system configuration. I'm having some quirkiness myself with recent kernels that didn't seem to exist with earlier kernels < 2.6.26.
 
Old 11-12-2008, 06:17 AM   #6
bendi
LQ Newbie
 
Registered: Jul 2004
Location: Poland
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Unplugging and plugging once again didn't help.

However, I managed to install distro's huge kernel, which has everything compiled in (2.6.21.5). Everything goes OK (except the video driver for X, but that's not an issue now) - mouse and keyboard are recognized properly. Now I must identify the driver which is missing. Does it matter if it's compiled as a module or built into kernel?

Here are some logs regarding USB from my custom 2.6.24.3 kernel:
Code:
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
[...]
usbmon: debugfs is not available
ACPI: PCI Interrupt Link [ALKB] BIOS reported IRQ 0, using IRQ 21
ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:10.3[D] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 16
ehci_hcd 0000:00:10.3: EHCI Host Controller
ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.3: irq 16, io mem 0xe2001000
ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
Driver for 1-wire Dallas network protocol.
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
and from generic 2.6.21.5 kernel:
Code:
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
[...]
usbmon: debugfs is not available
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 15
PCI: setting IRQ 15 as level-triggered
ACPI: PCI Interrupt 0000:00:10.3[D] -> Link [LNKD] -> GSI 15 (level, low) -> IRQ 15
ehci_hcd 0000:00:10.3: EHCI Host Controller
ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.3: irq 15, io mem 0xe2001000
ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
116x: driver isp116x-hcd, 03 Nov 2005
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: irq 11, io base 0x0000d400
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.1: irq 5, io base 0x0000d800
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:10.2[C] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.2: irq 10, io base 0x0000dc00
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
sl811: driver sl811-hcd, 19 May 2005
Initializing USB Mass Storage driver...
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usb 2-2: new low speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver hiddev
input: Microsoft Microsoft IntelliMouse® Explorer as /class/input/input1
input: USB HID v1.11 Mouse [Microsoft Microsoft IntelliMouse® Explorer] on usb-0000:00:10.0-1
input: Logitech HID compliant keyboard as /class/input/input2
input: USB HID v1.10 Keyboard [Logitech HID compliant keyboard] on usb-0000:00:10.0-2
input: Logitech HID compliant keyboard as /class/input/input3
input: USB HID v1.10 Device [Logitech HID compliant keyboard] on usb-0000:00:10.0-2
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
[...]
usbhid: exports duplicate symbol hiddev_hid_event (owned by kernel)
usbhid: exports duplicate symbol hiddev_hid_event (owned by kernel)
usbhid: exports duplicate symbol hiddev_hid_event (owned by kernel)
Any ideas? For me it looks like UHCI driver is missing, but I've compiled that afair... still I'll take a look at my kernel's config once again.
 
Old 11-12-2008, 06:36 AM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,353

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by bendi View Post
Does it matter if it's compiled as a module or built into kernel?
As long as it loads before you're asked to login, it shouldn't matter. It shouldn't be like the root filesystem, where it can't continue if it's not available immediately. /etc/modules (or however you load modules at boot)

Probably i8042 and usb-hid type modules.
 
Old 11-14-2008, 05:47 AM   #8
bendi
LQ Newbie
 
Registered: Jul 2004
Location: Poland
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
After many tries and kernel compilations I still haven't found what has been missing. I compiled almost everything what could be somehow connected with usb. I can't stand playing with it anymore, so instead I fall back to generic 2.6.21.5 kernel. Maybe something with drivers in 2.6.24.3 is wrong. I going to try some latest kernel versions when I will have more time.

Thanks for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multimedia Keyboard and Multiple Button Mice deerhawk Linux - General 5 04-30-2007 03:36 PM
USB Keyboard not working :( mofo Linux - Hardware 2 08-29-2006 09:21 PM
Noobie question, how to change keyboard from USB to /ps2 captainarmchair Linux - Hardware 0 02-22-2005 03:14 AM
problems with mice/keyboard switch ilectrcbob Linux - Hardware 1 01-18-2005 07:21 AM
USB Keyboard not working xbaez Linux - Hardware 5 07-02-2004 01:14 PM


All times are GMT -5. The time now is 11:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration