freebsd-skq/sys/dev/usb
Hans Petter Selasky 0ba490729b Use hid_get_data_unsigned() instead of hid_get_data() when reading the
key-codes from the USB keyboard. Negative key-codes are currently skipped.

While at it use the bit size value provided by the HID location structure
instead of assuming a value of 8.

This fixes a regression issue after r357861.

Reported by:	Minoru TANABE <kotanabe3@gmail.com>
PR:	224592
PR:	233884
MFC after:	3 days
Sponsored by:	Mellanox Technologies
2020-02-25 12:56:06 +00:00
..
controller Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
gadget Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
input Use hid_get_data_unsigned() instead of hid_get_data() when reading the 2020-02-25 12:56:06 +00:00
misc Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
net smsc: remove pre-FreeBSD-10 compat support 2020-02-24 19:50:28 +00:00
quirk Add support for RTL8156, 2.5GbE USB network controller, to if_cdce(4). 2019-07-10 05:45:50 +00:00
serial Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
storage Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
template Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
video Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
wlan Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
ufm_ioctl.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
uftdiio.h
uled_ioctl.h
usb_bus.h Make USB statistics per device instead of per bus. 2019-12-27 20:29:13 +00:00
usb_busdma.c
usb_busdma.h
usb_cdc.h
usb_controller.h
usb_core.c
usb_core.h
usb_debug.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
usb_debug.h
usb_dev.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
usb_dev.h
usb_device.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
usb_device.h Add own counter for cancelled USB transfers. 2020-01-06 09:49:20 +00:00
usb_dynamic.c
usb_dynamic.h
usb_endian.h
usb_error.c
usb_fdt_support.c Add common support functions for USB devices configured via FDT data. 2019-05-19 16:56:59 +00:00
usb_fdt_support.h Add common support functions for USB devices configured via FDT data. 2019-05-19 16:56:59 +00:00
usb_freebsd_loader.h
usb_freebsd.h
usb_generic.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
usb_generic.h
usb_handle_request.c
usb_hid.c Some newer HID devices have descriptors that are larger than 1k. Bump 2019-09-07 03:51:26 +00:00
usb_hub_acpi.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
usb_hub_private.h Add ACPI support for USB driver. 2019-06-17 23:03:30 +00:00
usb_hub.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
usb_hub.h
usb_if.m
usb_ioctl.h Increase the maximum user-space buffer size from 256kBytes to 32MBytes for 2019-09-20 11:00:02 +00:00
usb_lookup.c
usb_mbuf.c
usb_mbuf.h
usb_msctest.c
usb_msctest.h
usb_parse.c
usb_pci.h
usb_pf.c
usb_pf.h
usb_process.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
usb_process.h
usb_request.c
usb_request.h
usb_transfer.c Add own counter for cancelled USB transfers. 2020-01-06 09:49:20 +00:00
usb_transfer.h
usb_util.c
usb_util.h
usb.h Add cdceem(4) driver, for virtual ethernet devices compliant 2019-08-07 18:14:45 +00:00
usbdevs Add new USB ID to uslcom(4). 2020-01-21 22:28:16 +00:00
usbdi_util.h
usbdi.h Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
usbhid.h