For a modular kernel, you can use the USBD scripts
available from the www.linux-usb.org website.  (The
FAQ is a place to start, but this question isn't
there ...)  Then the /etc/usb/drivers/printer config
script just gets replaced with something that knows
to load the "mydriver" module instead.

For a static kernel, you'll need to swap out the
"printer.o" for "mydriver.o".

- Dave


----- Original Message ----- 
From: "barak cohen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, 11 August, 2000 9:38 AM
Subject: [linux-usb] Kernel driver question


> Hello Folks,
> 
> I want to write a USB device driver that is commutative to current one (i.e.
> i want to load mydriver.o instead a current one lets say printer.o). In
> addition I want to be able to control is the system loads the original
> driver or my driver (I guess I can do it manually with rmmod and insmod). My
> question is, what should I do in terms of configuration in order for the USB
> core under linux to know which driver to load...
> 
> Thanks
> 
> Barak
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to