Fwd: USB device driver - how use my own?

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

 



---------- Forwarded message ----------
From: Jinesh K J <jineshkj.newsletters@xxxxxxxxx>
Date: Jun 8, 2006 5:54 PM
Subject: Re: USB device driver - how use my own?
To: "mgr@xxxxxxxxxxx" <mgr@xxxxxxxxxxx>


hi,

once u have loaded your driver and registered the probe function, the
rest happens automatically. for any valid usb device plugged into the
system, the probe function is called and the rest should be handled by
it. i hope u can get more info from the book "linux device drivers,
3/e"


On 6/8/06, mgr@xxxxxxxxxxx <mgr@xxxxxxxxxxx> wrote:
Hi,

I am writing a device driver for USB on the host side. I have compiled the
module and I can see the messages (in /var/log/messages) that I wrote
within printk in the init and exit functions as I "insmod" and "rmmod" the
module. Now, my question is, how do I make the kernel use the device
driver I have programmed and not the default device driver?


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux