Make USB mouse available in Photon after restart

Hello All
I have found how to make my USB mouse working. But can anyone sugest me
way to make it start automaticaly on system reboot?
Have put in /etc/rc.d/rc.local
devu-ohci &
devu-mouse &

But cant understand where to put devi-hirun msoft -i -R fd -d
/dev/usbmouse0 to make my mouse working in photon?


Please e-mails are welcome too :slight_smile:

Modify the inputtrap trapfile to reflect the computer’s configuration.

cd /etc/config/trap
mv input.HOSTNAME input.<your_hostname>

inputtrap will check for a trapfile (input.your_hostname) in
“/etc/config/trap” when it starts. You don’t need to include
“devi-hirun” as this is assumed by default in the trapfile.

My “input.alpha” trapfile has the following:

kbd fd -d /dev/kbd ps2 mousedev
kbd -R fd -d /dev/usbkbd0 msoft fd -d /dev/usbmouse0

The first line enables your standard keyboard and ps2 mouse. It’s good
to have in case you decide to switch back to a non-USB keyboard/mouse.
The second line enables a USB keyboard/mouse.

Make sure whatever you put in your “input.your_hostname” file reflects
your computer’s actual configuration. If it doesn’t, then QNX may well
hang on startup and you will likely have to boot to text mode to fix it
(if you don’t have a USB keyboard “/dev/usbkbd0” then don’t include “fd
-d /dev/usbkbd0” as I have).

Jordan Ostreff wrote:

Hello All
I have found how to make my USB mouse working. But can anyone sugest me
way to make it start automaticaly on system reboot?
Have put in /etc/rc.d/rc.local
devu-ohci &
devu-mouse &

But cant understand where to put devi-hirun msoft -i -R fd -d
/dev/usbmouse0 to make my mouse working in photon?


Please e-mails are welcome too > :slight_smile: