Re: wacom CTH-470, works only as mouse and with finger (not stylus)

2023-12-08 Thread Katherine Mcmillan
Try it with Linux if you can't get it to work with OpenBSD (keep trying with 
OpenBSD, someone here may have some advice).

-Katie

From: Abel Abraham Camarillo Ojeda 
Sent: 08 December 2023 18:16
To: Katherine Mcmillan 
Cc: misc@openbsd.org 
Subject: Re: wacom CTH-470, works only as mouse and with finger (not stylus)

Attention : courriel externe | external email


On Fri, Dec 8, 2023 at 5:09 PM Katherine Mcmillan 
mailto:kmcmi...@uottawa.ca>> wrote:
Hi Abel,

I can offer a tiny bit of assistance:

I recommend reading the article here about your device: 
https://news.sophos.com/en-us/2020/02/07/wacom-driver-caught-monitoring-third-party-software-use/

It's always good to be an informed consumer. :)

I think your approach is smart to try to get this to work with OpenBSD.  If 
that doesn't work: https://linuxwacom.github.io/

-Katie

>From a quick read it seems to affect official wacom drivers, xorg in openbsd 
>uses usbtablet and uhid which I don't think include
wacom corp code...

so, how is this relevant to the question?

I know I could use it on linux.

regards


Re: wacom CTH-470, works only as mouse and with finger (not stylus)

2023-12-08 Thread Katherine Mcmillan
Hi Abel,

I can offer a tiny bit of assistance:

I recommend reading the article here about your device: 
https://news.sophos.com/en-us/2020/02/07/wacom-driver-caught-monitoring-third-party-software-use/

It's always good to be an informed consumer. :)

I think your approach is smart to try to get this to work with OpenBSD.  If 
that doesn't work: https://linuxwacom.github.io/

-Katie

From: owner-m...@openbsd.org  on behalf of Abel Abraham 
Camarillo Ojeda 
Sent: 08 December 2023 17:50
To: OpenBSD Misc 
Subject: wacom CTH-470, works only as mouse and with finger (not stylus)

Attention : courriel externe | external email

Hi misc,

I'm trying to use a wacom CTH-470 (oldish model) with OpenBSD, I think I've
never manage to get it to work before

I've read the following:

https://marc.info/?l=openbsd-misc&m=146882849030078&w=2

and used a symlink from /dev/ttyJ0 to /dev/uhid15

and used the following:

$ cat /usr/X11R6/share/X11/xorg.conf.d/99-stylus.conf
Section "InputDevice"
Identifier "w_stylus"
Driver "usbtablet"
Option "Type" "stylus"
Option "Device" "/dev/ttyJ0"
Option "Mode" "Absolute"
EndSection

Section "ServerLayout"
Identifier "X.org Configured"
InputDevice"w_stylus" "SendCoreEvents"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "True"
EndSection
$

But xorg complains with:

[144738.406] (II) Using input driver 'usbtablet' for 'w_stylus'
[144738.407] (**) Option "SendCoreEvents"
[144738.407] (**) w_stylus: always reports core events
[144738.407] (**) Stylus: always reports core events
[144738.407] (**) Stylus device is /dev/ttyJ0
[144738.407] (**) Stylus is in absolute mode
[144738.407] (==) Stylus: threshold = 5
[144738.407] (==) Stylus: suppress = 2
[144738.407] (II) XINPUT: Adding extended input device "Stylus" (type:
TABLET, id 6)
[144738.407] (**) Option "Device" "/dev/ttyJ0"
[144738.407] (EE) /dev/ttyJ0 has no X, Y, or In_Range report
[144738.408] (EE) Couldn't init device "Stylus"
[144738.408] (II) UnloadModule: "usbtablet"

The bamboo tablet works as a mouse pointer _only_ when using my finger over
it, not
with the stylus (although led brights white when i put the stylus on)

The tablet attaches lots of uhid devs I don't know if I should try each of
them one by one.

$ for i in `jot - 2 16 -`; do echo usbhidctl -f $i -r; done | doas sh -x
2>&1
+ usbhidctl -f 2 -r
Report descriptor:
Collection page=Digitizer usage=Digitizer
Collection page=Digitizer usage=Digitizer
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
End collection
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 9 bytes
Total  output size 0 bytes
Total feature size 1 bytes
+ usbhidctl -f 3 -r
Report descriptor:
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 0 bytes
Total  output size 0 bytes
Total feature size 1 bytes
+ usbhidctl -f 4 -r
Report descriptor:
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 0 bytes
Total  output size 0 bytes
Total feature size 1 bytes
+ usbhidctl -f 5 -r
Report descriptor:
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 0 bytes
Total  output size 0 bytes
Total feature size 1 bytes
+ usbhidctl -f 6 -r
Report descriptor:
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 0 bytes
Total  output size 0 bytes
Total feature size 2 bytes
+ usbhidctl -f 7 -r
Report descriptor:
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0

Re: wacom CTH-470, works only as mouse and with finger (not stylus)

2023-12-08 Thread Abel Abraham Camarillo Ojeda
On Fri, Dec 8, 2023, 18:02 Katherine Mcmillan  wrote:

> Try it with Linux if you can't get it to work with OpenBSD (keep trying
> with OpenBSD, someone here may have some advice).
>

Just for the (non relevant record). I recall it worked on linux years ago.


