e707fb9472 
								
							
								 
							
						 
						
							
							
								
								Increase mass storage reliability on Win10  
							
							
 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								3d5127784d 
								
							
								 
							
						 
						
							
							
								
								Fix LED includes  
							
							
 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								bbad577d43 
								
							
								 
							
						 
						
							
							
								
								Implement read/write indication on the fault LEDs  
							
							... 
							
							
 
							
							Conflicts:
	Downstream/Inc/build_config.h
	Downstream/Src/downstream_msc.c
	Downstream/Src/led.c
	Upstream/Inc/build_config.h
	Upstream/Src/led.c 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								0b75f7d1c6 
								
							
								 
							
						 
						
							
							
								
								(add forgotten files)  
							
							... 
							
							
 
							
							Conflicts:
	Upstream/Src/upstream_statemachine.c 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1147d2ebf9 
								
							
								 
							
						 
						
							
							
								
								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 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								1b0b99ebbd 
								
							
								 
							
						 
						
							
							
								
								Sanity-check Upstream MSC parameters received from Downstream  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								086158525b 
								
							
								 
							
						 
						
							
							
								
								Ignore mass storage commands after receiving SCSI stop/eject  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0c7cc00c0a 
								
							
								 
							
						 
						
							
							
								
								HID bot detect: 3 temporary lockouts = permanent lockout  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1f365434f9 
								
							
								 
							
						 
						
							
							
								
								Dont freak out if we get two suspend events in a row  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e890e9df7a 
								
							
								 
							
						 
						
							
							
								
								Disconnect on SCSI eject command from host  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e4fe983da5 
								
							
								 
							
						 
						
							
							
								
								Jump detection now measures entire length of movement, not just the  
							
							... 
							
							
 
							
							proportion above the jump velocity threshold.
Also tweaked constant acceleration parameters. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								418bba1706 
								
							
								 
							
						 
						
							
							
								
								Constant acceleration detector now blocks mouse movement well before  
							
							... 
							
							
 
							
							causing a full lockout 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f1bb58e8c2 
								
							
								 
							
						 
						
							
							
								
								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. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8403c9ee93 
								
							
								 
							
						 
						
							
							
								
								Restore jiggle detection.  
							
							... 
							
							
 
							
							This is no longer taken care of by the constant acceleration detector,
so we need to do it explicitly 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d6f66e67bd 
								
							
								 
							
						 
						
							
							
								
								Reset mouse velocity history on each movement  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3d91aa2115 
								
							
								 
							
						 
						
							
							
								
								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. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0c3c3a033c 
								
							
								 
							
						 
						
							
							
								
								Remove jiggle detector as the constant-acceleration detector already  
							
							... 
							
							
 
							
							does the same job. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								84bd03b539 
								
							
								 
							
						 
						
							
							
								
								Implemented jiggle detection  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8c6d54d110 
								
							
								 
							
						 
						
							
							
								
								Tweaks to mouse jump detection  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b052645faa 
								
							
								 
							
						 
						
							
							
								
								Mouse jump detection implmented  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								324f115476 
								
							
								 
							
						 
						
							
							
								
								Implement mouse acceleration pulse timing. Doesn't work on realistic  
							
							... 
							
							
 
							
							inputs. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2deea5a646 
								
							
								 
							
						 
						
							
							
								
								Added error band comparison to velocity matching  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f7b7ce84e7 
								
							
								 
							
						 
						
							
							
								
								Initial implementation of mouse bot detection  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								302bca3690 
								
							
								 
							
						 
						
							
							
								
								Re-implement keyboard bot detection based on timing histograms, rather  
							
							... 
							
							
 
							
							than maximum typing speed. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								441caf6768 
								
							
								 
							
						 
						
							
							
								
								Tweaks to HID keyboard bot detection  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								fa00fd95dd 
								
							
								 
							
						 
						
							
							
								
								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 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								02f6842723 
								
							
								 
							
						 
						
							
							
								
								HID keyboard bot detection mostly implemented. Needs more advanced LED  
							
							... 
							
							
 
							
							flash code, and testing. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								cf1d5da8e8 
								
							
								 
							
						 
						
							
							
								
								Build options complete & tested:  
							
							... 
							
							
 
							
							- Implement SCSI WP flag in mode parameter header
 - Refactor #ifdef names
 - #ifdef out more HID code 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3a94c2c863 
								
							
								 
							
						 
						
							
							
								
								Implemented optional build for mass storage, keyboard, and mouse  
							
							... 
							
							
 
							
							(Upstream). Also implemented read-only mass storage mode.
