Forum Topic - USB Driver Fault: Page 3 of 3 (57 Items)
   
RE: USB Driver Fault  
It sounds to me like the USB stack is doing a number of retries (initializing/detecting something?)  before timing out..
. then it continues.

Martin Walter
QNX Software Systems Limited.
martin@qnx.com
613-271-9208


-----Original Message-----
From: Guillermo Lande [mailto:community-noreply@qnx.com] 
Sent: October-19-12 10:41 AM
To: general-qnx4
Subject: Re: USB Driver Fault

*Follow Up #3 10/19/2012*

Hi, Pavel.  To get the exact pattern I rebooted a few more times with a stop watch and measured how long it is from the 
Photon message "waiting for input driver" to telnet/Phindows being available.  It's consistently about 2 minutes and 58 
seconds which implies it's about 3 minutes from the spawning of the USB stack.

I also tested changing sysinit to wait 205 seconds instead of 5 seconds after spawning the USB stack, but that was 
disastrous and made me reboot into alternate image to change it back to 5 seconds.

I don't know why it takes 3 minutes for the system to unfreeze after spawning the USB stack, but maybe this is a clue.

Thanks very much.

Regards,

Guillermo Lande



_______________________________________________

General
http://community.qnx.com/sf/go/post96466
To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
Re: USB Driver Fault  
Hi Guillermo,

Thanks for the detailed description.
For now I can't say for sure why and where the USB stack is waiting and
I am afraid that without hardware we can't fix this problem. I've tried
to reproduce your problem on different motherboards but even with shared
interrupt (USB and Fsys.atapi) stack works quite well.

One more thing that I recommend you is to try the previous version of
Input (form the Product suite 2008). I've attached it. Try it with your
USB mouse and  USB keyboard in PS/2 emulation mode.

Regards,
Pavel

> *Follow Up #3 10/19/2012*
>
> Hi, Pavel.  To get the exact pattern I rebooted a few more times with a stop watch and measured how long it is from 
the Photon message "waiting for input driver" to telnet/Phindows being available.  It's consistently about 2 minutes and
 58 seconds which implies it's about 3 minutes from the spawning of the USB stack.
>
> I also tested changing sysinit to wait 205 seconds instead of 5 seconds after spawning the USB stack, but that was 
disastrous and made me reboot into alternate image to change it back to 5 seconds.
>
> I don't know why it takes 3 minutes for the system to unfreeze after spawning the USB stack, but maybe this is a clue.

>
> Thanks very much.
>
> Regards,
>
> Guillermo Lande
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post96466
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>


Attachment: Text Input.10031999.tar.gz 41.13 KB
Re: USB Driver Fault  
Thanks, Pavel.  I will try the 2008 versions and let you know whether they work better.

On a side note, and I haven't checked with the INTERPRO owners yet how they would feel about it, but is it an available 
option to ship one of the computers to QNX for internal testing there? I don't know whether they would even want to do 
this, but I would like to check with you whether you might, too.

Thanks very much, and I will message later today with the results of the next test.

Regards,

Guillermo Lande
Re: USB Driver Fault  
Hi, Pavel.

For your information, I put the 2008 Input binary in the /bin directory and repeated the test twice more measuring how 
long it takes for the system to unfreeze from the time Photon says waiting for input.  It still takes 3 minutes 
(approximately 2 minutes and 58 seconds).

So there is no difference in behavior between the 2008 version of Input and the 2010.

I know when it  unfreezes by starting a "telnet -8 [IP of problem box]" from another QNX node.  When I get the login 
prompt I know it is unfrozen and can allow Phindows and telnet (but still not Photon).

Thanks very much.

Regards,

Guillermo Lande
Re: USB Driver Fault  
Hi, Pavel.  Is there an e-mail address I could send some follow up information. I'm seeing more signs of interrupt 
problems in the field, but I prefer not to describe them in public forums.

Thanks very much.

Regards,

Guillermo Lande
development@interpro-tech.com
586-850-4243

p.s. I will probably be out of the office tomorrow, October 25, 2012.
Re: USB Driver Fault  
Hi Guillermo,

OK, we can continue our discussion by e-mail.
I've sent you a mail with my address.

Regards,
Pavel

> Hi, Pavel.  Is there an e-mail address I could send some follow up information. I'm seeing more signs of interrupt 
problems in the field, but I prefer not to describe them in public forums.
>
> Thanks very much.
>
> Regards,
>
> Guillermo Lande
> development@interpro-tech.com
> 586-850-4243
>
> p.s. I will probably be out of the office tomorrow, October 25, 2012.
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post96604
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>


Re: USB Driver Fault  
Hi, Pavel.  First, thanks again for working with me both on these Foundry forums and offline by e-mail to resolve the 
issue of the erratic USB mouse and the freezing of the whole operating system if we try to bring up Photon using the USB
 drivers.

The attached usb_experimental.zip has:
- the USB stack you gave me which works
- the usb-index utility you wrote and gave me to identify what configurations to use
- readme_usb_patch.txt which is a text summary of how to install and configure QNX 4.25 using the June 2011 CD on the 
USB PC's.

Thanks again,

Regards,

Guillermo Lande
Attachment: Compressed file usb_experimental.zip 272.56 KB