Robert Fisk
9e4225fe36
Poll mass storage for disconnection while suspended - fix for Windows
...
'safely remove' function.
5 years ago
Robert Fisk
65aa7da843
Correctly handle reads/writes after stop command issued.
...
Also correctly report device disconnection if Upstream polls too slowly.
Conflicts:
Downstream/Src/downstream_statemachine.c
Upstream/Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.c
5 years ago
Robert Fisk
16e964702a
Implemented Stop/Eject command passthrough
...
Conflicts:
Downstream/.cproject
Downstream/Inc/downstream_interface_def.h
Downstream/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Src/usbh_msc.c
Downstream/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Src/usbh_msc_scsi.c
Downstream/Src/downstream_msc.c
Upstream/Inc/upstream_interface_def.h
Upstream/Inc/upstream_msc.h
Upstream/Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/usbd_msc_scsi.c
Upstream/Src/upstream_msc.c
5 years ago
Robert Fisk
4c4f59d638
Delay GetMaxLUN command by 100ms.
...
Conflicts:
Downstream/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Src/usbh_msc.c
5 years ago
Robert Fisk
e2292aeba5
Don't spam device while waiting for MSC unit ready
...
Conflicts:
Downstream/Middlewares/ST/STM32_USB_Host_Library/Class/MSC/Src/usbh_msc.c
5 years ago
Robert Fisk
992baa7e9d
Retry control requests for slow flash drives
...
Conflicts:
Downstream/Middlewares/ST/STM32_USB_Host_Library/Core/Src/usbh_ctlreq.c
5 years ago
robertfisk
af0b898b3b
Update README.md
6 years ago
Robert Fisk
ecd0ecaf06
Fix project settings for .bin file generation
6 years ago
Robert Fisk
765a5bd1d2
Add Armadillo image for wiki
6 years ago
Robert Fisk
35fa220311
Ignore Hardware folder
6 years ago
Robert Fisk
c3738a8657
Create .bin file in post-build project setting
6 years ago
Robert Fisk
cc73a13ad7
Sanity-check Upstream MSC parameters received from Downstream
6 years ago
Robert Fisk
7200f319b4
Ignore mass storage commands after receiving SCSI stop/eject
7 years ago
Robert Fisk
0a77b5c74d
Don't overwrite array bounds when mass storage device reports > 2 LUNs
7 years ago
Robert Fisk
f3117a32a6
HID bot detect: 3 temporary lockouts = permanent lockout
7 years ago
Robert Fisk
d2e3ab0227
Dont freak out if we get two suspend events in a row
7 years ago
Robert Fisk
0f1948f8c4
Tweak HID protocol defines
7 years ago
Robert Fisk
a0c086bbf1
Disconnect on SCSI eject command from host
7 years ago
Robert Fisk
5a72522b72
Increase JTAG reliability - hold reset active while connecting
...
Conflicts:
OpenOCD_scripts/board/OpenOCD_USG_v1.0.cfg
7 years ago
Robert Fisk
f1f414a352
Eclipse launch configurations changed for some reason
7 years ago
Robert Fisk
312c708409
Fix for mechanical keyboards sending > 8 byte packets
7 years ago
Robert Fisk
91126cef4f
Fixed eclipse project settings & debug configurations
...
Conflicts:
Downstream/.cproject
Downstream/Downstream Debug.launch
Downstream/Downstream Release.launch
Upstream/.settings/language.settings.xml
Upstream/Upstream Debug.launch
Upstream/Upstream Release.launch
7 years ago
Robert Fisk
637444a6bc
Allow longer constant-speed motion before blocking
7 years ago
Robert Fisk
b280f18c8d
Tweak bot detect parameter
7 years ago
Robert Fisk
8600b9ee09
Jump detection now measures entire length of movement, not just the
...
proportion above the jump velocity threshold.
Also tweaked constant acceleration parameters.
7 years ago
Robert Fisk
2ff93c15af
Constant acceleration detector now blocks mouse movement well before
...
causing a full lockout
7 years ago
Robert Fisk
3c072d2e54
Maintain constant acceleration counter for several seconds, on the
...
assumption that a mouse bot would wait until the human stops using the
mouse before starting to do anything bad.
7 years ago
Robert Fisk
7037aa6052
Better support for multi-interface HID: Logitech unifying receivers
...
- Select mouse interface first
- Correctly specify active interface when retrieving HID descriptors
7 years ago
Robert Fisk
688f2e673c
Support HID mouse reports with an ID header (Lenovo)
7 years ago
Robert Fisk
a2edc90302
Restore jiggle detection.
...
This is no longer taken care of by the constant acceleration detector,
so we need to do it explicitly
7 years ago
Robert Fisk
9d88557c83
Reset mouse velocity history on each movement
7 years ago
Robert Fisk
4cf08bb1b4
Implement random-movement credit in the constant acceleration detector.
...
This makes it more forgiving of constant acceleration mid-movement, if
the beginning of the movement looks random. Handy for mice that for some
reason generate bot-like constant velocities.
7 years ago
Robert Fisk
e46f9db88b
Tweak keyboard lockout threshold
7 years ago
Robert Fisk
0135de0a63
Mouse botdetect config comments
7 years ago
Robert Fisk
3866e50b47
Remove jiggle detector as the constant-acceleration detector already
...
does the same job.
7 years ago
Robert Fisk
8b412903a3
Implemented jiggle detection
7 years ago
Robert Fisk
67d5c52a3b
Tweaks to mouse jump detection
7 years ago
Robert Fisk
0cf0d7c796
Mouse jump detection implmented
7 years ago
Robert Fisk
35a523f768
Implement mouse acceleration pulse timing. Doesn't work on realistic
...
inputs.
Conflicts:
Upstream/.settings/language.settings.xml
7 years ago
Robert Fisk
24fd9b0036
Extend 'fast' key histogram out to 300ms
7 years ago
Robert Fisk
b2cea5dad4
Added error band comparison to velocity matching
7 years ago
Robert Fisk
e362c953be
Fix project build settings
7 years ago
Robert Fisk
bdcb77cabb
Initial implementation of mouse bot detection
...
Conflicts:
Downstream/.cproject
Upstream/.cproject
Upstream/.settings/language.settings.xml
7 years ago
Robert Fisk
e33e6eafdc
Re-implement keyboard bot detection based on timing histograms, rather
...
than maximum typing speed.
7 years ago
Robert Fisk
4f5e6fd3f8
Tweaks to HID keyboard bot detection
7 years ago
Robert Fisk
bd40794d50
HID BotDetect functionality debugged and working:
...
- Implement advanced LED flash support
- Tweak HAL_SPI_TransmitReceive to tolerate a longer SysTick interrupt
- Tune KEYBOARD_BOTDETECT parameters
- L-shift and R-shift are now high-speed alphanumeric keys
7 years ago
Robert Fisk
7a70c5826b
HID keyboard bot detection mostly implemented. Needs more advanced LED
...
flash code, and testing.
7 years ago
Robert Fisk
ed130705c1
Enable all config options by default
7 years ago
Robert Fisk
19f91b391d
Build options complete & tested:
...
- Implement SCSI WP flag in mode parameter header
- Refactor #ifdef names
- #ifdef out more HID code
7 years ago
Robert Fisk
f0a9ab6966
Tweak write protect SCSI sense code
7 years ago