Todo:
 - Test. Everything!!!
 - Report write protect flag in SCSI "mode parameter header" (whatever
that is) 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a287c39b84 
								
							
								 
							
						 
						
							
							
								
								Fix for occasional freakouts on mass storage writes.  
							
							... 
							
							
 
							
							Upstream's edge-detect interrupt that starts SPI transmission was not
firing. Sometimes. On some boards only. The cause was Downstream not
allowing enough time between edges for Upstream to catch the signal.
Also misc code tidyups. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								747681769b 
								
							
								 
							
						 
						
							
							
								
								Fix yesterday's HID disconnect/reconnect fix  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								eea91c8077 
								
							
								 
							
						 
						
							
							
								
								Fix for Upstream JTAG lockout - don't execute WFI too soon!  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								41c0624459 
								
							
								 
							
						 
						
							
							
								
								Startup LED flash is now asynchronous.  
							
							... 
							
							
 
							
							Not only a faster startup process, but also catches some HID devices
that only work if initialised within 500ms of powerup. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								0e42cf71dd 
								
							
								 
							
						 
						
							
							
								
								Correctly resume operation after HID device unplug/replug  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								e63525f868 
								
							
								 
							
						 
						
							
							
								
								Don't freakout when wakeup-from-sleep fails during keyboard report out.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								7a1fe0fb65 
								
							
								 
							
						 
						
							
							
								
								Fix for mouse movement before waking from suspend  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								46ecbd410d 
								
							
								 
							
						 
						
							
							
								
								After an epic battle, suspend/resume/wakeup is now supported.  
							
							... 
							
							
 
							
							It turns out that suspend support on the STM32 USB core is buggy as
heck. Host mode cannot resume after suspend, and device mode cannot
receive resume or send wakeup signalling.
I managed to fake resume support by keeping Downstream and our connected
device running at full power, and simulating a wakeup event to the host
by disconnecting/reconnecting Upstream from the host. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								32ca5cdcf9 
								
							
								 
							
						 
						
							
							
								
								HID class handles host restart correctly  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c68151698b 
								
							
								 
							
						 
						
							
							
								
								Bugfixes for keyboard support: works!!!  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								bc2bf01cbe 
								
							
								 
							
						 
						
							
							
								
								Keyboard support implemented, but not tested  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								9b2b8972a4 
								
							
								 
							
						 
						
							
							
								
								Incomplete and untested implementation of keyboard support  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								5c18898611 
								
							
								 
							
						 
						
							
							
								
								Bugfix to allow reconnecting HID devices  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								85f965eaa0 
								
							
								 
							
						 
						
							
							
								
								Fix for occasional timeout on writes...  
							
							... 
							
							
 
							
							...Downstream was not always changing state correctly after closely
spaced interrupts.
Also improve flash-write-lockout function to avoid dependency on
optimisation level. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								637f67fc14 
								
							
								 
							
						 
						
							
							
								
								Implement dynamic crystal frequency selection based on board revision.  
							
							... 
							
							
 
							
							Also fixed minor issue in hardware revision-detection function. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								8c30d81521 
								
							
								 
							
						 
						
							
							
								
								Tweak USB descriptor string  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f9b7416df0 
								
							
								 
							
						 
						
							
							
								
								Sleep instead of busy-wait, approx 50% power reduction!  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								5d393a0100 
								
							
								 
							
						 
						
							
							
								
								HID class: handle host restart gracefully  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								6c96824da8 
								
							
								 
							
						 
						
							
							
								
								Implement multi-PID support so that Windows will recognise each device  
							
							... 
							
							
 
							
							class as a separate device. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								650d10f22c 
								
							
								 
							
						 
						
							
							
								
								Support disconnect/reconnect of attached HID device  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								c78f5b1150 
								
							
								 
							
						 
						
							
							
								
								HID parser and wheel support works!  
							
							
 
							
						 
						
							10 years ago