Forum Topic - USB Driver Fault:
   
USB Driver Fault  
USB Driver Fault.

I am using the latest QNX Product Suite from 2011 and the latest USB Stack but I am having problems with the mouse.

The mouse pointer moves  up and down only, the keyboard works well.

I have attempted to use a number of different types of mice but they all have the same issue.

Also  I have tried to use three different types of PCs with QNX 4.25 installed, all with the same problem.

All of the mice I have tried work well on Windows 7 and Windows XP suggesting that there is a problem with the QNX USB 
driver.

Thanks in advance!
Re: USB Driver Fault  
Hi Pete,

Is it the same issue you've described on topc22226?
http://community.qnx.com/sf/discussion/do/listPosts/projects.qnx4/discussion.general.topc22226


Do you use a USB to PS/2 adapter?
Please provide sin ar and usb -vvv output.

Regards,
Pavel

> USB Driver Fault.
>
> I am using the latest QNX Product Suite from 2011 and the latest USB Stack but I am having problems with the mouse.
>
> The mouse pointer moves  up and down only, the keyboard works well.
>
> I have attempted to use a number of different types of mice but they all have the same issue.
>
> Also  I have tried to use three different types of PCs with QNX 4.25 installed, all with the same problem.
>
> All of the mice I have tried work well on Windows 7 and Windows XP suggesting that there is a problem with the QNX USB
 driver.
>
> Thanks in advance!
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95314
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>


RE: USB Driver Fault  
Hello Pavel,

Yes it is the same issue but I didn't have any feedback so I thought I would rephrase it. 

It may sound like a non problem and you may ask why not just use a USB keyboard and mouse, the answer we cannot because 
the system is in the far east and we are using a very expensive integrated industrial PS/2 keyboard and mouse and the PC
 is USB only.

We have tried multiple USB to PS/2 adapters, the one I am using at this moment is StarTech one.

I have attached the requested information.

Thank you for responding.

Regards,
Pete
 
-----Original Message-----
From: Pavel Kozlov [mailto:community-noreply@qnx.com] 
Sent: 03 September 2012 13:38
To: general-qnx4@community.qnx.com
Subject: Re: USB Driver Fault

Hi Pete,

Is it the same issue you've described on topc22226?
http://community.qnx.com/sf/discussion/do/listPosts/projects.qnx4/discussion.general.topc22226


Do you use a USB to PS/2 adapter?
Please provide sin ar and usb -vvv output.

Regards,
Pavel

> USB Driver Fault.
>
> I am using the latest QNX Product Suite from 2011 and the latest USB Stack but I am having problems with the mouse.
>
> The mouse pointer moves  up and down only, the keyboard works well.
>
> I have attempted to use a number of different types of mice but they all have the same issue.
>
> Also  I have tried to use three different types of PCs with QNX 4.25 installed, all with the same problem.
>
> All of the mice I have tried work well on Windows 7 and Windows XP suggesting that there is a problem with the QNX USB
 driver.
>
> Thanks in advance!
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95314
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>






_______________________________________________

General
http://community.qnx.com/sf/go/post95337
To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
Attachment: Text sinar.txt 1.95 KB Text sinver.txt 1.35 KB Text usbvvv.txt 2.03 KB
Re: USB Driver Fault  
Hi Pete,

The mouse driver was not tested with USB to PS/2 adapters so it can work
incorrectly in such configuration.
I have an idea what can be wrong. Please try driver from the attach in
verbose mode and provide output.
# devu-mouse-chesen -v 2>mouse.log

Regards,
Pavel

> Hello Pavel,
>
> Yes it is the same issue but I didn't have any feedback so I thought I would rephrase it. 
>
> It may sound like a non problem and you may ask why not just use a USB keyboard and mouse, the answer we cannot 
because the system is in the far east and we are using a very expensive integrated industrial PS/2 keyboard and mouse 
and the PC is USB only.
>
> We have tried multiple USB to PS/2 adapters, the one I am using at this moment is StarTech one.
>
> I have attached the requested information.
>
> Thank you for responding.
>
> Regards,
> Pete
>  
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com] 
> Sent: 03 September 2012 13:38
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Hi Pete,
>
> Is it the same issue you've described on topc22226?
> http://community.qnx.com/sf/discussion/do/listPosts/projects.qnx4/discussion.general.topc22226
>
>
> Do you use a USB to PS/2 adapter?
> Please provide sin ar and usb -vvv output.
>
> Regards,
> Pavel
>
>> USB Driver Fault.
>>
>> I am using the latest QNX Product Suite from 2011 and the latest USB Stack but I am having problems with the mouse.
>>
>> The mouse pointer moves  up and down only, the keyboard works well.
>>
>> I have attempted to use a number of different types of mice but they all have the same issue.
>>
>> Also  I have tried to use three different types of PCs with QNX 4.25 installed, all with the same problem.
>>
>> All of the mice I have tried work well on Windows 7 and Windows XP suggesting that there is a problem with the QNX 
USB driver.
>>
>> Thanks in advance!
>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post95314
>> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>>
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95337
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95352
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com


Attachment: Compressed file devu-mouse-chesen.tar 43 KB
RE: USB Driver Fault  
Hi Pavel,

I have attached the mouse.log as requested.

Regards,
Pete

-----Original Message-----
From: Pavel Kozlov [mailto:community-noreply@qnx.com] 
Sent: 04 September 2012 15:31
To: general-qnx4@community.qnx.com
Subject: Re: USB Driver Fault

Hi Pete,

The mouse driver was not tested with USB to PS/2 adapters so it can work incorrectly in such configuration.
I have an idea what can be wrong. Please try driver from the attach in verbose mode and provide output.
# devu-mouse-chesen -v 2>mouse.log

Regards,
Pavel

> Hello Pavel,
>
> Yes it is the same issue but I didn't have any feedback so I thought I would rephrase it. 
>
> It may sound like a non problem and you may ask why not just use a USB keyboard and mouse, the answer we cannot 
because the system is in the far east and we are using a very expensive integrated industrial PS/2 keyboard and mouse 
and the PC is USB only.
>
> We have tried multiple USB to PS/2 adapters, the one I am using at this moment is StarTech one.
>
> I have attached the requested information.
>
> Thank you for responding.
>
> Regards,
> Pete
>  
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
> Sent: 03 September 2012 13:38
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Hi Pete,
>
> Is it the same issue you've described on topc22226?
> http://community.qnx.com/sf/discussion/do/listPosts/projects.qnx4/disc
> ussion.general.topc22226
>
>
> Do you use a USB to PS/2 adapter?
> Please provide sin ar and usb -vvv output.
>
> Regards,
> Pavel
>
>> USB Driver Fault.
>>
>> I am using the latest QNX Product Suite from 2011 and the latest USB Stack but I am having problems with the mouse.
>>
>> The mouse pointer moves  up and down only, the keyboard works well.
>>
>> I have attempted to use a number of different types of mice but they all have the same issue.
>>
>> Also  I have tried to use three different types of PCs with QNX 4.25 installed, all with the same problem.
>>
>> All of the mice I have tried work well on Windows 7 and Windows XP suggesting that there is a problem with the QNX 
USB driver.
>>
>> Thanks in advance!
>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post95314
>> To cancel your subscription to this discussion, please e-mail 
>> general-qnx4-unsubscribe@community.qnx.com
>>
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95337
> To cancel your subscription to this discussion, please e-mail 
> general-qnx4-unsubscribe@community.qnx.com
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95352
> To cancel your subscription to this discussion, please e-mail 
> general-qnx4-unsubscribe@community.qnx.com






_______________________________________________

General
http://community.qnx.com/sf/go/post95357
To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
Attachment: Text mouse.log 68 bytes
Re: USB Driver Fault  
Pete,

It seems that the log is not full. Have you terminated devu-mouse driver 
before?

Regards,
Pavel

> Hi Pavel,
>
> I have attached the mouse.log as requested.
>
> Regards,
> Pete
>
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
> Sent: 04 September 2012 15:31
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Hi Pete,
>
> The mouse driver was not tested with USB to PS/2 adapters so it can work incorrectly in such configuration.
> I have an idea what can be wrong. Please try driver from the attach in verbose mode and provide output.
> # devu-mouse-chesen -v 2>mouse.log
>
> Regards,
> Pavel
>
>> Hello Pavel,
>>
>> Yes it is the same issue but I didn't have any feedback so I thought I would rephrase it.
>>
>> It may sound like a non problem and you may ask why not just use a USB keyboard and mouse, the answer we cannot 
because the system is in the far east and we are using a very expensive integrated industrial PS/2 keyboard and mouse 
and the PC is USB only.
>>
>> We have tried multiple USB to PS/2 adapters, the one I am using at this moment is StarTech one.
>>
>> I have attached the requested information.
>>
>> Thank you for responding.
>>
>> Regards,
>> Pete
>>
>> -----Original Message-----
>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>> Sent: 03 September 2012 13:38
>> To: general-qnx4@community.qnx.com
>> Subject: Re: USB Driver Fault
>>
>> Hi Pete,
>>
>> Is it the same issue you've described on topc22226?
>> http://community.qnx.com/sf/discussion/do/listPosts/projects.qnx4/disc
>> ussion.general.topc22226
>>
>>
>> Do you use a USB to PS/2 adapter?
>> Please provide sin ar and usb -vvv output.
>>
>> Regards,
>> Pavel
>>
>>> USB Driver Fault.
>>>
>>> I am using the latest QNX Product Suite from 2011 and the latest USB Stack but I am having problems with the mouse.
>>>
>>> The mouse pointer moves  up and down only, the keyboard works well.
>>>
>>> I have attempted to use a number of different types of mice but they all have the same issue.
>>>
>>> Also  I have tried to use three different types of PCs with QNX 4.25 installed, all with the same problem.
>>>
>>> All of the mice I have tried work well on Windows 7 and Windows XP suggesting that there is a problem with the QNX 
USB driver.
>>>
>>> Thanks in advance!
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> General
>>> http://community.qnx.com/sf/go/post95314
>>> To cancel your subscription to this discussion, please e-mail
>>> general-qnx4-unsubscribe@community.qnx.com
>>>
>>
>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post95337
>> To cancel your subscription to this discussion, please e-mail
>> general-qnx4-unsubscribe@community.qnx.com
>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post95352
>> To cancel your subscription to this discussion, please e-mail
>> general-qnx4-unsubscribe@community.qnx.com
>
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post95357
> To cancel your subscription to this discussion, please e-mail...
RE: USB Driver Fault  
Hi Pavel,

