On Fri, Mar 7, 2014 at 10:58 AM, Derya <derya.kiran@xxxxxxxx> wrote: > Enumeration quirks for Surface Pro 2 sensor-hub > > Signed-off-by: Derya <derya.kiran@xxxxxxxx> > --- > drivers/hid/hid-sensor-hub.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c > index 9c22e14..16f4bb8 100644 > --- a/drivers/hid/hid-sensor-hub.c > +++ b/drivers/hid/hid-sensor-hub.c > @@ -668,6 +668,15 @@ static const struct hid_device_id sensor_hub_devices[] > = { > { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, USB_VENDOR_ID_STM_0, > USB_DEVICE_ID_STM_HID_SENSOR), > .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, > + { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, > USB_VENDOR_ID_MICROSOFT, > + USB_DEVICE_ID_MS_TOUCH_COVER_2), > + .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, > + { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, > USB_VENDOR_ID_MICROSOFT, > + USB_DEVICE_ID_MS_TYPE_COVER_2), > + .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, > + { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, > USB_VENDOR_ID_MICROSOFT, > + USB_DEVICE_ID_MS_SURFACE_PRO_2), > + .driver_data = HID_SENSOR_HUB_ENUM_QUIRK}, this seems to be pretty heavy to have all three product id in the sensor hub. Is it mandatory? Cheers, Benjamin > { HID_DEVICE(HID_BUS_ANY, HID_GROUP_SENSOR_HUB, HID_ANY_ID, > HID_ANY_ID) }, > { } > -- > 1.8.3.2 > > -- > 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 -- 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