none
Install INF File and corresponding USBSER driver RRS feed

  • Question

  • Hi all,
    I want to load USBSerial (USBSer.sys) driver on Windows 7 PC, when ever I connect my WINCE device. I have an .inf file which I downloaded from internet and made changes for the VID and PID exact to my WINCE device's VID and PID.

    [Version]
    Signature="$Windows NT$"
    Class=Modem
    ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
    Provider=%Linux%
    DriverVer=11/15/2007,5.1.2600.0
    
    [Manufacturer]
    %Linux%= NTamd64
    
    [DestinationDirs]
    DefaultDestDir=12
    
    [DriverInstall.NTamd64]
    include=mdmcpq.inf
    CopyFiles=DriverCopyFiles.NTamd64
    AddReg=DriverInstall.NTamd64.AddReg
    
    [DriverCopyFiles.NTamd64]
    USBSER.sys,,,0x20
    
    [DriverInstall.NTamd64.AddReg]
    HKR,,DevLoader,,*ntkern
    HKR,,NTMPDriver,,USBSER.sys
    HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
    
    [DriverInstall.NTamd64.Services]
    AddService=usbser, 0x00000002, DriverService.NTamd64
    
    [DriverService.NTamd64]
    DisplayName=%SERVICE%
    ServiceType=1
    StartType=3
    ErrorControl=1
    ServiceBinary=%12%\USBSER.sys
    
    [SourceDisksFiles]
    [SourceDisksNames]
    [DeviceList]
    %DESCRIPTION%=DriverInstall, USB\VID_045E&PID_0079
    
    [DeviceList.NTamd64]
    %DESCRIPTION%=DriverInstall, USB\VID_045E&PID_0079
    
    
    [Strings]
    Linux               = "Linux Developer Community"
    DESCRIPTION         = "Gadget Serial"
    SERVICE             = "USB RS-232 Emulation Driver"

    When I right click on the .inf file there is no option to Install the inf file.

    1. How to install this inf file to make it to load USB Serial driver when WINCE is connected?
    2. Do I need to make any changes or write some application which makes this inf file install on PC and help loading USBSerial driver?

    Please guide/suggest to make it install correctly and usable.
    Thanks in advance. 


    • Edited by Praveen105 Monday, August 27, 2018 8:26 AM
    Monday, August 27, 2018 7:34 AM

Answers

  • For Win7 SP1 (earlier versions are unsupported)  use pnputil -a your.inf

    -- pa

    Monday, August 27, 2018 11:01 AM
  • Hi Don Burn,

    Thanks a lot for your response.

    I am using Windows 7 and when I connect WINCE device to it, "Device driver software was not successfully installed" pop up is coming.
    Did a few things to it get the driver installed correctly.

    So the steps are:
    1. Open "Device Manager"
    2. Under "other devices" my device(WINCE named Generic Serial) has shown with an yellow exclamation
    3. Open it and click on 'Update driver' option and then 'Browse my computer for driver software'
    4. Browser and click the path where the relevant .INF file is present
    5. Usbser.sys driver has installed successfully.

    Now whenever I connect it again, driver gets loaded automatically.

    • Edited by Praveen105 Wednesday, August 29, 2018 11:27 AM
    • Marked as answer by Praveen105 Wednesday, August 29, 2018 11:46 AM
    • Unmarked as answer by Praveen105 Wednesday, August 29, 2018 11:46 AM
    • Marked as answer by Praveen105 Thursday, August 30, 2018 9:11 AM
    Wednesday, August 29, 2018 11:26 AM

All replies

  • This is a plug and play INF.  Right click "Computer" on the Start Menu, and choose "Manage".   Choose the "Device Manager" in the left pane of the window that opens then click the top of the tree in the right pane. Under the "Action" menu will be  "Add Legacy Hardware", walk through the steps after choosing "Install the hardware that I manually select from a list", where the "Have Disk" button appears point to the directory with your INF.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Monday, August 27, 2018 10:52 AM
  • For Win7 SP1 (earlier versions are unsupported)  use pnputil -a your.inf

    -- pa

    Monday, August 27, 2018 11:01 AM
  • Hi Don Burn,

    Thanks a lot for your response.

    I am using Windows 7 and when I connect WINCE device to it, "Device driver software was not successfully installed" pop up is coming.
    Did a few things to it get the driver installed correctly.

    So the steps are:
    1. Open "Device Manager"
    2. Under "other devices" my device(WINCE named Generic Serial) has shown with an yellow exclamation
    3. Open it and click on 'Update driver' option and then 'Browse my computer for driver software'
    4. Browser and click the path where the relevant .INF file is present
    5. Usbser.sys driver has installed successfully.

    Now whenever I connect it again, driver gets loaded automatically.

    • Edited by Praveen105 Wednesday, August 29, 2018 11:27 AM
    • Marked as answer by Praveen105 Wednesday, August 29, 2018 11:46 AM
    • Unmarked as answer by Praveen105 Wednesday, August 29, 2018 11:46 AM
    • Marked as answer by Praveen105 Thursday, August 30, 2018 9:11 AM
    Wednesday, August 29, 2018 11:26 AM
  • my device(WINCE named Generic Serial) has shown with an yellow exclamation

    What is the problem description there?

    -- pa

    Wednesday, August 29, 2018 9:36 PM
  • The drivers for this device are not installed. (Code 28)
    
    There is no driver selected for the device information set or element.
    
    
    To find a driver for this device, click Update Driver.
    

    This was the problem description and it has been resolved following the above steps mentioned in my reply.
    • Edited by Praveen105 Thursday, August 30, 2018 9:11 AM
    Thursday, August 30, 2018 9:10 AM