Is this one better?

Regards,
Pete

-----Original Message-----
From: Pavel Kozlov [mailto:community-noreply@qnx.com] 
Sent: 04 September 2012 16:48
To: general-qnx4@community.qnx.com
Subject: Re: USB Driver Fault

Pete,

It seems that the log is not full. Have you terminated devu-mouse driver before?

Regards,
Pavel

> Hi Pavel,
>
> I have attached the mouse.log as requested.
>
> Regards,
> Pete
>
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
> Sent: 04 September 2012 15:31
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Hi Pete,
>
> The mouse driver was not tested with USB to PS/2 adapters so it can work incorrectly in such configuration.
> I have an idea what can be wrong. Please try driver from the attach in verbose mode and provide output.
> # devu-mouse-chesen -v 2>mouse.log
>
> Regards,
> Pavel
>
>> Hello Pavel,
>>
>> Yes it is the same issue but I didn't have any feedback so I thought I would rephrase it.
>>
>> It may sound like a non problem and you may ask why not just use a USB keyboard and mouse, the answer we cannot 
because the system is in the far east and we are using a very expensive integrated industrial PS/2 keyboard and mouse 
and the PC is USB only.
>>
>> We have tried multiple USB to PS/2 adapters, the one I am using at this moment is StarTech one.
>>
>> I have attached the requested information.
>>
>> Thank you for responding.
>>
>> Regards,
>> Pete
>>
>> -----Original Message-----
>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>> Sent: 03 September 2012 13:38
>> To: general-qnx4@community.qnx.com
>> Subject: Re: USB Driver Fault
>>
>> Hi Pete,
>>
>> Is it the same issue you've described on topc22226?
>> http://community.qnx.com/sf/discussion/do/listPosts/projects.qnx4/dis
>> c
>> ussion.general.topc22226
>>
>>
>> Do you use a USB to PS/2 adapter?
>> Please provide sin ar and usb -vvv output.
>>
>> Regards,
>> Pavel
>>
>>> USB Driver Fault.
>>>
>>> I am using the latest QNX Product Suite from 2011 and the latest USB Stack but I am having problems with the mouse.
>>>
>>> The mouse pointer moves  up and down only, the keyboard works well.
>>>
>>> I have attempted to use a number of different types of mice but they all have the same issue.
>>>
>>> Also  I have tried to use three different types of PCs with QNX 4.25 installed, all with the same problem.
>>>
>>> All of the mice I have tried work well on Windows 7 and Windows XP suggesting that there is a problem with the QNX 
USB driver.
>>>
>>> Thanks in advance!
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> General
>>> http://community.qnx.com/sf/go/post95314
>>> To cancel your subscription to this discussion, please e-mail 
>>> general-qnx4-unsubscribe@community.qnx.com
>>>
>>
>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post95337
>> To cancel your subscription to this discussion, please e-mail 
>> general-qnx4-unsubscribe@community.qnx.com
>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post95352
>> To cancel your subscription to this discussion, please e-mail 
>>...
View Full Message
Attachment: Text mouse.log 128 bytes
Re: USB Driver Fault  
Yes, it's better. Have you tried to run Photon and test your mouse with 
this driver?
Can you try this adapter in QNX6.5?

Regards,
Pavel

> Hi Pavel,
>
> Is this one better?
>
> Regards,
> Pete
>
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
> Sent: 04 September 2012 16:48
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Pete,
>
> It seems that the log is not full. Have you terminated devu-mouse driver before?
>
> Regards,
> Pavel
>
>> Hi Pavel,
>>
>> I have attached the mouse.log as requested.
>>
>> Regards,
>> Pete
>>
>> -----Original Message-----
>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>> Sent: 04 September 2012 15:31
>> To: general-qnx4@community.qnx.com
>> Subject: Re: USB Driver Fault
>>
>> Hi Pete,
>>
>> The mouse driver was not tested with USB to PS/2 adapters so it can work incorrectly in such configuration.
>> I have an idea what can be wrong. Please try driver from the attach in verbose mode and provide output.
>> # devu-mouse-chesen -v 2>mouse.log
>>
>> Regards,
>> Pavel
>>
>>> Hello Pavel,
>>>
>>> Yes it is the same issue but I didn't have any feedback so I thought I would rephrase it.
>>>
>>> It may sound like a non problem and you may ask why not just use a USB keyboard and mouse, the answer we cannot 
because the system is in the far east and we are using a very expensive integrated industrial PS/2 keyboard and mouse 
and the PC is USB only.
>>>
>>> We have tried multiple USB to PS/2 adapters, the one I am using at this moment is StarTech one.
>>>
>>> I have attached the requested information.
>>>
>>> Thank you for responding.
>>>
>>> Regards,
>>> Pete
>>>
>>> -----Original Message-----
>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>> Sent: 03 September 2012 13:38
>>> To: general-qnx4@community.qnx.com
>>> Subject: Re: USB Driver Fault
>>>
>>> Hi Pete,
>>>
>>> Is it the same issue you've described on topc22226?
>>> http://community.qnx.com/sf/discussion/do/listPosts/projects.qnx4/dis
>>> c
>>> ussion.general.topc22226
>>>
>>>
>>> Do you use a USB to PS/2 adapter?
>>> Please provide sin ar and usb -vvv output.
>>>
>>> Regards,
>>> Pavel
>>>
>>>> USB Driver Fault.
>>>>
>>>> I am using the latest QNX Product Suite from 2011 and the latest USB Stack but I am having problems with the mouse.

>>>>
>>>> The mouse pointer moves  up and down only, the keyboard works well.
>>>>
>>>> I have attempted to use a number of different types of mice but they all have the same issue.
>>>>
>>>> Also  I have tried to use three different types of PCs with QNX 4.25 installed, all with the same problem.
>>>>
>>>> All of the mice I have tried work well on Windows 7 and Windows XP suggesting that there is a problem with the QNX 
USB driver.
>>>>
>>>> Thanks in advance!
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>>
>>>> General
>>>> http://community.qnx.com/sf/go/post95314
>>>> To cancel your subscription to this discussion, please e-mail
>>>>...
View Full Message
RE: USB Driver Fault  
Hi Pavel,

I have tried running with this driver but it is the same, I have attached a sinar file, hopefully this is correct?

We do not used QNX6.

Regards,
Pete

-----Original Message-----
From: Pavel Kozlov [mailto:community-noreply@qnx.com] 
Sent: 04 September 2012 17:42
To: general-qnx4@community.qnx.com
Subject: Re: USB Driver Fault

Yes, it's better. Have you tried to run Photon and test your mouse with this driver?
Can you try this adapter in QNX6.5?

Regards,
Pavel

> Hi Pavel,
>
> Is this one better?
>
> Regards,
> Pete
>
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
> Sent: 04 September 2012 16:48
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Pete,
>
> It seems that the log is not full. Have you terminated devu-mouse driver before?
>
> Regards,
> Pavel
>
>> Hi Pavel,
>>
>> I have attached the mouse.log as requested.
>>
>> Regards,
>> Pete
>>
>> -----Original Message-----
>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>> Sent: 04 September 2012 15:31
>> To: general-qnx4@community.qnx.com
>> Subject: Re: USB Driver Fault
>>
>> Hi Pete,
>>
>> The mouse driver was not tested with USB to PS/2 adapters so it can work incorrectly in such configuration.
>> I have an idea what can be wrong. Please try driver from the attach in verbose mode and provide output.
>> # devu-mouse-chesen -v 2>mouse.log
>>
>> Regards,
>> Pavel
>>
>>> Hello Pavel,
>>>
>>> Yes it is the same issue but I didn't have any feedback so I thought I would rephrase it.
>>>
>>> It may sound like a non problem and you may ask why not just use a USB keyboard and mouse, the answer we cannot 
because the system is in the far east and we are using a very expensive integrated industrial PS/2 keyboard and mouse 
and the PC is USB only.
>>>
>>> We have tried multiple USB to PS/2 adapters, the one I am using at this moment is StarTech one.
>>>
>>> I have attached the requested information.
>>>
>>> Thank you for responding.
>>>
>>> Regards,
>>> Pete
>>>
>>> -----Original Message-----
>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>> Sent: 03 September 2012 13:38
>>> To: general-qnx4@community.qnx.com
>>> Subject: Re: USB Driver Fault
>>>
>>> Hi Pete,
>>>
>>> Is it the same issue you've described on topc22226?
>>> http://community.qnx.com/sf/discussion/do/listPosts/projects.qnx4/di
>>> s
>>> c
>>> ussion.general.topc22226
>>>
>>>
>>> Do you use a USB to PS/2 adapter?
>>> Please provide sin ar and usb -vvv output.
>>>
>>> Regards,
>>> Pavel
>>>
>>>> USB Driver Fault.
>>>>
>>>> I am using the latest QNX Product Suite from 2011 and the latest USB Stack but I am having problems with the mouse.

>>>>
>>>> The mouse pointer moves  up and down only, the keyboard works well.
>>>>
>>>> I have attempted to use a number of different types of mice but they all have the same issue.
>>>>
>>>> Also  I have tried to use three different types of PCs with QNX 4.25 installed, all with the same problem.
>>>>
>>>> All of the mice I have tried work well on Windows 7 and Windows XP suggesting that there is a problem with the QNX 
USB driver.
>>>>
>>>> Thanks in...
View Full Message
Attachment: Text sinar.txt 1.99 KB
Re: USB Driver Fault  
Hi Pete,

Please try your adapter in the QNX6.5.
QNX4 USB stack is ported from the QNX6 and if your adapter works
correctly in the QNX6.5 than the problem is in USB stack port. We will
add a PR and will try to fix it.
If the USB to PS/2 adapter is not working correctly in QNX6.5 then we
can state the fact that QNX does not support this type of adapter and
perhaps custom development will be required.

You can download QNX6.5.0 SDP iso image from:
http://www.qnx.com/download/feature.html?programid=21367
Start the QNX6 from CD (LiveCD mode) and test your adapter.

Regards,
Pavel

> Hi Pavel,
>
> I have tried running with this driver but it is the same, I have attached a sinar file, hopefully this is correct?
>
> We do not used QNX6.
>
> Regards,
> Pete
>
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com] 
> Sent: 04 September 2012 17:42
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Yes, it's better. Have you tried to run Photon and test your mouse with this driver?
> Can you try this adapter in QNX6.5?
>
> Regards,
> Pavel
>
>> Hi Pavel,
>>
>> Is this one better?
>>
>> Regards,
>> Pete
>>
>> -----Original Message-----
>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>> Sent: 04 September 2012 16:48
>> To: general-qnx4@community.qnx.com
>> Subject: Re: USB Driver Fault
>>
>> Pete,
>>
>> It seems that the log is not full. Have you terminated devu-mouse driver before?
>>
>> Regards,
>> Pavel
>>
>>> Hi Pavel,
>>>
>>> I have attached the mouse.log as requested.
>>>
>>> Regards,
>>> Pete
>>>
>>> -----Original Message-----
>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>> Sent: 04 September 2012 15:31
>>> To: general-qnx4@community.qnx.com
>>> Subject: Re: USB Driver Fault
>>>
>>> Hi Pete,
>>>
>>> The mouse driver was not tested with USB to PS/2 adapters so it can work incorrectly in such configuration.
>>> I have an idea what can be wrong. Please try driver from the attach in verbose mode and provide output.
>>> # devu-mouse-chesen -v 2>mouse.log
>>>
>>> Regards,
>>> Pavel
>>>
>>>> Hello Pavel,
>>>>
>>>> Yes it is the same issue but I didn't have any feedback so I thought I would rephrase it.
>>>>
>>>> It may sound like a non problem and you may ask why not just use a USB keyboard and mouse, the answer we cannot 
because the system is in the far east and we are using a very expensive integrated industrial PS/2 keyboard and mouse 
and the PC is USB only.
>>>>
>>>> We have tried multiple USB to PS/2 adapters, the one I am using at this moment is StarTech one.
>>>>
>>>> I have attached the requested information.
>>>>
>>>> Thank you for responding.
>>>>
>>>> Regards,
>>>> Pete
>>>>
>>>> -----Original Message-----
>>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>>> Sent: 03 September 2012 13:38
>>>> To: general-qnx4@community.qnx.com
>>>> Subject: Re: USB Driver Fault
>>>>
>>>> Hi Pete,
>>>>
>>>> Is it the same issue you've described on topc22226?
>>>> http://community.qnx.com/sf/discussion/do/listPosts/projects.qnx4/di
>>>> s
>>>> c
>>>> ussion.general.topc22226
>>>>
>>>>
>>>> Do you use a USB to PS/2...
View Full Message
RE: USB Driver Fault  
Hi Pavel,

I have downloaded the QNX 6.5 SDP and booted up into LiveCD mode.

The mouse and keyboard work without any issues.

Regards,
Pete

-----Original Message-----
From: Pavel Kozlov [mailto:community-noreply@qnx.com] 
Sent: 05 September 2012 11:53
To: general-qnx4@community.qnx.com
Subject: Re: USB Driver Fault

Hi Pete,

Please try your adapter in the QNX6.5.
QNX4 USB stack is ported from the QNX6 and if your adapter works correctly in the QNX6.5 than the problem is in USB 
stack port. We will add a PR and will try to fix it.
If the USB to PS/2 adapter is not working correctly in QNX6.5 then we can state the fact that QNX does not support this 
type of adapter and perhaps custom development will be required.

You can download QNX6.5.0 SDP iso image from:
http://www.qnx.com/download/feature.html?programid=21367
Start the QNX6 from CD (LiveCD mode) and test your adapter.

Regards,
Pavel

> Hi Pavel,
>
> I have tried running with this driver but it is the same, I have attached a sinar file, hopefully this is correct?
>
> We do not used QNX6.
>
> Regards,
> Pete
>
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
> Sent: 04 September 2012 17:42
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Yes, it's better. Have you tried to run Photon and test your mouse with this driver?
> Can you try this adapter in QNX6.5?
>
> Regards,
> Pavel
>
>> Hi Pavel,
>>
>> Is this one better?
>>
>> Regards,
>> Pete
>>
>> -----Original Message-----
>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>> Sent: 04 September 2012 16:48
>> To: general-qnx4@community.qnx.com
>> Subject: Re: USB Driver Fault
>>
>> Pete,
>>
>> It seems that the log is not full. Have you terminated devu-mouse driver before?
>>
>> Regards,
>> Pavel
>>
>>> Hi Pavel,
>>>
>>> I have attached the mouse.log as requested.
>>>
>>> Regards,
>>> Pete
>>>
>>> -----Original Message-----
>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>> Sent: 04 September 2012 15:31
>>> To: general-qnx4@community.qnx.com
>>> Subject: Re: USB Driver Fault
>>>
>>> Hi Pete,
>>>
>>> The mouse driver was not tested with USB to PS/2 adapters so it can work incorrectly in such configuration.
>>> I have an idea what can be wrong. Please try driver from the attach in verbose mode and provide output.
>>> # devu-mouse-chesen -v 2>mouse.log
>>>
>>> Regards,
>>> Pavel
>>>
>>>> Hello Pavel,
>>>>
>>>> Yes it is the same issue but I didn't have any feedback so I thought I would rephrase it.
>>>>
>>>> It may sound like a non problem and you may ask why not just use a USB keyboard and mouse, the answer we cannot 
because the system is in the far east and we are using a very expensive integrated industrial PS/2 keyboard and mouse 
and the PC is USB only.
>>>>
>>>> We have tried multiple USB to PS/2 adapters, the one I am using at this moment is StarTech one.
>>>>
>>>> I have attached the requested information.
>>>>
>>>> Thank you for responding.
>>>>
>>>> Regards,
>>>> Pete
>>>>
>>>> -----Original Message-----
>>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>>> Sent: 03 September 2012 13:38
>>>> To: general-qnx4@community.qnx.com
>>>> Subject: Re: USB Driver Fault
>>>>
>>>> Hi...
View Full Message
Re: USB Driver Fault  
Hi Pete,

Thanks for your information.
I'll try to reproduce this issue and find out what is wrong.

Regards,
Pavel

> Hi Pavel,
>
> I have downloaded the QNX 6.5 SDP and booted up into LiveCD mode.
>
> The mouse and keyboard work without any issues.
>
> Regards,
> Pete
>
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com] 
> Sent: 05 September 2012 11:53
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Hi Pete,
>
> Please try your adapter in the QNX6.5.
> QNX4 USB stack is ported from the QNX6 and if your adapter works correctly in the QNX6.5 than the problem is in USB 
stack port. We will add a PR and will try to fix it.
> If the USB to PS/2 adapter is not working correctly in QNX6.5 then we can state the fact that QNX does not support 
this type of adapter and perhaps custom development will be required.
>
> You can download QNX6.5.0 SDP iso image from:
> http://www.qnx.com/download/feature.html?programid=21367
> Start the QNX6 from CD (LiveCD mode) and test your adapter.
>
> Regards,
> Pavel
>
>> Hi Pavel,
>>
>> I have tried running with this driver but it is the same, I have attached a sinar file, hopefully this is correct?
>>
>> We do not used QNX6.
>>
>> Regards,
>> Pete
>>
>> -----Original Message-----
>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>> Sent: 04 September 2012 17:42
>> To: general-qnx4@community.qnx.com
>> Subject: Re: USB Driver Fault
>>
>> Yes, it's better. Have you tried to run Photon and test your mouse with this driver?
>> Can you try this adapter in QNX6.5?
>>
>> Regards,
>> Pavel
>>
>>> Hi Pavel,
>>>
>>> Is this one better?
>>>
>>> Regards,
>>> Pete
>>>
>>> -----Original Message-----
>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>> Sent: 04 September 2012 16:48
>>> To: general-qnx4@community.qnx.com
>>> Subject: Re: USB Driver Fault
>>>
>>> Pete,
>>>
>>> It seems that the log is not full. Have you terminated devu-mouse driver before?
>>>
>>> Regards,
>>> Pavel
>>>
>>>> Hi Pavel,
>>>>
>>>> I have attached the mouse.log as requested.
>>>>
>>>> Regards,
>>>> Pete
>>>>
>>>> -----Original Message-----
>>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>>> Sent: 04 September 2012 15:31
>>>> To: general-qnx4@community.qnx.com
>>>> Subject: Re: USB Driver Fault
>>>>
>>>> Hi Pete,
>>>>
>>>> The mouse driver was not tested with USB to PS/2 adapters so it can work incorrectly in such configuration.
>>>> I have an idea what can be wrong. Please try driver from the attach in verbose mode and provide output.
>>>> # devu-mouse-chesen -v 2>mouse.log
>>>>
>>>> Regards,
>>>> Pavel
>>>>
>>>>> Hello Pavel,
>>>>>
>>>>> Yes it is the same issue but I didn't have any feedback so I thought I would rephrase it.
>>>>>
>>>>> It may sound like a non problem and you may ask why not just use a USB keyboard and mouse, the answer we cannot 
because the system is in the far east and we are using a very expensive integrated industrial PS/2 keyboard and mouse 
and the PC is USB only.
>>>>>
>>>>> We have tried multiple USB to PS/2 adapters, the one I am using at this moment is StarTech...
View Full Message
Re: USB Driver Fault  
Hello. I would just like to mention that I am having the exact same symptoms with a USB mouse using the same install of 
QNX4 (June 14, 2011 version), except my mouse is true USB and not USB converted to PS/2.  I do note that QNX4 is seeing 
the mouse as PS/2, however, even though it's USB. I am watching this thread with great interest and will try whatever 
patch is provided for the original trouble ticket posted by Pete Macereth. Thanks.

