# \[PATCH\] HID: add IRTOUCH infrared USB to hid\_have\_special\_driver

- Subsystems: HID CORE LAYER, THE REST
- Maintainers: Jiri Kosina, Benjamin Tissoires, Linus Torvalds
- List: linux-input
- 5 messages, 2 authors
- Page: https://ratatoskr.run/linux-input/2011/02/3677786/t

## \[PATCH\] HID: add IRTOUCH infrared USB to hid\_have\_special\_driver

- From: Benjamin Tissoires \<hidden\>
- Date: 2011-02-15 14:33:57 
- Message: https://ratatoskr.run/linux-input/2011/02/3677786.md

```text
Without this patch, the device is handled by hidinput and does
not have the right behavior.

Signed-off-by: Benjamin Tissoires <redacted>
---
Hi guys,

In the previous patch including the support to IRTOUCH devices, I forgot to add it to hid_have_special_driver. Sorry.

Cheers,
Benjamin

 drivers/hid/hid-core.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index d678cf3..a5f6439 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1345,6 +1345,7 @@ static const struct hid_device_id hid_have_special_driver[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_3) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HANVON, USB_DEVICE_ID_HANVON_MULTITOUCH) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_IRTOUCHSYSTEMS, USB_DEVICE_ID_IRTOUCH_INFRARED_USB) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KENSINGTON, USB_DEVICE_ID_KS_SLIMBLADE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_ERGO_525V) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_LABTEC, USB_DEVICE_ID_LABTEC_WIRELESS_KEYBOARD) },
-- 
1.7.4

```

## Re: \[PATCH\] HID: add IRTOUCH infrared USB to hid\_have\_special\_driver

- From: Jiri Kosina \<hidden\>
- Date: 2011-02-15 23:04:55 
- Message: https://ratatoskr.run/linux-input/2011/02/3677986.md

```text
On Tue, 15 Feb 2011, Benjamin Tissoires wrote:

> Without this patch, the device is handled by hidinput and does
> not have the right behavior.
> 
> Signed-off-by: Benjamin Tissoires <redacted>
> ---
> Hi guys,
> 
> In the previous patch including the support to IRTOUCH devices, I forgot 
> to add it to hid_have_special_driver. Sorry.

Hmm, this happens quite often to people submitting patches, but I normally 
catch it. This time my eyes have failed.

Thanks for the fix, applied.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.
```

## Re: \[PATCH\] HID: add IRTOUCH infrared USB to hid\_have\_special\_driver

- From: Benjamin Tissoires \<hidden\>
- Date: 2011-02-16 09:54:29 
- Message: https://ratatoskr.run/linux-input/2011/02/3678723.md

```text
Hi Jiri,

Thanks for applying those two patches.
BTW I'm a little worried: apparently you applied this patch in the
branch upstream-fixes but you didn't applied "HID: hid-multitouch:
introduce IrTouch Infrared USB..." and it's parents in this branch....
I'm afraid this will broke compilation of the upstream branch
(USB_VENDOR_ID_IRTOUCHSYSTEMS and USB_DEVICE_ID_IRTOUCH_INFRARED_USB
are not defined).

Thanks,
Benjamin

On Wed, Feb 16, 2011 at 00:04, Jiri Kosina [ref] wrote:
> On Tue, 15 Feb 2011, Benjamin Tissoires wrote:
>
>> Without this patch, the device is handled by hidinput and does
>> not have the right behavior.
>>
>> Signed-off-by: Benjamin Tissoires <redacted>
>> ---
>> Hi guys,
>>
>> In the previous patch including the support to IRTOUCH devices, I forgot
>> to add it to hid_have_special_driver. Sorry.
>
> Hmm, this happens quite often to people submitting patches, but I normally
> catch it. This time my eyes have failed.
>
> Thanks for the fix, applied.
>
> --
> Jiri Kosina
> SUSE Labs, Novell Inc.
>
```

## Re: \[PATCH\] HID: add IRTOUCH infrared USB to hid\_have\_special\_driver

- From: Jiri Kosina \<hidden\>
- Date: 2011-02-16 17:38:19 
- Message: https://ratatoskr.run/linux-input/2011/02/3678912.md

```text
On Wed, 16 Feb 2011, Benjamin Tissoires wrote:

> Thanks for applying those two patches.
> BTW I'm a little worried: apparently you applied this patch in the
> branch upstream-fixes but you didn't applied "HID: hid-multitouch:
> introduce IrTouch Infrared USB..." and it's parents in this branch....
> I'm afraid this will broke compilation of the upstream branch
> (USB_VENDOR_ID_IRTOUCHSYSTEMS and USB_DEVICE_ID_IRTOUCH_INFRARED_USB
> are not defined).

Hi,

yes, I pushed the patch to wrong remote branch yesterday, but apparently 
sync to git.kernel.org in which I fixed it hasn't made it yet for some 
reason.

Sorry for the noise,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.
```

## Re: \[PATCH\] HID: add IRTOUCH infrared USB to hid\_have\_special\_driver

- From: Benjamin Tissoires \<hidden\>
- Date: 2011-02-16 17:54:59 
- Message: https://ratatoskr.run/linux-input/2011/02/3678926.md

```text
On Wed, Feb 16, 2011 at 18:38, Jiri Kosina [ref] wrote:
> On Wed, 16 Feb 2011, Benjamin Tissoires wrote:
>
>> Thanks for applying those two patches.
>> BTW I'm a little worried: apparently you applied this patch in the
>> branch upstream-fixes but you didn't applied "HID: hid-multitouch:
>> introduce IrTouch Infrared USB..." and it's parents in this branch....
>> I'm afraid this will broke compilation of the upstream branch
>> (USB_VENDOR_ID_IRTOUCHSYSTEMS and USB_DEVICE_ID_IRTOUCH_INFRARED_USB
>> are not defined).
>
> Hi,
>
> yes, I pushed the patch to wrong remote branch yesterday, but apparently
> sync to git.kernel.org in which I fixed it hasn't made it yet for some
> reason.
>
> Sorry for the noise,

No problem, and after all it was my fault at the beginning ;)

Thanks for taking care of this.

Cheers,
Benjamin
```
