CVS commit: src/sys/dev/hid

2023-10-16 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Oct 17 02:46:57 UTC 2023 Modified Files: src/sys/dev/hid: hid.c Log Message: Improve hid matching. It now matches all kinds (application/physical/logical) in the hid collection. Patch from PR applied. Addresses PR/46868. Ok

CVS commit: src/sys/dev/hid

2023-10-16 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Oct 17 02:46:57 UTC 2023 Modified Files: src/sys/dev/hid: hid.c Log Message: Improve hid matching. It now matches all kinds (application/physical/logical) in the hid collection. Patch from PR applied. Addresses PR/46868. Ok

CVS commit: src/sys/dev/hid

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:35:47 UTC 2022 Modified Files: src/sys/dev/hid: hid.c Log Message: hid: Avoid arithmetic overflow by rearranging inequalities. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/hid/hid.c

CVS commit: src/sys/dev/hid

2022-03-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 13 11:35:47 UTC 2022 Modified Files: src/sys/dev/hid: hid.c Log Message: hid: Avoid arithmetic overflow by rearranging inequalities. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/hid/hid.c

CVS commit: src/sys/dev/hid

2020-08-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Aug 26 10:34:04 UTC 2020 Modified Files: src/sys/dev/hid: hidkbdmap.c Log Message: for jp keymap map also scan code 49 to right bracket to handle ARCHISS model PR kern/55608 by Shinichi Doyashiki To generate a diff of

CVS commit: src/sys/dev/hid

2020-08-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Aug 26 10:34:04 UTC 2020 Modified Files: src/sys/dev/hid: hidkbdmap.c Log Message: for jp keymap map also scan code 49 to right bracket to handle ARCHISS model PR kern/55608 by Shinichi Doyashiki To generate a diff of

CVS commit: src/sys/dev/hid

2020-07-12 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sun Jul 12 13:12:17 UTC 2020 Modified Files: src/sys/dev/hid: hidkbdmap.c Log Message: Add KB_TR for uhid keyboards (it was PS/2 only, this seems wrong) To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/dev/hid

2020-07-12 Thread Nia Alarie
Module Name:src Committed By: nia Date: Sun Jul 12 13:12:17 UTC 2020 Modified Files: src/sys/dev/hid: hidkbdmap.c Log Message: Add KB_TR for uhid keyboards (it was PS/2 only, this seems wrong) To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/dev/hid

2020-04-24 Thread Olaf Seibert
Module Name:src Committed By: rhialto Date: Fri Apr 24 13:29:46 UTC 2020 Modified Files: src/sys/dev/hid: hidkbdmap.c Log Message: For usb keyboards with encoding *.swapctrlcaps, keep KS_Cmd1 on the same key as KS_Control_L. This brings them in line with wskbdmap_mfii.c.

CVS commit: src/sys/dev/hid

2020-04-24 Thread Olaf Seibert
Module Name:src Committed By: rhialto Date: Fri Apr 24 13:29:46 UTC 2020 Modified Files: src/sys/dev/hid: hidkbdmap.c Log Message: For usb keyboards with encoding *.swapctrlcaps, keep KS_Cmd1 on the same key as KS_Control_L. This brings them in line with wskbdmap_mfii.c.

CVS commit: src/sys/dev/hid

2020-03-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 11 16:05:31 UTC 2020 Modified Files: src/sys/dev/hid: hid.h Log Message: Use unsgined more. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/hid/hid.h Please note that diffs are not public

CVS commit: src/sys/dev/hid

2020-03-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 11 16:05:31 UTC 2020 Modified Files: src/sys/dev/hid: hid.h Log Message: Use unsgined more. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/hid/hid.h Please note that diffs are not public

Re: CVS commit: src/sys/dev/hid

2020-03-08 Thread Martin Husemann
On Sun, Mar 08, 2020 at 02:16:00PM -, Christos Zoulas wrote: > >Log Message: > >Use unsigned to avoid undefined behavior. Found by kUBSan. > > I think it is better to add U to all the HUP_ constants for consistency. > It looks funny this way. Yes, please keep it consistent. Martin

Re: CVS commit: src/sys/dev/hid

2020-03-08 Thread Christos Zoulas
In article <20200308140933.1b842f...@cvs.netbsd.org>, SAITOH Masanobu wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: msaitoh >Date: Sun Mar 8 14:09:33 UTC 2020 > >Modified Files: > src/sys/dev/hid: hid.h > >Log Message: >Use unsigned to avoid undefined behavior. Found

CVS commit: src/sys/dev/hid

2020-03-08 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sun Mar 8 14:09:33 UTC 2020 Modified Files: src/sys/dev/hid: hid.h Log Message: Use unsigned to avoid undefined behavior. Found by kUBSan. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/hid/hid.h

CVS commit: src/sys/dev/hid

2020-03-08 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sun Mar 8 14:09:33 UTC 2020 Modified Files: src/sys/dev/hid: hid.h Log Message: Use unsigned to avoid undefined behavior. Found by kUBSan. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/hid/hid.h

CVS commit: src/sys/dev/hid

2020-01-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jan 1 09:40:17 UTC 2020 Modified Files: src/sys/dev/hid: hid.c Log Message: Fix small read overflows when parsing HID tables. Noticed by kASan the other day while I was playing with vHCI. To generate a diff of this commit:

CVS commit: src/sys/dev/hid

2020-01-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jan 1 09:40:17 UTC 2020 Modified Files: src/sys/dev/hid: hid.c Log Message: Fix small read overflows when parsing HID tables. Noticed by kASan the other day while I was playing with vHCI. To generate a diff of this commit:

CVS commit: src/sys/dev/hid

2019-07-10 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jul 10 10:07:23 UTC 2019 Modified Files: src/sys/dev/hid: files.hid Log Message: hidms depends on tpcalib now To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/hid/files.hid Please note that diffs are

CVS commit: src/sys/dev/hid

2019-07-10 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jul 10 10:07:23 UTC 2019 Modified Files: src/sys/dev/hid: files.hid Log Message: hidms depends on tpcalib now To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/hid/files.hid Please note that diffs are

CVS commit: src/sys/dev/hid

2018-05-25 Thread Ryo ONODERA
Module Name:src Committed By: ryoon Date: Fri May 25 15:52:46 UTC 2018 Modified Files: src/sys/dev/hid: hidms.c Log Message: Fix HIDMS_DEBUG build To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/hid/hidms.c Please note that diffs are not public

CVS commit: src/sys/dev/hid

2018-05-25 Thread Ryo ONODERA
Module Name:src Committed By: ryoon Date: Fri May 25 15:52:46 UTC 2018 Modified Files: src/sys/dev/hid: hidms.c Log Message: Fix HIDMS_DEBUG build To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/dev/hid/hidms.c Please note that diffs are not public