Gil Lande INTERPRO Technology, Inc.
RE: USB Driver Fault  
Hi Pavel,

Any news on this problem.

Regards,
Pete

-----Original Message-----
From: Pavel Kozlov [mailto:community-noreply@qnx.com] 
Sent: 07 September 2012 10:55
To: general-qnx4@community.qnx.com
Subject: Re: USB Driver Fault

Hi Pete,

Thanks for your information.
I'll try to reproduce this issue and find out what is wrong.

Regards,
Pavel

> Hi Pavel,
>
> I have downloaded the QNX 6.5 SDP and booted up into LiveCD mode.
>
> The mouse and keyboard work without any issues.
>
> Regards,
> Pete
>
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
> Sent: 05 September 2012 11:53
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Hi Pete,
>
> Please try your adapter in the QNX6.5.
> QNX4 USB stack is ported from the QNX6 and if your adapter works correctly in the QNX6.5 than the problem is in USB 
stack port. We will add a PR and will try to fix it.
> If the USB to PS/2 adapter is not working correctly in QNX6.5 then we can state the fact that QNX does not support 
this type of adapter and perhaps custom development will be required.
>
> You can download QNX6.5.0 SDP iso image from:
> http://www.qnx.com/download/feature.html?programid=21367
> Start the QNX6 from CD (LiveCD mode) and test your adapter.
>
> Regards,
> Pavel
>
>> Hi Pavel,
>>
>> I have tried running with this driver but it is the same, I have attached a sinar file, hopefully this is correct?
>>
>> We do not used QNX6.
>>
>> Regards,
>> Pete
>>
>> -----Original Message-----
>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>> Sent: 04 September 2012 17:42
>> To: general-qnx4@community.qnx.com
>> Subject: Re: USB Driver Fault
>>
>> Yes, it's better. Have you tried to run Photon and test your mouse with this driver?
>> Can you try this adapter in QNX6.5?
>>
>> Regards,
>> Pavel
>>
>>> Hi Pavel,
>>>
>>> Is this one better?
>>>
>>> Regards,
>>> Pete
>>>
>>> -----Original Message-----
>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>> Sent: 04 September 2012 16:48
>>> To: general-qnx4@community.qnx.com
>>> Subject: Re: USB Driver Fault
>>>
>>> Pete,
>>>
>>> It seems that the log is not full. Have you terminated devu-mouse driver before?
>>>
>>> Regards,
>>> Pavel
>>>
>>>> Hi Pavel,
>>>>
>>>> I have attached the mouse.log as requested.
>>>>
>>>> Regards,
>>>> Pete
>>>>
>>>> -----Original Message-----
>>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>>> Sent: 04 September 2012 15:31
>>>> To: general-qnx4@community.qnx.com
>>>> Subject: Re: USB Driver Fault
>>>>
>>>> Hi Pete,
>>>>
>>>> The mouse driver was not tested with USB to PS/2 adapters so it can work incorrectly in such configuration.
>>>> I have an idea what can be wrong. Please try driver from the attach in verbose mode and provide output.
>>>> # devu-mouse-chesen -v 2>mouse.log
>>>>
>>>> Regards,
>>>> Pavel
>>>>
>>>>> Hello Pavel,
>>>>>
>>>>> Yes it is the same issue but I didn't have any feedback so I thought I would rephrase it.
>>>>>
>>>>> It may sound like a non problem and you may ask why not just use a USB keyboard and mouse, the answer we cannot 
because the system is in the far east and we...
View Full Message
Re: USB Driver Fault  
Hi Pete,

Please try attached devu-mouse driver.
Run it with -a option.
# devu-mouse -a

Regards,
Pavel

> Hi Pavel,
>
> Any news on this problem.
>
> Regards,
> Pete
>
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
> Sent: 07 September 2012 10:55
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Hi Pete,
>
> Thanks for your information.
> I'll try to reproduce this issue and find out what is wrong.
>
> Regards,
> Pavel
>
>> Hi Pavel,
>>
>> I have downloaded the QNX 6.5 SDP and booted up into LiveCD mode.
>>
>> The mouse and keyboard work without any issues.
>>
>> Regards,
>> Pete
>>
>> -----Original Message-----
>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>> Sent: 05 September 2012 11:53
>> To: general-qnx4@community.qnx.com
>> Subject: Re: USB Driver Fault
>>
>> Hi Pete,
>>
>> Please try your adapter in the QNX6.5.
>> QNX4 USB stack is ported from the QNX6 and if your adapter works correctly in the QNX6.5 than the problem is in USB 
stack port. We will add a PR and will try to fix it.
>> If the USB to PS/2 adapter is not working correctly in QNX6.5 then we can state the fact that QNX does not support 
this type of adapter and perhaps custom development will be required.
>>
>> You can download QNX6.5.0 SDP iso image from:
>> http://www.qnx.com/download/feature.html?programid=21367
>> Start the QNX6 from CD (LiveCD mode) and test your adapter.
>>
>> Regards,
>> Pavel
>>
>>> Hi Pavel,
>>>
>>> I have tried running with this driver but it is the same, I have attached a sinar file, hopefully this is correct?
>>>
>>> We do not used QNX6.
>>>
>>> Regards,
>>> Pete
>>>
>>> -----Original Message-----
>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>> Sent: 04 September 2012 17:42
>>> To: general-qnx4@community.qnx.com
>>> Subject: Re: USB Driver Fault
>>>
>>> Yes, it's better. Have you tried to run Photon and test your mouse with this driver?
>>> Can you try this adapter in QNX6.5?
>>>
>>> Regards,
>>> Pavel
>>>
>>>> Hi Pavel,
>>>>
>>>> Is this one better?
>>>>
>>>> Regards,
>>>> Pete
>>>>
>>>> -----Original Message-----
>>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>>> Sent: 04 September 2012 16:48
>>>> To: general-qnx4@community.qnx.com
>>>> Subject: Re: USB Driver Fault
>>>>
>>>> Pete,
>>>>
>>>> It seems that the log is not full. Have you terminated devu-mouse driver before?
>>>>
>>>> Regards,
>>>> Pavel
>>>>
>>>>> Hi Pavel,
>>>>>
>>>>> I have attached the mouse.log as requested.
>>>>>
>>>>> Regards,
>>>>> Pete
>>>>>
>>>>> -----Original Message-----
>>>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>>>> Sent: 04 September 2012 15:31
>>>>> To: general-qnx4@community.qnx.com
>>>>> Subject: Re: USB Driver Fault
>>>>>
>>>>> Hi Pete,
>>>>>
>>>>> The mouse driver was not tested with USB to PS/2 adapters so it can work incorrectly in such configuration.
>>>>> I have an idea what can be wrong. Please try driver from the...
View Full Message
Attachment: Text devu-mouse-2012-09-24.tar.gz 24.64 KB
RE: USB Driver Fault  
Hi Pavel,

I have tried the new driver today and it appears to work well.

Thank you very much for your help.

Regards,
Pete

-----Original Message-----
From: Pavel Kozlov [mailto:community-noreply@qnx.com] 
Sent: 24 September 2012 13:40
To: general-qnx4@community.qnx.com
Subject: Re: USB Driver Fault

Hi Pete,

Please try attached devu-mouse driver.
Run it with -a option.
# devu-mouse -a

Regards,
Pavel

