All of lore.kernel.org
 help / color / mirror / Atom feed
From: apawar.linux@gmail.com (Abhijit Pawar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: sample USB Driver / Probe not getting called
Date: Mon, 17 Oct 2011 15:05:45 +0530	[thread overview]
Message-ID: <4E9BF6F1.1090301@gmail.com> (raw)

Hi All,
Is there any way to call a sample USB driver whenever a USB device is 
attached to the system irrespective of the class and type of the device?

To do this, LDD3, chap 13 mention that for USB device table, we only 
need to add the driver_info entry as 42.

However if I do this, my probe is never getting called.

Now, I give the vendor and product id of this Mouse to the device_id 
table and load my driver again. Still the probe is not getting called.

Is it that USB core is getting the proper driver for this mouse before 
my driver entry in the list?

Am I missing something?

Regards,
Abhijit Pawar

             reply	other threads:[~2011-10-17  9:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17  9:35 Abhijit Pawar [this message]
2011-10-17 10:38 ` sample USB Driver / Probe not getting called selvamuthukumar v
2011-10-17 10:42   ` Abhijit Pawar
2011-10-17 11:01     ` selvamuthukumar v

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E9BF6F1.1090301@gmail.com \
    --to=apawar.linux@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.