| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Approved by: so
Approved by: re (implicit)
Security: FreeBSD-SA-20:17.usb
Security: CVE-2020-7456
Notes:
svn path=/releng/11.4/; revision=361972
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Raise "Report Count" value limit in HID descriptor parser.
This fixes usage/report size calculation of Microsoft`s "Touch Hardware
Quality Assurance" certificate blob found in many touchscreens.
While here, join several "c->flags = dval" lines in to single line.
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D16357
Notes:
svn path=/stable/11/; revision=337291
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was intended to be a non-functional change. It wasn't. The commit
message was thus wrong. In addition it broke arm, and merged crypto
related code.
Revert with prejudice.
This revert skips files touched in r316370 since that commit was since
MFCed. This revert also skips files that require $FreeBSD$ property
changes.
Thank you to those who helped me get out of this mess including but not
limited to gonzo, kevans, rgrimes.
Requested by: gjb (re)
Notes:
svn path=/stable/11/; revision=331722
|
|
|
|
|
|
|
|
|
|
| |
These changes are incomplete but are making it difficult
to determine what other changes can/should be merged.
No objections from: pfg
Notes:
svn path=/stable/11/; revision=330897
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for generic MS Windows 7/8/10-compatible USB HID touchscreens
found in many laptops.
Reviewed by: hps, gonzo, bcr (manpages)
Approved by: gonzo (mentor)
Differential Revision: https://reviews.freebsd.org/D12017
Notes:
svn path=/stable/11/; revision=324769
|
|
|
|
|
|
|
|
|
| |
No functional change.
Reviewed by: hselasky
Notes:
svn path=/head/; revision=298932
|
|
|
|
|
|
|
|
| |
Suggested by: Larry Rosenman <ler@lerctr.org>
MFC after: 1 week
Notes:
svn path=/head/; revision=295923
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
into the FreeBSD boot loader, typically for non-USB aware BIOSes, EFI systems
or embedded platforms. This is also useful for out of the system compilation
of the FreeBSD USB stack for various purposes. The USB kernel files can
now optionally include a global header file which should include all needed
definitions required to compile the FreeBSD USB stack. When the global USB
header file is included, no other USB header files will be included by
default.
Add new file containing the USB stack configuration for the
FreeBSD loader build.
Replace some __FBSDID()'s by /* $FreeBSD$ */ comments. Now all
USB files follow the same style.
Use cases:
- console in loader via USB
- loading kernel via USB
Discussed with: Hiroki Sato, hrs @ EuroBSDCon
Notes:
svn path=/head/; revision=246122
|
|
|
|
|
|
|
|
|
|
|
|
| |
Factor out USB mouse and keyboard detection logic.
Reject USB keyboards which have mouse alike HID items
in their HID descriptors.
Submitted by: Matthew W
MFC after: 1 week
Notes:
svn path=/head/; revision=245248
|
|
|
|
|
|
|
| |
sign expansion.
Notes:
svn path=/head/; revision=235510
|
|
|
|
|
|
|
|
|
| |
when USB modules are compiled with WARNS=9.
MFC after: 1 weeks
Notes:
svn path=/head/; revision=233774
|
|
|
|
|
|
|
|
|
| |
Try to auto-detect keyboards which should use the BOOT protocol.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=223755
|
|
|
|
|
|
|
|
|
| |
it internally contain nested includes.
Reviewed by: bde
Notes:
svn path=/head/; revision=217265
|
|
|
|
|
|
|
|
| |
Submitted by: Alex Deiter
Reviewed by: Hans Petter Selaksy
Notes:
svn path=/head/; revision=208012
|
|
|
|
|
|
|
|
|
| |
their software.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204632
|
|
|
|
|
|
|
|
|
| |
message has been printed is enough to get someones attention. Also remove the
line number for DPRINTF/DPRINTFN, it already prints the funtion name and a
unique message.
Notes:
svn path=/head/; revision=199816
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See PR description for more info. Patch is
implemented differently than suggested, but
having the same result.
PR: usb/137188
Submitted by: hps
Approved by: re
Notes:
svn path=/head/; revision=195967
|
|
|
|
|
|
|
| |
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
Notes:
svn path=/head/; revision=194677
|
|
|
|
| |
Notes:
svn path=/head/; revision=194228
|
|
|
|
|
|
|
| |
USB_ADD_BYTES macro.
Notes:
svn path=/head/; revision=193074
|
|
|
|
| |
Notes:
svn path=/head/; revision=193045
|
|
|
|
| |
Notes:
svn path=/head/; revision=192984
|
|
|
|
|
|
|
|
|
| |
Apple keyboard HID descriptors.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=192559
|
|
|
|
|
|
|
| |
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=192055
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- add support for more complicated HID descriptors which can have multiple
definitions of the same field.
- remove old modulo patch in ums, which I think is due to bad HID parsing,
which should be fixed now.
Reported by: netchild
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=190741
|
|
|
|
|
|
|
|
|
|
| |
- start using the new USB typedefs in the USB core
- Remove usage of USB_ADD_BYTES()
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=190181
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Move tunable defines into usb_core.h and dependancy towards usb_defs.h
- Leave hardcoded defines in "usb_defs.h".
- Allow overriding all tunable defines.
- Add more customisable typedefs.
- Correct maximum device number.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=190174
|
|
|
|
|
|
|
|
| |
Submitted by: Hans Petter Selasky
Tested by: Andreas Tobler
Notes:
svn path=/head/; revision=189776
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
More HID parsing fixes for usb mice.
- be less strict on the last HID item usage.
- preserve item size and count accross items
- improve default HID usage selection.
Tested by: ache
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=189718
|
|
|
|
|
|
|
|
|
| |
Tested by: Renato Botelho
Tested by: beech (earlier version)
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=189646
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix bugs and improve HID parsing.
- fix possible memory leak found
- fix possible NULL pointer access
- fix possible invalid memory read
- parsing improvements
- reset item data position when a new report ID is detected.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=189547
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- The software computed HID size is not always correct, because the algoritm
does not handle unsorted HID descriptors.
- Change the way we obtain the report ID.
- Use the X/Y/Z+button locations instead for report ID source for ums.
- Add more range checks.
- Remove Microsoft Mouse quirks. If the positions are moduloed the report
length multiplied by 8, the values seem correct.
- Some minor style changes.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=188981
|
|
Notes:
svn path=/head/; revision=188942
|