Optical Mouse in QNX 6.1??

I am attempting to find a way to use an optical mouse under
Photon on QNX 6.1. I have tried Logitech Optical and
Dual Optical rodents, as USB and using the PS/2 adapter
received with them, and neither are working.

PS/2
Yes, I checked the BIOS with the PS/2 interface version to
verify that “Legacy USB” is disabled. Interestingly, the
power is present in the mouse (LEDs lit), and moving it
will break out of the screensaver! The cursor will not move,
however, and the buttons are not recognized/processed.

USB
Read the Knowledge Base" article 10411.

For the USB interface, I plug the rodent into a USB port. I
attempt to start: “devu-mouse &” from the Photon terminal,
and it appears to start, and then exits after ~ 2 minutes with
a message:

“Mouse Class/init - no such files or directory”

No device “/dev/usbmouse0” is ever present, while devu-mouse
is running or after.

As suggested in the Knowledge Base article, I originally
started “devu-mouse &” in /etc/rc.d/rc.local, and added
a “/$HOME/.ph/phapps” file starting devi-hirun with the
appropriate arguements. Since the “devu-mouse” failed,
of course this did not succeed.

So, what do I need to do to make use of my optical rodentia?
I’m very tired of my old “roller ball” mouse in PhAB!


Jeff Maass jmaass@columbus.rr.com Located near Columbus Ohio
USPSA # L-1192 NROI/CRO Amateur Radio K8ND
Maass’ IPSC Resources Page: http://home.columbus.rr.com/jmaass

More to simplify the problem.

FOR THE USB CASE:
I was not starting “devu-uhci &” prior to starting “devu-mouse &”.
I now start both, and get no error message “Mouse Class/Init -
no such files or directory”.

However, it is still not creating “/dev/usbmouse0”. It is creating
“/dev/usb”.


Another question arises: If the USB mouse support is started
in ./.ph/phapps at login (as suggested in Knowledge Base article
#10411), how does one have the mouse started so it can be
used during Photon login (“shutdown” button)?

It seems that “devi-hirun” starting the mouse driver should be
started somewhere after Photon is started and before user
login, perhaps in “/usr/bin/ph”?


Jeff Maass jmaass@columbus.rr.com Located near Columbus Ohio
USPSA # L-1192 NROI/CRO Amateur Radio K8ND
Maass’ IPSC Resources Page: http://home.columbus.rr.com/jmaass

\

Jeff Maass jmaass@columbus.rr.com Located near Columbus Ohio
USPSA # L-1192 NROI/CRO Amateur Radio K8ND
Maass’ IPSC Resources Page: http://home.columbus.rr.com/jmaass
“Jeff Maass” <jmaass@columbus.rr.com> wrote in message
news:aldsv9$bpm$1@inn.qnx.com

I am attempting to find a way to use an optical mouse under
Photon on QNX 6.1. I have tried Logitech Optical and
Dual Optical rodents, as USB and using the PS/2 adapter
received with them, and neither are working.

PS/2
Yes, I checked the BIOS with the PS/2 interface version to
verify that “Legacy USB” is disabled. Interestingly, the
power is present in the mouse (LEDs lit), and moving it
will break out of the screensaver! The cursor will not move,
however, and the buttons are not recognized/processed.

USB
Read the Knowledge Base" article 10411.

For the USB interface, I plug the rodent into a USB port. I
attempt to start: “devu-mouse &” from the Photon terminal,
and it appears to start, and then exits after ~ 2 minutes with
a message:

“Mouse Class/init - no such files or directory”

No device “/dev/usbmouse0” is ever present, while devu-mouse
is running or after.

As suggested in the Knowledge Base article, I originally
started “devu-mouse &” in /etc/rc.d/rc.local, and added
a “/$HOME/.ph/phapps” file starting devi-hirun with the
appropriate arguements. Since the “devu-mouse” failed,
of course this did not succeed.

So, what do I need to do to make use of my optical rodentia?
I’m very tired of my old “roller ball” mouse in PhAB!


Jeff Maass > jmaass@columbus.rr.com > Located near Columbus Ohio
USPSA # L-1192 NROI/CRO Amateur Radio K8ND
Maass’ IPSC Resources Page: > http://home.columbus.rr.com/jmaass

Make sure you do…

devu-uhci &
waitfor /dev/usb
devu-mouse &
waitfor /dev/usbmouse0

chris

Jeff Maass <jmaass@columbus.rr.com> wrote:

More to simplify the problem.

FOR THE USB CASE:
I was not starting “devu-uhci &” prior to starting “devu-mouse &”.
I now start both, and get no error message “Mouse Class/Init -
no such files or directory”.

However, it is still not creating “/dev/usbmouse0”. It is creating
“/dev/usb”.


Another question arises: If the USB mouse support is started
in ./.ph/phapps at login (as suggested in Knowledge Base article
#10411), how does one have the mouse started so it can be
used during Photon login (“shutdown” button)?

It seems that “devi-hirun” starting the mouse driver should be
started somewhere after Photon is started and before user
login, perhaps in “/usr/bin/ph”?


Jeff Maass > jmaass@columbus.rr.com > Located near Columbus Ohio
USPSA # L-1192 NROI/CRO Amateur Radio K8ND
Maass’ IPSC Resources Page: > http://home.columbus.rr.com/jmaass

\

Jeff Maass > jmaass@columbus.rr.com > Located near Columbus Ohio
USPSA # L-1192 NROI/CRO Amateur Radio K8ND
Maass’ IPSC Resources Page: > http://home.columbus.rr.com/jmaass
“Jeff Maass” <> jmaass@columbus.rr.com> > wrote in message
news:aldsv9$bpm$> 1@inn.qnx.com> …
I am attempting to find a way to use an optical mouse under
Photon on QNX 6.1. I have tried Logitech Optical and
Dual Optical rodents, as USB and using the PS/2 adapter
received with them, and neither are working.

PS/2
Yes, I checked the BIOS with the PS/2 interface version to
verify that “Legacy USB” is disabled. Interestingly, the
power is present in the mouse (LEDs lit), and moving it
will break out of the screensaver! The cursor will not move,
however, and the buttons are not recognized/processed.

USB
Read the Knowledge Base" article 10411.

For the USB interface, I plug the rodent into a USB port. I
attempt to start: “devu-mouse &” from the Photon terminal,
and it appears to start, and then exits after ~ 2 minutes with
a message:

“Mouse Class/init - no such files or directory”

No device “/dev/usbmouse0” is ever present, while devu-mouse
is running or after.

As suggested in the Knowledge Base article, I originally
started “devu-mouse &” in /etc/rc.d/rc.local, and added
a “/$HOME/.ph/phapps” file starting devi-hirun with the
appropriate arguements. Since the “devu-mouse” failed,
of course this did not succeed.

So, what do I need to do to make use of my optical rodentia?
I’m very tired of my old “roller ball” mouse in PhAB!


Jeff Maass > jmaass@columbus.rr.com > Located near Columbus Ohio
USPSA # L-1192 NROI/CRO Amateur Radio K8ND
Maass’ IPSC Resources Page: > http://home.columbus.rr.com/jmaass

\


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/