Re: [Linuxwacom-devel] [PATCH] Support DTK-2451 and DTH-2452 on older kernels

2018-01-31 Thread Peter Hutterer
On Wed, Jan 31, 2018 at 05:39:04PM -0800, Ping Cheng wrote:
> On Wed, Jan 31, 2018 at 5:32 PM, Peter Hutterer 
> wrote:
> 
> > On Wed, Jan 31, 2018 at 03:04:34PM -0800, Ping Cheng wrote:
> > > From: Ping Cheng 
> > >
> > > Signed-off-by: Ping Cheng 
> >
> > Reviewed-by: Peter Hutterer 
> >
> 
> Thank you.
> 
> 
> >
> > but alas, it doesn't seem to apply to current master?
> >
> 
> Oops! I forgot to pull before making this patch. Should I submit a new one?

For little things like this it's easier and faster if you just push it
directly

Cheers,
   Peter


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] [PATCH] Support DTK-2451 and DTH-2452 on older kernels

2018-01-31 Thread Ping Cheng
On Wed, Jan 31, 2018 at 5:32 PM, Peter Hutterer 
wrote:

> On Wed, Jan 31, 2018 at 03:04:34PM -0800, Ping Cheng wrote:
> > From: Ping Cheng 
> >
> > Signed-off-by: Ping Cheng 
>
> Reviewed-by: Peter Hutterer 
>

Thank you.


>
> but alas, it doesn't seem to apply to current master?
>

Oops! I forgot to pull before making this patch. Should I submit a new one?

Ping

>
> Cheers,
>Peter
>
> > ---
> >  src/wcmUSB.c| 3 +++
> >  src/wcmValidateDevice.c | 3 +++
> >  2 files changed, 6 insertions(+)
> >
> > diff --git a/src/wcmUSB.c b/src/wcmUSB.c
> > index 2f96a8a..42f108e 100644
> > --- a/src/wcmUSB.c
> > +++ b/src/wcmUSB.c
> > @@ -234,6 +234,9 @@ static struct WacomModelDesc
> >   { WACOM_VENDOR_ID, 0xF0, 10, 10, ,
>  "DTU1631"  },
> >   { WACOM_VENDOR_ID, 0x35a, 10, 10, ,
> "DTH1152"  },
> >   { WACOM_VENDOR_ID, 0x368, 10, 10, ,
> "DTH1152"  }, /* Touch */
> > + { WACOM_VENDOR_ID, 0x382, 10, 10, ,
> "DTK2451"  },
> > + { WACOM_VENDOR_ID, 0x37D, 10, 10, ,
> "DTH2452"  },
> > + { WACOM_VENDOR_ID, 0x37E, 10, 10, ,
> "DTH2452"  }, /* Touch */
> >
> >   { WACOM_VENDOR_ID, 0x41, 10, 10, ,"Intuos2
> 4x5"  },
> >   { WACOM_VENDOR_ID, 0x42, 10, 10, ,"Intuos2
> 6x8"  },
> > diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
> > index 21ccd5f..8c5f2d2 100644
> > --- a/src/wcmValidateDevice.c
> > +++ b/src/wcmValidateDevice.c
> > @@ -327,6 +327,9 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo)
> >   case 0x354:/* Cintiq Pro 13 UHD Touch */
> >   case 0x35A:/* DTH-1152*/
> >   case 0x368:/* DTH-1152 Touch */
> > + case 0x382:/* DTK-2451 */
> > + case 0x37D:/* DTH-2452 */
> > + case 0x37E:/* DTH-2452 Touch */
> >   TabletSetFeature(priv->common, WCM_LCD);
> >   break;
> >   }
> > --
> > 2.7.4
> >
> >
> > 
> --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Linuxwacom-devel mailing list
> > Linuxwacom-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
> >
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] [PATCH] Support DTK-2451 and DTH-2452 on older kernels

2018-01-31 Thread Peter Hutterer
On Wed, Jan 31, 2018 at 03:04:34PM -0800, Ping Cheng wrote:
> From: Ping Cheng 
> 
> Signed-off-by: Ping Cheng 

