Re: USB Stack Issue still unsolved...
Posted: Mon Mar 23, 2020 4:10 am
I've actually run into this problem myself... however I did find a solution...if this may work for you as well?
The issue is kind of a heisenbug in that it will and will not show as it is technically NOT a bug in either the OS or the HW that I could determine,
My personal workaround was to actually re-order the Kickstart modules in my Sys:Kickstart/KickLayout file and this actually resolved the issue completely.
The major indicator here is entirely that it only *sometimes* happens... the only fault I could determine this to be was a race condition specifically at the time the USB stack modules for the bootkeyboard and bootmouse get launched,
if this is the actual problem or not I can't say for certain, All I know is the KickLayout changes (as following) that I made to my own system appeared to resolve the problem ( apparently due to changing the timings at Kickstart modules being launched at startup )
I don't know if this will have any other subtle effects on the OS itself as I have not run into the USB Keyboard/Mouse issues after changing the KickLayout order.
Belxjander
The issue is kind of a heisenbug in that it will and will not show as it is technically NOT a bug in either the OS or the HW that I could determine,
My personal workaround was to actually re-order the Kickstart modules in my Sys:Kickstart/KickLayout file and this actually resolved the issue completely.
The major indicator here is entirely that it only *sometimes* happens... the only fault I could determine this to be was a race condition specifically at the time the USB stack modules for the bootkeyboard and bootmouse get launched,
if this is the actual problem or not I can't say for certain, All I know is the KickLayout changes (as following) that I made to my own system appeared to resolve the problem ( apparently due to changing the timings at Kickstart modules being launched at startup )
I don't know if this will have any other subtle effects on the OS itself as I have not run into the USB Keyboard/Mouse issues after changing the KickLayout order.
Belxjander
; $VER: Kicklayout-Sam440ep 53.8 (12.10.2014)
;
LABEL Amiga4.1FE[U1]
EXEC Kickstart/loader
;
MODULE Kickstart/kernel
MODULE Kickstart/bootmenu.kmod
MODULE Kickstart/bootimage
MODULE Kickstart/diskboot.kmod
MODULE Kickstart/diskboot.config
MODULE Kickstart/ramlib.kmod
MODULE Kickstart/shell.kmod
MODULE Kickstart/strap.kmod
;
MODULE Kickstart/battclock.resource.kmod
MODULE Kickstart/biosversion.resource.kmod
MODULE Kickstart/FileSystem.resource.kmod
MODULE Kickstart/i2c.resource.kmod
MODULE Kickstart/nvram.resource.kmod
MODULE Kickstart/fpga.resource.kmod
;
MODULE Kickstart/newlib.library.kmod
MODULE Kickstart/nonvolatile.library.kmod
MODULE Kickstart/keymap.library.kmod
MODULE Kickstart/mounter.library
MODULE Kickstart/dos.library.kmod
MODULE Kickstart/elf.library.kmod
MODULE Kickstart/hunk.library.kmod
MODULE Kickstart/diskcache.library.kmod
MODULE Kickstart/graphics.library.kmod
MODULE Kickstart/intuition.library.kmod
MODULE Kickstart/gadtools.library.kmod
MODULE Kickstart/petunia.library.kmod
MODULE Kickstart/usbresource.library
;
MODULE Kickstart/PCIGraphics.card
MODULE Kickstart/ATIRadeon.chip
MODULE Kickstart/3dfxVoodoo.chip
;
MODULE Kickstart/ramdrive.device.kmod
MODULE Kickstart/keyboard.device.kmod
MODULE Kickstart/input.device.kmod
MODULE Kickstart/console.device.kmod
MODULE Kickstart/timer.device.kmod
MODULE Kickstart/sii0680ide.device.kmod
MODULE Kickstart/sii3114ide.device.kmod
MODULE Kickstart/sii3512ide.device.kmod
MODULE Kickstart/it8212ide.device.kmod
MODULE Kickstart/lsi53c8xx.device.kmod
MODULE Kickstart/usbsys.device
;
MODULE Kickstart/con-handler.kmod
MODULE Kickstart/env-handler.kmod
MODULE Kickstart/ram-handler.kmod
;
MODULE Kickstart/SmartFilesystem
MODULE Kickstart/FastFileSystem
MODULE Kickstart/CDFileSystem
;
MODULE Kickstart/hub.usbfd
MODULE Kickstart/bootmouse.usbfd
MODULE Kickstart/bootkeyboard.usbfd
MODULE Kickstart/massstorage.usbfd
MODULE Kickstart/uhci.usbhcd
MODULE Kickstart/ohci.usbhcd
MODULE Kickstart/ehci.usbhcd
;