Re: XeroMouse & hid.usbfd could co-exist?
Posted: Fri Mar 15, 2013 2:53 pm
By the why do you want to put your driver as a Kickstart module?
Support Forum
https://forum.hyperion-entertainment.com/
https://forum.hyperion-entertainment.com/viewtopic.php?t=1653
My thought exactly!By the why do you want to put your driver as a Kickstart module?
6 ? 1 is sufficient!After OS boot, it was "kicked out" by hid.usbfd, so I raised the USBA_Priority Tag to 6. After that, XeroMouse stays with the mouse, all fine and dandy again.
Wouldn't a "week" binding be good for at least seven days?broadblues wrote:The reason that it is being 'kicked' out by hid.usbfd is that you have week binding set (you copied it over from bootmouse code) this allows bootcode to be replaced by full blown code when the usb stack moves from reboot to fullboot mode.
But is it suitable for a bootmouse? The driver I mean not the mouse itself. My UCLogicDriver tablet is not for instance.Kickstart module, because the mouse would be useless if you need to use the Early Startup. bootmouse.ubsfd isnt able to drive the mouse correctly. So it would be embarassing to change the mouse just to use the Early Startup.
It is (or, at least, it should, according to USB documentation).broadblues wrote:But is it suitable for a bootmouse? The driver I mean not the mouse itself. My UCLogicDriver tablet is not for instance.Kickstart module, because the mouse would be useless if you need to use the Early Startup. bootmouse.ubsfd isnt able to drive the mouse correctly. So it would be embarassing to change the mouse just to use the Early Startup.
I know what you mean... but it doesnt need any user definable settings to save. The Xero (resp. its protocol) is VERY near to bootmouse protocol. I needed to alter only ONE member of the USBootmouseData structure to make it work. Actually, I added an "empty" member. After that, I added the #defines & checks for 4th and 5th button and I had to inverse the mouse wheel data (vertical). Thats all. Even the tilt wheel function worked without further modifications. The mouse is fully functional and doesnt need any special settings to do the work it is intended for.A bootmouse driver has no access to dos.library for example, if you store any preferences / settings you will not be able to load them. In my case this causes a crash (must look at that in case it's my fault for not dealing with the failure although I think I do).
I will do. But Im absolutely NOT that certain, that my module is "crashing" (Im even not sure if its actually a crash. Its a total system freeze, so far). The thing is: unplugging works under all circumstances I was able to test. As long as hid.usbfd isnt present somewhere. It might even be that the problem stems from my configuration, which is not that usual in Amiga world. I just cant judge about this, as I dont know anything about the workings/problems of hid.usbfd. All I know yet is, that the system is working without ANY flaws, as long as the Xero isnt unplugged, if hid.usbfd is present. The system works fine all the time, even with lots of re-plug-cycles, if hid.usbfd isnt present.
The fact that the presence of hid.usbfd causes your module to crash if uses as a kivkstart module, need not imply an issue with hid.usbfd, it may be that the pattern of some unitiised memory is different if it is present.
Try testing in normal non kicksatrt mode but with MUNGE set on the kernel boot line or with MemGuard