BASIC disconnects USB devices after reset or control break
Colin (129) 41 posts |
I’ve had a busy week dusting off my old iyonix, reboxing it and trying out rom version 5.16. I discovered that a reset disabled all connected usb devices (keyboard, mouse etc.) requiring a power on to get things working properly. I had thought that it was a problem with the reboxing of the iyonix but I don’t think so after discovering that there wasn’t a problem if I removed the !Boot application, I tracked the problem down to running a basic file from an obey file in the boot sequence. So, if I simplify the !boot directory to just an obey file ”!run” and a basic file “test” !run contains the following line / <obey>.test and test can contain anything or even be blank I used REM test Running this !boot causes no problems normally but if I reset or control break when the machine restarts the light on the keyboard doesn’t light up, the keyboard doesnt work and the mouse doesn’t move the pointer. Switching off and on again causes no problems. If I replace the BASIC file “test” with an obey file called “test” then I can reset without problems. If I use the BASIC file and Filer_run it again I can reset without problems. I don’t think it’s a system crash because when I use the full !boot the keyboard and mouse stops working as soon as a BASIC file is run (actually when !system is run and it runs the basic file “syspaths”) but the boot appears to continue to work normaly after that. Maybe BASIC is overwriting USB workspace after a reset – I don’t know. Has anyone else come across this problem or even fixed it? |
Martin Bazley (331) 379 posts |
Definitely not, and my boot sequence is stuffed with BASIC programs. (Also on 5.16.) |
Dave Higton (281) 668 posts |
Also definitely not. I’ve been using 5.16 since it was released. |
Colin (129) 41 posts |
Thanks for the replies. I’ve managed to solve the symptoms by using !usbkick in the boot sequence. This restarts all the connected usb devices and everything works normally again. In case someone investigates further I note that after a reset and prior to booting the devices are working ie I don’t get the keyboard not found message which you get when the keyboard is unplugged. |