Re: uwacom: reduce tip pressure for click activation

2021-06-04 Thread Frank Groeneveld
Thanks for the patch! Unfortunately I'm using the tablet anymore and are not able to test this. This pressure level was chosen because the Linux driver uses it as well: https://github.com/linuxwacom/input-wacom/blob/master/4.5/wacom_wac.c#L297 I have no technical knowledge on how this works,

Using shift on external keyboards in softraid passphrases from efiboot

2018-08-16 Thread Frank Groeneveld
Hello all, I haven't been able to type the passphrase of my softraid device on boot when using an external keyboard on my Thinkpad X260. Finally I had some time to debug this problem and this is what I discovered. On a different laptop with EFI, the ReadKeyStroke call will not return a packet

Re: CVS: cvs.openbsd.org: src

2017-07-04 Thread Frank Groeneveld
On Mon, Jul 3, 2017, at 08:30, Martijn van Duren wrote: > This change *STILL* breaks my $DAYJOB machine. > > dmesg with DRMDEBUG enabled Maybe you shouldn't chose Apple hardware ;-) Works great here on a Thinkpad X260 Mark, thank you very much! Frank

Re: Fix Wacom Intuos S 2 descriptor and make wsmouse work

2016-09-12 Thread Frank Groeneveld
On Mon, Sep 12, 2016 at 10:18:14AM +0200, Martin Pieuchot wrote: > > I just committed your driver, with some tweaks in the manpage. Great, thank you! > > It is quite likely related to this discussion: > > > > http://marc.info/?l=openbsd-misc=140529029513846=2 > >

Re: Fix Wacom Intuos S 2 descriptor and make wsmouse work

2016-09-11 Thread Frank Groeneveld
RCS file: share/man/man4/uwacom.4 diff -N share/man/man4/uwacom.4 --- /dev/null 1 Jan 1970 00:00:00 - +++ share/man/man4/uwacom.4 5 Sep 2016 18:36:32 - @@ -0,0 +1,60 @@ +.\" $OpenBSD$ +.\" +.\" Copyright (c) 2016 Frank Groeneveld <fr...@frankgroeneveld.nl> +

Re: Fix Wacom Intuos S 2 descriptor and make wsmouse work

2016-09-07 Thread Frank Groeneveld
On Wed, Sep 07, 2016 at 12:12:43AM +0200, Ulf Brosziewski wrote: > Hi, I was a bit hasty, I should have mentioned that calling > wsmouse_input_sync is required here. The equivalent of your > code would would be this: > > if (x != 0 || y != 0 || buttons != ms->sc_buttons) { >

Re: Fix Wacom Intuos S 2 descriptor and make wsmouse work

2016-09-06 Thread Frank Groeneveld
On Tue, Sep 06, 2016 at 02:19:28PM +0200, Ulf Brosziewski wrote: > Just a remark on your use of the wsmouse interface (which isn't well > known and documented yet): wsmouse_set is a function for uncommon > cases. To report a pair of absolute coordinates use wsmouse_position, > that is, instead of

Re: Fix Wacom Intuos S 2 descriptor and make wsmouse work

2016-09-03 Thread Frank Groeneveld
00:00:00 - +++ usb/uwacom.c3 Sep 2016 13:09:25 - @@ -0,0 +1,233 @@ +/* $OpenBSD$ */ + +/* + * Copyright (c) 2016 Frank Groeneveld <fr...@frankgroeneveld.nl> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby gra

Re: Fix Wacom Intuos S 2 descriptor and make wsmouse work

2016-08-10 Thread Frank Groeneveld
On Mon, Aug 08, 2016 at 02:31:41PM +0200, Martin Pieuchot wrote: > > Search for UHIDEV_CLAIM_ALLREPORTID, at least upd(4) uses it. I've tried to implement a simple driver using this technique and it seems this can only be used to claim all report_ids under one uhidev device. The tablet acts as

Re: Fix Wacom Intuos S 2 descriptor and make wsmouse work

2016-08-08 Thread Frank Groeneveld
On Mon, Aug 08, 2016 at 11:12:02AM +0200, Martin Pieuchot wrote: > > ... > > Is the attached patch acceptable? Or would it be better to write a > > seperate driver, such as uwacom, that does the same as ums, except that > > it doesn't call hidms_input, but implements that itself? > > I believe

Fix Wacom Intuos S 2 descriptor and make wsmouse work

2016-08-07 Thread Frank Groeneveld
I recently acquired a new Wacom drawing tablet: an Intuos Draw, which seems to be called an Intuos S 2 internally. I couldn't get this tablet to work in OpenBSD. One of the HID descriptors describes a mouse, so ums(4) attaches to it, but no data is ever registered. After digging around in the

Re: Add hotkey support for Asus Zenbook UX31A

2016-07-16 Thread Frank Groeneveld
On Thu, Jul 14, 2016 at 08:41:42PM +0200, Frank Groeneveld wrote: > Thanks for reviewing. This the only ACPI device that works when > attaching (volume buttons start working). I've added the dumps > below. Attached updated patch also adds the ws_get_param and ws_set_param methods t

Re: Add hotkey support for Asus Zenbook UX31A

2016-07-14 Thread Frank Groeneveld
On Thu, Jul 14, 2016 at 07:42:28PM +0200, Mark Kettenis wrote: > Please send the acpidump output for that machine; "pnp0c14" for an > ASUS-specific device looks wrong. Thanks for reviewing. This the only ACPI device that works when attaching (volume buttons start working). I've added the dumps

Add hotkey support for Asus Zenbook UX31A

2016-07-14 Thread Frank Groeneveld
Attached patch adds hotkey support for the Zenbook UX31A. I wasn't sure what to name the magic string, so please rename to whatever you find more suitable. Next step in getting the Zenbook UX31A to work better is finding a neat way to prevent acpivideo from attaching. After the recent refactoring

Re: initial 11n support for iwn (n, not m)

2015-12-20 Thread Frank Groeneveld
On 12/19/15 13:08, Stefan Sperling wrote: On Fri, Dec 18, 2015 at 05:40:39PM -0500, David Hill wrote: Here's an updated iwn diff with a better approach for Stuart's fix. Thanks for helping, Stuart, and to everyone who sent beacons which allowed us to narrow this problem down to protection

Re: initial 11n support for iwn (n, not m)

2015-12-17 Thread Frank Groeneveld
On 12/16/15 15:35, Stefan Sperling wrote: This diff adds 11n MCS 0-7 with A-MPDU and A-MSDU Rx to the iwn(4) driver. It also tweaks replay detection for CCMP encrypted frames, which needed tweaking for A-MPDU anyway (see comments in code). Even in non-11n modes this driver was discarding some

[PATCH] typo in vmm.conf(5)

2015-11-23 Thread Frank Groeneveld
I've been testing vmm(8) and it seems to work great so far. Keep up the good work! I found a small typo in one of the man pages. A diff to fix it below. Frank Index: usr.sbin/vmmctl/vmm.conf.5 === RCS file: