Re: HID generic-bluetooth driver

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

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux