I have just changed my mouse to USB and have got it working but I have to load all the modules manually.
I have searched the internet for solutions and have tried a number of different aliases in modutils without any success (Yes - I did think to run update-modules).
It appears that the modules I have to load, using modprobe, are hid.o and usb-ohci.o which then cause other appropriate modules, e.g. usbcore.o, to load.
What do I need to put in as aliases to get this to work?
I'm running Debian 2.2 with XFree86 3.3.6.
One other connected problem is that although I have put the following in fstab:
none /proc/bus/usb usbdevfs defaults 0 0
it is not mounted. When the machine boots I see a message something like 'cannot locate module usbdevfs' when it gets to the 'mounting local filesystems' bit which is rather strange because usb file system support is compiled into the kernel. I can, immediately after logging in, manually mount usbdevfs without problems and none of the USB modules have been loaded at this point.
I would like to get these modules loaded automatically. Can anyone help please?
Barry Samuels
On Fri, 8 Feb 2002, bsamuels@beenthere-donethat.org.uk wrote:
What do I need to put in as aliases to get this to work?
I can't tell you now as I am at work but i have USB working at home for my mouse so I will be able to tell you later on this evening.
I'm running Debian 2.2 with XFree86 3.3.6.
Which kernel are you on 2.2.20 or a 2.4.* btw?
Adam
Barry wrote:
I have just changed my mouse to USB and have got it working but I have to load all the modules manually.
Well, the fstab line looks OK to me. Like you, I have USB device FS in the kernel permanently. The right HCI is a module, which seems to get loaded OK, even though it's not in modutils. I think the difference may be the "hotplug" package? That listens to USB and loads modules on demand. Why it would stop usbdevfs being mounted, I don't know.
MJ Ray markj@cloaked.freeserve.co.uk wrote:
Barry wrote:
I have just changed my mouse to USB and have got it working but I
have
to load all the modules manually.
Well, the fstab line looks OK to me. Like you, I have USB device FS in the kernel permanently. The right HCI is a module, which seems to get loaded OK, even though it's not in modutils. I think the difference may be the "hotplug" package? That listens to USB and loads modules on demand. Why it would stop usbdevfs being mounted, I don't know.
I believe 'hot plugging' is confined to 2.4 kernels is it not and I am running 2.2.20 - which I forgot to mention.
Barry Samuels
On Fri, 8 Feb 2002 bsamuels@beenthere-donethat.org.uk wrote:
It appears that the modules I have to load, using modprobe, are hid.o and usb-ohci.o which then cause other appropriate modules, e.g. usbcore.o, to load.
What do I need to put in as aliases to get this to work?
Not sure if this is the right way to do it, but edit /etc/modules and add:
hid mousedev
(or whatever... those two were all I needed).
none /proc/bus/usb usbdevfs defaults 0 0
Looks fine to me ... not sure of the cause of that ... see if autoloading those modules works.
Andrew.