| 
      
      
      From: #Cyrille37# <cyr...@gm...> - 2007-09-17 10:06:58
       | 
| Hello, I've just got a Tux Droid (tuxisalive.com) and all software are for Linux. That's normal ;-) But I would like to develop software to run the Tux Droid on windows. The first step is to install an USB Driver for it. I used inf-wizard.exe to generate the .inf File. At this point it's working. It generate a .inf file for USB Vendor ID: 03EB ProductID: FF07 The problem is when I plug the device and point the install wizard to the .inf file, windows tell that there is not device information in that file (the message is in french so I can't give the exact english version). Perhaps it miss something, like a device familly for windows ? I really don't find any idea to make it work. Thanks for help cyrille. Here is the generated .inf file : [Version] Signature = "$Chicago$" provider = %manufacturer% DriverVer = 03/20/2007,0.1.12.1 CatalogFile = TuxDroid.cat CatalogFile.NT = TuxDroid.cat CatalogFile.NTAMD64 = TuxDroid_x64.cat Class = LibUsbDevices ClassGUID = {EB781AAF-9C70-4523-A5DF-642A87ECA567} [ClassInstall] AddReg=libusb_class_install_add_reg [ClassInstall32] AddReg=libusb_class_install_add_reg [libusb_class_install_add_reg] HKR,,,,"LibUSB-Win32 Devices" HKR,,Icon,,"-20" [Manufacturer] %manufacturer%=Devices,NT,NTAMD64 ;-------------------------------------------------------------------------- ; Files ;-------------------------------------------------------------------------- [SourceDisksNames] 1 = "Libusb-Win32 Driver Installation Disk",, [SourceDisksFiles] libusb0.sys = 1,, libusb0.dll = 1,, libusb0_x64.sys = 1,, libusb0_x64.dll = 1,, [DestinationDirs] libusb_files_sys = 10,system32\drivers libusb_files_sys_x64 = 10,system32\drivers libusb_files_dll = 10,system32 libusb_files_dll_wow64 = 10,syswow64 libusb_files_dll_x64 = 10,system32 [libusb_files_sys] libusb0.sys [libusb_files_sys_x64] libusb0.sys,libusb0_x64.sys [libusb_files_dll] libusb0.dll [libusb_files_dll_wow64] libusb0.dll [libusb_files_dll_x64] libusb0.dll,libusb0_x64.dll ;-------------------------------------------------------------------------- ; Device driver ;-------------------------------------------------------------------------- [LIBUSB_DEV] CopyFiles = libusb_files_sys, libusb_files_dll AddReg = libusb_add_reg [LIBUSB_DEV.NT] CopyFiles = libusb_files_sys, libusb_files_dll [LIBUSB_DEV.NTAMD64] CopyFiles = libusb_files_sys_x64, libusb_files_dll_wow64, libusb_files_dll_x64 [LIBUSB_DEV.HW] DelReg = libusb_del_reg_hw AddReg = libusb_add_reg_hw [LIBUSB_DEV.NT.HW] DelReg = libusb_del_reg_hw AddReg = libusb_add_reg_hw [LIBUSB_DEV.NTAMD64.HW] DelReg = libusb_del_reg_hw AddReg = libusb_add_reg_hw [LIBUSB_DEV.NT.Services] AddService = libusb0, 0x00000002, libusb_add_service [LIBUSB_DEV.NTAMD64.Services] AddService = libusb0, 0x00000002, libusb_add_service [libusb_add_reg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,libusb0.sys ; Older versions of this .inf file installed filter drivers. They are not ; needed any more and must be removed [libusb_del_reg_hw] HKR,,LowerFilters HKR,,UpperFilters ; Device properties [libusb_add_reg_hw] HKR,,SurpriseRemovalOK, 0x00010001, 1 ;-------------------------------------------------------------------------- ; Services ;-------------------------------------------------------------------------- [libusb_add_service] DisplayName = "LibUsb-Win32 - Kernel Driver 03/20/2007, 0.1.12.1" ServiceType = 1 StartType = 3 ErrorControl = 0 ServiceBinary = %12%\libusb0.sys ;-------------------------------------------------------------------------- ; Devices ;-------------------------------------------------------------------------- [Devices] "Tux Droid"=LIBUSB_DEV, USB\VID_03eb&PID_ff07 [Devices.NT] "Tux Droid"=LIBUSB_DEV, USB\VID_03eb&PID_ff07 [Devices.NTAMD64] "Tux Droid"=LIBUSB_DEV, USB\VID_03eb&PID_ff07 ;-------------------------------------------------------------------------- ; Strings ;-------------------------------------------------------------------------- [Strings] manufacturer = "TuxIsAlive" | 
| 
      
      
      From: #Cyrille37# <cyr...@gm...> - 2007-09-17 10:43:10
       | 
