Touch Screen - Gunze Driver not working on xp embedded

S

Schockal

Hi There,

I am pretty new to Windows XP Embedded. I am trying to include a third party
touch screen driver (GUNZE TPDD). I took the INF file (ufd.inf) the one
supplied by Gunze, created a SLD file using Component Designer. I added the
new SLD to the Component Database Manager. I included the component and built
a new image. I can see that the build directory picks up both ufd.inf and
ufd.sys. I successfuly boot XPE, the FBA runs fine. The problem is the
touchscreen driver is not getting installed properly, I checked the
setupapi.log and it looks like there is no problem with the installation.

I went to Add/Remove programs on the control panel, I don't see the Gunze
TPDD as part of the programs.

I copied all the files (setup.exe, many other exe files, ufd.sys, ufd.inf to
the repository direcotry). When the target designer build completes, I can
see that Gunze component was compiled properly.

Please help.

Thanks
SC
 
S

Schockal

Hi Sean,

Yes I did, I went to C:\Windows\Gunze\ and ran setup.exe straight from
Windows XPE target. I can install properly, also I can see the program on the
Add/Program list. It needs a reboot after installation, I rebooted and I
couldn't use the application, may be I have to calibrate, I didn't try that
yet. I am not sure if the application will work without any calibration.

May be there is something wrong with my inf file. I am using the one Gunze
supplied. I checked the setupapi.log and I saw the message "Device did not
start for unknown reason". I changed the StartType from 3 to 1. That didn't
make any difference.

I have couple of questions about the Component Designer.

When I imported the INF file, I was not able to change the component's name,
it was greyed out. It was suplied by Gunze. I checked the Files under
Component, there were two files ufd.inf and ufd.sys. What happens to all the
exe files , how come they are not included in the Files. I then created a
Repository (Add Repository). I copied all the files to one location and set
it as the default path.

Also when I import the INF file, I am getting a warning message, "AddReg is
empty". What does it mean ?
 
S

Schockal

Here is my inf file. Note there is no Version number "Driverver", also when I
import this file , I am getting a message "AddReg is empty". don't know what
it means.

[Version]
Signature="$Windows NT$"
Provider=%Gunze%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Class=Mouse
DriverVer=08/12/2002

;
; Driver information
;

[Manufacturer]
%Gunze% = Gunze.Mfg

[Gunze.Mfg]
%Gunze.DeviceDesc0% = ufd, USB\VID_0637&PID_0001


;
; General installation section
;

[ufd]
AddReg=ufd.AddReg

[ufd.AddReg]

;
; Service Installation
;

[ufd.Services]
AddService = ufd, 0x00000002 , ufd_Service_Inst
; Install mouclass.sys from msmouse.inf
Include=msmouse.inf
Needs=MouClass.Services

[ufd_Service_Inst]
DisplayName = %ufd.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary = %12%\ufd.sys

[Strings]

;
; Non-Localizable Strings
;

REG_SZ = 0x00000000
REG_MULTI_SZ = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
SERVICEROOT = "System\CurrentControlSet\Services"

;
; Localizable Strings
;

Gunze.DeviceDesc0 = "Gunze, USB"
Gunze = "Gunze Corporation"
ufd.SvcDesc="UFD"
 
S

Schockal

Thanks for your response. I didn't have msmouse.inf when I first imported.
Then I copied msmouse.inf to the directory and imported it again. I will
ignore the AddReg warning. I did import the right file, I have the same
component with different names. So may be thats why it is greyed out. I was
trying to delete the component using CDM but I couldn't. Is there any way I
could delete the component I added to the database ?. I am using the trial
version.

I tried many things so I wanted to try a different driver from Touchbase, I
downloaded the version for Gunze. IT is called UPDD driver.

Before I go further, I would like to ask you some more questions about
creating custom components. I hope you don't mind answering them. I
downloaded the zip file, it contains, sys file, dlls, exes, inf's etc. The
only two files included in the Component ->File section are the sys and inf
files. What happens to all the other files ?. Does the target designer pull
all the files from the Repository when you build ?.

