From: Allen B. <ba...@lo...> - 2001-03-15 17:32:17
|
FWIW, I recompiled the basic USB driver (usbcore.o) as a module instead of having it built into the kernel. The printer module is now loaded automatically (along with the drivers for anything else plugged in) when hotplug is started. Allen "PASCHAL,DAVID (HP-Roseville,ex1)" wrote: > Allen Barnett wrote: > > I cold started my machine this morning and was surprised to see that the > > USB printer.o module was not 'cold plugged' as the machine booted. If I > > pull the USB plug and reinsert it, the printer.o module is loaded OK (by > > /sbin/hotplug?), after which ptal-mlc and ptal-printd can be started OK. > > Is there a patch to the USB printer.c module for the G85 (or similar) > > which can cause it to be loaded at boot time? (There's some info in the > > hotplug README about using the 'usbmodules' command if a module is not > > loading at boot time. Is this the way to go?) > I don't think the problem is in printer.c. The "hot-plugging" section of > the FAQ page at http://www.linux-usb.org mentions the term "cold-plugging", > which is what you're having a problem with, but I can't find any specific > information about it. It sounds like you're reading the right information, > though, so run whatever commands you need to in order to make it work. :-) > I personally avoid the whole mess by insmoding all the necessary modules at > startup. > |