Re: Trying to get Wacom CTL-490 to work

2016-07-18 Thread Frank Groeneveld
On Mon, Jul 18, 2016 at 09:54:02AM +0200, Philip Guenther wrote:
> 
> The privilege separation code in xenocara has a compiled in list of
> devices that are permitted to be opened; of the uhid devices it only
> currently includes /dev/uhid0 through /dev/uhid3.  You can either
> a) update the list and recompile the X server
> b) symlink it to a different name that's already in the allowed list
> but that's not used by OpenBSD (e.g., "/dev/ttyJ0")
> c) ???

Great tip, thank you! The permission denied error is gone indeed.
Unfortunately it seems the drive cannot do anythin with the raw uhid
devices, it complains about missing X & Y directions.

Frank



Re: Trying to get Wacom CTL-490 to work

2016-07-18 Thread Philip Guenther
On Mon, Jul 18, 2016 at 8:03 AM, Frank Groeneveld
 wrote:
> On Sun, Jul 17, 2016 at 08:53:50PM +0200, Frank Groeneveld wrote:
>> [46.602] (EE) xf86OpenSerial: Cannot open device /dev/uhid6
>> Operation not permitted.
>> [46.602] (EE) Error opening /dev/uhid6: Operation not permitted
>
> Forgot to mention: I had changed the file permissions on uhid6 to be
> worl readable and writable.

The privilege separation code in xenocara has a compiled in list of
devices that are permitted to be opened; of the uhid devices it only
currently includes /dev/uhid0 through /dev/uhid3.  You can either
a) update the list and recompile the X server
b) symlink it to a different name that's already in the allowed list
but that's not used by OpenBSD (e.g., "/dev/ttyJ0")
c) ???


Philip Guenther



Re: Trying to get Wacom CTL-490 to work

2016-07-18 Thread Frank Groeneveld
On Sun, Jul 17, 2016 at 08:53:50PM +0200, Frank Groeneveld wrote:
> [46.602] (EE) xf86OpenSerial: Cannot open device /dev/uhid6
> Operation not permitted.
> [46.602] (EE) Error opening /dev/uhid6: Operation not permitted

Forgot to mention: I had changed the file permissions on uhid6 to be
worl readable and writable.

Frank