Google
  Web www.spinics.net

Re: Registering USB Driver With Hotplug ?

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


On Mon, 3 Dec 2007, ashish mahamuni wrote:

> Hi All,
> I have written a usb driver for my pen drive.
> I can compile .ko file for my kernel successfully.
> But I don't know how to install it. OR we can say, how
> to  register this .ko with hotplug system.

You have to make your module known to the kernel build system.

> Also, whenever I insert my pen drive default driver
> gets loaded.. I want to stop this feature also..

That's easy.  Don't build the default driver.

> How should I test my driver?
> Please give me step by step information for installing
> and testing my module..

There are instructions in the book Linux Device Drivers, 3rd edition.  
It is freely available online.

Alan Stern


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[Home]     [Video for Linux]     [Photo]     [Yosemite Forum]     [Yosemite Photos]    [Video Projectors]     [PDAs]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [Free Dating]

  Powered by Linux