| Ok I've found the solution.
In the system properties, in the hardware manager, I'd a look at=20
"hardware identification numbers" and use exactly the same in the .inf :
    USB\Vid_03eb&Pid_ff07&Rev_0100&MI_03
=2EINF changes :
[Devices]
;;;"TUX RF DONGLE"=3DLIBUSB_DEV, USB\VID_03eb&PID_ff07
"TUX RF DONGLE"=3DLIBUSB_DEV, USB\VID_03eb&PID_ff07&Rev_0100&MI_03
[Devices.NT]
;;;"TUX RF DONGLE"=3DLIBUSB_DEV, USB\VID_03eb&PID_ff07
"TUX RF DONGLE"=3DLIBUSB_DEV, USB\VID_03eb&PID_ff07&Rev_0100&MI_03
and it's work !
In system hardware properties I've got :
    LibUSB-Win32 Devices
       TUX RF DONGLE
#Cyrille37# a =E9crit :
> Hello,
>
> I've just got a Tux Droid (tuxisalive.com) and all software are for=20
> Linux. That's normal ;-)
> But I would like to develop software to run the Tux Droid on windows.=20
> The first step is to install an USB Driver for it.
>
> I used inf-wizard.exe to generate the .inf File. At this point it's=20
> working. It generate a .inf file for USB Vendor ID: 03EB ProductID: FF0=
7
> The problem is when I plug the device and point the install wizard to=20
> the .inf file, windows tell that there is not device information in=20
> that file (the message is in french so I can't give the exact english=20
> version).
>
> Perhaps it miss something, like a device familly for windows ? I=20
> really don't find any idea to make it work.
>
> Thanks for help
> cyrille.
>
> Here is the generated .inf file :
>
> [Version]
> Signature =3D "$Chicago$"
> provider  =3D %manufacturer%
> DriverVer =3D 03/20/2007,0.1.12.1
> CatalogFile =3D TuxDroid.cat
> CatalogFile.NT =3D TuxDroid.cat
> CatalogFile.NTAMD64 =3D TuxDroid_x64.cat
>
> Class =3D LibUsbDevices
> ClassGUID =3D {EB781AAF-9C70-4523-A5DF-642A87ECA567}
>
> [ClassInstall]
> AddReg=3Dlibusb_class_install_add_reg
>
> [ClassInstall32]
> AddReg=3Dlibusb_class_install_add_reg
>
> [libusb_class_install_add_reg]
> HKR,,,,"LibUSB-Win32 Devices"
> HKR,,Icon,,"-20"
>
> [Manufacturer]
> %manufacturer%=3DDevices,NT,NTAMD64
>
> ;----------------------------------------------------------------------=
----=20
>
> ; Files
> ;----------------------------------------------------------------------=
----=20
>
>
> [SourceDisksNames]
> 1 =3D "Libusb-Win32 Driver Installation Disk",,
>
> [SourceDisksFiles]
> libusb0.sys =3D 1,,
> libusb0.dll =3D 1,,
> libusb0_x64.sys =3D 1,,
> libusb0_x64.dll =3D 1,,
>
> [DestinationDirs]
> libusb_files_sys =3D 10,system32\drivers
> libusb_files_sys_x64 =3D 10,system32\drivers
> libusb_files_dll =3D 10,system32
> libusb_files_dll_wow64 =3D 10,syswow64
> libusb_files_dll_x64 =3D 10,system32
>
> [libusb_files_sys]
> libusb0.sys
>
> [libusb_files_sys_x64]
> libusb0.sys,libusb0_x64.sys
>
> [libusb_files_dll]
> libusb0.dll
>
> [libusb_files_dll_wow64]
> libusb0.dll
>
> [libusb_files_dll_x64]
> libusb0.dll,libusb0_x64.dll
>
> ;----------------------------------------------------------------------=
----=20
>
> ; Device driver
> ;----------------------------------------------------------------------=
----=20
>
>
> [LIBUSB_DEV]
> CopyFiles =3D libusb_files_sys, libusb_files_dll
> AddReg    =3D libusb_add_reg
>
> [LIBUSB_DEV.NT]
> CopyFiles =3D libusb_files_sys, libusb_files_dll
>
> [LIBUSB_DEV.NTAMD64]
> CopyFiles =3D libusb_files_sys_x64, libusb_files_dll_wow64,=20
> libusb_files_dll_x64
>
> [LIBUSB_DEV.HW]
> DelReg =3D libusb_del_reg_hw
> AddReg =3D libusb_add_reg_hw
>
> [LIBUSB_DEV.NT.HW]
> DelReg =3D libusb_del_reg_hw
> AddReg =3D libusb_add_reg_hw
>
> [LIBUSB_DEV.NTAMD64.HW]
> DelReg =3D libusb_del_reg_hw
> AddReg =3D libusb_add_reg_hw
>
> [LIBUSB_DEV.NT.Services]
> AddService =3D libusb0, 0x00000002, libusb_add_service
>
> [LIBUSB_DEV.NTAMD64.Services]
> AddService =3D libusb0, 0x00000002, libusb_add_service
>
> [libusb_add_reg]
> HKR,,DevLoader,,*ntkern
> HKR,,NTMPDriver,,libusb0.sys
>
> ; Older versions of this .inf file installed filter drivers. They are n=
ot
> ; needed any more and must be removed
> [libusb_del_reg_hw]
> HKR,,LowerFilters
> HKR,,UpperFilters
>
> ; Device properties
> [libusb_add_reg_hw]
> HKR,,SurpriseRemovalOK, 0x00010001, 1
>
> ;----------------------------------------------------------------------=
----=20
>
> ; Services
> ;----------------------------------------------------------------------=
----=20
>
>
> [libusb_add_service]
> DisplayName    =3D "LibUsb-Win32 - Kernel Driver 03/20/2007, 0.1.12.1"
> ServiceType    =3D 1
> StartType      =3D 3
> ErrorControl   =3D 0
> ServiceBinary  =3D %12%\libusb0.sys
>
> ;----------------------------------------------------------------------=
----=20
>
> ; Devices
> ;----------------------------------------------------------------------=
----=20
>
>
> [Devices]
> "Tux Droid"=3DLIBUSB_DEV, USB\VID_03eb&PID_ff07
>
> [Devices.NT]
> "Tux Droid"=3DLIBUSB_DEV, USB\VID_03eb&PID_ff07
>
> [Devices.NTAMD64]
> "Tux Droid"=3DLIBUSB_DEV, USB\VID_03eb&PID_ff07
>
>
> ;----------------------------------------------------------------------=
----=20
>
> ; Strings
> ;----------------------------------------------------------------------=
----=20
>
>
> [Strings]
> manufacturer =3D "TuxIsAlive"
>
>
 |