Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > what is wrong to install driver automatically in windows 7 platform?

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



what is wrong to install driver automatically in windows 7 platform?
Moderator:
RSKV

Post Reply
Follow this topic



what is wrong to install driver automatically in windows 7 platform?

winston posted on 18 Feb 2012 3:52 AM PST
Member
2 Forum Posts

i have an application with cy68013 with high speed, and with a driver ezloader.sys and myusb.sys,  i use the devcon.exe tool to install the driver software first , which means don't connect incoming USB data cable, the devcon.exe would find ezloader.sys.. under windows xp platform. it would install properly. later when i connect the usb cable, the second step of driver, i.e. myusb.sys would be installed automatically.

but, this won't work under windows 7 platform.. i reprogramed all the drivers. mannually using windows controlling board: devide managment, the drivers: ezloader.sys and myusb.sys works properly, which means the drivers themselvies are alright.

but when i try to install the driver automatically.(programingly with devcon.exe in VC), the devcon would install ezloader. when i connect the usb cable, the window 7 cann't find the second part of driver: i.e. myusb.sys.. it refers to c:\users\Documents and Settings\ to try to find the driver. (which is under c:\windows\system32\drivers). of course it failed.. i have to mannually change the search path to find the driver.

what's wrong with that? the inf file is the same with under windows xp.. how can i correct this program?

i am trying to make the driver installed programmingly, i.e automatically.. the problems here different with CyUSB.sys is that i have two steps driver to install.(i don't want to change the driver to CyUSB.sys yet)..

any suggestions? your help is much appreciated. it baffered me awhile now.




Re: what is wrong to install driver automatically in windows 7 platform?

aasi posted on 20 Feb 2012 12:48 AM PST
Cypress Employee
1090 Forum Posts

Are you using CyUSB.sys or ezusb.sys?

Are you using Windows 7 32-bit to 64-bit OS?

The 64-bit version does not allow unsigned driver to be installed (or load to system folders it gives error during installation, I'm surprised it is even allowing you to copy the files.

Regards,

Anand



Re: what is wrong to install driver automatically in windows 7 platform?

winston posted on 20 Feb 2012 07:45 AM PST
Member
2 Forum Posts

thanks for your reply, Aasi.

i am using ezusb.sys, not CyUSB.sys.. under using windows 7 32bit platform.

because ezusb.sys need the guider driver ezloader.sys. that's why i said this driver are two steps.. with one inf file.

when i use devcon.exe with inf as parameters, the program can find the ezloader.sys correctly, but when i plug in the usb cable, it won't find the second part. (i am sure the correct vid/pid are already downloaded into the chip throuth ezloader.sys). the windows 7 just try to searh the wrong path. the drivers(ezload.sys and ezusb.sys) are correct since i can mannually install them and they works fine.

 

i don't know how to guid system to automatically find the second part of driver, i.e. ezusb.sys. as long as the system find ezusb.sys, it load and works fine..  adding "set path = c:\windows\system32\drivers", which is where the ezusb.sys and inf file is, wound not work..

any suggestions? thank you very much!






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20