> Hi Pavel,
>
> Any news on this problem.
>
> Regards,
> Pete
>
> -----Original Message-----
> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
> Sent: 07 September 2012 10:55
> To: general-qnx4@community.qnx.com
> Subject: Re: USB Driver Fault
>
> Hi Pete,
>
> Thanks for your information.
> I'll try to reproduce this issue and find out what is wrong.
>
> Regards,
> Pavel
>
>> Hi Pavel,
>>
>> I have downloaded the QNX 6.5 SDP and booted up into LiveCD mode.
>>
>> The mouse and keyboard work without any issues.
>>
>> Regards,
>> Pete
>>
>> -----Original Message-----
>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>> Sent: 05 September 2012 11:53
>> To: general-qnx4@community.qnx.com
>> Subject: Re: USB Driver Fault
>>
>> Hi Pete,
>>
>> Please try your adapter in the QNX6.5.
>> QNX4 USB stack is ported from the QNX6 and if your adapter works correctly in the QNX6.5 than the problem is in USB 
stack port. We will add a PR and will try to fix it.
>> If the USB to PS/2 adapter is not working correctly in QNX6.5 then we can state the fact that QNX does not support 
this type of adapter and perhaps custom development will be required.
>>
>> You can download QNX6.5.0 SDP iso image from:
>> http://www.qnx.com/download/feature.html?programid=21367
>> Start the QNX6 from CD (LiveCD mode) and test your adapter.
>>
>> Regards,
>> Pavel
>>
>>> Hi Pavel,
>>>
>>> I have tried running with this driver but it is the same, I have attached a sinar file, hopefully this is correct?
>>>
>>> We do not used QNX6.
>>>
>>> Regards,
>>> Pete
>>>
>>> -----Original Message-----
>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>> Sent: 04 September 2012 17:42
>>> To: general-qnx4@community.qnx.com
>>> Subject: Re: USB Driver Fault
>>>
>>> Yes, it's better. Have you tried to run Photon and test your mouse with this driver?
>>> Can you try this adapter in QNX6.5?
>>>
>>> Regards,
>>> Pavel
>>>
>>>> Hi Pavel,
>>>>
>>>> Is this one better?
>>>>
>>>> Regards,
>>>> Pete
>>>>
>>>> -----Original Message-----
>>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>>> Sent: 04 September 2012 16:48
>>>> To: general-qnx4@community.qnx.com
>>>> Subject: Re: USB Driver Fault
>>>>
>>>> Pete,
>>>>
>>>> It seems that the log is not full. Have you terminated devu-mouse driver before?
>>>>
>>>> Regards,
>>>> Pavel
>>>>
>>>>> Hi Pavel,
>>>>>
>>>>> I have attached the mouse.log as requested.
>>>>>
>>>>> Regards,
>>>>> Pete
>>>>>
>>>>> -----Original Message-----
>>>>> From: Pavel Kozlov [mailto:community-noreply@qnx.com]
>>>>> Sent: 04 September 2012 15:31
>>>>> To: general-qnx4@community.qnx.com
>>>>>...
View Full Message
Re: RE: USB Driver Fault  
Hi, Pavel.  I have the exact same problem in which the photon mouse in a June 2012 QNX 4.25 build goes haywire when I 
use it.  It's a USB mouse which I have figured out is converted by the bios and case into PS/2 (QNX4 sees it as PS2).  
But I can't figure out how to try your new devu-mouse driver.

The Input.1 file called by sysinit.1 spawns the input driver with:

  Input kbd fd -d/dev/kbd ps2 -r kb -2 &

But anything I try to do with "devu-mouse -a" halts photon from coming up or even halts QNX4 from coming up if it 
clobbers the input driver for the keyboard.

Could you give me a tip on what to change to take advantage of your USB mouse in PS/2 format driver change?  We're 
getting ready to order 8 more QNX4 licenses to go on computers like this one, and they won't work if I can't get the 
mouse to work.

Thanks very much.

Regards,

Gil Lande
Re: USB Driver Fault  
Hi Guillermo,

I guess you have another type of problem than Pete Mackereth.
You are using a USB mouse in PS/2 legacy mode. With some BIOSes the
Input manager can work incorrectly in such configuration and cause
erratical mouse behaviour.
First of all modify the /etc/config/trap/input.<node> file. Try to
remove -r option (for the ps2 protocol). E.g:
kbd fd -d/dev/kbd ps2 kb -2
Sometimes it helps.

Another way is to work with a USB mouse as with a USB device. For that
you have to run the io-usb stack and the devu-mouse driver before the
Photon GUI.
You can add following lines to the /etc/config/trap/sysinit.<node> if
needed, e.g.:
io-usb
devu-mouse

After that modify your /etc/config/trap/input.<node>. It should contain
following lines:
kbd kb
msoft fd -d/dev/usbmouse0

Please note that this example is for a configuration with a USB mouse
and a PS/2 keyboard.

Regards,
Pavel


> Hi, Pavel.  I have the exact same problem in which the photon mouse in a June 2012 QNX 4.25 build goes haywire when I 
use it.  It's a USB mouse which I have figured out is converted by the bios and case into PS/2 (QNX4 sees it as PS2).  
But I can't figure out how to try your new devu-mouse driver.
>
> The Input.1 file called by sysinit.1 spawns the input driver with:
>
>   Input kbd fd -d/dev/kbd ps2 -r kb -2 &
>
> But anything I try to do with "devu-mouse -a" halts photon from coming up or even halts QNX4 from coming up if it 
clobbers the input driver for the keyboard.
>
> Could you give me a tip on what to change to take advantage of your USB mouse in PS/2 format driver change?  We're 
getting ready to order 8 more QNX4 licenses to go on computers like this one, and they won't work if I can't get the 
mouse to work.
>
> Thanks very much.
>
> Regards,
>
> Gil Lande
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post96043
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>


Re: USB Driver Fault  
**Receipt of Message**

Thanks, Pavel.  I will try all that right now and let you know how it goes.
Re: USB Driver Fault  
Hi, Pavel.

Thanks for the suggestions. They did not work, though.  I still think what I am experiencing is similar to Pete 
Mackereth because I am using a Microsoft USB mouse (3-button) and a Keytronic USB keyboard. But the QNX4 2011 install CD
 can't see them as USB, and if I turn on searching for USB plug and play in diagnostics mode the installation freezes.  
If I let QNX4 install without USB plug and play but with the bios turning on USB mouse and keyboard support the QNX4 
installation sets the keyboard and mouse both to PS/2.  The keyboard works fine, but when photon launches the mouse is 
completely erratic going all over the place and right and left clicking constantly on all movement.

The bios versions are:
CMOS - Phoenix Award Bios v6.00PG
AHCI Bios - Not installed
ATA - IT8211ATAPI Bios v.1.3.1.67

If I change /etc/config/trap/input.1
old:  kbd fd -d/dev/kbd ps2 -r kb -2
new: kbd fd -d/dev/kbd ps2 kb -2

The mouse still has the erratic behavior. I also tried the equivalent change to /etc/config/bin/Input.1 just in case, 
but that also did not help.

Next I put your latest devu-mouse driver in the /bin directory and added:
io-usb &
devu-mouse &
to the /etc/config/sysinit.1 file before photon initializes.

And I replaced the /etc/config/trap/input.1 file with one which has:
kbd kb
msoft fd -d/dev/usbmouse0

This had the fatal error of not allowing me to use the keyboard at all, and I could not even use phindows to get into the node to type.  It was stuck at the "login:" prompt.  But fortunately I kept an alternate boot and was able to restore it.  Before restoring it I tried turning off USB mouse support in the bios to see if that would let QNX4 see it as USB instead of PS/2, but that did not help. It was still stuck in the login prompt without ability to type.

I've put it all back, but as it is now QNX4 only sees the mouse and keyboard as PS/2 and does not see them as USB even though they are USB.  In photon the mouse is completely erratic, but I can use phindows from a Windows system as an alternate method to use GUI's and type.

Any suggestions you can offer from here will be greatly appreciated as we plan to order our QNX4 licenses going forward for these PC types because we need the PCI-E slots in them for the encryption cards. Right now Photons is useless and even dangerous with the mouse as it is.

Thanks very much.

Regards,

Gil Lande

> Hi Guillermo,
> 
> I guess you have another type of problem than Pete Mackereth.
> You are using a USB mouse in PS/2 legacy mode. With some BIOSes the
> Input manager can work incorrectly in such configuration and cause
> erratical mouse behaviour.
> First of all modify the /etc/config/trap/input.<node> file. Try to
> remove -r option (for the ps2 protocol). E.g:
> kbd fd -d/dev/kbd ps2 kb -2
> Sometimes it helps.
> 
> Another way is to work with a USB mouse as with a USB device. For that
> you have to run the io-usb stack and the devu-mouse driver before the
> Photon GUI.
> You can add following lines to the /etc/config/trap/sysinit.<node> if
> needed, e.g.:
> io-usb
> devu-mouse
> 
> After that modify your /etc/config/trap/input.<node>. It should contain
> following lines:
> kbd kb
> msoft fd -d/dev/usbmouse0
> 
> Please note that this example is for a configuration with a USB mouse
> and a PS/2 keyboard.
> 
> Regards,
> Pavel
> 
> 
> > Hi, Pavel.  I have the exact same problem in which the photon mouse in a 
> June 2012 QNX 4.25 build goes haywire when I use it.  It's a USB mouse which I
>  have figured out is converted by the bios and case into PS/2 (QNX4 sees it as
>  PS2).  But I can't figure out how to try your new devu-mouse driver.
> >
> > The Input.1 file called by sysinit.1 spawns the input driver with:
> >
> >   Input kbd fd -d/dev/kbd ps2 -r kb...
View Full Message
Re: USB Driver Fault  
Hi Guillermo,

If you have a remote connection (Phindows or telnet) you can safely
experiment with the Input manager. Run Photon, establish remote
connection and try to restart the Input manager manually with different
parameters. E.g.
# slay -f Input
# Input -d /dev/photon kbd fd -d/dev/kbd ps2 -r kb -2 &

Launch separate Input managers for a mouse and a keyboard:
# slay -f Input
# Input -d /dev/photon kbd kb &
# Input -d /dev/photon ps2 -r kb -2 &

Also it will be interesting to look at the usb -vvv output. For that run:
# io-usb
# usb -vvv
Please provide usb -vvv output and additional information about your system:
show_pci -vvv
sin
sin ar
sin ir

Please note that when you start the io-usb manager it initializes all
USB ports and from that moment your USB mouse and USB keyboard will not
work in PS/2 legacy mode.


Regards,
Pavel


