For Review/Testing: uhidev(4) USB driver level for devices with multiple report ids

Mark Hobden markhobden at gmail.com
Mon Mar 5 09:59:09 UTC 2007


On 05/03/07, Cesar Kuroiwa <cesar.kuroiwa at gmail.com> wrote:
> Hi there,
> I was a little unsure about which patch to use, so I recompiled world and
> kernel with this last one, and unfortunately, have to say it didn't work for
> me. My mouse is still showing no sign of life under FreeBSD...
> Did I do sth wrong then? Should I have applied both patches ("
> uhidev-6-stable-p1.diff" and "uhidev-add-ms.diff") since I am using
> 6-stable, to make it work.

You definitely need the uhidev-6-stable-p1.diff patch and if it is a Microsoft
set it is very very likely you will need both, if the mouse behaves weirdly with
both (doing things like trying to scroll up or down whenever you click a button)
then I need to add your device ID to the second patch - I think you have to look
for 'product=' in the output from the following command to get the device ID:

devinfo -v | grep uhidev

this will then get added to usbdevs and a quirk for the device gets added in
usb_quirks.c

Good luck!

Mark


More information about the freebsd-usb mailing list