Jump to ID:
QNX RTOS v4

Project Home

Discussions

Wiki

Project Info
Forum Topic - USB Mouse and Keyboard with QNX Windows: (2 Items)
   
 
 
USB Mouse and Keyboard with QNX Windows  
We are trying to get a USB keyboard and mouse working with QNX Windows.  I'm able to get a USB mouse working with the 
following Input command:

Input -d/dev/mousein msoft fd -d/dev/usbmouse0

I'm not sure what the /dev/mousein equivalent for the keyboard is with QWindows or if there is one.  Anyone have any 
experience with this?
Re: USB Mouse and Keyboard with QNX Windows  
Hi Robert,

Input manager is an input driver for the Photon, but it can also pass 
data to the Mouse driver.
Unfortunately, there is no /dev/mousein (Mouse driver) equivalent  for 
the keyboard.

I see several possible alternatives:
1. Don't run io-usb
In this case mouse and keyboard will work in compatible mode as ps/2 
devices.
Then launch Mouse driver and Input by mousetrap :
# mousetrap start
# windows

2. If it is possible connect mouse and keyboard to different USB 
controller buses.
Run io-usb only for USB bus with mouse, for example:
# io-usb -d uhci pindex=2
# devu-mouse
# Mouse &
# Input -d /dev/mousein msoft fd -d /dev/usbmouse0 &
# windows

In this case mouse will work through the devu-mouse -> Input -> Mouse 
chain and keyboard will work in compatible mode as ps/2.


--
Regards,
Pavel

> We are trying to get a USB keyboard and mouse working with QNX Windows.  I'm able to get a USB mouse working with the 
following Input command:
>
> Input -d/dev/mousein msoft fd -d/dev/usbmouse0
>
> I'm not sure what the /dev/mousein equivalent for the keyboard is with QWindows or if there is one.  Anyone have any 
experience with this?
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post85877
>
>