Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Touchscreen on QNX6.4.1: (13 Items)
   
Touchscreen on QNX6.4.1  
Hi!Everyone,I try to run egalax touchscreen on QNX6.4.1.The file of touchscreen's driver about installed.

(Touchscreen driver Readme file)
Revision	: 1.01.5608
OS	: QNX Neutrino RTOS v6.3
Release Date	: 08-08-2006
	
File list:
TouchKit			- Utility
devi-eGalax		- RS232 Touch Screen Driver
input.localhost.txt		- Input Data
calib.localhost.txt		- Calibration Data


Notes:
     This Driver only support RS232.
1.  Copy "Touchkit" and "devi-eGalax" two files  to '/usr/photon/bin ' directory.
2.  Change it's Permissions and make it Executable.	
3.  Open or Create "input.localhost" under '/etc/system/trap' and copy two lines to the file :
    		kbd fd -d/dev/kbd ps2 mousedev
    		devi-eGalax egalax fd -d/dev/ser1 abs
    Notes:
    	 "ser1" it means only support com1.You can change it to "ser2" to support com2. 		
    			
4.  Open or Create "calib.localhost" under '/etc/system/trap' and copy the line to the file :	
    		0x0:1023x767:0 2047 0 2047 0

When I do so that.I run
(1)#usb -vv
Device Address             : 1
Upstream Host Controller   : 1
Upstream Device Address    : 0
Upstream Port              : 0
Upstream Port Speed        : Full
Vendor                     : 0x0eef (eGalax Inc.)
Product                    : 0x0001 (USB TouchController)
Device Release             : r1.00
USB Spec Release           : v1.10
Serial Number              : N/A
Class                      : 0x00 (Independent per interface)
Max PacketSize0            : 64
Languages                  : 0x0409 (English)
Configurations             : 1
  Configuration            : 1 (eGalax Inc.)
    Attributes             : 0xa0 (Bus-powered, Remote-wakeup)
    Max Power              : 100 mA
    Interfaces             : 1
      Interface            : 0 / 0
        Class              : 0x03 (HID)
        Subclass           : 0x00
        Protocol           : 0x00

(2)#io-hid -degalax

(3)#devi-eGalax -vvvvvvvv egalax fd -d/dev/ser1 -b
Looking up egalax in module table
Allocated static module egalax at 8059660
Looking up fd in module table
Allocated static module fd at 80597a0
fd_parm: d
optarg: /dev/ser1
Looking up abs in module table
Allocated static module abs at 80599a0
Calibration filename: /etc/system/trap/calib.localhost
Adding filter module: abs
Resetting module fd
Opened a serial device
Resetting module egalax
Resetting module abs
Attempting to open calibration file: /etc/system/trap/calib.localhost
Did not find calib info for [639x479]
Calibration parameters
sxl : 0 sxh : 639
syl : 0 syh : 479
rxl : 0 rxh : 0
ryl : 0 ryh : 0
interrogate bus, returning abs
interrogate bus, returning abs
Attempting to determine graphics region dimensions
Found graphics region owned by local hardware
Graphics region dimensions are 0:0 799:599
Issuing devctrl to abs
Attempting to open calibration file: /etc/system/trap/calib.localhost
Found calib info for [799x599]
Calibration parameters
sxl : 0 sxh : 799
syl : 0 syh : 599
rxl : 0 rxh : 799
ryl : 0 ryh : 799
Touch screen device driver received data from Photon server.
Touch screen device driver received data from Photon server.
Touch screen device driver received data from Photon server.
Touch screen device driver received data from Photon server.

(4)#./Touchkit[Calibrate a touchscreen]
result:touchscreen nothing to do

my questions:
(1)The touchscreen and driver is matched?
(2)Touchscreen's driver install process is  correct?
(3)QNX6.4.1 touchscreen driver is supportted?

Thank you very much!
Re: Touchscreen on QNX6.4.1  
Hi Hu,

So you know this question is best suited for the BSP/Drivers Forum, also we ask that you don't cross post between forums
.

Can you please post the output from 'hidview -R'

Thanks and best regards,

Erick

> Hi!Everyone,I try to run egalax touchscreen on QNX6.4.1.The file of 
> touchscreen's driver about installed.
> 
> (Touchscreen driver Readme file)
> Revision	: 1.01.5608
> OS	: QNX Neutrino RTOS v6.3
> Release Date	: 08-08-2006
> 	
> File list:
> TouchKit			- Utility
> devi-eGalax		- RS232 Touch Screen Driver
> input.localhost.txt		- Input Data
> calib.localhost.txt		- Calibration Data
> 
> 
> Notes:
>      This Driver only support RS232.
> 1.  Copy "Touchkit" and "devi-eGalax" two files  to '/usr/photon/bin ' 
> directory.
> 2.  Change it's Permissions and make it Executable.	
> 3.  Open or Create "input.localhost" under '/etc/system/trap' and copy two 
> lines to the file :
>     		kbd fd -d/dev/kbd ps2 mousedev
>     		devi-eGalax egalax fd -d/dev/ser1 abs
>     Notes:
>     	 "ser1" it means only support com1.You can change it to "ser2" to support
>  com2. 		
>     			
> 4.  Open or Create "calib.localhost" under '/etc/system/trap' and copy the 
> line to the file :	
>     		0x0:1023x767:0 2047 0 2047 0
> 
> When I do so that.I run
> (1)#usb -vv
> Device Address             : 1
> Upstream Host Controller   : 1
> Upstream Device Address    : 0
> Upstream Port              : 0
> Upstream Port Speed        : Full
> Vendor                     : 0x0eef (eGalax Inc.)
> Product                    : 0x0001 (USB TouchController)
> Device Release             : r1.00
> USB Spec Release           : v1.10
> Serial Number              : N/A
> Class                      : 0x00 (Independent per interface)
> Max PacketSize0            : 64
> Languages                  : 0x0409 (English)
> Configurations             : 1
>   Configuration            : 1 (eGalax Inc.)
>     Attributes             : 0xa0 (Bus-powered, Remote-wakeup)
>     Max Power              : 100 mA
>     Interfaces             : 1
>       Interface            : 0 / 0
>         Class              : 0x03 (HID)
>         Subclass           : 0x00
>         Protocol           : 0x00
> 
> (2)#io-hid -degalax
> 
> (3)#devi-eGalax -vvvvvvvv egalax fd -d/dev/ser1 -b
> Looking up egalax in module table
> Allocated static module egalax at 8059660
> Looking up fd in module table
> Allocated static module fd at 80597a0
> fd_parm: d
> optarg: /dev/ser1
> Looking up abs in module table
> Allocated static module abs at 80599a0
> Calibration filename: /etc/system/trap/calib.localhost
> Adding filter module: abs
> Resetting module fd
> Opened a serial device
> Resetting module egalax
> Resetting module abs
> Attempting to open calibration file: /etc/system/trap/calib.localhost
> Did not find calib info for [639x479]
> Calibration parameters
> sxl : 0 sxh : 639
> syl : 0 syh : 479
> rxl : 0 rxh : 0
> ryl : 0 ryh : 0
> interrogate bus, returning abs
> interrogate bus, returning abs
> Attempting to determine graphics region dimensions
> Found graphics region owned by local hardware
> Graphics region dimensions are 0:0 799:599
> Issuing devctrl to abs
> Attempting to open calibration file: /etc/system/trap/calib.localhost
> Found calib info for [799x599]
> Calibration parameters
> sxl : 0 sxh : 799
> syl : 0 syh : 599
> rxl : 0 rxh : 799
> ryl : 0 ryh : 799
> Touch screen device driver received data from Photon server.
> Touch screen device driver received data from Photon server.
> Touch screen device driver received data from Photon server.
> Touch screen device driver received data...
View Full Message
Re: Touchscreen on QNX6.4.1  
I`m very sorry to post my question in two forums.
I run "hidview -R".
Attachment: Text hidview_log.7z 1.03 KB
Re: Touchscreen on QNX6.4.1  
Hi Hu,

Its ok, sometimes people are not aware.

I have the same controller here, Egalax makes some strange controllers sometimes as the HID parser tends to break as 
they have two report descriptors for what would appear to be two devices to our parser comming from the single 
controller.  As a result the parsing breaks (Windows does too, which is why they have a Windows specific driver).  I am 
hoping to have a fixed driver for this, are you in a time critical situation? as there is a quick hack that should get 
it going for you if you are interested.

Best regards,

Erick

> I`m very sorry to post my question in two forums.
> I run "hidview -R".


Re: Touchscreen on QNX6.4.1  
Thank you very much!
I'm sorry to ask a question again!
The touch screen of QNX car is Egalax.But the driver is devi-microtouch.
This is OK?
Re: Touchscreen on QNX6.4.1  
Hi Hu,

Sorry for the delay, I am very busy :(

The QNX car demo was using the Egalax screens at one point, however we found that they were not very responsive and 
difficult to use.  So we moved to a capacitive based screen by Microtouch (at least that was the plan at one time).  
With regards to your Egalax screen, I am still in the process of trying to get time to fix this in house.  Once I have 
done so I can post an experimental driver for you.

Best regards,

Erick

> Thank you very much!
> I'm sorry to ask a question again!
> The touch screen of QNX car is Egalax.But the driver is devi-microtouch.
> This is OK?


Re: Touchscreen on QNX6.4.1  
Hi Hu,

Try the attached driver, it is experimental _only_ at this time, and is not to be shipped with any products.

io-hid -dusb igndev=0x0eef:0x0001 -degalax hid=2


Best regards,

Erick

> Hi Hu,
> 
> Sorry for the delay, I am very busy :(
> 
> The QNX car demo was using the Egalax screens at one point, however we found 
> that they were not very responsive and difficult to use.  So we moved to a 
> capacitive based screen by Microtouch (at least that was the plan at one time)
> .  With regards to your Egalax screen, I am still in the process of trying to 
> get time to fix this in house.  Once I have done so I can post an experimental
>  driver for you.
> 
> Best regards,
> 
> Erick
> 
> > Thank you very much!
> > I'm sorry to ask a question again!
> > The touch screen of QNX car is Egalax.But the driver is devi-microtouch.
> > This is OK?
> 
> 


Attachment: Text devh-egalax.so 38.22 KB
Re: Touchscreen on QNX6.4.1  
Hi Eric,
I have the same problem.
Here is what I have found out together with the german qnx support:

The device is seen by usb -vvv and it is the same revision numbers as reported here.
I tried both the egalax shipped with 6.4.1 and your experimental one. Both not working.
I didn't use a trap file. There is a PS2 mouse and keyboard and a USB mouse connected to the target. (All of them 
autodetected).

hidview -R is listing all devices including the egalax.
hidview -a is showing data when I touch the screen and when I move around, but it shows no entry when releasing my 
finger from the screen.
Data is 6 byte where the last byte is allways 0. It seems that all other 5 bytes are related to position information as 
the all vary when I move around on the screen leaving my finger on it.

instead of your provided line I used the mount command, because io-hid was already running:
mount -T io-hid devh-egalax.so

greetings, 
stefan
Re: Touchscreen on QNX6.4.1  
Hi,

I do facing the same issue. I tried both RS232 and USB interface.

Is there any update on this issue? Is that egalax touch working?
Re: Touchscreen on QNX6.4.1  
> Hi,
> 
> I do facing the same issue. I tried both RS232 and USB interface.
> 
> Is there any update on this issue? Is that egalax touch working?


Hi,

I re-wrote the driver for 6.5.0 which ironed out the issues that we were seeing with the driver and the new driver (USB)
 works much better now, you can request to get a PSP of it if you happen to have a priority support plan.  The other 
option is to request the source code to the 6.5.0 or the latest 6.4.1 version, as the code has already been merged in 
both branches.

Best regards,

Erick
Re: Touchscreen on QNX6.4.1  
Hi Erick,

Thank you for your reply.

We have developed our product with QNX6.4.1 on X86 platform target (Advantech PCM9361 SBC board) and our support plan 
has since expired. Currently the project is on-hold but we are planning to restart activity in a few months. In the 
meantime, I am working on an internal demo. Could you please provide the Egalax USB touch screen driver binary and 
installation instruction for us to use in our demo? We are not asking for the Source code.

Thanks,

Mani
Re: Touchscreen on QNX6.4.1  
Hi Erick,

FYKI, I am using EETI projected capacitive touch screen.

Thanks,

Mani
Re: Touchscreen on QNX6.4.1  
Doh, thats no good, the driver was for the resistive screens only, I have not had one of the projected screens in house 
yet.

Sorry :(

Erick.

> Hi Erick,
> 
> FYKI, I am using EETI projected capacitive touch screen.
> 
> Thanks,
> 
> Mani