Do I have to add all the files to the Component->Files ?. When I created a
Repository (Add Repository) , I set the location to point to the temp
directory where I unzipped all the files. Is this ok ?.

Thanks
SC







Sean Liming (MVP) said:
1. Did you have msmouse.inf i nteh same directory when you imported the
UFD.INF? If you didn't there is soem missing pieces to the component.
2. The AddReg warning can be ignored since there are no registry keys listed
in teh section. These will get created during FBA.
3. The grey out of the component means that there is a similar component in
the database. I imported your INF, and I don't have a similar component so
you must have imported something else.

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
Schockal said:
Here is my inf file. Note there is no Version number "Driverver", also
when I
import this file , I am getting a message "AddReg is empty". don't know
what
it means.

[Version]
Signature="$Windows NT$"
Provider=%Gunze%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Class=Mouse
DriverVer=08/12/2002

;
; Driver information
;

[Manufacturer]
%Gunze% = Gunze.Mfg

[Gunze.Mfg]
%Gunze.DeviceDesc0% = ufd, USB\VID_0637&PID_0001


;
; General installation section
;

[ufd]
AddReg=ufd.AddReg

[ufd.AddReg]

;
; Service Installation
;

[ufd.Services]
AddService = ufd, 0x00000002 , ufd_Service_Inst
; Install mouclass.sys from msmouse.inf
Include=msmouse.inf
Needs=MouClass.Services

[ufd_Service_Inst]
DisplayName = %ufd.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary = %12%\ufd.sys

[Strings]

;
; Non-Localizable Strings
;

REG_SZ = 0x00000000
REG_MULTI_SZ = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
SERVICEROOT = "System\CurrentControlSet\Services"

;
; Localizable Strings
;

Gunze.DeviceDesc0 = "Gunze, USB"
Gunze = "Gunze Corporation"
ufd.SvcDesc="UFD"




Schockal said:
Hi Sean,

Yes I did, I went to C:\Windows\Gunze\ and ran setup.exe straight from
Windows XPE target. I can install properly, also I can see the program on
the
Add/Program list. It needs a reboot after installation, I rebooted and I
couldn't use the application, may be I have to calibrate, I didn't try
that
yet. I am not sure if the application will work without any calibration.

May be there is something wrong with my inf file. I am using the one
Gunze
supplied. I checked the setupapi.log and I saw the message "Device did
not
start for unknown reason". I changed the StartType from 3 to 1. That
didn't
make any difference.

I have couple of questions about the Component Designer.

When I imported the INF file, I was not able to change the component's
name,
it was greyed out. It was suplied by Gunze. I checked the Files under
Component, there were two files ufd.inf and ufd.sys. What happens to all
the
exe files , how come they are not included in the Files. I then created a
Repository (Add Repository). I copied all the files to one location and
set
it as the default path.

Also when I import the INF file, I am getting a warning message, "AddReg
is
empty". What does it mean ?



:


Have you tried installing the driver in the XPe image directly?

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
Hi There,

I am pretty new to Windows XP Embedded. I am trying to include a
third
party
touch screen driver (GUNZE TPDD). I took the INF file (ufd.inf) the
one
supplied by Gunze, created a SLD file using Component Designer. I
added
the
new SLD to the Component Database Manager. I included the component
and
built
a new image. I can see that the build directory picks up both ufd.inf
and
ufd.sys. I successfuly boot XPE, the FBA runs fine. The problem is
the
touchscreen driver is not getting installed properly, I checked the
setupapi.log and it looks like there is no problem with the
installation.

I went to Add/Remove programs on the control panel, I don't see the
Gunze
TPDD as part of the programs.

I copied all the files (setup.exe, many other exe files, ufd.sys,
ufd.inf
to
the repository direcotry). When the target designer build completes,
I can
see that Gunze component was compiled properly.

Please help.

Thanks
SC
 
S

Schockal

I just wanted to add a note to my previous post. This is what I did to import
the INF file.

