LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   USB keyboard & mouse problem in Slackware 9.1 (https://www.linuxquestions.org/questions/slackware-14/usb-keyboard-and-mouse-problem-in-slackware-9-1-a-103733/)

Wonderer 10-14-2003 04:40 AM

USB keyboard & mouse problem in Slackware 9.1
 
Hi

I was not able to get Slack installation CD to boot the kernel and it would get stuck with USB keyboard & mouse. I asked around and was told to use ps/2.

So I disconnected the USB keyboard and mouse and changed it with my old ps/2 keyb & mouse.

CD booted OK and I completed the installation. Everything runs fine but if I connect the USB keyboard or mouse, Kernel would not load and hangs after:
...
...
usbkbd.c: USB HID Boot Protocol keyboard driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid

And then it hangs.

My keyboard & mouse are HID, Logitech 3 button mouse + keyboard.

I use Lilo boot floppy. I had genoo installed before and both the USB keyb & mouse were working perfectly. I run into trouble with XF86Config and could not get the X started. No one could help me out so I cleaned up and installed Slack.

Since then I know why I had problem with X in gentoo. As Slack made the XF86Config and it works, I had the chance to examine the config. It is using generic VESSA driver for card [I have radeon 7000VE] and it is set to much lower Horizontal and Vertical refresh rates than my monitor. If I increase the refresh rates to the figure provided by manufacturer's spec, X fails.

Anyway, I think there is a conflict between usb and hid. The bios fix can also cause problems although I don't know how to do it anyway. Most such suggestions are made for older Slack distros without usb support.
I don't know how to use /etc/hotplug/blacklist or what else I should do.

I was reading and SLack 8.1 had usb.i kernel [bare.i plus usb] but no such thing in Slack 9.1 although USB support maybe built in.

I do not have a usb hub as such but hub is detected by kernel. As usb mouse connect to usb keyboard and keyboard is then connected to the computer, that would mean keyboard is acting like a mini hub.
BTW, my computer is PackardBell with PackardBell keyboard and mouse although mouse is made by Logitech.

Any ideas?
TIA

:Pengy:

quietguy47 10-14-2003 04:10 PM

Try uncommenting(removing the #) from the appropriate lines in /etc/rc.d/rc.modules under USB Device drivers.
# Simple HIDBP USB mouse driver, if hid doesn't work:
#/sbin/modprobe usbmouse
# Simple HIDBP USB keyboard driver, if hid doesn't work:
#/sbin/modprobe usbkbd

# Simple HIDBP USB mouse driver, if hid doesn't work:
/sbin/modprobe usbmouse
# Simple HIDBP USB keyboard driver, if hid doesn't work:
/sbin/modprobe usbkbd

Wonderer 10-14-2003 05:44 PM

Thank you quietguy47.

I tried with HID first and then with USBBP and on both occasions the kernel got stock.

First with HID:
Code:

### USB Host Controllers:
# Universal Host Controller Interface (Intel standard):
#/sbin/modprobe usb-uhci
# Universal Host Controller Interface (alternate JE):
#/sbin/modprobe uhci
# Open Host Controller Interface (Compaq/Microsoft/National standard):
#/sbin/modprobe usb-ohci

### USB device support:
# (Note that once you've loaded USB hub support most USB devices will
# trigger the kernel to load their modules automatically)
# USB "Human Interface Device" driver; handles most USB mice, joysticks,
# gamepads, steering wheels, keyboards, trackballs and digitizers.
/sbin/modprobe hid
# Simple HIDBP USB mouse driver, if hid doesn't work:
#/sbin/modprobe usbmouse
# Simple HIDBP USB keyboard driver, if hid doesn't work:
#/sbin/modprobe usbkbd
-
-
-
### USB event drivers:
# Keyboard input:
/sbin/modprobe keybdev
# Mouse input:
/sbin/modprobe mousedev

Kernel got stuck after:
Code:

INPUT: USB HID v1.00 keyboard [BTC USB keybaord] on USB 1.3.0
USB-control/bulk-msg: timeout

And then with:
Code:

### USB Host Controllers:
# Universal Host Controller Interface (Intel standard):
#/sbin/modprobe usb-uhci
# Universal Host Controller Interface (alternate JE):
#/sbin/modprobe uhci
# Open Host Controller Interface (Compaq/Microsoft/National standard):
#/sbin/modprobe usb-ohci

### USB device support:
# (Note that once you've loaded USB hub support most USB devices will
# trigger the kernel to load their modules automatically)
# USB "Human Interface Device" driver; handles most USB mice, joysticks,
# gamepads, steering wheels, keyboards, trackballs and digitizers.
#/sbin/modprobe hid
# Simple HIDBP USB mouse driver, if hid doesn't work:
/sbin/modprobe usbmouse
# Simple HIDBP USB keyboard driver, if hid doesn't work:
/sbin/modprobe usbkbd
-
-
-
### USB event drivers:
# Keyboard input:
/sbin/modprobe keybdev
# Mouse input:
/sbin/modprobe mousedev

And the kernel got stuck after:
Code:

INPUT: USB HID v1.00 keyboard [BTC USB keybaord] on USB 1.3.0
I think there is something wrong with bare.i kernel as the installation CD had the same problem and would not load.

I thank you for helping out. I posted questions all over the net, IRC, usnet but not a lot of responses.

If it continues to be a problem, then I have to look elsewhere.

I also sent an email to Slackware. I hope they may have an answer.

Tnx

:(

Azmeen 10-15-2003 02:16 AM

I've used Slack only with USB input devices (mouse and keyboard) for months... I believe that most likely your problem is with your computer's BIOS settings, please ensure that you enable USB input devices support at boot time.

Wonderer 10-15-2003 03:11 AM

Thank you Azmeen.

I did have a look through BOIS but did not see it.

How do I enable USB input devices at boot time?

TIA
:)

Wonderer 10-15-2003 03:37 AM

PS. I just checked the BIOS again

AMIBIOS Easy Setup Utility - version 2.01a

Under:
Advanced Chipset Setup

DRAM Frequency ..................... 133MHZ
AGP Aperture size .................... 64MB
USB Controller ......................... All USB
USB Device Legacy Support ....... All Device

I did not see any other USB related entry

:Pengy:

Wonderer 10-16-2003 03:01 AM

Any help would be appreciated. I can not boot Slack with my USB keyboard and mouse.

Should I clean up and try another kernel? another set up? another distro?

:newbie:

Azmeen 10-16-2003 03:11 AM

Try reinstalling and use bare.i as your default kernel... I really can't help with the BIOS settings because I don't use the same BIOS as you, nor can I get access to PCs which do use them...

Sorry :(

Wonderer 10-16-2003 05:58 AM

Tnx.

I am downloading iso from another source just in case.

I did use bare.i.

I will try again with the new iso and if it does not load then there is a problem with Slack 9.1 bare.i kernel as gentoo install laods and installs fine.

:confused:

andy nourse 10-27-2003 11:35 AM

Worked in Slackware 9.0 -- Busted in 9.1
 
I have Slackware 9.0 on two Sony PCs with USB keyboards and mice and they work fine.
I tried the Slackware 9.1 distro and the USB keyboard is broken on both.
I can type at the boot prompt with it, and the kernel supports USB, but it unloads
everything USB-related due to a timeout.
On the Sony L640 with a Gyration wireless kb/mouse the kernel panics (looks like it
tried to use the driver after unloading it or something). I can get that one to boot with
"nousb" but then there is no usb support.
On the Sony RX450 with a Macally keyboard it doesn't crash, but the usb keyboard
doesn't work.
:scratch:

KaiGoth 10-27-2003 12:20 PM

OK, call me stupid for coming up with such a "lame" non-technical fix, but I had the same problem.

Booting from CD, my system locked up at the select keyboard screen EVERY time no matter what I did. Like Wonderer, I have a crappy BIOS with basically zero user editable settings and could not really do much there.

In order to get the distro CD to boot properly, after selecting the kernel (and in case there's a questions my only append was idebus=66), I repeatedly tapped the caps lock key. That's right something that sounds really stupid and I'm embarassed to admit, but it was akin to slapping an old console TV with the palm of your hand because the picture kept shifting.

Anyways, I have since tested booting with the CD, and if I tap the caps lock key (or any key) an average of 2 - 3 times per second, it seems my system reports the existence of a USB keyboard and I boot just fine every time.

Lastly, once 9.1 was installed, I no longer to have to look like an idiot :newbie: and tap the keys. Hopefully this helps others out there in the same boat.

Kai

Wonderer 10-27-2003 04:38 PM

Tnx.

Actually my problems occurs before Select keybaord prompt:

With USB keybaord and mouse, kernel would hang well beofre then. It would work fine with ps/2 k&m.

I finally isntalled Slack 9.0 which works fine.

Also as replied to:



Slack 9.2 USB 2.0 Woes

:Pengy:

stdnt 10-28-2003 11:06 AM

I've got a Microsoft SideWinder Force Feedback 2
It's a USB device... but when I first tried to install Slackware 9.1
I got an issue relating to USB devices and the system hung.
So, I just tried unplugging it while booting and followed the entire installation process normally...then everything run fine including my USB devices.


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