Reviewed-by: Peter Hutterer 

but alas, it doesn't seem to apply to current master?

Cheers,
   Peter

> ---
>  src/wcmUSB.c| 3 +++
>  src/wcmValidateDevice.c | 3 +++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/src/wcmUSB.c b/src/wcmUSB.c
> index 2f96a8a..42f108e 100644
> --- a/src/wcmUSB.c
> +++ b/src/wcmUSB.c
> @@ -234,6 +234,9 @@ static struct WacomModelDesc
>   { WACOM_VENDOR_ID, 0xF0, 10, 10, , "DTU1631"  
> },
>   { WACOM_VENDOR_ID, 0x35a, 10, 10, ,"DTH1152"  
> },
>   { WACOM_VENDOR_ID, 0x368, 10, 10, ,"DTH1152"  
> }, /* Touch */
> + { WACOM_VENDOR_ID, 0x382, 10, 10, ,"DTK2451"  
> },
> + { WACOM_VENDOR_ID, 0x37D, 10, 10, ,"DTH2452"  
> },
> + { WACOM_VENDOR_ID, 0x37E, 10, 10, ,"DTH2452"  
> }, /* Touch */
>  
>   { WACOM_VENDOR_ID, 0x41, 10, 10, ,"Intuos2 4x5"  
> },
>   { WACOM_VENDOR_ID, 0x42, 10, 10, ,"Intuos2 6x8"  
> },
> diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
> index 21ccd5f..8c5f2d2 100644
> --- a/src/wcmValidateDevice.c
> +++ b/src/wcmValidateDevice.c
> @@ -327,6 +327,9 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo)
>   case 0x354:/* Cintiq Pro 13 UHD Touch */
>   case 0x35A:/* DTH-1152*/
>   case 0x368:/* DTH-1152 Touch */
> + case 0x382:/* DTK-2451 */
> + case 0x37D:/* DTH-2452 */
> + case 0x37E:/* DTH-2452 Touch */
>   TabletSetFeature(priv->common, WCM_LCD);
>   break;
>   }
> -- 
> 2.7.4
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Linuxwacom-devel mailing list
> Linuxwacom-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
> 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


[Linuxwacom-devel] [PATCH] Support DTK-2451 and DTH-2452 on older kernels

2018-01-31 Thread Ping Cheng
From: Ping Cheng 

Signed-off-by: Ping Cheng 
---
 src/wcmUSB.c| 3 +++
 src/wcmValidateDevice.c | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index 2f96a8a..42f108e 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -234,6 +234,9 @@ static struct WacomModelDesc
{ WACOM_VENDOR_ID, 0xF0, 10, 10, , "DTU1631"  
},
{ WACOM_VENDOR_ID, 0x35a, 10, 10, ,"DTH1152"  
},
{ WACOM_VENDOR_ID, 0x368, 10, 10, ,"DTH1152"  
}, /* Touch */
+   { WACOM_VENDOR_ID, 0x382, 10, 10, ,"DTK2451"  
},
+   { WACOM_VENDOR_ID, 0x37D, 10, 10, ,"DTH2452"  
},
+   { WACOM_VENDOR_ID, 0x37E, 10, 10, ,"DTH2452"  
}, /* Touch */
 
{ WACOM_VENDOR_ID, 0x41, 10, 10, ,"Intuos2 4x5"  
},
{ WACOM_VENDOR_ID, 0x42, 10, 10, ,"Intuos2 6x8"  
},
diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c
index 21ccd5f..8c5f2d2 100644
--- a/src/wcmValidateDevice.c
+++ b/src/wcmValidateDevice.c
@@ -327,6 +327,9 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo)
case 0x354:/* Cintiq Pro 13 UHD Touch */
case 0x35A:/* DTH-1152*/
case 0x368:/* DTH-1152 Touch */
+   case 0x382:/* DTK-2451 */
+   case 0x37D:/* DTH-2452 */
+   case 0x37E:/* DTH-2452 Touch */
TabletSetFeature(priv->common, WCM_LCD);
break;
}
-- 
2.7.4


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel