USB Mouse

I thought I saw a post on this board somewhere that described how to get a USB mouse working somewhere during the boot process. I can’t seem to find it now. I tried the knowledge base on qnx.com, but the commands there didn’t work for me. How can I get my mouse working?

If you already know the command sequence, put the usb and mouse drivers in /etc/rc.d/rc.local (do a chmod +x /etc/rc.d/rc.local afterwards)
like

rc.local

devu-uhci (or devu-ohci whatever suits you)
devu-mouse

then edit ~/.ph/phapps and put
slay devi-hirun
devi-hirun kbd fd -d/dev/kbd msoft fd -d/dev/usbmouse0 &

(actual command for devi-hirun may be different for your system… modify accordingly)

HTH

  • Akhilesh Mritunjai

Don’t mess with phapps - do the change in /etc/system/trap/input.$HOSTNAME. Either put the full command line sequence for your input driver or, if you are using devi-hirun, just put the argument list. You can even start multiple devi’s from this location so you can start your keyboard driver as a separate devi-hirun instanace.

See the help “use inputtrap” and “use devi-hirun”. Note that my path is correct and the use message is not correct for the trap file location.