[Gta04-owner] Windows and the GTA04

Josua Mayer josua.mayer97 at googlemail.com
Sat Jun 22 01:36:10 CEST 2013


Hello everyone

For a while now I have been forced to work with windows so I took the 
time to get USB Network working with  my gta04. Windows has a RNDIS 
Driver included. The only thing left to do was write an .inf file for 
the device. Thankfully there is a template by Microsoft [1]. I made an 
inf file that works on my windows 7 laptop and should work on any 
windows vista/7/8. Windows XP x64 Edition was trickier. It seems that 
it`s version of rndis is older so I modified the inf to work with that 
older version successfully. I think this inf also applies to xp 32bit 
edition. Anyone who is bound to sue windows, have fun.

Regards
Josua Mayer

PS: rndis52 ->  XP; rndis60 -> vista/7/8
[1] http://msdn.microsoft.com/en-us/library/ff570620.aspx

-------------- next part --------------
; Remote NDIS template device setup file
; Copyright (c) Microsoft Corporation
;
; This is the template for the INF installation script  for the RNDIS-over-USB
; host driver that leverages the newer NDIS 6.x miniport(rndismp6.sys) for
; improved performance. This INF works for Windows Vista, Windows Server 2008
; and later operating systems on x86, amd64 and ia64 platforms.
;
; Template taken from http://msdn.microsoft.com/en-us/library/ff570620.aspx

[Version]
Signature           = "$Windows NT$"
Class               = Net
ClassGUID           = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider            = %Goldelico%
DriverVer           = 10/01/2002,5.2.3790.3959
;CatalogFile        = device.cat

[Manufacturer]
%Goldelico%         = RndisDevices,NTx86,NTamd64,NTia64

; Decoration for x86 architecture
[RndisDevices.NTx86]
%RndisDevice%    = RNDIS.NT.5.2, USB\VID_0525&PID_A4A2

; Decoration for x64 architecture
[RndisDevices.NTamd64]
%RndisDevice%    = RNDIS.NT.5.2, USB\VID_0525&PID_A4A2

; Decoration for ia64 architecture
[RndisDevices.NTia64]
%RndisDevice%    = RNDIS.NT.5.2, USB\VID_0525&PID_A4A2

;@@@ This is the common setting for setup
[ControlFlags]
ExcludeFromSelect=*

; DDInstall section
; References the in-build Netrndis.inf
[RNDIS.NT.5.2]
Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
BusType         = 15
; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF
include         = netrndis.inf
needs           = usb_rndis.ndi
AddReg          = Rndis_AddReg
*IfType            = 6    ; IF_TYPE_ETHERNET_CSMACD.
*MediaType         = 16   ; NdisMediumNative802_11
*PhysicalMediaType = 14   ; NdisPhysicalMedium802_3

; DDInstal.Services section
[RNDIS.NT.5.2.Services]
include     = netrndis.inf
needs       = usb_rndis.ndi.Services

; Optional registry settings. You can modify as needed.
[RNDIS_AddReg] 

; No sys copyfiles - the sys files are already in-build 
; (part of the operating system).

; Modify these strings for your device as needed.
[Strings]
Goldelico             = "Golden Delicious Computers GmbH&Co. KG"
RndisDevice           = "GTA04 USB Ethernet Gadget"
-------------- next part --------------
; Remote NDIS template device setup file
; Copyright (c) Microsoft Corporation
;
; This is the template for the INF installation script  for the RNDIS-over-USB
; host driver that leverages the newer NDIS 6.x miniport(rndismp6.sys) for
; improved performance. This INF works for Windows Vista, Windows Server 2008
; and later operating systems on x86, amd64 and ia64 platforms.
;
; Template taken from http://msdn.microsoft.com/en-us/library/ff570620.aspx

[Version]
Signature           = "$Windows NT$"
Class               = Net
ClassGUID           = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider            = %Goldelico%
DriverVer           = 07/21/2008,6.0.6000.16384
;CatalogFile        = device.cat

[Manufacturer]
%Goldelico%         = RndisDevices,NTx86,NTamd64,NTia64

; Decoration for x86 architecture
[RndisDevices.NTx86]
%RndisDevice%    = RNDIS.NT.6.0, USB\VID_0525&PID_A4A2

; Decoration for x64 architecture
[RndisDevices.NTamd64]
%RndisDevice%    = RNDIS.NT.6.0, USB\VID_0525&PID_A4A2

; Decoration for ia64 architecture
[RndisDevices.NTia64]
%RndisDevice%    = RNDIS.NT.6.0, USB\VID_0525&PID_A4A2

;@@@ This is the common setting for setup
[ControlFlags]
ExcludeFromSelect=*

; DDInstall section
; References the in-build Netrndis.inf
[RNDIS.NT.6.0]
Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
BusType         = 15
; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF
include         = netrndis.inf
needs           = usbrndis6.ndi
AddReg          = Rndis_AddReg
*IfType            = 6    ; IF_TYPE_ETHERNET_CSMACD.
*MediaType         = 16   ; NdisMediumNative802_11
*PhysicalMediaType = 14   ; NdisPhysicalMedium802_3

; DDInstal.Services section
[RNDIS.NT.6.0.Services]
include     = netrndis.inf
needs       = usbrndis6.ndi.Services

; Optional registry settings. You can modify as needed.
[RNDIS_AddReg] 

; No sys copyfiles - the sys files are already in-build 
; (part of the operating system).

; Modify these strings for your device as needed.
[Strings]
Goldelico             = "Golden Delicious Computers GmbH&Co. KG"
RndisDevice           = "GTA04 USB Ethernet Gadget"


More information about the Gta04-owner mailing list