Re: [PATCH v2] HID: Fix reporting of nonexistent HWheel for Elecom BM084 (bluetooth mouse).

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

 



On Mon, 28 Jun 2010, Richard Nauber wrote:

> Ok, how about this:
[ ... snip ... ]
> +static void elecom_report_fixup(struct hid_device *hdev, __u8 *rdesc,
> +		unsigned int rsize)
> +{
> +	if (rsize >= 48 && rdesc[46] == 0x05 && rdesc[47] == 0x0c) {
> +		dev_info(&hdev->dev, "Fixing up Elecom BM084 "
> +				"report descriptor.\n");
> +		rdesc[47] = 0x00;
> +	}
> +}
> +
> +static const struct hid_device_id elecom_devices[] = {
> +	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_BM084)},
> +	{ } heads up and

What is this? :)

I will fix that mess up and apply to my tree.

Thanks for the driver!

-- 
Jiri Kosina
SUSE Labs, Novell Inc.
--
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