> Hi, Pavel.
>
> Thanks for the suggestions. They did not work, though.  I still think what I am experiencing is similar to Pete 
Mackereth because I am using a Microsoft USB mouse (3-button) and a Keytronic USB keyboard. But the QNX4 2011 install CD
 can't see them as USB, and if I turn on searching for USB plug and play in diagnostics mode the installation freezes.  
If I let QNX4 install without USB plug and play but with the bios turning on USB mouse and keyboard support the QNX4 
installation sets the keyboard and mouse both to PS/2.  The keyboard works fine, but when photon launches the mouse is 
completely erratic going all over the place and right and left clicking constantly on all movement.
>
> The bios versions are:
> CMOS - Phoenix Award Bios v6.00PG
> AHCI Bios - Not installed
> ATA - IT8211ATAPI Bios v.1.3.1.67
>
> If I change /etc/config/trap/input.1
> old:  kbd fd -d/dev/kbd ps2 -r kb -2
> new: kbd fd -d/dev/kbd ps2 kb -2
>
> The mouse still has the erratic behavior. I also tried the equivalent change to /etc/config/bin/Input.1 just in case, 
but that also did not help.
>
> Next I put your latest devu-mouse driver in the /bin directory and added:
> io-usb &
> devu-mouse &
> to the /etc/config/sysinit.1 file before photon initializes.
>
> And I replaced the /etc/config/trap/input.1 file with one which has:
> kbd kb
> msoft fd -d/dev/usbmouse0
>
> This had the fatal error of not allowing me to use the keyboard at all, and I could not even use phindows to get into 
the node to type.  It was stuck at the "login:" prompt.  But fortunately I kept an alternate boot and was able to 
restore it.  Before restoring it I tried turning off USB mouse support in the bios to see if that would let QNX4 see it 
as USB instead of PS/2, but that did not help. It was still stuck in the login prompt without ability to type.
>
> I've put it all back, but as it is now QNX4 only sees the mouse and keyboard as PS/2 and does not see them as USB even
 though they are USB.  In photon the mouse is completely erratic, but I can use phindows from a Windows system as an 
alternate method to use GUI's and type.
>
> Any suggestions you can offer from here will be greatly appreciated as we plan to order our QNX4 licenses going 
forward for these PC types because we need the PCI-E slots in them for the encryption cards. Right now Photons is 
useless and even dangerous with the mouse as it is.
>
> Thanks very much.
>
> Regards,
>
> Gil Lande
>
>> Hi Guillermo,
>>
>> I guess you have another type of problem than Pete Mackereth.
>> You are using a USB mouse in PS/2 legacy mode. With some BIOSes the
>> Input manager can work incorrectly in such configuration and cause
>> erratical mouse behaviour.
>> First of all modify the /etc/config/trap/input.<node> file. Try to
>> remove -r option (for the ps2 protocol). E.g:
>> kbd fd -d/dev/kbd ps2 kb -2
>> Sometimes it helps.
>>
>>...
View Full Message
Re: USB Driver Fault  
**Receipt of Message**

Thanks for the great suggestions, Pavel.  I will start doing them.  In my tests I had earlier done show_pci -vvv to 
verify it saw the USB controllers (even though the QNX4 installation disk could not). But I will perform the tests you 
recommended and submit the results later today. Thanks again.

Guillermo
Re: USB Driver Fault  
Hi, Pavel.

In the sixteen years I've ween working with QNX and the thirteen with QNX4 I never thought of starting a photon session 
within a pterm itself. That was a neat test.  Per your suggestion I used Phindows to spawn a pterm connection and then 
started a photon session within it (by typing "ph").

First I performed:
# slay -f Input
# Input -d /dev/photon kbd fd -d/dev/kbd ps2 -r kb -2 &

The Input program crashed right away.  I repeated the test without the "-r" and had the same result.

Next I performed:
# slay -f Input  (even though Input was already crashed and down)
# Input -d /dev/photon kbd kb &  (Input crashed right away)
# Input -d /dev/photon ps2 -r kb -2 &  (Input crashed right away)

So this also failed to spawn the Input drivers.  Hitting "enter" after each command came back with the message that the 
process had died.

For the outputs you requested I zipped them into "usb_test.zip" (hopefully attached).

It contains the following files:
- usb_show_pci_vvv.txt  (output of show_pci -vvv)
- usb_sin.txt (output of sin)
- usb_sin_ar.txt (output of sin args)
- usb_sin_ir.txt (output of sin irq)
- usb_sin_ver.txt (output of sin version just in case you want that)
- usb_usb_vvv.txt (output of usb -vvv)

I did a textto -c on each of the files in case you read them in Windows.

Thanks very much.

Regards,

Guillermo Lande
(Side note, we just put an order in for several of these PC's so will be buying QNX4 licenses for them soon. Hopefully 
this all works out. Thanks again.)
Attachment: Compressed file usb_test.zip 7.89 KB
Re: USB Driver Fault  
(Follow up)
Hi, Pavel. I took a good look at the terminal windows and suspect the lines I typed the first time were in pseudo 
terminals instead of the actual photon session. So just in case I moved aside any pterm windows and typed inside the 
actual photon session. Starting the drivers in there froze the windows completely.

For instance, typing:  Input -d /dev/photon kbd fd -d/dev/kbd ps2 -r kb -2 &
froze everything.  I cannot change any consoles or move anything, and I suspect the whole phditto session ended.

