"waiting for input driver" problem...

Hi:
When QNX is booting, it stops during the process and displays a dialog
saying: “waiting for input driver” and then freezes, permanently. I have
QNX on a removable drive that boots during my computer’s startup if selected
(default is Win98 on a fixed drive). This problem has only started recently
and I am at a loss on how to fix it. I am a student learning about
QNX/RealTime programming, so consider me quite the beginner…any help? TIA

~ Dave

There could be different reasons for that. In order to clarify situation you
have to see command line (how photon startup scriptvia inputtrap) starts
photon input driver (devi-hirun). If you have a chance to connect to this
computer via local network, just from telnet session slay Photon and
io-graphics. Then you’ll be able to see on the console screen, what really
happened.

Another way is to fix a problem using input file (see online documentation
for inputtrap).

“Dave Grove” <stevensgrove@igs.net> wrote in message
news:9gb3bv$932$1@inn.qnx.com

Hi:
When QNX is booting, it stops during the process and displays a dialog
saying: “waiting for input driver” and then freezes, permanently. I have
QNX on a removable drive that boots during my computer’s startup if
selected
(default is Win98 on a fixed drive). This problem has only started
recently
and I am at a loss on how to fix it. I am a student learning about
QNX/RealTime programming, so consider me quite the beginner…any help?
TIA

~ Dave

Thanks for responding Alex:
Unfortunately I need to reiterate that I am an extreme beginner, and your
very knowledgeable explanation left me scratching my head (!).
I installed QNX on a removable, Win98 formatted harddrive, following the
install instructions on the QNX website. (I am beginning to learn with QNX
at college, and this allows me to continue my work on my own PC). My
config.sys file is exactly as shown in the readme.txt file, and this worked
fine (when selected, QNX booted problem free) for several weeks. Now the
boot process simply stops and displays the dialog I mentioned earlier. I
can find no specific reason this may have started occuring. I am completely
new to QNX, RealTime programming, and multi-OS systems, so this continues to
be a learning experience.
Perhaps you could briefly explain the ‘different reasons’ you mentioned. My
own search of the documentation/KB turned up nothing, but please direct me
to any documentation you feel I may have missed.
Thanks again for any help…

Alex Chapiro <achapiro@qnx.com> wrote in message
news:9gb4cn$lv8$1@nntp.qnx.com

There could be different reasons for that. In order to clarify situation
you
have to see command line (how photon startup scriptvia inputtrap) starts
photon input driver (devi-hirun). If you have a chance to connect to this
computer via local network, just from telnet session slay Photon and
io-graphics. Then you’ll be able to see on the console screen, what really
happened.

Another way is to fix a problem using input file (see online documentation
for inputtrap).

“Dave Grove” <> stevensgrove@igs.net> > wrote in message
news:9gb3bv$932$> 1@inn.qnx.com> …
Hi:
When QNX is booting, it stops during the process and displays a dialog
saying: “waiting for input driver” and then freezes, permanently. I
have
QNX on a removable drive that boots during my computer’s startup if
selected
(default is Win98 on a fixed drive). This problem has only started
recently
and I am at a loss on how to fix it. I am a student learning about
QNX/RealTime programming, so consider me quite the beginner…any help?
TIA

~ Dave
\

On Thu, 14 Jun 2001 21:16:44 -0400, “Dave Grove”
<stevensgrove@igs.net> wrote:

It’s hard to guess what’s happened, but when something does
not work anymore (that worked), then either the software has changed
(a file is missing, a permission is insufficient, a config script is
wrong, a conflicting driver is added, etc.) or the hardware has
changed (a device has been replaced/attached, you name it), or both.
You did more than booting and shutting down during the weeks it
worked, didn’t you? And if you had to switch off the machine without
any chance of a normal shutdown, the filesystem might get corrupted.
If you don’t want to dwell upon, I would recommend a complete
reinstallation of the system. If you want to get back some files
first, and your “host” installation doesn’t work with your removable
either, try to press space when prompted at the boot time and select
F3 for example, that will hopefully boot into the text mode.

ako

Thanks for responding Alex:
Unfortunately I need to reiterate that I am an extreme beginner, and your
very knowledgeable explanation left me scratching my head (!).
I installed QNX on a removable, Win98 formatted harddrive, following the
install instructions on the QNX website. (I am beginning to learn with QNX
at college, and this allows me to continue my work on my own PC). My
config.sys file is exactly as shown in the readme.txt file, and this worked
fine (when selected, QNX booted problem free) for several weeks. Now the
boot process simply stops and displays the dialog I mentioned earlier. I
can find no specific reason this may have started occuring. I am completely
new to QNX, RealTime programming, and multi-OS systems, so this continues to
be a learning experience.
Perhaps you could briefly explain the ‘different reasons’ you mentioned. My
own search of the documentation/KB turned up nothing, but please direct me
to any documentation you feel I may have missed.
Thanks again for any help…

Alex Chapiro <> achapiro@qnx.com> > wrote in message
news:9gb4cn$lv8$> 1@nntp.qnx.com> …
There could be different reasons for that. In order to clarify situation
you
have to see command line (how photon startup scriptvia inputtrap) starts
photon input driver (devi-hirun). If you have a chance to connect to this
computer via local network, just from telnet session slay Photon and
io-graphics. Then you’ll be able to see on the console screen, what really
happened.

