none
USB modem driver USBSER.SYS does not install on Windows 7 64-bit Enterprise

    Question

  • The company I work for has a product with a USB Device port implementing the CDC class. Our driver is based on Microsoft's USBSER.SYS driver and we provide the specific INF files so that our product installs as a virtual COM port or as a Modem. It works well on Windows XP, Vista and Windows 7 Enterprise 32-bit versions but I fail to install the same driver for the Windows 7 64-bit Enterprise trial version. The error message is:
    Windows was unable to install your unknown device.
    Windows could not find driver software for your device.
    If you know the manufacturer of your device, you can visit its website and check the support section for driver software.

    Does anyone have any insight on the possible reason for failure and how we can fix our driver?

    Wednesday, October 28, 2009 9:38 PM

All replies

  • I would need the details of the INF to see what is wrong. Not sure about the trial, it should be OK though.


    Vote if answered or helpful, I am running for Office (joke)! IT/Developer, Windows/Linux/Mainframe

    Server: IBM PC 300GL, Pentium III 667, Linux Server, has a 137GB disk limit, making it useless for upgrading my chess site

    Workstation: Asus M2NBP-VM CSM, Athlon64 X2 4200+ 65W CPU, 2GB RAM, NVIDIA 8600GT, 320GB + 160G backup, Windows 7 Ultimate x64.
    Thursday, October 29, 2009 12:17 AM
  • The contents of the INF:

    ; Installation inf for the Connect-One Sabalo Board
    ; Terminal Application using standard Windows CDC driver
    ; (c) Copyright 2004 Connect-One
    ;

    [Version]
    DriverVer=11/12/2006, 8.1.1
    LayoutFile=Layout.inf
    Signature="$CHICAGO$"
    Class=Modem
    ClassGUID={4D36E96D-E325-11CE-BFC1-08002BE10318}
    Provider=%Mfg%

    [Manufacturer]
    %Mfg% = Models

    [ControlFlags]
    ExcludeFromSelect= *

    [DestinationDirs]
    FakeModemCopyFileSection=12
    DefaultDestDir=12

    [Models]
    %SabaloMSG% = Sabalo,USB\VID_1AF1&PID_0001

    [Sabalo.NT]
    CopyFiles=FakeModemCopyFileSection
    AddReg=USB,ConnectOne.resp,Sabalo.AddReg

    [Sabalo.NT.Services]
    AddService=usbser, 0x00000000, LowerFilter_Service_Inst

    [Sabalo.NT.HW]
    AddReg=LowerFilterAddReg

    [LowerFilterAddReg]
    HKR,,"LowerFilters",0x00010000,"usbser"

    [LowerFilter_Service_Inst]
    DisplayName=%USBFilterString%
    ServiceType= 1
    StartType = 3
    ErrorControl = 0
    ServiceBinary = %12%\usbser.sys

    [FakeModemCopyFileSection]
    usbser.sys,,,0x20

    [Strings]
    Mfg = "Connect One Ltd."
    SabaloMSG = "Connect-One Sabalo USB Device"
    USBFilterString ="Sabalo USB serial emulation"

    [USB]
    HKR,,FriendlyDriver,,Unimodem.vxd
    HKR,,DevLoader,,*vcomm
    HKR,,ConfigDialog,,serialui.dll
    HKR,,AttachedTo,,COM6
    HKR,,EnumPropPages,,"serialui.dll,EnumPropPages"
    HKR,,DeviceType, 0, 01 ;
    HKR,,PortSubClass,1,02

    [Sabalo.AddReg] ;Sabalo USB serial emulation
    HKR,, Properties, 1, 00,00,00,00, 00,00,00,00, 00,00,00,00,00,00,00,00, 00,00,00,00, 00,00,00,00, 00,c2,01,00,00,C2,01,00

    Thursday, October 29, 2009 3:28 AM
  • Hello,

    Please post c:\windows\inf\setupapi.dev.log from a machine where you got that error on a public share on http://skydrive.live.com, then post a link here.

    I can take a look at it and try to point you in the right direction.  It would also help if you could post the INF there.

    Thanks,
    Mark
    Want to know if your current hardware & software will work with Windows 7? Check out these links: **Windows 7 Upgrade Advisor ** **Windows 7 Compatibility Center**
    Thursday, October 29, 2009 3:29 AM
  • The INF is copied in a previous message in this trail. I posted the log file on a public library as Mark suggested:

    http://cid-454b560fe14823b2.skydrive.live.com/self.aspx/.Public/USBSER%20Installation/setupapi.dev.log?authkey=eakvQo7vG6g%24

    Thanks!

    Thursday, October 29, 2009 6:35 PM
  • Thanks for posting the files.

    http://msdn.microsoft.com/en-us/library/ms790170.aspx
    http://msdn.microsoft.com/en-us/library/ms790191.aspx
    http://msdn.microsoft.com/en-us/library/ms794523.aspx (If you're making one INF that will install 32-bit or 64-bit drivers depending on the user's platform, you will probably have to add a new SourceDiskNames.amd64 section to the INF that points at the driver)

    Please take a look at those articles.  Looks like you're missing the .ntamd64 reference in the models section.

    I'm not sure if it would've helped find the problem in this case, but you may also want to look at the ChkINF tool.  http://msdn.microsoft.com/en-us/library/ms792443.aspx
    Want to know if your current hardware & software will work with Windows 7? Check out these links: **Windows 7 Upgrade Advisor ** **Windows 7 Compatibility Center**
    Friday, October 30, 2009 4:05 AM
  • The company I work for has a product with a USB Device port implementing the CDC class. Our driver is based on Microsoft's USBSER.SYS driver and we provide the specific INF files so that our product installs as a virtual COM port or as a Modem. It works well on Windows XP, Vista and Windows 7 Enterprise 32-bit versions but I fail to install the same driver for the Windows 7 64-bit Enterprise trial version. The error message is:
    Windows was unable to install your unknown device.
    Windows could not find driver software for your device.
    If you know the manufacturer of your device, you can visit its website and check the support section for driver software.

    Does anyone have any insight on the possible reason for failure and how we can fix our driver?


    AKupearly
    I have the same problem with Windows 7 Home premium intel core i5, with a USB Device CDC class based in a Microchip controler. I want to know if you have resolved your problem. My INF is
    [Version]
    Signature="$Windows NT$"
    Class=Ports
    ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
    Provider=%MCHP%
    LayoutFile=layout.inf
    DriverVer=08/17/2001,5.1.2600.0

    [Manufacturer]
    %MFGNAME%=DeviceList

    [DestinationDirs]
    DefaultDestDir=12

    [SourceDisksFiles]

    [SourceDisksNames]

    [DeviceList]
    %DESCRIPTION%=DriverInstall, USB\VID_04D8&PID_000A

    ;------------------------------------------------------------------------------
    ;  Windows 2000/XP Sections WINDOWS VISTA
    ;------------------------------------------------------------------------------

    [DriverInstall.nt]
    include=mdmcpq.inf
    CopyFiles=DriverCopyFiles
    AddReg=DriverInstall.nt.AddReg

    [DriverCopyFiles]
    usbser.sys,,,0x20

    [DriverInstall.nt.AddReg]
    HKR,,DevLoader,,*ntkern
    HKR,,NTMPDriver,,usbser.sys
    HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

    [DriverInstall.nt.Services]
    include=mdmcpq.inf 
    AddService=usbser, 0x00000002, DriverService

    [DriverService]
    include=mdmcpq.inf
    DisplayName=%SERVICE%
    ServiceType=1
    StartType=3
    ErrorControl=1
    ServiceBinary=%12%\usbser.sys

     The error message is:
    Windows was unable to install your unknown device.
    Windows could not find driver software for your device.
    If you know the manufacturer of your device, you can visit its website and check the support section for driver software.

    Error Code 28
    Can you help me?

    Friday, March 05, 2010 8:42 PM
  • your inf file is not for 64bit windows os.

     

    Thursday, May 06, 2010 7:51 PM
  • your inf file is not for 64bit windows os. 


    Yep, looks like the same issue that AKupearly had. 

    Blas2009 - Have you tried looking at the MSDN articles mentioned above?  Have you tried contacting the vendor of that device to see if they had an updated INF?


    Want to know if your current hardware & software will work with Windows 7? Check out these links: **Windows 7 Upgrade Advisor ** **Windows 7 Compatibility Center**
    Sunday, May 09, 2010 5:39 AM
  • Hi

    im trying to install cdc with win7 x64

    ;------------------------------------------------------------------------------
    ;                  Freescale Semiconductor INC.
    ;            Communication Device Class(CDC) INF File
    ;------------------------------------------------------------------------------

    [Version]
    Signature="$Windows NT$"
    Class=Ports
    ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
    Provider=%MANUFACTURER%
    LayoutFile=layout.inf
    ;CatalogFile=%FILENAME%.cat

    DriverVer= 6/2/2010,1.1.2600.3

    [Manufacturer]
    %MANUFACTURER%=DeviceList,NTamd64

    [DestinationDirs]
    DefaultDestDir=12


    ;------------------------------------------------------------------------------
    ;              Windows 2000/XP/Vista32 Support
    ;------------------------------------------------------------------------------
    [DriverInstall.nt]
    include=mdmcpq.inf
    CopyFiles=DriverCopyFiles.nt
    AddReg=DriverInstall.nt.AddReg

    [DriverCopyFiles.nt]
    usbser.sys,,,0x20

    [DriverInstall.nt.AddReg]
    HKR,,DevLoader,,*ntkern
    HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
    HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

    [DriverInstall.nt.Services]
    AddService=usbser, 0x00000002, DriverService.nt

    [DriverService.nt]
    DisplayName=%SERVICE%
    ServiceType=1
    StartType=3
    ErrorControl=1
    ServiceBinary=%12%\%DRIVERFILENAME%.sys

    ;------------------------------------------------------------------------------
    ;              Windows Vista64 Support
    ;------------------------------------------------------------------------------

    [DriverInstall.NTamd64]
    include=mdmcpq.inf
    CopyFiles=DriverCopyFiles.NTamd64
    AddReg=DriverInstall.NTamd64.AddReg

    [DriverCopyFiles.NTamd64]
    %DRIVERFILENAME%.sys,,,0x20

    [DriverInstall.NTamd64.AddReg]
    HKR,,DevLoader,,*ntkern
    HKR,,NTMPDriver,,%DRIVERFILENAME%.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%\%DRIVERFILENAME%.sys


    ;------------------------------------------------------------------------------
    ;            VID/PID Settings
    ;------------------------------------------------------------------------------
    [SourceDisksFiles]
    [SourceDisksNames]
    [DeviceList]
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_AF0D
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_A506
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0010
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0020
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0120
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0024

    [DeviceList.NTamd64]
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_AF0D
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_A506
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0010
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0020
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0120
    %DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0024


    ;------------------------------------------------------------------------------
    ;              String Definitions
    ;------------------------------------------------------------------------------
    [Strings]

    FILENAME="FSL_cdc"
    USB\VID_15A2&PID_0010.DeviceDesc="Freescale AN2295 Bootloader"
    USB\VID_15A2&PID_0020.DeviceDesc="Freescale Communications Port"
    USB\VID_15A2&PID_0120.DeviceDesc="Freescale ZSTAR Triaxial Demo"
    USB\VID_15A2&PID_0024.DeviceDesc="Freescale ESTAR Triaxial Demo"
    USB\VID_15A2&PID_AF0D.DeviceDesc="Freescale TWR-SENSOR Demo"
    DRIVERFILENAME ="usbser"
    MANUFACTURER="Juls Power"
    INSTDISK="USB2UART"
    DESCRIPTION="Freescale CDC Device"
    SERVICE="Virtual Com Driver"

    here is my inf

    and when i point into it it say its not for my hardware make sure its for win64 :S

    Friday, October 15, 2010 10:08 AM
  • Here is the best answer the problem that I've found.   All you have to do is

     

    1. grab the INF file from here:

    http://blogs.6bit.com/josh/2009/10/usb-communications-device-class-on-64-bit-windows/

     

    2. modify the VID and PID lines

    3. modify the strings to your liking at the end

     

    Works for me on Windows 7 64 bit.

    Thursday, February 10, 2011 2:33 AM
  • does anybody have an answer to this issue? i have the same problem, the above link is not valid
    Sunday, December 25, 2011 1:07 AM
  • You can find a copy of this article here: http://curiouslynerdy.com/2009/10/usb-communications-device-class-on-64-bit-windows/

    Or, if not available, here is working .INF.

    You just have to modify USB VID/PID and description.

    [Version]
    Signature="$Windows NT$"
    Class=Ports
    ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
    Provider=%ProviderName%
    DriverVer=10/15/2009,1.0.0.0

    [MANUFACTURER]
    %ProviderName%=DeviceList, NTx86, NTamd64

    [DeviceList.NTx86]
    %AtmelEVK1105CDC%=DriverInstall,USB\VID_03eb&PID_2310

    [DeviceList.NTamd64]
    %AtmelEVK1105CDC%=DriverInstall,USB\VID_03eb&PID_2310

    [DriverInstall]
    include=mdmcpq.inf
    CopyFiles=FakeModemCopyFileSection
    AddReg=LowerFilterAddReg,SerialPropPageAddReg

    [DriverInstall.Services]
    include = mdmcpq.inf
    AddService = usbser, 0x00000002, LowerFilter_Service_Inst

    ; This adds the serial port property tab to the device properties dialog
    [SerialPropPageAddReg]
    HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

    [Strings]
    ProviderName = "CDC Driver"
    AtmelEVK1105CDC = "Atmel EVK1105 Virtual Com Port"

    Tuesday, May 29, 2012 12:55 PM