USB mouse problem /question

hi

i found the commands to activate the usb mouse in photon.
this works when i open a terminal window in photon and enter the commands.

I tried to enter the same commands in the rc.local file, but this does not
work.
When booting i see an error saying : input device /dev/usbmouse0 is not
available.

this is the contents of my rc.local file

devu-uhci &
devu-mouse &
devi-hirun msoft fd -d/dev/usbmouse0 &



Johan

Sagaert Johan <sagaert.j@belgacom.net> wrote in message
news:cd8bcd$oss$3@inn.qnx.com

hi

i found the commands to activate the usb mouse in photon.
this works when i open a terminal window in photon and enter the commands.

I tried to enter the same commands in the rc.local file, but this does not
work.
When booting i see an error saying : input device /dev/usbmouse0 is not
available.

likely /dev/usbmouse0 doesnt exist yet when devi-hirun is started.
Try puting ‘waitfor /dev/usbmouse0 10’ to make sure the mouse driver
has created the device name before devi-hirun is started.

this is the contents of my rc.local file

devu-uhci &
devu-mouse &
waitfor /dev/usbmouse0 10
devi-hirun msoft fd -d/dev/usbmouse0 &



Johan

that did not help, still did not work

i have moved the commands to the .profile script , now it’s ok !
Johan

“Henry VanDyke” <henry@qnx.com> wrote in message
news:cd8jg8$1hi$1@inn.qnx.com

Sagaert Johan <> sagaert.j@belgacom.net> > wrote in message
news:cd8bcd$oss$> 3@inn.qnx.com> …
hi

i found the commands to activate the usb mouse in photon.
this works when i open a terminal window in photon and enter the
commands.

I tried to enter the same commands in the rc.local file, but this does
not
work.
When booting i see an error saying : input device /dev/usbmouse0 is not
available.

likely /dev/usbmouse0 doesnt exist yet when devi-hirun is started.
Try puting ‘waitfor /dev/usbmouse0 10’ to make sure the mouse driver
has created the device name before devi-hirun is started.


this is the contents of my rc.local file

devu-uhci &
devu-mouse &
waitfor /dev/usbmouse0 10
devi-hirun msoft fd -d/dev/usbmouse0 &



Johan
\