Re: [PATCH] HID Sensors: Add USB pid 0x0A01

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

 



Hi Matt,

This should go to Jiri Kosina (CCed).

Thanks.

On Wed, Oct 03, 2012 at 02:31:50PM -0700, Matt Gumbel wrote:
> For usb hid sensor hub in recent platform.
> 
> Signed-off-by: Matt Gumbel <matthew.k.gumbel@xxxxxxxxxxxxxxx>
> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>
> ---
>  drivers/hid/hid-core.c       |    1 +
>  drivers/hid/hid-ids.h        |    1 +
>  drivers/hid/hid-sensor-hub.c |    2 ++
>  3 files changed, 4 insertions(+)
> 
> diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
> index a9bb940..15cf199 100644
> --- a/drivers/hid/hid-core.c
> +++ b/drivers/hid/hid-core.c
> @@ -1562,6 +1562,7 @@ static const struct hid_device_id
> hid_have_special_driver[] = {
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_INTEL_8086,
> USB_DEVICE_ID_SENSOR_HUB_09FA) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_INTEL_8087,
> USB_DEVICE_ID_SENSOR_HUB_1020) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_INTEL_8087,
> USB_DEVICE_ID_SENSOR_HUB_09FA) },
> +	{ HID_USB_DEVICE(USB_VENDOR_ID_INTEL_8087,
> USB_DEVICE_ID_SENSOR_HUB_0A01) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_KENSINGTON, USB_DEVICE_ID_KS_SLIMBLADE) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_KEYTOUCH, USB_DEVICE_ID_KEYTOUCH_IEC) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_ERGO_525V) },
> diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
> index d08a4cf..48c1808 100644
> --- a/drivers/hid/hid-ids.h
> +++ b/drivers/hid/hid-ids.h
> @@ -432,6 +432,7 @@
>  #define USB_VENDOR_ID_INTEL_8087	0x8087
>  #define USB_DEVICE_ID_SENSOR_HUB_1020	0x1020
>  #define USB_DEVICE_ID_SENSOR_HUB_09FA	0x09FA
> +#define USB_DEVICE_ID_SENSOR_HUB_0A01	0x0A01
> 
>  #define USB_VENDOR_ID_IRTOUCHSYSTEMS	0x6615
>  #define USB_DEVICE_ID_IRTOUCH_INFRARED_USB	0x0070
> diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c
> index d9d73e9..b1c40e8 100644
> --- a/drivers/hid/hid-sensor-hub.c
> +++ b/drivers/hid/hid-sensor-hub.c
> @@ -638,6 +638,8 @@ static const struct hid_device_id sensor_hub_devices[]
> = {
>  			USB_DEVICE_ID_SENSOR_HUB_09FA) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_INTEL_8087,
>  			USB_DEVICE_ID_SENSOR_HUB_09FA) },
> +	{ HID_USB_DEVICE(USB_VENDOR_ID_INTEL_8087,
> +			USB_DEVICE_ID_SENSOR_HUB_0A01) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_STANTUM_STM,
>  			USB_DEVICE_ID_SENSOR_HUB_7014) },
>  	{ }
> -- 
> 1.7.9.5
> 

-- 
Dmitry
--
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