Guys…I can’t believe I finally managed to get the usb DDK for the license that the university had. Thank you Masochen again for your contact!
The only trouble now is that I have only 6 more days left until my intern-ship finishes and I most probably won’t have enough time to build this freakin’ driver
Realising this, all I want to do is load a dummy driver when the device is plugged in!
I have looked through the DDK and the documentation and just tried to find how to start the mouse example driver. It’s all built and everything and I can for instance call devu-mouse and it starts the process…but how do I check that it’s working? I just want to put some printf’s so I can see them printed on the screen.
I have a usb mouse that is currently handled by the devi-hid manager which I understand is started by the inputtrap during the boot. How can I override this so that the mouse is handled by the example driver? Do I need to mess around with the boot scripts (configuration files)? I have looked into /etc/system/sysinit , /etc/rc.d/rc.devices , /etc/rc.d/rc.sysinit but it is necessary to modify these whenever you want to load your own driver?