LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-14-2003, 05:40 AM   #1
Wonderer
Member
 
Registered: Oct 2003
Location: London, UK
Distribution: Slackware 9.0
Posts: 58

Rep: Reputation: 15
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

 
Old 10-14-2003, 05:10 PM   #2
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware 13.37
Posts: 785

Rep: Reputation: 31
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
 
Old 10-14-2003, 06:44 PM   #3
Wonderer
Member
 
Registered: Oct 2003
Location: London, UK
Distribution: Slackware 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
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


Last edited by Wonderer; 10-14-2003 at 06:46 PM.
 
Old 10-15-2003, 03:16 AM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
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.
 
Old 10-15-2003, 04:11 AM   #5
Wonderer
Member
 
Registered: Oct 2003
Location: London, UK
Distribution: Slackware 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
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
 
Old 10-15-2003, 04:37 AM   #6
Wonderer
Member
 
Registered: Oct 2003
Location: London, UK
Distribution: Slackware 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
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

 
Old 10-16-2003, 04:01 AM   #7
Wonderer
Member
 
Registered: Oct 2003
Location: London, UK
Distribution: Slackware 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
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?

 
Old 10-16-2003, 04:11 AM   #8
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
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
 
Old 10-16-2003, 06:58 AM   #9
Wonderer
Member
 
Registered: Oct 2003
Location: London, UK
Distribution: Slackware 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
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.


Last edited by Wonderer; 10-16-2003 at 07:06 AM.
 
Old 10-27-2003, 12:35 PM   #10
andy nourse
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
Thumbs down 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.
 
Old 10-27-2003, 01:20 PM   #11
KaiGoth
LQ Newbie
 
Registered: Oct 2003
Distribution: Slack, Slack, and more Slack
Posts: 15

Rep: Reputation: 0
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 and tap the keys. Hopefully this helps others out there in the same boat.

Kai
 
Old 10-27-2003, 05:38 PM   #12
Wonderer
Member
 
Registered: Oct 2003
Location: London, UK
Distribution: Slackware 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
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


Last edited by Wonderer; 10-27-2003 at 05:39 PM.
 
Old 10-28-2003, 12:06 PM   #13
stdnt
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
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.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10 Keyboard & Mouse freeze in X Colonel-1990 Linux - Hardware 9 02-15-2005 08:33 PM
Fedora core 2 problems w/ USB mouse & keyboard nespa? Decepticon22 Linux - Hardware 1 01-10-2005 05:26 PM
Problem with USB Keyboard & Mouse (wireless) on RHEL3 armada2001 Red Hat 0 09-07-2004 04:36 AM
mandrake 10 w/ usb keyboard & mouse? bencpht Mandriva 0 05-29-2004 11:56 PM
USBMGR: problem with usb-keyboard&-mouse pablovschby Linux - Hardware 1 01-05-2004 05:57 AM


All times are GMT -5. The time now is 12:15 PM.

Main Menu
Advertisement
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