All of lore.kernel.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Stop usbhid from claiming usb device on hotplug
Date: Sat, 30 May 2015 00:39:46 -0700	[thread overview]
Message-ID: <20150530073946.GA5526@kroah.com> (raw)
In-Reply-To: <CADju=PtdCrY7Kcm_fZ61p3jhef=eopXjN2zsHkS7zEhRK51kog@mail.gmail.com>

On Sat, May 30, 2015 at 01:43:20AM -0400, Armin Moradi wrote:
> >> I'm writing a kernel module, but probe() is never called since usbhid
> >> claims the usb device as soon as the device is plugged in.
> >
> > What type of module for what type of device?  And why do you want to
> > override the hid driver from binding to it?
> >
> > thanks,
> >
> > greg k-h
> 
> I'm just learning about device drivers, so I'm writing a dummy usb
> device driver. I've pasted the code here (I hope the formatting is
> correct):

This was for a challenge that doesn't want you to ask in public, sorry,
I'm not going to answer it.

best of luck,

greg k-h

  reply	other threads:[~2015-05-30  7:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-29 20:58 Stop usbhid from claiming usb device on hotplug Armin Moradi
2015-05-29 21:14 ` Greg KH
2015-05-30  5:43   ` Armin Moradi
2015-05-30  7:39     ` Greg KH [this message]
2015-05-30  7:54       ` Abhishek bist
2015-05-30  8:07         ` Armin Moradi
2015-05-31  1:28           ` Valdis.Kletnieks at vt.edu
2015-06-01  0:22             ` Armin Moradi
     [not found]               ` <9295AF3E-40D2-44CC-B640-FE6B2DC3AF31@gmail.com>
2015-06-01  1:09                 ` Valdis.Kletnieks at vt.edu
     [not found]                   ` <647BA384-BA56-40DE-8045-EF0BFB352791@gmail.com>
2015-06-01  6:36                     ` Valdis.Kletnieks at vt.edu
     [not found]                       ` <F8196AC5-37AB-405C-8D84-9314D85A7E7B@gmail.com>
2015-06-01 14:55                         ` Armin Moradi
     [not found]                           ` <556C73C8.9050707@gmail.com>
2015-06-01 15:33                             ` Armin Moradi

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=20150530073946.GA5526@kroah.com \
    --to=greg@kroah.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.