All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Fritz <chf.fritz@googlemail.com>
To: David Herrmann <dh.herrmann@googlemail.com>
Cc: linux-input@vger.kernel.org, padovan@profusion.mobi
Subject: Re: HID generic-bluetooth driver
Date: Sun, 08 May 2011 13:52:33 +0200	[thread overview]
Message-ID: <1304855553.4742.3.camel@mars> (raw)
In-Reply-To: <BANLkTi=tUNCMyCKVEXtv0W=8jYbK-k7HMg@mail.gmail.com>

On Sun, 2011-05-08 at 12:16 +0200, David Herrmann wrote:
> Hi
> 
> I am currently working on a bluetooth HID device driver during GSoC
> this summer and have a small problem. My dummy HID-driver does not get
> bound on new devices. My dummy driver is available at:
> https://github.com/dvdhrm/xwiimote/blob/master/driver/src/hid-nintendo.c
> 
> If a new bluetooth device with exactly these PID/VID values connects,
> the generic-bluetooth HID driver gets bound instead of my hid-nintendo
> driver. I checked /dev/hidrawX and it returns the same PID/VID values
> as I specified in my driver so these are correct.
> Also, if I use /sys/class/hid/drivers/generic-bluetooth/unbind and
> .../nintendo/bind I can bind my driver manually to that device.
> 
> What can I do to lower the priority of generic-bluetooth or to push my
> driver in front of generic-bluetooth?

Hi David,

 you can add it to hid_have_special_driver[] (drivers/hid/hid-core.c).

Thanks,
 -- chf


  reply	other threads:[~2011-05-08 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-08 10:16 HID generic-bluetooth driver David Herrmann
2011-05-08 11:52 ` Christoph Fritz [this message]
2011-05-08 12:20   ` David Herrmann
2011-05-08 15:02     ` Christoph Fritz

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=1304855553.4742.3.camel@mars \
    --to=chf.fritz@googlemail.com \
    --cc=dh.herrmann@googlemail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=padovan@profusion.mobi \
    /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.