LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 02-17-2004, 05:46 AM   #1
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
Kernel Bug?: Mousedev/Keybdev won't compile as modules


I've gotten the 2.6.2 kernel to compile (FINALLY!!) but i'm having some problems with the HID support. It seems that when I boot up, it finds the USB devices, loads the correct drivers and jazz, and then it loads HID, then it says "keybdev modules not found" and "mousedev modules not found". When I look through the .config, keybdev and mousedev are built into the kernel. I've tried several times *manually* changing these "y"s to "m"s but didn't work.

any one know if this is how it's suppose to be? My assumption is that if those two modules are now suppose to be builtin, the kernel wouldn't look for them.

I'm not sure...

why I ask:
My keyboard and mouse (Logitech Cordless Desktop Pro) connect via USB to a hub, then to the computer. Every once in a while, it will stop responding until I move or click the mouse. Then it will repeat the character that I was typing until I move or click the mouse again (it has happened twice while I was writing this).

The same happens with the mouse. I move the mouse around, it freezes on-screen, then proceeds after I press a key on the keyboard.

Anyone have any thoughts as to what's causing this? I think building keybdev and mousedev as modules might do the trick because I don't get this behavior in 2.4.20-24

Thanks guys!
 
Old 02-18-2004, 11:38 PM   #2
cTbone
LQ Newbie
 
Registered: May 2003
Location: NYC
Distribution: Gentoo 2.6.5-r1
Posts: 6

Rep: Reputation: 0
I'm having similar problems and I found this tutorial:

http://www.geocities.com/asimshankar...migrate26.html

and I tried those USB tricks - so far no luck for me, i have to tweak it a little more it seems. Give it a try and maybe it'll work for you.

EDIT:
The same technique is also mentioned at the bottom of this page:

http://fedoranews.org/jorge/howto/howto01.shtml

I've modified both my modprobe.conf (and modprobe.conf.dist) along with my rc.sysinit file and I'm still getting errors.

from rc.sysinit:
Code:
needusbstorage=
if [ $usb = "1" ]; then
    needusbstorage=`LC_ALL=C grep -e "^I.*Cls=08" /proc/bus/usb/devices 2>/dev/null`
    LC_ALL=C fgrep 'hid' /proc/bus/usb/drivers || action $"Initializing USB HID interface: " modprobe hid 2> /dev/null
    action $"Initializing USB keyboard: " modprobe usbkbd 2> /dev/null
    action $"Initializing USB mouse: " modprobe usbmouse 2> /dev/null
fi
from modprobe:
Code:
install usbmouse /sbin/modprobe --ignore-install usbmouse && { /sbin/modprobe hid; /bin/true; }
for substituting the "keybdev" into "usbkbd" and "mousedev" into "usbmouse", I found that this little perl piece works nice and fast:

perl -pi -e "s/oldword/newword/g;" filename

replace oldword, newword, and filename with the appropriate values.

Last edited by cTbone; 02-19-2004 at 12:19 AM.
 
Old 02-21-2004, 07:44 AM   #3
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Original Poster
Rep: Reputation: 30
this worked. thanks!
 
  


Reply



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
no modules after kernel compile glorsplitz Slackware 7 09-20-2005 10:26 AM
Modules error after compile 2.6.8.1 kernel mathias1975 Slackware 12 10-05-2004 02:52 AM
Kernel 2.6 - "keybdev" and "mousedev" gonzalo76 Fedora 2 04-13-2004 04:56 AM
modules after re-compile kernel skarim Linux - Software 3 10-15-2003 01:48 AM
XFS modules kernel naming bug fisher99 Slackware 1 04-01-2003 06:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:03 AM.

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
Open Source Consulting | Domain Registration