[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

custom usb-storage module for NSLU2 Debian



Hello everyone,
 
I've recently installed Debian on a NSLU2 (my first attempt at this - using the instructions at http://www.cyrius.com/debian/nslu2/ ). My problem is that I want it to use a custom usb-storage module which I've patched to ignore a Huawei E220 high speed wireless modem that gets detected as a mass storage device (that's where it stores the Windows drivers). The procedure is fairly well documented, I've used the instructions here https://lists.one-eyed-alien.net/pipermail/usb-storage/2006-July/002601.html to patch unusual_devs.h to enable the US_FL_IGNORE_DEVICE flag, then I've added the Huawei to unusual_devs.h as mentioned here: http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg48419.html . All went fine, the usb-storage module compiles just fine, I drop it in /lib/modules/2.6.17-2-ixp4xx/kernel/drivers/usb/storage/usb- storage.ko and run "depmod -a". But my driver never gets loaded, it's still the original driver (I've added a few messages in the module to see if mine is running and it's not - it's still the old one).
 
Now, I suspect that the usb-storage module is loaded at an earlier stage of the boot in order to allow the NSLU to boot from the USB drive. Is there any way I can make it use a patched version of the module and still boot from the USB stick?
 
Sorry if this has an obvious answer, I'm just new at this :).
 
Thanks.
Razvan

--
Razvan Dragomirescu
Chief Technology Officer
Cayenne Graphics SRL

Reply to: