LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-08-2003, 06:47 PM   #1
pkdk657
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Rep: Reputation: 15
uhci kills usb keyboard


executing modprobe usb-uhci disables my usb keyboard. What's the problem? My keyboard works fine with stock bare.i kernel from Slackware 8.1. I need the usb-uhci module to use my usb flash drive.
 
Old 04-08-2003, 10:24 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
Well, if the bare.i kernel from Slack 8.1 was working with a USB keyboard without USB modules loaded then I suspect it was using BIOS compatible mode. By enabling the USB ports and making them hot it would disable the BIOS function.

After loading the usb-uhci module, then also load the usbkbd, input, and keybdev modules for the keyboard support. Of course you know by now that you can't type these commands in to the system. They have to be loaded from a script.

#!/bin/sh
/sbin/modprobe usb-uhci
/sbin/modprobe usbkbd
/sbin/modprobe input
/sbin/modprobe keybdev

You can create a script for the above and run it manually. You will need to do a "chmod 755 script_name" to make it executable after you create it. Use pico editor or other if you like. Then run it by using "./script_name". If it works OK then copy it to the /etc/rc.d directory and call it from the /etc/rc.d/rc.local script if you like. But I think they are also called from the rc.modules script if you locate them all and remove the remark from the line to enable it during bootup. The exception from what I could see is the "input" module, but that would autoload from the dependicies I would think for keybdev. But be carefull because the rc.modules executes on each boot. If it doesn't work then you will not be able to even login to the system to make any changes to it because the keyboard will not work. That is why I suggested using a separate script to make sure it was working prior to making the change to the startup scripts. The worse case there is to reset the system or maybe use the mouse to shutdown if GUI operation.
 
Old 04-08-2003, 11:51 PM   #3
pkdk657
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Original Poster
Rep: Reputation: 15
I tried the script. It worked!!! --thank you!! I'll try to move it to rc.modules next.
 
  


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
usb modem : Can ping, but cant browse - and cant modprobe usb-uhci nmoog Linux - Newbie 8 01-07-2004 11:50 PM
can I install usb-ohci module when I already have usb-uhci? krapaud Mandriva 9 11-17-2003 02:31 AM
Initializing USB Controller (usb-uhci) booting mandy 9.2 austinjreid Mandriva 1 11-10-2003 12:55 PM
Red Hat Linux 8 hangs at initializing usb controller (usb-uhci) subaschan Linux - General 5 09-15-2003 02:49 AM
USB cable modem kills usb keyboard sketi Linux - Hardware 1 02-22-2003 06:47 AM


All times are GMT -5. The time now is 02:18 PM.

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