Another way is to fix a problem using input file (see online documentation
for inputtrap).

“Dave Grove” <> stevensgrove@igs.net> > wrote in message
news:9gb3bv$932$> 1@inn.qnx.com> …
Hi:
When QNX is booting, it stops during the process and displays a dialog
saying: “waiting for input driver” and then freezes, permanently. I
have
QNX on a removable drive that boots during my computer’s startup if
selected
(default is Win98 on a fixed drive). This problem has only started
recently
and I am at a loss on how to fix it. I am a student learning about
QNX/RealTime programming, so consider me quite the beginner…any help?
TIA

~ Dave


\

OK.

To fix your problem, first detremine which version of driver are you using
now. To learn that, just boot without Photon and type on the console :

use /usr/photon/bin/devi-hirun

Please find in the use message, which input modules are available and using
a knowledge about your hardware, try to write command line for devi-hirun.
Then build a trap file (see explanation in on-line help for inputtrap
utility).
After that you can start RTP in regular way. Probably you would have to make
some iterations before you reach the goal.

It is not supposed to be always done on this way, but because there is
eventually something wrong in your configuration, but you have a trouble to
extract a problem, this can be the easiest way just to fix it.

“Dave Grove” <stevensgrove@igs.net> wrote in message
news:9gbnfh$k82$1@inn.qnx.com

Thanks for responding Alex:
Unfortunately I need to reiterate that I am an extreme beginner, and
your
very knowledgeable explanation left me scratching my head (!).
I installed QNX on a removable, Win98 formatted harddrive, following the
install instructions on the QNX website. (I am beginning to learn with
QNX
at college, and this allows me to continue my work on my own PC). My
config.sys file is exactly as shown in the readme.txt file, and this
worked
fine (when selected, QNX booted problem free) for several weeks. Now the
boot process simply stops and displays the dialog I mentioned earlier. I
can find no specific reason this may have started occuring. I am
completely
new to QNX, RealTime programming, and multi-OS systems, so this continues
to
be a learning experience.
Perhaps you could briefly explain the ‘different reasons’ you mentioned.
My
own search of the documentation/KB turned up nothing, but please direct me
to any documentation you feel I may have missed.
Thanks again for any help…

Alex Chapiro <> achapiro@qnx.com> > wrote in message
news:9gb4cn$lv8$> 1@nntp.qnx.com> …
There could be different reasons for that. In order to clarify situation
you
have to see command line (how photon startup scriptvia inputtrap) starts
photon input driver (devi-hirun). If you have a chance to connect to
this
computer via local network, just from telnet session slay Photon and
io-graphics. Then you’ll be able to see on the console screen, what
really
happened.

Another way is to fix a problem using input file (see online
documentation
for inputtrap).

“Dave Grove” <> stevensgrove@igs.net> > wrote in message
news:9gb3bv$932$> 1@inn.qnx.com> …
Hi:
When QNX is booting, it stops during the process and displays a dialog
saying: “waiting for input driver” and then freezes, permanently. I
have
QNX on a removable drive that boots during my computer’s startup if
selected
(default is Win98 on a fixed drive). This problem has only started
recently
and I am at a loss on how to fix it. I am a student learning about
QNX/RealTime programming, so consider me quite the beginner…any
help?
TIA

~ Dave


\

Thx for the continued replies
OK - Booting into text mode, then invoking photon (ph) allows everything to
boot properly (I should also mention that booting QNX from my removable
drive on the computers at my campus is problem free). Running inputtrap
from a terminal shows the devices on my home PC, but looking to the
/etc/config/trap directory shows no input.$(HOSTNAME) file. I notice in the
documentation that invalid information in the input.$(HOSTNAME) file can
cause the system to hang. Since I run QNX on different PCs, could this be
the problem when I run it at home? however, since I can’t locate the
input.$(HOSTNAME) file, what is QNX/Photon using when it boots? Am I even
close?(!) - TIA folks

Inputtrap uses this file (if it exists) to replace devi-hirun command line
options. It just ignores all the gathered information and loads devi-hirun
(or maybe other program) using content of input.$HOSTNAME to build command
line. Could be used specifically for cases when user wants to specify how to
start input driver.
In your case you have to create it manually.

“Dave Grove” <stevensgrove@igs.net> wrote in message
news:9gdrk7$13t$1@inn.qnx.com

Thx for the continued replies
OK - Booting into text mode, then invoking photon (ph) allows everything
to
boot properly (I should also mention that booting QNX from my removable
drive on the computers at my campus is problem free). Running inputtrap
from a terminal shows the devices on my home PC, but looking to the
/etc/config/trap directory shows no input.$(HOSTNAME) file. I notice in
the
documentation that invalid information in the input.$(HOSTNAME) file can
cause the system to hang. Since I run QNX on different PCs, could this be
the problem when I run it at home? however, since I can’t locate the
input.$(HOSTNAME) file, what is QNX/Photon using when it boots? Am I even
close?(!) - TIA folks