Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - HID-compliant touchscreens: (8 Items)
   
HID-compliant touchscreens  
Using the QNX 6.5 SDP bootable DVD I can get my touchscreen to work in Photon with these two commands:

devi-hid touch &
calib

What are the QNX4 Photon command equivalents?
Re: HID-compliant touchscreens  
Hi Robert,

To work with USB touchscreen in QNX4 you have to launch:
1. io-usb manager
# io-usb

2. proper driver (devu-egalax, devu-elo, devu-microtouch or
devu-touchintl), for example:
# devu-egalax

3. Input manager with HID-generic protocol, e.g.
# Input generic fd -d /dev/egalaxusb0 &

4. calib or acalib for calibration:
# calib

Regards,
Pavel

> Using the QNX 6.5 SDP bootable DVD I can get my touchscreen to work in Photon 
with these two commands:
>
> devi-hid touch &
> calib
>
> What are the QNX4 Photon command equivalents?
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post98332
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>

Re: HID-compliant touchscreens  
Pavel:

The most promising setup is this:

io-usb
devu-touchintl -vvvvvvvv -x07dd -y0001 -w 10
Input -vvvvvvvv generic fd -d /dev/touchintlusb0 &

However, only the upper left corner of the screen is responding.  As you drag from that corner to the right the cursor 
follows your finger for only about an inch or so.  As you drag from that corner going down the cursor follows your 
finger for less than an inch.  We are in an 800x600 resolution.  It looks like the USB touchscreen driver is omitting 
the upper nibble (4 bits) in the X and Y values.  Is there anything I can send you to determine the cause of this?

Thanks in advance,

Robert
Re: HID-compliant touchscreens  
Hi Robert,

If I am not mistaken you have the Hampshire Touch TSHARK-12/10 USB
controller. This device is not supported properly in QNX4.

In attach the devu-touchintl driver with new option -h (with modified
protocol).

Please try -h option, report your result and provide driver output:
# devu-touchintl -vvvvvvvv -x07dd -y0001 -w 10 -h


Regards,
Pavel

> Pavel:
>
> The most promising setup is this:
>
> io-usb
> devu-touchintl -vvvvvvvv -x07dd -y0001 -w 10
> Input -vvvvvvvv generic fd -d /dev/touchintlusb0 &
>
> However, only the upper left corner of the screen is responding.  As you drag from that corner to the right the cursor
 follows your finger for only about an inch or so.  As you drag from that corner going down the cursor follows your 
finger for less than an inch.  We are in an 800x600 resolution.  It looks like the USB touchscreen driver is omitting 
the upper nibble (4 bits) in the X and Y values.  Is there anything I can send you to determine the cause of this?
>
> Thanks in advance,
>
> Robert
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post98471
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>


Attachment: Text devu-touchintl.tar.gz 25.04 KB
Re: HID-compliant touchscreens  
Pavel:

That new driver did the trick!  Here is the sample output you requested.

Many thanks,

Robert
Attachment: Text log_sample 202.56 KB
Re: HID-compliant touchscreens  
Pavel:

     I have another touchscreen which is VID: 1bfd and DID: 1688 that responds to the screen being touched (which I can 
see when I log the output) but the cursor doesn't move.  I found this link online explaining that this touchscreen has a
 "quirk" to it.

http://ubuntuforums.org/archive/index.php/t-1525241.html

Would it be possible to add another switch/argument to the devu-touchintl program to turn this "quirk" option on?

Thanks again,

Robert
Re: HID-compliant touchscreens  
Hi Robert,

This touchscreen is quite unusual and there is no driver for similar
devices in QNX.
I suppose that new driver is required for this touchscreen (not only
changes in protocol). Linux implementation isn't obvious to do such work
without hardware.


Regards,
Pavel

> Pavel:
>
>      I have another touchscreen which is VID: 1bfd and DID: 1688 that responds to the screen being touched (which I 
can see when I log the output) but the cursor doesn't move.  I found this link online explaining that this touchscreen 
has a "quirk" to it.
>
> http://ubuntuforums.org/archive/index.php/t-1525241.html
>
> Would it be possible to add another switch/argument to the devu-touchintl program to turn this "quirk" option on?
>
> Thanks again,
>
> Robert
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post99962
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
>


Re: HID-compliant touchscreens  
Pavel:

     Thanks for the prompt response.  It has made me move on to other "normal" touchscreens.

Robert