Git Product home page Git Product logo

Comments (6)

thriz avatar thriz commented on July 17, 2024

I've sucessfully used an earlier version (zadig 2.0.1.154) to install the rtl2832 WinUSB drivers now.

from libwdi.

pbatard avatar pbatard commented on July 17, 2024

Can you copy/paste the content of your inf? It should be found in C:\usb_drivers

from libwdi.

thriz avatar thriz commented on July 17, 2024

As requested, this post contains the inf file for 2.0.1.159 (which failed)
and it also conatins the inf file for 2.0.1.154 (which succeeded).
I note that the source name differs, and also the Device GUID.

My source of zadig 2.0.1.159:
I loaded zadig from http://sourceforge.net/projects/libwdi/files/zadig/zadig_v2.0.1.159.7z/download
This version gave me the inf problem.


; Bulk-In,Interface(Interface_0)_(Interface_0).inf
; Copyright (c) 2010-2012 libusbx (GNU LGPL)
[Strings]
DeviceName = "Bulk-In, Interface (Interface 0) (Interface 0)"
VendorName = "Realtek Semiconductor Corp."
SourceName = "Bulk-In, Interface (Interface 0) (Interface 0) Install Disk"
DeviceID = "VID_0BDA&PID_2838&MI_00"
DeviceGUID = "{B9A7E3D4-4BDF-4027-9BCD-947EB7C51737}"

[Version]
Signature = "$Windows NT$"
Class = "Universal Serial Bus devices"
ClassGuid = {88bae032-5a81-49f0-bc3d-a4ff138216d6}
Provider = "libusbx.org"
CatalogFile = Bulk-In,Interface(Interface_0)_(Interface_0).cat
DriverVer = 02/28/2012, 6.1.7600.16385

[ClassInstall32]
Addreg = WinUSBDeviceClassReg

[WinUSBDeviceClassReg]
HKR,,,0,"Universal Serial Bus devices"
HKR,,Icon,,-20

[Manufacturer]
%VendorName% = libusbxDevice_WinUSB,NTx86,NTamd64,NTia64

[libusbxDevice_WinUSB.NTx86]
%DeviceName% = USB_Install, USB%DeviceID%

[libusbxDevice_WinUSB.NTamd64]
%DeviceName% = USB_Install, USB%DeviceID%

[libusbxDevice_WinUSB.NTia64]
%DeviceName% = USB_Install, USB%DeviceID%

[USB_Install]
Include = winusb.inf
Needs = WINUSB.NT

[USB_Install.Services]
Include = winusb.inf
AddService = WinUSB,0x00000002,WinUSB_ServiceInstall

[WinUSB_ServiceInstall]
DisplayName = "WinUSB - Kernel Driver 02/28/2012 6.1.7600.16385"
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys

[USB_Install.Wdf]
KmdfService = WINUSB, WinUsb_Install

[WinUSB_Install]
KmdfLibraryVersion = 1.11

[USB_Install.HW]
AddReg = AddDeviceInterfaceGUID

[NoDeviceInterfaceGUID]
; Avoids adding a DeviceInterfaceGUID for generic driver

[AddDeviceInterfaceGUID]
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%

[USB_Install.CoInstallers]
AddReg = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01011.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01011.dll

[DestinationDirs]
CoInstallers_CopyFiles = 11

[SourceDisksNames]
1 = %SourceName%

