;
>
> I run it too since 1 week I think, and I don't see any problem (I forgot
> it :) ).
>
> I am OK with it, but as I am not really competent in this area you
> shouldn't take my OK as really authoritative :)
>
> Thanks.
> --
> Sebastien Marie
>
Also no regress, ok shadchin@
--
Alexandr Shadchin
ms0: Synaptics clickpad, firmware 8.0
>
> In think this should go in, then we can polish it in-tree and wait for
> regression before converting mice.
>
> ok mpi@
>
Also tested with:
pms0: Synaptics touchpad, firmware 7.4
I support, ok shadchin@
--
Alexandr Shadchin
if (KB_VARIANT(wsenc) == kbdopt[i].val) {
> +if (KB_VARIANT(wsenc) & kbdopt[i].val) {
> LogMessageVerb(X_INFO, 3, "wskbd: using option %s\n",
> kbdopt[i].name);
> input_options = input_option_new(input_options,
>
--
Alexandr Shadchin
Fix wrong answer if the imaginary part is zero.
NetBSD also turn off this piece of code.
See
http://en.cppreference.com/w/c/numeric/complex/casin
http://www.wolframalpha.com/input/?i=asin%28-2.0%29
--
Alexandr Shadchin
Index: s_casin.c
>From http://en.cppreference.com/w/c/numeric/complex/csqrt :
csqrt(conj(z)) == conj(csqrt(z))
Before patch
csqrt(-4.0 + -0.0i) = 0.0 + 2.0j
but should be
csqrt(-4.0 + -0.0i) = 0.0 - 2.0j
--
Alexandr Shadchin
Index: lib/libm/src/s_csqr
Hi,
This diff updates xf86-input-synaptics to the latest release.
Tested on amd64.
Comments ? OK ?
--
Alexandr Shadchin
Index: ChangeLog
===
RCS file: /cvs/xenocara/driver/xf86-input-synaptics/ChangeLog,v
retrieving revision 1.10
Hi,
This diff updates xf86-input-keyboard to the latest release.
Tested on amd64.
Comments ? OK ?
--
Alexandr Shadchin
xf86-input-keyboard-1.8.1.tgz
Description: application/tar-gz
-45) was 0 instead of 4.2038954e-45
Found by: ucbtest
Comment ? OK ?
--
Alexandr Shadchin
Index: e_hypotf.c
===
RCS file: /cvs/src/lib/libm/src/e_hypotf.c,v
retrieving revision 1.5
diff -u -p -r1.5 e_hypotf.c
--- e_hypotf.c 27
ur patches https://github.com/shadchin/less/commits/openbsd for less-471
(man from -current, without merge changes less-471)
--
Alexandr Shadchin
On Sat, Aug 29, 2015 at 6:10 PM, Ulf Brosziewski <
ulf.brosziew...@t-online.de> wrote:
> On 08/29/2015 01:13 PM, Alexandr Shadchin wrote:
>
>> On Fri, Aug 28, 2015 at 10:04:51PM +0200, Ulf Brosziewski wrote:
>>
>>>
>>> Some weeks ago a change was
> if (z > ALPS_PRESSURE) {
> Index: dev/pckbc/pmsreg.h
> ===
> RCS file: /cvs/src/sys/dev/pckbc/pmsreg.h,v
> retrieving revision 1.11
> diff -u -p -r1.11 pmsreg.h
> --- dev/pckbc/pmsreg.h 26 Mar 2015 01:30:22 - 1.11
> +++ dev/pckbc/pmsreg.h 14 Aug 2015 18:27:57 -
> @@ -164,6 +164,10 @@
>
> #define ALPS_Z_MAGIC 127
>
> +/* ALPS "gesture" and "finger" bits */
> +#define ALPS_TAP 0x01
> +#define ALPS_DRAG 0x03
> +
> /* Elantech queries */
> #define ELANTECH_QUE_FW_ID 0
> #define ELANTECH_QUE_FW_VER1
>
>
--
Alexandr Shadchin
t; + */
> + if (w & 8)
> + w = 4;
> + else
> + z = w = 0;
> }
>
> +
> if ((syn->capabilities & SYNAPTICS_CAP_PASSTHROUGH) && w == 3) {
> synaptics_sec_proc(sc);
> return;
> @@ -1203,7 +1196,6 @@ pms_proc_synaptics(struct pms_softc *sc)
> sc->packet[4];
> y = ((sc->packet[3] & 0x20) << 7) | ((sc->packet[1] & 0xf0) << 4) |
> sc->packet[5];
> - z = sc->packet[2];
>
> buttons = ((sc->packet[0] & sc->packet[3]) & 0x01) ?
> WSMOUSE_BUTTON(1) : 0;
--
Alexandr Shadchin
-mode.
Comment ? OK ?
--
Alexandr Shadchin
Index: i8042reg.h
===
RCS file: /cvs/src/sys/dev/ic/i8042reg.h,v
retrieving revision 1.8
diff -u -p -r1.8 i8042reg.h
--- i8042reg.h 25 Dec 2013 21:01:01 - 1.8
+++ i8042reg.h 4 May
Hi,
This diff updates xf86-input-synaptics to the latest release.
Tested on amd64.
Comments ? OK ?
--
Alexandr Shadchin
Index: ChangeLog
===
RCS file: /cvs/xenocara/driver/xf86-input-synaptics/ChangeLog,v
retrieving revision 1.9
On Sun, Feb 08, 2015 at 03:10:45PM +0500, Alexandr Shadchin wrote:
> Hi,
>
> This diff updates xkeyboard-config to the latest release.
> Tested on amd64.
>
> Comments ? OK ?
>
> --
> Alexandr Shadchin
>
Ping.
--
Alexandr Shadchin
roc_elantech_v4(struct pms_softc *sc)
> }
>
> void
> +elantech_send_mt_input(struct pms_softc *sc, int id)
> +{
> + struct elantech_softc *elantech = sc->elantech;
> +
> + if (id != elantech->mt_lastid) {
> + /* Correct for compatibility mode, but not useful yet: */
> + elantech->old_x = elantech->mt[id].x;
> + elantech->old_y = elantech->mt[id].y;
> + /*
> + * To avoid a jump of the cursor, simulate a change of the
> + * number of touches (without producing tapping gestures
> + * accidentally). It should suffice to do that only if
> + * mt_count hasn't changed, but we cannot rely on the
> + * synaptics driver, which alters its finger counts when
> + * handling click-and-drag actions (see HandleTapProcessing
> + * and ComputeDeltas in synaptics.c).
> + */
> + if (elantech->mt_lastid > -1)
> + elantech_send_input(sc,
> + elantech->mt[id].x, elantech->mt[id].y,
> + elantech->mt[id].z, ELANTECH_MAX_FINGERS);
> + elantech->mt_lastid = id;
> + }
> + elantech->mt_lastcount = elantech->mt_count;
> + elantech->mt_buttons = sc->packet[0] & 3;
> + elantech_send_input(sc,
> + elantech->mt[id].x, elantech->mt[id].y,
> + elantech->mt[id].z, elantech->mt_count);
> +}
> +
> +void
> elantech_send_input(struct pms_softc *sc, int x, int y, int z, int w)
> {
> struct elantech_softc *elantech = sc->elantech;
>
--
Alexandr Shadchin
On Mon, Dec 22, 2014 at 06:05:48PM +0400, Vadim Zhukov wrote:
> 22 дек. 2014 г. 17:03 пользователь "Vadim Zhukov"
> написал:
> >
> > 22 дек. 2014 г. 16:26 пользователь "Alexandr Shadchin" <
> alexandr.shadc...@gmail.com> написал:
> >
> &
On Mon, Dec 22, 2014 at 04:37:22PM +0400, Vadim Zhukov wrote:
> 22 дек. 2014 г. 15:02 пользователь "Alexandr Shadchin" <
> alexandr.shadc...@gmail.com> написал:
> >
> > On Mon, Dec 22, 2014 at 03:52:39PM +0400, Vadim Zhukov wrote:
> > > 22 дек. 20
On Mon, Dec 22, 2014 at 03:52:39PM +0400, Vadim Zhukov wrote:
> 22 дек. 2014 г. 14:40 пользователь "Alexandr Shadchin" <
> alexandr.shadc...@gmail.com> написал:
> >
> > Convert atoi -> strtonum. Plus more detailed error messages.
> >
> > OK
Convert atoi -> strtonum. Plus more detailed error messages.
OK ?
--
Alexandr Shadchin
Index: wsmoused.c
===
RCS file: /cvs/src/usr.sbin/wsmoused/wsmoused.c,v
retrieving revision 1.34
diff -u -p -r1.34 wsmoused.c
--- wsmouse
Remove function mouse_map. This function is redundant.
OK ?
--
Alexandr Shadchin
Index: wsmoused.c
===
RCS file: /cvs/src/usr.sbin/wsmoused/wsmoused.c,v
retrieving revision 1.33
diff -u -p -r1.33 wsmoused.c
--- wsmoused.c 21 Dec
On Sun, Dec 21, 2014 at 11:12:36PM +, L.R. d S. wrote:
> >Comments ? OK ?
> I think you should put this in plain text, not on tgz.
This patch is large enough. You can download it from
http://koba.devio.us/distfiles/xkeyboard-config-2.13.diff
--
Alexandr Shadchin
Now does not need to be initialized event.value.
This not used anymore.
OK ?
--
Alexandr Shadchin
Index: wsmoused.c
===
RCS file: /cvs/src/usr.sbin/wsmoused/wsmoused.c,v
retrieving revision 1.33
diff -u -p -r1.33 wsmoused.c
WSMOUSE_INPUT_WSMOUSED_CLOSE not used anymore.
OK ?
--
Alexandr Shadchin
Index: wsmousevar.h
===
RCS file: /cvs/src/sys/dev/wscons/wsmousevar.h,v
retrieving revision 1.7
diff -u -p -r1.7 wsmousevar.h
--- wsmousevar.h30 Oct
WSCONS_EVENT_WSMOUSED_SLEEP and WSCONS_EVENT_WSMOUSED_CLOSE not used anymore.
OK ?
--
Alexandr Shadchin
Index: wsconsio.h
===
RCS file: /cvs/src/sys/dev/wscons/wsconsio.h,v
retrieving revision 1.69
diff -u -p -r1.69 wsconsio.h
> - { "record.seek",&info.record.seek, UINT, READONLY },
> { "record.samples", &info.record.samples, UINT, READONLY },
> - { "record.eof", &info.record.eof, UINT, READONLY },
> { "record.pause", &info.record.pause, UCHAR, 0 },
> - { "record.error", &info.record.error, UCHAR, READONLY },
> - { "record.waiting", &info.record.waiting, UCHAR, READONLY },
> - { "record.open",&info.record.open, UCHAR, READONLY },
> { "record.active", &info.record.active,UCHAR, READONLY },
> - { "record.buffer_size", &info.record.buffer_size,UINT, 0 },
> { "record.block_size", &info.record.block_size,UINT, 0 },
> { "record.errors", &rerrors, INT,READONLY },
> { 0 }
>
>
--
Alexandr Shadchin
Remove second arg in SetMouseSpeed(), it is always 1200. OK ?
--
Alexandr Shadchin
diff --git mouse_protocols.c mouse_protocols.c
index 9ee1039..a41d618 100644
--- mouse_protocols.c
+++ mouse_protocols.c
@@ -184,7 +184,7 @@ mouse_name(int type)
}
void
-SetMouseSpeed(int old, int new
Remove mouse.baudrate, it is always 1200. OK ?
--
Alexandr Shadchin
diff --git mouse_protocols.c mouse_protocols.c
index b250f65..9ee1039 100644
--- mouse_protocols.c
+++ mouse_protocols.c
@@ -635,16 +635,15 @@ mouse_init(void)
* The baud rate selection command must be sent at
Remove unused code. OK ?
--
Alexandr Shadchin
Index: mouse_protocols.c
===
RCS file: /cvs/src/usr.sbin/wsmoused/mouse_protocols.c,v
retrieving revision 1.13
diff -u -p -r1.13 mouse_protocols.c
--- mouse_protocols.c 5 Jun 2009 03
Remove unused variables. OK ?
--
Alexandr Shadchin
Index: wsmoused.c
===
RCS file: /cvs/src/usr.sbin/wsmoused/wsmoused.c,v
retrieving revision 1.29
diff -u -p -r1.29 wsmoused.c
--- wsmoused.c 24 Nov 2013 01:06:19 - 1.29
wsmoused() called if cmd == WSDISPLAYIO_WSMOUSED only,
don't need check cmd twice
Comment ? OK ?
note: diff cteated with 'cvs diff -w' for simplicity
--
Alexandr Shadchin
Index: wsdisplay.c
===
RCS file: /cvs/src
On Sun, Oct 27, 2013 at 04:31:37PM +0100, Matthieu Herrb wrote:
> On Sat, Oct 26, 2013 at 10:13:11PM +0600, Alexandr Shadchin wrote:
> > On Fri, Oct 25, 2013 at 11:41:25AM +0100, Edd Barrett wrote:
> > > On Thu, Oct 24, 2013 at 10:33:22PM +0300, Henri Kemppainen wrote:
> &g
ly
After applying diff:
* user move mouse
* pms(4) read state mouse and process it
* pms(4) send dx, dy and buttons in wscons
* wscons generate simple events and adds SYNC event
* ws(4) reads events until it receives SYNC, and only then begins processing
Tested on mouse.
Comments ?
PS
at if
someone would check these keyboards.
Comments ? OK ?
--
Alexandr Shadchin
);
> + }
> + if (i == 0) {
> + printf("%s: lost device\n", DEVNAME(sc));
> + goto err;
> + }
> + }
>
> if (sc->synaptics == NULL) {
> sc->synaptics = syn = malloc(sizeof(struct synaptics_softc),
>
--
Alexandr Shadchin
On Thu, May 02, 2013 at 10:11:23PM +0600, Alexandr Shadchin wrote:
> Hi,
>
> This update xf86-input-synaptics to the latest release 1.7.0.
> http://koba.devio.us/distfiles/xf86-input-synaptics-1.7.0.diff
>
> Tested on amd64 and i386.
>
> Comments ? OK ?
>
> --
&
Hi,
This update xf86-input-synaptics to the latest release 1.7.0.
http://koba.devio.us/distfiles/xf86-input-synaptics-1.7.0.diff
Tested on amd64 and i386.
Comments ? OK ?
--
Alexandr Shadchin
Hi,
This update xkeyboard-config to the latest release 2.8.
http://koba.devio.us/distfiles/xkeyboard-config-2.8.diff
Change:
* 18 bugs fixed
* Most important change: a lot of materials updated from Oracle (Sun keyboards)
* Updated translations
Tested on amd64.
Comments ? OK ?.
--
Alexandr
for distrib/special/kbd defined NOKVM and library kvm does not need
OK ?
--
Alexandr Shadchin
Index: Makefile
===
RCS file: /cvs/src/distrib/special/kbd/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile
X |
> + WSMOUSE_INPUT_ABSOLUTE_Y |
> + WSMOUSE_INPUT_ABSOLUTE_Z |
> + WSMOUSE_INPUT_ABSOLUTE_W |
> + WSMOUSE_INPUT_SYNC);
> + } else {
> + dx = dy = 0;
> +
> + if ((elantech->flags & ELANTECH_F_REPORTS_PRESSURE) &&
> + z > SYNAPTICS_PRESSURE) {
> + dx = x - elantech->old_x;
> + dy = y - elantech->old_y;
> + dx /= SYNAPTICS_SCALE;
> + dy /= SYNAPTICS_SCALE;
> + }
> + if (dx || dy || buttons != elantech->old_buttons)
> + wsmouse_input(sc->sc_wsmousedev, buttons, dx, dy, 0, 0,
> + WSMOUSE_INPUT_DELTA);
> + elantech->old_buttons = buttons;
> + }
> +
> + elantech->old_x = x;
> + elantech->old_y = y;
> }
> Index: pckbc/pmsreg.h
> ===
> RCS file: /cvs/src/sys/dev/pckbc/pmsreg.h,v
> retrieving revision 1.8
> diff -u -p -r1.8 pmsreg.h
> --- pckbc/pmsreg.h28 Apr 2012 09:43:24 - 1.8
> +++ pckbc/pmsreg.h28 Oct 2012 12:24:11 -
> @@ -43,6 +43,11 @@
> #define PMS_ALPS_MAGIC3_280
> #define PMS_ALPS_MAGIC3_3100
>
> +#define PMS_ELANTECH_MAGIC1 0x3c
> +#define PMS_ELANTECH_MAGIC2 0x03
> +#define PMS_ELANTECH_MAGIC3_10xc8
> +#define PMS_ELANTECH_MAGIC3_20x00
> +
> /*
> * Checking for almost-standard PS/2 packet
> * Note: ALPS devices never signal overflow condition
> @@ -151,5 +156,37 @@
> #define ALPS_YSEC_BEZEL 512
>
> #define ALPS_Z_MAGIC 127
> +
> +/* Elantech queries */
> +#define ELANTECH_QUE_FW_ID 0
> +#define ELANTECH_QUE_FW_VER 1
> +#define ELANTECH_QUE_CAPABILITIES2
> +#define ELANTECH_QUE_SAMPLE 3
> +#define ELANTECH_QUE_RESOLUTION 4
> +
> +/* Elantech capabilities */
> +#define ELANTECH_CAP_HAS_ROCKER 4
> +
> +#define ELANTECH_PS2_CUSTOM_COMMAND 0xf8
> +
> +#define ELANTECH_CMD_READ_REG0x10
> +#define ELANTECH_CMD_WRITE_REG 0x11
> +#define ELANTECH_CMD_READ_WRITE_REG 0x00
> +
> +#define ELANTECH_ABSOLUTE_MODE 0x04
> +
> +/* Hardware version 1 has hard-coded axis range values.
> + * X axis range is 0 to 576, Y axis range is 0 to 384.
> + * Edge offset accounts for bezel around the touchpad. */
> +#define ELANTECH_V1_EDGE_OFFSET 32
> +#define ELANTECH_V1_X_MIN(0 + ELANTECH_V1_EDGE_OFFSET)
> +#define ELANTECH_V1_X_MAX(576 - ELANTECH_V1_EDGE_OFFSET)
> +#define ELANTECH_V1_Y_MIN(0 + ELANTECH_V1_EDGE_OFFSET)
> +#define ELANTECH_V1_Y_MAX(384 - ELANTECH_V1_EDGE_OFFSET)
> +
> +/* Older hardware version 2 variants lack ID query capability. */
> +#define ELANTECH_V2_X_MAX1152
> +#define ELANTECH_V2_Y_MAX768
> +
>
> #endif /* SYS_DEV_PCKBC_PMSREG_H */
>
>
> X driver patch:
>
> Index: xf86-input-synaptics/src/wsconscomm.c
> ===
> RCS file: /cvs/xenocara/driver/xf86-input-synaptics/src/wsconscomm.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 wsconscomm.c
> --- xf86-input-synaptics/src/wsconscomm.c 22 Jul 2012 18:33:01 -
> 1.6
> +++ xf86-input-synaptics/src/wsconscomm.c 28 Oct 2012 14:07:37 -
> @@ -61,7 +61,8 @@ WSConsIsTouchpad(InputInfoPtr pInfo, con
> }
>
> if (wsmouse_type == WSMOUSE_TYPE_SYNAPTICS ||
> -wsmouse_type == WSMOUSE_TYPE_ALPS)
> +wsmouse_type == WSMOUSE_TYPE_ALPS ||
> +wsmouse_type == WSMOUSE_TYPE_ELANTECH)
> rc = TRUE;
>
> out:
> @@ -194,6 +195,13 @@ WSConsReadHwState(InputInfoPtr pInfo,
> hw->z = event.value;
> break;
> case WSCONS_EVENT_MOUSE_ABSOLUTE_W:
> + if (priv->model == MODEL_ELANTECH) {
> + /* Elantech touchpads report number of fingers directly. */
> + hw->fingerWidth = 5;
> + hw->numFingers = event.value;
> + break;
> + }
> + /* XXX magic number mapping which is mirrored in pms driver */
> switch (event.value) {
> case 0:
> hw->fingerWidth = 5;
> @@ -291,6 +299,12 @@ WSConsReadDevDimensions(InputInfoPtr pIn
> priv->has_width = FALSE;
> priv->has_double = FALSE;
> priv->has_triple = FALSE;
> +break;
> +case WSMOUSE_TYPE_ELANTECH:
> +priv->model = MODEL_ELANTECH;
> +priv->has_width = TRUE;
> +priv->has_double = TRUE;
> +priv->has_triple = TRUE;
> break;
> }
> }
--
Alexandr Shadchin
?
--
Alexandr Shadchin
Hi,
This update xf86-input-mouse to the latest release 1.8.1.
http://koba.devio.us/distfiles/xf86-input-mouse-1.8.1.diff
Comments ? OK ?
--
Alexandr Shadchin
Hi,
This update xf86-input-keyboard to the latest release 1.6.2.
http://koba.devio.us/distfiles/xf86-input-keyboard-1.6.2.diff
Comments ? OK ?
--
Alexandr Shadchin
Hi,
I discussed about this with miod@. This code works correctly, but not optimal.
I need more tests to fix it.
IMHO this is not related to your original issue.
- Forwarded message from Alexandr Shadchin
-
Date: Tue, 15 Nov 2011 02:52:30 +0600
From: Alexandr Shadchin
To: Miod Vallat
add options noinput and noyywrap
--
Alexandr Shadchin
Index: map_scan.l
===
RCS file: /cvs/src/sbin/wsconsctl/map_scan.l,v
retrieving revision 1.3
diff -u -p -r1.3 map_scan.l
--- map_scan.l 26 Jun 2008 05:42:06 - 1.3
ansify
--
Alexandr Shadchin
Index: map_scan.l
===
RCS file: /cvs/src/sbin/wsconsctl/map_scan.l,v
retrieving revision 1.3
diff -u -p -r1.3 map_scan.l
--- map_scan.l 26 Jun 2008 05:42:06 - 1.3
+++ map_scan.l 13 Jul 2012 21
fix typo
--
Alexandr Shadchin
Index: map_parse.y
===
RCS file: /cvs/src/sbin/wsconsctl/map_parse.y,v
retrieving revision 1.6
diff -u -p -r1.6 map_parse.y
--- map_parse.y 14 May 2012 06:19:51 - 1.6
+++ map_parse.y 13 Jul
zap whitespace
--
Alexandr Shadchin
Index: keysym.c
===
RCS file: /cvs/src/sbin/wsconsctl/keysym.c,v
retrieving revision 1.6
diff -u -p -r1.6 keysym.c
--- keysym.c28 Jun 2010 20:40:39 - 1.6
+++ keysym.c13 Jul 2012
more fix type
--
Alexandr Shadchin
Index: display.c
===
RCS file: /cvs/src/sbin/wsconsctl/display.c,v
retrieving revision 1.16
diff -u -p -r1.16 display.c
--- display.c 20 Aug 2010 00:20:55 - 1.16
+++ display.c 13 Jul
>From NetBSD
--
Alexandr Shadchin
Index: keyboard.c
===
RCS file: /cvs/src/sbin/wsconsctl/keyboard.c,v
retrieving revision 1.10
diff -u -p -r1.10 keyboard.c
--- keyboard.c 20 Aug 2010 00:20:55 - 1.10
+++ keyboard.c
Not need call ioctl(WSMOUSEIO_GCALIBCOORDS or WSMOUSEIO_SCALIBCOORDS) twice,
enough once.
OK ?
--
Alexandr Shadchin
Index: mouse.c
===
RCS file: /cvs/src/sbin/wsconsctl/mouse.c,v
retrieving revision 1.11
diff -u -p -r1.11 mouse.c
Use NULL instead of 0 for pointers
--
Alexandr Shadchin
Index: kbd_wscons.c
===
RCS file: /cvs/src/sbin/kbd/kbd_wscons.c,v
retrieving revision 1.25
diff -u -p -r1.25 kbd_wscons.c
--- kbd_wscons.c23 Jun 2008 17:41:21 -
On Wed, Jul 11, 2012 at 05:51:53PM +0200, Matthieu Herrb wrote:
> On Wed, Jul 11, 2012 at 12:53:00AM +0600, Alexandr Shadchin wrote:
> > Now in clickpad mode the pointer moves to [1,1] (upper left corner)
> > even on a single tap. These patches fixes it.
> >
> > O
On Tue, Jul 10, 2012 at 02:44:53AM +0600, Alexandr Shadchin wrote:
> On Mon, Jul 09, 2012 at 10:35:55PM +0600, Alexandr Shadchin wrote:
> > Add functional xf86-input-keyboard in xf86-input-ws (no new features)
> >
> > For test add or rewrite xorg.conf:
> &g
ara/driver/xf86-input-synaptics
* patch < 02_xenocara.diff
* make -f Makefile.bsd-wrapper obj build
* reboot and test
Also need check on other touchpad.
Comments ? OK ?
--
Alexandr Shadchin
Index: dev/pckbc/pms.c
===
RCS file: /cvs/s
On Mon, Jul 09, 2012 at 10:35:55PM +0600, Alexandr Shadchin wrote:
> Add functional xf86-input-keyboard in xf86-input-ws (no new features)
>
> For test add or rewrite xorg.conf:
>
> Section "InputClass"
> Identifier "keyboard defaults"
> M
ot;/dev/wskbd"
Option "XkbModel" "your setting"
Option "XkbLayout" "your setting"
Option "XkbVariant" "your setting"
Option "XKbOptions" "your setting"
EndSection
Welcome any feedback.
Hi,
This update xf86-input-synaptics to the latest release 1.6.1.
http://koba.devio.us/distfiles/xf86-input-synaptics-1.6.1.diff
Comments ? OK ?
--
Alexandr Shadchin
Hi,
This update xkeyboard-config to the latest release 2.6.
http://koba.devio.us/distfiles/xkeyboard-config-2.6.diff
NOTE: Some old/unused material cleaned up
Tested on amd64.
Comments ? OK ?
--
Alexandr Shadchin
Hi,
This update xf86-input-synaptics to the latest release 1.5.2.
http://koba.devio.us/distfiles/xf86-input-synaptics-1.5.2.diff
Tested on amd64.
Comments ? OK ?
--
Alexandr Shadchin
Hi,
This update xf86-input-mouse to the latest release 1.7.2.
http://koba.devio.us/distfiles/xf86-input-mouse-1.7.2.diff
Tested on amd64.
Comments ? OK ?
--
Alexandr Shadchin
nt10;
>
> /* Use int10 to restore the console mode */
> @@ -2610,7 +2608,6 @@ static void I830LeaveVT(int scrnIndex, int flags)
> int10->cx = int10->dx = 0;
> xf86ExecX86int10(int10);
> }
> -
> }
>
> i830_unbind_all_memory(scrn);
>
Works fine on X201(Core i5-540M).
--
Alexandr Shadchin
Hi,
This update xkeyboard-config to the latest release 2.5.
http://koba.devio.us/distfiles/xkeyboard-config-2.5.diff
Tested on amd64.
Comments ? OK ?
--
Alexandr Shadchin
Simplify function wsfont_map_unichar. OK ?
--
Alexandr Shadchin
Index: wsfont.c
===
RCS file: /cvs/src/sys/dev/wsfont/wsfont.c,v
retrieving revision 1.28
diff -u -p -r1.28 wsfont.c
--- wsfont.c8 Jan 2012 14:48:56 -
Remove unused definition WSFONT_RDONLY. OK ?
--
Alexandr Shadchin
Index: wsfont.h
===
RCS file: /cvs/src/sys/dev/wsfont/wsfont.h,v
retrieving revision 1.6
diff -u -p -r1.6 wsfont.h
--- wsfont.h6 Jan 2012 14:55:38 -
Remove unused function wsfont_getflg. OK ?
--
Alexandr Shadchin
Index: wsfont.c
===
RCS file: /cvs/src/sys/dev/wsfont/wsfont.c,v
retrieving revision 1.28
diff -u -p -r1.28 wsfont.c
--- wsfont.c8 Jan 2012 14:48:56 -
Remove unused definition null16. OK ?
--
Alexandr Shadchin
Index: wsfont.c
===
RCS file: /cvs/src/sys/dev/wsfont/wsfont.c,v
retrieving revision 1.26
diff -u -p -r1.26 wsfont.c
--- wsfont.c6 Jan 2012 14:55:38 - 1.26
Ansify non-ansified function definitions. No functional change.
OK ?
--
Alexandr Shadchin
Index: wsfont.c
===
RCS file: /cvs/src/sys/dev/wsfont/wsfont.c,v
retrieving revision 1.26
diff -u -p -r1.26 wsfont.c
--- wsfont.c6 Jan
Remove extra and trailing spaces. OK ?
--
Alexandr Shadchin
Index: bold8x16-iso1.h
===
RCS file: /cvs/src/sys/dev/wsfont/bold8x16-iso1.h,v
retrieving revision 1.3
diff -u -p -r1.3 bold8x16-iso1.h
--- bold8x16-iso1.h 21 Jun 2009
Remove unused Makefile. OK ?
--
Alexandr Shadchin
Index: Makefile
===
RCS file: Makefile
diff -N Makefile
--- Makefile18 Mar 2001 04:30:23 - 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -
@@ -1,8 +0,0
On Wed, Jun 15, 2011 at 11:49:05PM +0600, Alexandr Shadchin wrote:
> On Sat, Apr 16, 2011 at 03:16:47AM +0600, Alexandr Shadchin wrote:
> > Hi,
> >
> > No need to process WSKBDIO_SETLEDS and WSKBDIO_GETLEDS in each drivers,
> > when same can be done in wskbd.
> &
Hi,
This port wheel emulation from evdev(4) (suggestion oga@)
Comments ? OK ?
--
Alexandr Shadchin
Index: include/ws-properties.h
===
RCS file: /cvs/xenocara/driver/xf86-input-ws/include/ws-properties.h,v
retrieving revision 1.2
;
> > Can you tell me if you still see "not in sync yet" after applying this
> > diff. If yes, how often? I'm also interested in the number of "PS/2
> > interleaved packet" messages.
>
> Hi Martin,
>
> Both of these diffs allow the pad to work
n_option("-X");
> > >
> > >
> > > On Thu, Oct 06, 2011 at 11:07:30AM +0100, Stuart Henderson wrote:
> > > > With the old version of less, when called as either "more" or "less",
> > > > if you press either G or F ^C, you would be left at a prompt at the end
> > > > of the file.
> > > >
> > > > In the updated version these differ; called as "less" this works fine,
> > > > but as "more" it exits.
> > > >
> > > > Not sure if this is intentional but I'm finding it quite annoying as
> > > > I find it a lot easier to type "more" than "less"..
> > >
--
Alexandr Shadchin
On Mon, Oct 03, 2011 at 02:00:33AM +0600, Alexandr Shadchin wrote:
> Hi,
>
> This update xkeyboard-config to the latest release 2.4.
> http://koba.devio.us/distfiles/xkeyboard-config-2.4.diff
>
> Tested on amd64.
>
> Comments ? OK ?
>
> --
> Al
Hi,
This update xkeyboard-config to the latest release 2.4.
http://koba.devio.us/distfiles/xkeyboard-config-2.4.diff
Tested on amd64.
Comments ? OK ?
--
Alexandr Shadchin
quot;domain" },
> B B B B { WSMOUSE_TYPE_BLUETOOTH, "bluetooth" },
> - B B B { WSMOUSE_TYPE_SUN, B B "sun" }
> + B B B { WSMOUSE_TYPE_SUN, B B "sun" },
> + B B B { WSMOUSE_TYPE_SYNAPTICS, B B B "synaptics" }
> B };
>
> B static const struct nameint dpytype_tab[] = {
>
>
--
Alexandr Shadchin
dx = dy = 0;
> + if (z > ALPS_PRESSURE) {
> + dx = x - alps->old_x;
> + dy = y - alps->old_y;
> +
> + /* Prevent jump */
> + dx = abs(dx) > 50 ? 0 : dx;
> + dy = abs(dy) > 50 ? 0 : dy;
> + }
> +
> + if (dx || dy || buttons != alps->old_buttons)
> + wsmouse_input(sc->sc_wsmousedev, buttons, dx, dy, 0, 0,
> + WSMOUSE_INPUT_DELTA);
> +
> + alps->old_x = x;
> + alps->old_y = y;
> + alps->old_buttons = buttons;
> + }
> }
> Index: pmsreg.h
> ===
> RCS file: /cvs/src/sys/dev/pckbc/pmsreg.h,v
> retrieving revision 1.4
> diff -u -p -r1.4 pmsreg.h
> --- pmsreg.h 24 Aug 2011 15:34:25 - 1.4
> +++ pmsreg.h 6 Sep 2011 07:32:05 -
> @@ -37,6 +37,11 @@
> #define PMS_INTELLI_MAGIC3 80
> #define PMS_INTELLI_ID 0x03
>
> +#define PMS_ALPS_MAGIC1 0
> +#define PMS_ALPS_MAGIC2 0
> +#define PMS_ALPS_MAGIC3_110
> +#define PMS_ALPS_MAGIC3_2100
> +
> /* Synaptics queries */
> #define SYNAPTICS_QUE_IDENTIFY 0x00
> #define SYNAPTICS_QUE_MODES 0x01
> @@ -120,5 +125,10 @@
> #define SYNAPTICS_XMAX_BEZEL 5472
> #define SYNAPTICS_YMIN_BEZEL 1408
> #define SYNAPTICS_YMAX_BEZEL 4448
> +
> +#define ALPS_XMIN_BEZEL 130
> +#define ALPS_XMAX_BEZEL 840
> +#define ALPS_YMIN_BEZEL 130
> +#define ALPS_YMAX_BEZEL 640
>
> #endif /* SYS_DEV_PCKBC_PMSREG_H */
--
Alexandr Shadchin
From less.1, I realized that
--More--
is the correct behavior, but you made me doubt :)
I have read POSIX
(http://pubs.opengroup.org/onlinepubs/009695399/utilities/more.html)
I found no hard requirements --More--. I agree with you that the old behavior
is better. I fixed it.
New diff http://koba.devio.us/distfiles/less.v3.diff
--
Alexandr Shadchin
On Fri, Sep 02, 2011 at 05:24:52PM +0200, Matthieu Herrb wrote:
> On Fri, Sep 02, 2011 at 09:14:45PM +0600, Alexandr Shadchin wrote:
> > On Fri, Sep 02, 2011 at 10:25:49AM +0200, Martin Pieuchot wrote:
> > > On 30/08/11(Tue) 22:37, Alexandr Shadchin wrote:
> > >
On Tue, Aug 30, 2011 at 10:37:15PM +0600, Alexandr Shadchin wrote:
> Hi,
>
> http://koba.devio.us/distfiles/less.diff
>
> This update less to the latest release 444.
> Tested on i386 and amd64.
>
> Change build system ( or leave old ? ):
> * no configure, us
On Fri, Sep 02, 2011 at 10:25:49AM +0200, Martin Pieuchot wrote:
> On 30/08/11(Tue) 22:37, Alexandr Shadchin wrote:
> > Hi,
> >
> > http://koba.devio.us/distfiles/less.diff
> >
> > This update less to the latest release 444.
> > Tested on i386 and amd64.
.
Comments ? OK ?
--
Alexandr Shadchin
Hi,
cred argument was removed from bread() and breadn()
(http://marc.info/?l=openbsd-cvs&m=130975394527345&w=2)
Is this patch correct ? OK ?
--
Alexandr Shadchin
Index: buffercache.9
===
RCS file: /cvs/src/share/
emon -d -t -K
>
> This enables scrolling in xterm etc and left button tapping.
>
> -Bryan.
>
--
Alexandr Shadchin
Hi,
Please test latest patch for support Synaptics touchpad
(or http://koba.devio.us/distfiles/synaptics.v5.diff)
Patch for snapshot from 18-Jul-2011 or newer.
It seems everything regression eliminated.
--
Alexandr Shadchin
Index: dev/pckbc/pms.c
On Sat, Jun 18, 2011 at 01:40:56AM +0600, Alexandr Shadchin wrote:
> On Wed, Jun 15, 2011 at 09:11:43AM +0200, Matthieu Herrb wrote:
> > Hi,
> >
> > here are a set of patches being worked on to add native synaptics
> > touch pad support to OpenBSD and Xenocara.
> &
Hi,
I prepared update package xkeyboard-config to the latest release 2.3.
Patch available on http://koba.devio.us/distfiles/xkeyboard-config-2.3.diff
Tested on amd64.
--
Alexandr Shadchin
On Sun, Jun 19, 2011 at 08:16:12PM +0200, Dawe wrote:
> On Jun 18, 2011 01:40, Alexandr Shadchin wrote:
> > On Wed, Jun 15, 2011 at 09:11:43AM +0200, Matthieu Herrb wrote:
> > > Hi,
> > >
> > > here are a set of patches being worked on to add native synaptic
tion and remove your InputDevice sections all together):
>
> Section ServerFlags
> Option "AutoAddDevices" "false"
> EndSection
>
> Please test, comment and report failures. Make sure to include
> /var/log/Xorg.0.log and dmesg outputs in your re
On Sat, Apr 16, 2011 at 03:16:47AM +0600, Alexandr Shadchin wrote:
> Hi,
>
> No need to process WSKBDIO_SETLEDS and WSKBDIO_GETLEDS in each drivers,
> when same can be done in wskbd.
>
> Tested on i386 and amd64. Please test on other platforms.
>
* fix
;wsmode = WSMOUSE_COMPAT;
> > syn->count = 0;
> >
> > - printf("%s: Synaptics touchpad, firmware %d.%d\n", DEVNAME(sc),
> > + printf("%s: Synaptics %s, firmware %d.%d\n", DEVNAME(sc),
> > + (syn->capabilities & SYNAPTICS_EXT_CAP_CLICKPAD ?
^
should be syn->ext_capabilities ;-)
--
Alexandr Shadchin
only in
> > dev/adb/akbd.c if defined WSDISPLAY_COMPAT_RAWKBD)
>
> Not ok. arch/macppc/dev/akdb_machdep.c includes
> , and will include the definition of keyboard[].
>
> The real fix would be to simply move the array from dev/adb/keyboard.h
> to dev/adb/akbdmap.h.
>
Move the arra
Hi,
If I'm not mistaken, the auto-repeat keys in WSKBD_RAW mode is not needed.
WSKBD_RAW mode used in X, but X independently implements auto-repeat keys.
Tested on usb keyboard, work fine.
OK ?
--
Alexandr Shadchin
Index: arch/hp300/dev/dn
pa, &ih) != 0) {
> printf(": can't map interrupt\n");
> return;
> }
>
> --
> The idea is to die young as late as possible.
> -- Ashley Montague
>
work fine
iwn0 at pci3 dev 0 function 0 "Intel Centrino Ultimate-N 6300" rev 0x35: msi,
MIMO 3T3R, MoW, address 00:24:d7:16:a9:80
--
Alexandr Shadchin
Hi,
Removing unused code:
* arch/mac68k/include/keyboard.h not used in kernel sources
* not need define KEYBOARD_ARRAY (variable keyboard[] used only in
dev/adb/akbd.c if defined WSDISPLAY_COMPAT_RAWKBD)
OK ?
--
Alexandr Shadchin
Index: arch/mac68k/include/keyboard.h
se filled from the pms
> driver (it probably means adding more ioctls :()
> --
> Matthieu Herrb
The ranges for pressure and width specified in datasheet.
I do not see a need for new ioctls. I think is better to explicitly
define minp, maxp (etc.) in wsconscomm.c. This
r button
> state changes.
>
> This is a diff against the pms.c resulting of your previous patch to tech@
>
I agree, my implementation weird, your best :-)
Thanks.
--
Alexandr Shadchin
src and xenocara tree
cd /usr/src
make obj includes
cd /usr/xenocara/driver/xf86-input-synaptics
make -f Makefile.bsd-wrapper obj build
--
Alexandr Shadchin
Index: pms.c
===
RCS file: /cvs/src/sys/dev/pckbc/pms.c,v
retrieving revision
Anyone?
On Sat, Apr 16, 2011 at 03:16:47AM +0600, Alexandr Shadchin wrote:
> Hi,
>
> No need to process WSKBDIO_SETLEDS and WSKBDIO_GETLEDS in each drivers,
> when same can be done in wskbd.
>
> Tested on i386 and amd64. Please test on other platforms.
>
> OK?
>
1 - 100 of 151 matches
Mail list logo