1. Unzipped dirver to a flat directory (C:\touchscreen
2. C:\touchscreen contains ufd.inf, ufd.sys, sfd.sys and some exe files
(setup.exe and some applictions), xml files and help file.
3. I opened CD, imported ufd.inf
4. The component->file has two files preselected ufd.inf and ufd.sys
5. I Add Repository and set the location to point to C:\touchscreen
6. I save as Gunze.sld

7. I open up CDM, I import, Gunze.sld and it imports successfuly.
8. I open up TD, I add Gunze component to my build, I make a build
9. For some reason , it couldn't find ufd.inf and ufd.sys, so I copied it to
one of the standard Repository directory (48... something). Then it worked
fine.

My question is , what happens to all the other files in the C:\touchscreen.

Does XPE use setup.exe to install the component during boot up ?. I am kind
of confused about INF and setup.exe. The final build directory has only two
files ufd.inf and ufd.sys, are these two files enough for the program to
install successfuly ?.

Am I missing something ?.

Thanks
SC




Schockal said:
Thanks for your response. I didn't have msmouse.inf when I first imported.
Then I copied msmouse.inf to the directory and imported it again. I will
ignore the AddReg warning. I did import the right file, I have the same
component with different names. So may be thats why it is greyed out. I was
trying to delete the component using CDM but I couldn't. Is there any way I
could delete the component I added to the database ?. I am using the trial
version.

I tried many things so I wanted to try a different driver from Touchbase, I
downloaded the version for Gunze. IT is called UPDD driver.

Before I go further, I would like to ask you some more questions about
creating custom components. I hope you don't mind answering them. I
downloaded the zip file, it contains, sys file, dlls, exes, inf's etc. The
only two files included in the Component ->File section are the sys and inf
files. What happens to all the other files ?. Does the target designer pull
all the files from the Repository when you build ?.

Do I have to add all the files to the Component->Files ?. When I created a
Repository (Add Repository) , I set the location to point to the temp
directory where I unzipped all the files. Is this ok ?.

Thanks
SC







Sean Liming (MVP) said:
1. Did you have msmouse.inf i nteh same directory when you imported the
UFD.INF? If you didn't there is soem missing pieces to the component.
2. The AddReg warning can be ignored since there are no registry keys listed
in teh section. These will get created during FBA.
3. The grey out of the component means that there is a similar component in
the database. I imported your INF, and I don't have a similar component so
you must have imported something else.

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
Schockal said:
Here is my inf file. Note there is no Version number "Driverver", also
when I
import this file , I am getting a message "AddReg is empty". don't know
what
it means.

[Version]
Signature="$Windows NT$"
Provider=%Gunze%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Class=Mouse
DriverVer=08/12/2002

;
; Driver information
;

[Manufacturer]
%Gunze% = Gunze.Mfg

[Gunze.Mfg]
%Gunze.DeviceDesc0% = ufd, USB\VID_0637&PID_0001


;
; General installation section
;

[ufd]
AddReg=ufd.AddReg

[ufd.AddReg]

;
; Service Installation
;

[ufd.Services]
AddService = ufd, 0x00000002 , ufd_Service_Inst
; Install mouclass.sys from msmouse.inf
Include=msmouse.inf
Needs=MouClass.Services

[ufd_Service_Inst]
DisplayName = %ufd.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary = %12%\ufd.sys

[Strings]

;
; Non-Localizable Strings
;

REG_SZ = 0x00000000
REG_MULTI_SZ = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
SERVICEROOT = "System\CurrentControlSet\Services"

;
; Localizable Strings
;

Gunze.DeviceDesc0 = "Gunze, USB"
Gunze = "Gunze Corporation"
ufd.SvcDesc="UFD"




:

Hi Sean,

Yes I did, I went to C:\Windows\Gunze\ and ran setup.exe straight from
Windows XPE target. I can install properly, also I can see the program on
the
Add/Program list. It needs a reboot after installation, I rebooted and I
couldn't use the application, may be I have to calibrate, I didn't try
that
yet. I am not sure if the application will work without any calibration.

May be there is something wrong with my inf file. I am using the one
Gunze
supplied. I checked the setupapi.log and I saw the message "Device did
not
start for unknown reason". I changed the StartType from 3 to 1. That
didn't
make any difference.

I have couple of questions about the Component Designer.

When I imported the INF file, I was not able to change the component's
name,
it was greyed out. It was suplied by Gunze. I checked the Files under
Component, there were two files ufd.inf and ufd.sys. What happens to all
the
exe files , how come they are not included in the Files. I then created a
Repository (Add Repository). I copied all the files to one location and
set
it as the default path.

Also when I import the INF file, I am getting a warning message, "AddReg
is
empty". What does it mean ?



:


Have you tried installing the driver in the XPe image directly?

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
Hi There,

I am pretty new to Windows XP Embedded. I am trying to include a
third
party
touch screen driver (GUNZE TPDD). I took the INF file (ufd.inf) the
one
supplied by Gunze, created a SLD file using Component Designer. I
added
the
new SLD to the Component Database Manager. I included the component
and
built
a new image. I can see that the build directory picks up both ufd.inf
and
ufd.sys. I successfuly boot XPE, the FBA runs fine. The problem is
the
touchscreen driver is not getting installed properly, I checked the
setupapi.log and it looks like there is no problem with the
installation.

I went to Add/Remove programs on the control panel, I don't see the
Gunze
TPDD as part of the programs.

I copied all the files (setup.exe, many other exe files, ufd.sys,
ufd.inf
to
the repository direcotry). When the target designer build completes,
I can
see that Gunze component was compiled properly.

Please help.

Thanks
SC
 
S

Schockal

Thanks Sean. It works fine now. I had 3 to 4 different SLD files, I deleted
all my repositories, SLD files. I also deleted all the different components
from the CDM. I started fresh. And everything works fine. The driver is
getting installed properly. Now my next step is to install the application. I
was confusing the driver (sys files )and application files (exe files). I
didn't realize I had two parts 1. Install driver 2. Install application. I
was trying to do both at once, I don't know if it is possible.

I will keep you posted.

Thanks for your help.

SC

Schockal said:
I just wanted to add a note to my previous post. This is what I did to import
the INF file.

1. Unzipped dirver to a flat directory (C:\touchscreen
2. C:\touchscreen contains ufd.inf, ufd.sys, sfd.sys and some exe files
(setup.exe and some applictions), xml files and help file.
3. I opened CD, imported ufd.inf
4. The component->file has two files preselected ufd.inf and ufd.sys
5. I Add Repository and set the location to point to C:\touchscreen
6. I save as Gunze.sld

7. I open up CDM, I import, Gunze.sld and it imports successfuly.
8. I open up TD, I add Gunze component to my build, I make a build
9. For some reason , it couldn't find ufd.inf and ufd.sys, so I copied it to
one of the standard Repository directory (48... something). Then it worked
fine.

My question is , what happens to all the other files in the C:\touchscreen.

Does XPE use setup.exe to install the component during boot up ?. I am kind
of confused about INF and setup.exe. The final build directory has only two
files ufd.inf and ufd.sys, are these two files enough for the program to
install successfuly ?.

Am I missing something ?.

Thanks
SC




Schockal said:
Thanks for your response. I didn't have msmouse.inf when I first imported.
Then I copied msmouse.inf to the directory and imported it again. I will
ignore the AddReg warning. I did import the right file, I have the same
component with different names. So may be thats why it is greyed out. I was
trying to delete the component using CDM but I couldn't. Is there any way I
could delete the component I added to the database ?. I am using the trial
version.

I tried many things so I wanted to try a different driver from Touchbase, I
downloaded the version for Gunze. IT is called UPDD driver.

Before I go further, I would like to ask you some more questions about
creating custom components. I hope you don't mind answering them. I
downloaded the zip file, it contains, sys file, dlls, exes, inf's etc. The
only two files included in the Component ->File section are the sys and inf
files. What happens to all the other files ?. Does the target designer pull
all the files from the Repository when you build ?.

Do I have to add all the files to the Component->Files ?. When I created a
Repository (Add Repository) , I set the location to point to the temp
directory where I unzipped all the files. Is this ok ?.

Thanks
SC







Sean Liming (MVP) said:
1. Did you have msmouse.inf i nteh same directory when you imported the
UFD.INF? If you didn't there is soem missing pieces to the component.
2. The AddReg warning can be ignored since there are no registry keys listed
in teh section. These will get created during FBA.
3. The grey out of the component means that there is a similar component in
the database. I imported your INF, and I don't have a similar component so
you must have imported something else.

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
Here is my inf file. Note there is no Version number "Driverver", also
when I
import this file , I am getting a message "AddReg is empty". don't know
what
it means.

[Version]
Signature="$Windows NT$"
Provider=%Gunze%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Class=Mouse
DriverVer=08/12/2002

;
; Driver information
;

[Manufacturer]
%Gunze% = Gunze.Mfg

[Gunze.Mfg]
%Gunze.DeviceDesc0% = ufd, USB\VID_0637&PID_0001


;
; General installation section
;

[ufd]
AddReg=ufd.AddReg

[ufd.AddReg]

;
; Service Installation
;

[ufd.Services]
AddService = ufd, 0x00000002 , ufd_Service_Inst
; Install mouclass.sys from msmouse.inf
Include=msmouse.inf
Needs=MouClass.Services

[ufd_Service_Inst]
DisplayName = %ufd.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary = %12%\ufd.sys

[Strings]

;
; Non-Localizable Strings
;

REG_SZ = 0x00000000
REG_MULTI_SZ = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
SERVICEROOT = "System\CurrentControlSet\Services"

;
; Localizable Strings
;

Gunze.DeviceDesc0 = "Gunze, USB"
Gunze = "Gunze Corporation"
ufd.SvcDesc="UFD"




:

Hi Sean,

Yes I did, I went to C:\Windows\Gunze\ and ran setup.exe straight from
Windows XPE target. I can install properly, also I can see the program on
the
Add/Program list. It needs a reboot after installation, I rebooted and I
couldn't use the application, may be I have to calibrate, I didn't try
that
yet. I am not sure if the application will work without any calibration.

May be there is something wrong with my inf file. I am using the one
Gunze
supplied. I checked the setupapi.log and I saw the message "Device did
not
start for unknown reason". I changed the StartType from 3 to 1. That
didn't
make any difference.

I have couple of questions about the Component Designer.

When I imported the INF file, I was not able to change the component's
name,
it was greyed out. It was suplied by Gunze. I checked the Files under
Component, there were two files ufd.inf and ufd.sys. What happens to all
the
exe files , how come they are not included in the Files. I then created a
Repository (Add Repository). I copied all the files to one location and
set
it as the default path.

Also when I import the INF file, I am getting a warning message, "AddReg
is
empty". What does it mean ?



:


Have you tried installing the driver in the XPe image directly?

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
Hi There,

I am pretty new to Windows XP Embedded. I am trying to include a
third
party
touch screen driver (GUNZE TPDD). I took the INF file (ufd.inf) the
one
supplied by Gunze, created a SLD file using Component Designer. I
added
the
new SLD to the Component Database Manager. I included the component
and
built
a new image. I can see that the build directory picks up both ufd.inf
and
ufd.sys. I successfuly boot XPE, the FBA runs fine. The problem is
the
touchscreen driver is not getting installed properly, I checked the
setupapi.log and it looks like there is no problem with the
installation.

I went to Add/Remove programs on the control panel, I don't see the
Gunze
TPDD as part of the programs.

I copied all the files (setup.exe, many other exe files, ufd.sys,
ufd.inf
to
the repository direcotry). When the target designer build completes,
I can
see that Gunze component was compiled properly.

Please help.

Thanks
SC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top