[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll = 1,x86
WdfCoInstaller01011.dll = 1,x86

[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll = 1,amd64
WdfCoInstaller01011.dll = 1,amd64

[SourceDisksFiles.ia64]
WinUSBCoInstaller2.dll = 1,ia64

WdfCoInstaller01011.dll = 1,ia64

I then loaded zadig from http://m9t.co.uk/zadig.zip (labelled as 2.0.1.154).
This version installed ok.

The inf file from this contains:

; Bulk-In,Interface(Interface_0).inf
; Copyright (c) 2010 libusb (GNU LGPL)
[Strings]
DeviceName = "Bulk-In, Interface (Interface 0)"
VendorName = "Realtek Semiconductor Corp."
SourceName = "Bulk-In, Interface (Interface 0) Install Disk"
DeviceID = "VID_0BDA&PID_2838&MI_00"
DeviceGUID = "{BA904D5B-1726-4DF2-91E9-4BD770604C0F}"

[Version]
Signature = "$Windows NT$"
Class = "Universal Serial Bus devices"
ClassGuid = {88bae032-5a81-49f0-bc3d-a4ff138216d6}
Provider = "libusb.org"
CatalogFile = Bulk-In,Interface(Interface_0).cat
DriverVer = 07/14/2009, 6.1.7600.16385

[ClassInstall32]
Addreg = WinUSBDeviceClassReg

[WinUSBDeviceClassReg]
HKR,,,0,"Universal Serial Bus devices"
HKR,,Icon,,-20

[Manufacturer]
%VendorName% = libusbDevice_WinUSB,NTx86,NTamd64,NTia64

[libusbDevice_WinUSB.NTx86]
%DeviceName% = USB_Install, USB%DeviceID%

[libusbDevice_WinUSB.NTamd64]
%DeviceName% = USB_Install, USB%DeviceID%

[libusbDevice_WinUSB.NTia64]
%DeviceName% = USB_Install, USB%DeviceID%

[USB_Install]
Include = winusb.inf
Needs = WINUSB.NT

[USB_Install.Services]
Include = winusb.inf
AddService = WinUSB,0x00000002,WinUSB_ServiceInstall

[WinUSB_ServiceInstall]
DisplayName = "WinUSB - Kernel Driver 07/14/2009 6.1.7600.16385"
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WinUSB.sys

[USB_Install.Wdf]
KmdfService = WINUSB, WinUsb_Install

[WinUSB_Install]
KmdfLibraryVersion = 1.9

[USB_Install.HW]
AddReg = AddDeviceInterfaceGUID

[NoDeviceInterfaceGUID]
; Avoids adding a DeviceInterfaceGUID for generic driver

[AddDeviceInterfaceGUID]
HKR,,DeviceInterfaceGUIDs,0x10000,%DeviceGUID%

[USB_Install.CoInstallers]
AddReg = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller","WinUSBCoInstaller2.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
WdfCoInstaller01009.dll

[DestinationDirs]
CoInstallers_CopyFiles = 11

[SourceDisksNames]
1 = %SourceName%

[SourceDisksFiles.x86]
WinUSBCoInstaller2.dll = 1,x86
WdfCoInstaller01009.dll = 1,x86

[SourceDisksFiles.amd64]
WinUSBCoInstaller2.dll = 1,amd64
WdfCoInstaller01009.dll = 1,amd64

[SourceDisksFiles.ia64]
WinUSBCoInstaller2.dll = 1,ia64

WdfCoInstaller01009.dll = 1,ia64

from libwdi.

pbatard avatar pbatard commented on July 17, 2024

I don't see much wrong with the syntax of the inf, though the fact that you get a double (Interface_0)_(Interface_0) is a bit puzzling. All the other changes should not be an issue.

However, you are using Windows XP, and you should be aware that the latest version of Zadig is incompatible with windows XP due to Microsoft's KMDF v1.11 (the one from the WinUSB driver from the Windows 8 Driver Kit) being non compatible with XP.

From what I have seen, the error reported is usually "installer_x86 entry point not found", but my guess is that your issue is also due to the KMDF problem and you will need to use v2.0.1.154 on XP until I start releasing dual versions of Zadig, one with KMDF v1.9 and one with KMDF v1.11, so that XP users can also used the latest versions.

For more info see this thread.

I have also added a note about this in the Zadig download section. Unfortunately, SourceForge are the one who control the layout, so the note only appears after the download links...

from libwdi.

thriz avatar thriz commented on July 17, 2024

Thanks, that explains it. Sorry, I'd completely missed your note about XP on sourceforge; once I'd found the link to the latest build I stopped reading and started loading.

from libwdi.

pbatard avatar pbatard commented on July 17, 2024

Should be closed now that 2 versions of Zadig are provided, with one targeted at XP users. If there is still an issue, I'll reopen this call.

from libwdi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.