> -Katie
> --
> *From:* Abel Abraham Camarillo Ojeda 
> *Sent:* 08 December 2023 18:16
> *To:* Katherine Mcmillan 
> *Cc:* misc@openbsd.org 
> *Subject:* Re: wacom CTH-470, works only as mouse and with finger (not
> stylus)
>
> *Attention : courriel externe | external email*
>
>
> On Fri, Dec 8, 2023 at 5:09 PM Katherine Mcmillan 
> wrote:
>
> Hi Abel,
>
> I can offer a tiny bit of assistance:
>
> I recommend reading the article here about your device:
> https://news.sophos.com/en-us/2020/02/07/wacom-driver-caught-monitoring-third-party-software-use/
>
> It's always good to be an informed consumer. :)
>
> I think your approach is smart to try to get this to work with OpenBSD.
> If that doesn't work: https://linuxwacom.github.io/
>
> -Katie
>
>
> From a quick read it seems to affect official wacom drivers, xorg in
> openbsd uses usbtablet and uhid which I don't think include
> wacom corp code...
>
> so, how is this relevant to the question?
>
> I know I could use it on linux.
>
> regards
>


Re: wacom CTH-470, works only as mouse and with finger (not stylus)

2023-12-08 Thread Abel Abraham Camarillo Ojeda
On Fri, Dec 8, 2023 at 5:09 PM Katherine Mcmillan 
wrote:

> Hi Abel,
>
> I can offer a tiny bit of assistance:
>
> I recommend reading the article here about your device:
> https://news.sophos.com/en-us/2020/02/07/wacom-driver-caught-monitoring-third-party-software-use/
>
> It's always good to be an informed consumer. :)
>
> I think your approach is smart to try to get this to work with OpenBSD.
> If that doesn't work: https://linuxwacom.github.io/
>
> -Katie
>

>From a quick read it seems to affect official wacom drivers, xorg in
openbsd uses usbtablet and uhid which I don't think include
wacom corp code...

so, how is this relevant to the question?

I know I could use it on linux.

regards


wacom CTH-470, works only as mouse and with finger (not stylus)

2023-12-08 Thread Abel Abraham Camarillo Ojeda
Hi misc,

I'm trying to use a wacom CTH-470 (oldish model) with OpenBSD, I think I've
never manage to get it to work before

I've read the following:

https://marc.info/?l=openbsd-misc&m=146882849030078&w=2

and used a symlink from /dev/ttyJ0 to /dev/uhid15

and used the following:

$ cat /usr/X11R6/share/X11/xorg.conf.d/99-stylus.conf
Section "InputDevice"
Identifier "w_stylus"
Driver "usbtablet"
Option "Type" "stylus"
Option "Device" "/dev/ttyJ0"
Option "Mode" "Absolute"
EndSection

Section "ServerLayout"
Identifier "X.org Configured"
InputDevice"w_stylus" "SendCoreEvents"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "True"
EndSection
$

But xorg complains with:

[144738.406] (II) Using input driver 'usbtablet' for 'w_stylus'
[144738.407] (**) Option "SendCoreEvents"
[144738.407] (**) w_stylus: always reports core events
[144738.407] (**) Stylus: always reports core events
[144738.407] (**) Stylus device is /dev/ttyJ0
[144738.407] (**) Stylus is in absolute mode
[144738.407] (==) Stylus: threshold = 5
[144738.407] (==) Stylus: suppress = 2
[144738.407] (II) XINPUT: Adding extended input device "Stylus" (type:
TABLET, id 6)
[144738.407] (**) Option "Device" "/dev/ttyJ0"
[144738.407] (EE) /dev/ttyJ0 has no X, Y, or In_Range report
[144738.408] (EE) Couldn't init device "Stylus"
[144738.408] (II) UnloadModule: "usbtablet"

The bamboo tablet works as a mouse pointer _only_ when using my finger over
it, not
with the stylus (although led brights white when i put the stylus on)

The tablet attaches lots of uhid devs I don't know if I should try each of
them one by one.

$ for i in `jot - 2 16 -`; do echo usbhidctl -f $i -r; done | doas sh -x
2>&1
+ usbhidctl -f 2 -r
Report descriptor:
Collection page=Digitizer usage=Digitizer
Collection page=Digitizer usage=Digitizer
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Input   size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
End collection
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 9 bytes
Total  output size 0 bytes
Total feature size 1 bytes
+ usbhidctl -f 3 -r
Report descriptor:
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 0 bytes
Total  output size 0 bytes
Total feature size 1 bytes
+ usbhidctl -f 4 -r
Report descriptor:
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 0 bytes
Total  output size 0 bytes
Total feature size 1 bytes
+ usbhidctl -f 5 -r
Report descriptor:
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 0 bytes
Total  output size 0 bytes
Total feature size 1 bytes
+ usbhidctl -f 6 -r
Report descriptor:
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 0 bytes
Total  output size 0 bytes
Total feature size 2 bytes
+ usbhidctl -f 7 -r
Report descriptor:
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 0 bytes
Total  output size 0 bytes
Total feature size 16 bytes
+ usbhidctl -f 8 -r
Report descriptor:
Feature size=8 count=1 page=Microsoft usage=0x0001, logical range 0..255
Total   input size 0 bytes
Total  output size 0 bytes
Total feature size 1 by