Hi Brad-

Brad Hards wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sun, 27 Oct 2002 16:01, Randy.Dunlap wrote:
> > When I 'modprobe hid', modprobe responds with:
> > # modprobe hid
> > modprobe: Can't locate module keybdev which is needed for hid
> >
> > Where does modprobe find this dependency?
> /lib/modules/$VERSION/modules.dep

Well, I had already looked there and it's not listed there:

[rddunlap@midway 2.5.44]$ pwd
/lib/modules/2.5.44
[rddunlap@midway 2.5.44]$ 
[rddunlap@midway 2.5.44]$ ls
build@   modules.dep             modules.isapnpmap   modules.pcimap
kernel/  modules.generic_string  modules.parportmap  modules.usbmap
[rddunlap@midway 2.5.44]$ 
[rddunlap@midway 2.5.44]$ grep -ni keybdev *
grep: build: Is a directory
grep: kernel: Is a directory
[rddunlap@midway 2.5.44]$

> > Now I recall that there used to be a "keybdev" and a "mousedev".
> > mousedev is still living in drivers/input/mousedev.c, but I
> > can't find a keybdev\* anywhere.
> Now gets built into the input core, I believe.

OK, thanks.

> > Furthermore, when I 'insmod hid.o', it loads and works just fine,
> > so "keybdev" isn't really required for it.
> Hmm, should get rebuilt when you do a "make modules_install", since there is a
> call to depmod. Do you see the depmod call when you install the modules?

Yes, 'depmod' is run, like so:
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.5.44; fi

So I now (again) have new, updated modules.* files, but the problem
persists:

[root@midway 2.5.44]# date
Sun Oct 27 09:49:56 PST 2002
[root@midway 2.5.44]# ll -tr *.dep
-rw-r--r--    1 root     root         4070 Oct 27 09:36 modules.dep

[root@midway 2.5.44]# lsmod
Module                  Size  Used by
ohci-hcd               23529   0  (unused)
uhci-hcd               27869   0  (unused)
usbcore                90364   2  [ohci-hcd uhci-hcd]

[root@midway 2.5.44]# modprobe hid
modprobe: Can't locate module keybdev which is needed for hid

but
[root@midway 2.5.44]# insmod kernel/drivers/usb/input/hid.o
[root@midway 2.5.44]# lsmod
Module                  Size  Used by
hid                    20523   0  (unused)

so I'm still confused.

> Have you got anything special in /etc/modules.conf? Sometimes that can screw
> things up.

Nope.  It's useless as far as USB is concerned (for 2.5, since
usb-uhci is gone).  It contains:
#
pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start
alias usb-interface usb-uhci
#alias sound-slot-0 emu10k1
#alias sound-slot-0 es1370
alias sound-slot-0 es1371
alias sound-slot-0 snd-ens1371
probeall scsi_hostadapter aic7xxx ide-scsi
alias eth0 eepro100
#

Thanks,
~Randy


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to