I also cannot start a new Phindows session (so I am going to the lab to reboot the PC right now). I don't know it 
mattered for your test whether I had typed in a pterm or a photon session, but I tried both ways now.  Thanks.
Re: USB Driver Fault  
(Follow up #2)

Pavel, the more I think about the clues the more I think there is an IRQ conflict whenever the USB mouse and keyboard 
are used.

1.  When installing QNX4, if I use diagnostics mode and tell it to check the USB plug and play the installation 
completely freezes.  If I don't have it check the USB plug and play it installs fine but treats the USB mouse and 
keyboard as PS/2.

2.  When I start the mouse as USB QNX freezes and requires a reboot.  If it starts in the initialization files it never 
comes up all the way and halts without allowing login or connection.

3.  I have seen signs in the field of USB conflict with other hardware which uses the same IRQ.  Before we started using
 USB mouse and keyboard we never had problems, but we figured out a pattern in which all systems which started using the
 USB mouse and keyboard had mysterious cases where the hardware would fail to respond. It only started with USB mouse 
and keyboard.

Early into trouble shooting I checked the bios to see if I could control IRQ's like I could in the old legacy days of 
ISA, but I can't anymore.

I saw in some of the recent patch notes that there are fixes for USB conflicts, but I think there are still problems 
with it.  And I'm using the latest QNX4 installation CD (June 2011).

I look forward to any more suggestions or solutions you can offer.

Thanks very much.

Regards,

Guillermo Lande
Re: USB Driver Fault  
Hi Guillermo,

It seems I misguide you. You should run Photon (if it is not started)
from a console directly on your QNX4 system, not from phwindows session
and pterm.

The Input manager terminates because the device specified by -d option
(/dev/photon) doesn't not exist. By default when you run the Photon GUI
from a console by the ph script the Photon server creates the
/dev/photon prefix.

I've checked all my recommendations with Phindows on my system and all
starts correctly. But in my opinion it will be better to use telnet for
these purposes.

As for USB, yes the io-usb manager in QNX4 has some problems with
interrupts sharing. But from logs you've sent me I see that io-usb works
and detects USB devices. As a next step run devu-mouse and devu-kbd drivers.
From remote pterm or from remote console (telnet) run following commands:
# io-usb
# devu-mouse
# devu-kbd
# ls /dev | grep usb

Check for usbmouse0 and usbkbd0 prefixes.
If prefixes are created and system doesn't freeze. Then run:
# slay -f Input
# Input -d /dev/photon msoft fd -d /dev/usbmouse0 &
# Input -d /dev/photon kbd fd -d /dev/usbkbd0 &


Regards,
Pavel

> Hi, Pavel.
>
> In the sixteen years I've ween working with QNX and the thirteen with QNX4 I never thought of starting a photon 
session within a pterm itself. That was a neat test.  Per your suggestion I used Phindows to spawn a pterm connection 
and then started a photon session within it (by typing "ph").
>
> First I performed:
> # slay -f Input
> # Input -d /dev/photon kbd fd -d/dev/kbd ps2 -r kb -2 &
>
> The Input program crashed right away.  I repeated the test without the "-r" and had the same result.
>
> Next I performed:
> # slay -f Input  (even though Input was already crashed and down)
> # Input -d /dev/photon kbd kb &  (Input crashed right away)
> # Input -d /dev/photon ps2 -r kb -2 &  (Input crashed right away)
>
> So this also failed to spawn the Input drivers.  Hitting "enter" after each command came back with the message that 
the process had died.
>
> For the outputs you requested I zipped them into "usb_test.zip" (hopefully attached).
>
> It contains the following files:
> - usb_show_pci_vvv.txt  (output of show_pci -vvv)
> - usb_sin.txt (output of sin)
> - usb_sin_ar.txt (output of sin args)
> - usb_sin_ir.txt (output of sin irq)
> - usb_sin_ver.txt (output of sin version just in case you want that)
> - usb_usb_vvv.txt (output of usb -vvv)
>
> I did a textto -c on each of the files in case you read them in Windows.
>
> Thanks very much.
>
> Regards,
>
> Guillermo Lande
> (Side note, we just put an order in for several of these PC's so will be buying QNX4 licenses for them soon. Hopefully
 this all works out. Thanks again.)
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post96186
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com


Re: USB Driver Fault  
**Receipt of Message**
Thanks, Pavel. To make sure I do not misunderstand I will repeat the tests you mentioned today three ways:
- pterm from Phindows
- console from Phindows (ditto -kqn1 to reach $con)
- telnet -8 [ip address]
Re: USB Driver Fault  
**Follow Up**

This is interesting.  Before wiping the system and starting over I remembered I had a copy of the original devu-mouse 
driver from the install CD.  I put the original driver back, rebooted the syste and repeated the test with the original 
driver.

I had to use telnet, of course, because Phindows would not let me connect.

# io-usb (worked fine)
# devu-mouse (worked fine)
# devu-kbd (worked fine)
# ls /dev/ |grep usb  (found the prefixes)

# slay -f Input  (slew the two Inputs)
# Input -d /dev/photon msoft fd -d /dev/usbmouse0 &

Here I hit enter a couple of times to make sure the system was responsive, and it was. So I continued.

# Input -d /dev/photon kbd fd -d /dev/usbkbd0 &

And the system froze.  I'll reboot and try again, and if I get a different result I'll let you know. But we may have to 
stick with your latest devu-mouse driver.
Re: USB Driver Fault  
Hi, Pavel.  Well, your last test indicates the issue is with the way QNX4 installs and not with the drivers itself 
(though I did do the test with the mouse driver you gave Pete recently and not the one from the install CD). I will 
repeat the test later with a fresh install and the 2011 driver.

First I performed a clean reboot and tried typing io-usb from a console. That froze me.

So I rebooted again, started photon (ph) and tried to Phindow into the system.  Phindows could not establish the 
connection (it saw it as IP but could not start up).

Next I went to a QNX4 system and typed telnet [IP address] to connect, and there I typed:
# io-usb
# devu-mouse  (your recent devu-mouse)
# devu-kbd
# ls /dev |grep usb

The /dev/usbmouse0 and /dev/usbkbd0 prefixes were present, so I typed:

# slay -f Input
# Input -d /dev/photon msoft fd -d /dev/usbmouse0 &
# Input -d /dev/photon kbd fd -d /dev/usbkbd0 &

Next I tried to open Phindows again, and it connected right away.  So I went to the lab and used the mouse and keyboard 
on Photon directly, and they worked fine.

The challenge, then, is going to be figuring out a procedure I can give our install technicians to install QNX4 in a way
 that can see the USB mouse and keyboard because the 2011 install CD can't do it automatically.  It freezes if we tell 
it to search for USB plug and play during the installation, and without selecting that it sets up the system as PS/2.

I'm going to go in the computer room and wipe the system and see what I can do, but I am not optimistic as I have 
already tried re-installation many times (at least 6 but probably 10 or 12).

I'll check here later to see if you have any more suggestions.

Thanks, Pavel.

Regards,

Guillermo Lande
Re: USB Driver Fault  
*Confirmation*

I repeated the test a third time with the original devu-mouse driver from the 2011 installation CD, and the system froze
 again.  The issue is definitely with the devu-mouse driver, so it looks like if I can make an install CD that uses 
Pavel's recent devu-mouse driver instead of the old one the system should in theory be able to install normally with USB
 plug and play support.
Re: USB Driver Fault  
Hi Guillermo,

For now there is no way to use USB keyboards in text mode if the io-usb
is running. As I wrote previously  when you start the io-usb manager it
initializes all USB ports and from that moment your USB mouse and USB
keyboard will not
work in PS/2 legacy mode and it will be possible to use them only in
Photon with devu-mouse and devu-kbd.

If it is suitable for you to boot directly into the Photon then you can
try following:
1. During installation choose to boot directly into the Photon.
2. Copy latest USB stack components.
3. Add to the sysinit.<node>:
io-usb
devu-mouse
devu-kbd
4. Modify your /etc/config/trap/input.<node>:
msoft fd -d/dev/usbmouse0
kbd fd -d/dev/usbkbd0

Don't forget to prepare .altboot and altsysinit for recovering if
something goes wrong.

Regards,
Pavel

> Hi, Pavel.  Well, your last test indicates the issue is with the way QNX4 installs and not with the drivers itself 
(though I did do the test with the mouse driver you gave Pete recently and not the one from the install CD). I will 
repeat the test later with a fresh install and the 2011 driver.
>
> First I performed a clean reboot and tried typing io-usb from a console. That froze me.
>
> So I rebooted again, started photon (ph) and tried to Phindow into the system.  Phindows could not establish the 
connection (it saw it as IP but could not start up).
>
> Next I went to a QNX4 system and typed telnet [IP address] to connect, and there I typed:
> # io-usb
> # devu-mouse  (your recent devu-mouse)
> # devu-kbd
> # ls /dev |grep usb
>
> The /dev/usbmouse0 and /dev/usbkbd0 prefixes were present, so I typed:
>
> # slay -f Input
> # Input -d /dev/photon msoft fd -d /dev/usbmouse0 &
> # Input -d /dev/photon kbd fd -d /dev/usbkbd0 &
>
> Next I tried to open Phindows again, and it connected right away.  So I went to the lab and used the mouse and 
keyboard on Photon directly, and they worked fine.
>
> The challenge, then, is going to be figuring out a procedure I can give our install technicians to install QNX4 in a 
way that can see the USB mouse and keyboard because the 2011 install CD can't do it automatically.  It freezes if we 
tell it to search for USB plug and play during the installation, and without selecting that it sets up the system as PS/
2.
>
> I'm going to go in the computer room and wipe the system and see what I can do, but I am not optimistic as I have 
already tried re-installation many times (at least 6 but probably 10 or 12).
>
> I'll check here later to see if you have any more suggestions.
>
> Thanks, Pavel.
>
> Regards,
>
> Guillermo Lande
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post96231
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
> .
>
Re: USB Driver Fault  
Thanks, Pavel. I'll re-install cleanly right now and try that as you describe.

I'm not sure if you'll see this e-mail today, but is there any particular place in the sysinit file those lines need to 
go.  I tried putting them several times in various places yesterday with and without keeping the "kbd [environment 
variable" line in it, but it always blocked the system from coming up.

So I'll try it on a clean install which boots directly into Photon, but any tips on placement you can give will be 
greatly appreciated.  I'll also let you know how the test goes.

Thanks again.

Guillermo Lande
Re: USB Driver Fault  
The only restriction: io-usb and drivers should be started before Photon
script. Also delay (e.g. sleep 1) could be required.

Regards,
Pavel


> Thanks, Pavel. I'll re-install cleanly right now and try that as you describe.
>
> I'm not sure if you'll see this e-mail today, but is there any particular place in the sysinit file those lines need 
to go.  I tried putting them several times in various places yesterday with and without keeping the "kbd [environment 
variable" line in it, but it always blocked the system from coming up.
>
> So I'll try it on a clean install which boots directly into Photon, but any tips on placement you can give will be 
greatly appreciated.  I'll also let you know how the test goes.
>
> Thanks again.
>
> Guillermo Lande
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post96286
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>


Re: USB Driver Fault  
Hi, Pavel. This is just an incremental update for your information. Re-installing QNX4 to boot directly into photon and 
then replacing the devu-mouse driver with your recent one and putting the new lines into sysinit.1 and input.1 did not 
work. Photon would just hang on waiting for input driver.

You said something about making sure the latest stack is in place. I used the 2011 install CD plus your devu-mouse 
driver, but my next step will be to see if I can find a newer stack than that. Previous searches did not find newer, but
 I'll look again.

In case you're curious, the attached are the sysinit.1 and input.1 files which did not work. Thanks.
Attachment: Compressed file usb_init.zip 848 bytes
Re: USB Driver Fault  
Hi, Pavel.  Well, I'm officially stumped. I can't find a newer USB stack than June 2, 2011 (what comes in the 2011 
install CD) with the exception of your September 2012 devu-mouse.

And anything I do boots up into a photon for which the mouse is erratic and dangerous with random clicks and drags of 
both mouse buttons.  I can't find a good installation combination which would allow photon to use, and the only way to 
even use QNX4 at all is to not boot into photon and let it install the USB mouse and keyboard as PS/2 so I can use 
Phindows.

And I'm definitely concerned about the periodic symptoms that appear to be IRQ conflicts ever since I started using PC's
 that have USB ports. Hardware using the same IRQ (5, such as the encryption card) get periodical failures to respond, 
and this never ever happened in the PS/2 systems.

If you have any more suggestions I would be grateful.  Thanks very much.

Regards,

Guillermo Lande
Re: USB Driver Fault  
Hi Guillermo,

The latest USB stack is available form the Latest Software Updates Page:
http://community.qnx.com/sf/wiki/do/viewPage/projects.qnx4/wiki/LatestSoftwareUpdates

This version should work more stable with interrupts sharing.

Also you should remove from your /etc/config/trap/input.1 file following
line:
#kbd fd -d/dev/kbd ps2 -r kb -2
Commenting is not supported in this file.

Regards,
Pavel


> Hi, Pavel. This is just an incremental update for your information. Re-installing QNX4 to boot directly into photon 
and then replacing the devu-mouse driver with your recent one and putting the new lines into sysinit.1 and input.1 did 
not work. Photon would just hang on waiting for input driver.
>
> You said something about making sure the latest stack is in place. I used the 2011 install CD plus your devu-mouse 
driver, but my next step will be to see if I can find a newer stack than that. Previous searches did not find newer, but
 I'll look again.
>
> In case you're curious, the attached are the sysinit.1 and input.1 files which did not work. Thanks.
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post96293
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com


Re: USB Driver Fault  
**Receipt of E-Mail**
Thanks for the suggestions, Pavel.  It may be a while before I can try them, but I see at a glance that the link you 
gave has at least three patches that look like they related to things I use in our systems. I will try them later today 
and submit another update when it's done.  Thanks again.

Guillermo
Re: USB Driver Fault  
Hi, Pavel.

I downloaded the new QNX425 USB stack from the link you provided, and then I installed it into the clean system 
verifying the check sum values, permissions and executable attributes.  The instructions that came with the download 
were very thorough.

But when the system booted up it still said waiting for input on the photon screen which should be the sign in.  So 
booted into the alternate sysinit and repeated the old test of manually slaying all the Inputs and starting them up 
manually.  The whole system froze on bringing up the keyboard.

(Verify no commented out line in /etc/config/trap/input.1)
# slay -f Input
# io-usb
# devu-mouse
# devu-kbd
# ls /dev/ |grep usb
(usb, usbmouse0 and usbkbd0 were present)
# Input -d /dev/photon msoft fd -d /dev/usbmouse0 &
# [Enter] (to verify no freeze)
# Input -d /dev/photon kbd fd -d /dev/usbkbd0 &

The system never returned. It froze on that.

So even with the new stack it still has the same problem trying to bring up the USB keyboard and mouse.

Thanks very much.

Regards,

Guillermo Lande
Re: USB Driver Fault  
Hi Guillermo,

I forgot to mention that when you are booting directly to the Photon the
/etc/config/bin/ph.<node> script is searching for the
/etc/config/bin/Input.<node> file and starting the Input manager as
described in this file.

So you should modify the /etc/config/bin/Input.<node> file to use USB
drivers e.g:
Input msoft fd -d /dev/usbmouse0 kbd fd -d /dev/usbkbd0 &

Or you can remove the /etc/config/bin/Input.<node> file. In this case
configuration form the /etc/config/trap/Input.<node> will be used.

Also increase delay (set sleep 5) after usb drivers in
/etc/config/sysinit.<node>.

I hope these will help.

Regards,
Pavel

> Hi, Pavel.
>
> I downloaded the new QNX425 USB stack from the link you provided, and then I installed it into the clean system 
verifying the check sum values, permissions and executable attributes.  The instructions that came with the download 
were very thorough.
>
> But when the system booted up it still said waiting for input on the photon screen which should be the sign in.  So 
booted into the alternate sysinit and repeated the old test of manually slaying all the Inputs and starting them up 
manually.  The whole system froze on bringing up the keyboard.
>
> (Verify no commented out line in /etc/config/trap/input.1)
> # slay -f Input
> # io-usb
> # devu-mouse
> # devu-kbd
> # ls /dev/ |grep usb
> (usb, usbmouse0 and usbkbd0 were present)
> # Input -d /dev/photon msoft fd -d /dev/usbmouse0 &
> # [Enter] (to verify no freeze)
> # Input -d /dev/photon kbd fd -d /dev/usbkbd0 &
>
> The system never returned. It froze on that.
>
> So even with the new stack it still has the same problem trying to bring up the USB keyboard and mouse.
>
> Thanks very much.
>
> Regards,
>
> Guillermo Lande
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post96338
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>


Re: USB Driver Fault  
**Receipt of E-Mail** Hi, Pavel. Thanks for the new suggestions. I'm sorry I was away all day, but I will try these new 
steps tomorrow and look forward to seeing their results and letting you know how it goes. Thank you very much.

Regards,

Guillermo Lande
Re: USB Driver Fault  
Hi, Pavel.  I tried the new tests, and they didn't work at all.  Changing the Input.1 to use the USB driver made it so 
even the alternate boot would hang waiting for input.  At least the alternate boot still let me access the system with "
telnet -8 [IP]" even though Phindows would not work.

I really think the USB driver is hanging with an IP conflict, but it's hard to prove because the whole system is locking
 up.

Just in case you want it I put a zip archive (attached) with three files converted to DOS carriage returns with "textto 
-c".

- sysinit.1 from /etc/config
- Input.1 from /etc/config/bin
- input.1 from /etc/config/trap

Thanks,

Guillermo Lande
Attachment: Compressed file usb_2012_1017.zip 982 bytes
Re: USB Driver Fault  
*Edit* Sorry, I meant to say I think it's an IRQ conflict, not an IP conflict. Thanks.
Re: USB Driver Fault  
Hi Guillermo,

Please try attached USB stack. It is an experimental version and it is
possible that it can help. Anyway it will be interesting to check this
version on your hardware.

Regards,
Pavel

> Hi, Pavel.  I tried the new tests, and they didn't work at all.  Changing the Input.1 to use the USB driver made it so
 even the alternate boot would hang waiting for input.  At least the alternate boot still let me access the system with 
"telnet -8 [IP]" even though Phindows would not work.
>
> I really think the USB driver is hanging with an IP conflict, but it's hard to prove because the whole system is 
locking up.
>
> Just in case you want it I put a zip archive (attached) with three files converted to DOS carriage returns with "
textto -c".
>
> - sysinit.1 from /etc/config
> - Input.1 from /etc/config/bin
> - input.1 from /etc/config/trap
>
> Thanks,
>
> Guillermo Lande
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post96408
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
Attachment: Text QNX425-USB-20111215.tar.gz 263.78 KB
Re: USB Driver Fault  
**Receipt of Message**

Thanks, Pavel.  I will try it right away and let you know how it goes.

Regards,

Guillermo Lande
Re: USB Driver Fault  
Hi, Pavel.

I downloaded the experimental USB stack, verified the check sum values and executable status and installed them.  Using 
the same sysinit.1, Input.1 and input.1 files as yesterday but with the experimental USB stack still has the problem in 
which Photon says: "Waiting for input driver."

However *drumroll* the system is not completely locked up like the other USB stacks had. I can telnet into it, and I can
 Phindows into it.

Thus I do not have a functional photon, but I also am not locked out of the whole system requiring an alternate reboot.

Also, and this is new, when I type "ls /dev/usb*" I see that usb, usbkbd0 and usbmouse0 have successfully registered.  I
 could not see this before because the system would be locked up.

So the good news is this seems to have gotten past the IRQ conflict and registered the USB drivers, but Photon does not 
see the input drivers.

Progress?

Regards,

Guillermo Lande
Re: USB Driver Fault  
Hi Guillermo,

Yes. It is a good result.
As for Photon I guess the problem is in your configuration. Please check
carefully all setup files.

For example, if you are using usb drivers the Input.1 file you've
provided previously is incorrect. It contains:

Input kbd fd -d/dev/kbd ps2 -r kb -2 &

instead of

Input msoft fd -d /dev/usbmouse0 kbd fd -d /dev/usbkbd0 &


Regards,
Pavel

> Hi, Pavel.
>
> I downloaded the experimental USB stack, verified the check sum values and executable status and installed them.  
Using the same sysinit.1, Input.1 and input.1 files as yesterday but with the experimental USB stack still has the 
problem in which Photon says: "Waiting for input driver."
>
> However *drumroll* the system is not completely locked up like the other USB stacks had. I can telnet into it, and I 
can Phindows into it.
>
> Thus I do not have a functional photon, but I also am not locked out of the whole system requiring an alternate reboot
.
>
> Also, and this is new, when I type "ls /dev/usb*" I see that usb, usbkbd0 and usbmouse0 have successfully registered. 
 I could not see this before because the system would be locked up.
>
> So the good news is this seems to have gotten past the IRQ conflict and registered the USB drivers, but Photon does 
not see the input drivers.
>
> Progress?
>
> Regards,
>
> Guillermo Lande
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post96435
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>


Re: USB Driver Fault  
Hi, Pavel.  I am encouraged that you think this should be able to work now.

As for the current configurations, I am looking at it now and can't see what is wrong.

The /dev directory does have /dev/usb, /dev/usbkbd0 and /dev/usbmouse0

The /etc/config/bin/Input.1 has only the line:

Input msoft fd -d /dev/usbmouse0 kbd fd -d /dev/usbkbd0 &

The /etc/config/bin/input.1 has only the two lines:

msoft fd -d/dev/usbmouse0
kbd fd -d/dev/usbkbd0

And the /etc/config/sysinit.1 has the lines before calling tcpip.1 and ph.1:

io-usb
devu-mouse
devu-kbd
sleep 5

Should I try your September 2012 devu-mouse you made for Peter? Or shuold this experimental stack work as is?

Thanks very much.

Regards,

Guillermo Lande
Re: USB Driver Fault  
**Follow Up**

I've tried rebooting a few more times today (partly to test increasing the sleep to 10 seconds instead of 5).  The non-
alternate boots (which use the USB settings) are always locking up the system this morning, and the alternate boot 
(which doesn't have the USB in the sysinit.1) is not locking up but doesn't have the /dev/usb* files.

I'm sure I did not boot as alternate boot yesterday because I had the /dev/usb* files, but I can't get that to come up 
without freezing this morning.  I'll change it back to 5 seconds and try rebooting a few more times.

Thanks.

Guillermo Lande
Re: USB Driver Fault  
*Follow Up #2 10/19/2012*

I figured out the pattern and why it worked yesterday.  If I reboot with USB  the system comes up frozen (no telnet or 
Phindows capability). If I wait a long time (more than 2 minutes) it eventually unfreezes enough to allow telnet and 
Phindows.  It never sees the input driver for Photon, but I can get in the other remote ways.  Yesterday I must have 
tried more than 2 minutes after a reboot.

So my findings from yesterday are repeatable and remain true:

1.  If I use your experimental stack, the system will register the /dev/usb* files and will eventually allow telnet and 
Phindows, but it will not allow Photon, and

2.  If I use the other USB stacks the system completely locks up (as if it were an IRQ conflict) and never allows 
anything at all.

I'm not sure what else to try from here.

Thanks very much.

Regards,

Guillermo Lande
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
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