I am currently starting up my usb mouse using rc.local :
Then after I boot into photon as root:
/usr/photon/bin/devi-hirun msoft fd -d/dev/usbmouse0
This works really well. Except that I’d really like to have it all done automagically as I boot up.
I tried adding the devi-hirun call into rc.local but it error’d on me at first because /dev/usbmouse0 didn’t exist (which i fixed by putting in a wait (actually a test). But the call still fails because (I believe) photon isn’t running yet.
Is there a photon startup script I can add this call to? Is there another better way to get USB initialized?