Bruce Marshall wrote:

On Friday 11 July 2003 17:39 pm, Klaus-Peter Schrage wrote:


Net Llama! wrote:


On 07/11/03 14:11, Klaus-Peter Schrage wrote:


... the subject tells it all.
Now the module in question wasn't really forgotten, I didn't need
it on my last recompile, but now I do: I have a very nice new
device, a Mambo USB Music Drive which is a mp3 player and a 128 MB
USB storage in one, as small as a lighter. It should hotplug in
Linux as well as it does in Windows, so I need usb-storage.o which
I had disabled on my last full kernel compile.
How could I get usb-storage working (on a stock 2.4.21 kernel)
without the whole recompile story which I really don't want to go
through?
This should be possible, and I faintly remember to have done
something like that before ...
All the other necessary usb stuff is already there.


Assuming that usb-storage doesn't make changes to the kernel itself,
i think you just need to do another kernel build, but skip the 'make
bzImage' step.


I'd like to avoid that, because after the kernel compile I had added
some third party modules (ALSA, NVIDIA kernel driver) which I wouldn't
like to do again just to get another single standard kernel module. I
think there was a trick to post compile a specific module, perhaps
some tweaking of /drivers/usb/Makefile - I don't remember it.
Klaus



It would be my guess that if you have compiled a kernel with the option of 'no usb-storage' then there would be no 'hook' in the kernel for any USB-storage module to be called from.


Don't think it is possible just to compile the module and have it used.



I gave up and took the long road, did a complete kernel recompile, made ALSA and Nvidia too, and I am very happy with my USB stick/player. It hotplugs nicely, and to load a mp3 file I just drop it with konqueror.
But I still can't believe that it's not possible to compile a single specific kernel module. You can do it with foreign modules (cf. the ALSA driver), why shouldn't it be possible with the kernel's own ones?
Klaus


_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to