Multifunction Composite Gadget Driver Download For Windows



Drivers & Downloads; Product Registration. Monochrome Digital Multifunction Imaging System Imaging System. Laser Dry Electrostatic Transfer Developing System. UFR II: Windows® 2000/XP/Server 2003, Vista, Citrix MetaFrame, Macintosh® OS X (OS 10.2.8 or Later). Get drivers and downloads for your Dell Dell 1600n Multifunction Mono Laser Printer. Download and install the latest drivers, firmware and software. Download drivers for HP USB Composite Device Wi-Fi devices (Windows 10 x64), or install DriverPack Solution software for automatic driver download and update Are you tired of looking for the drivers.

Overview¶

Gadget drivers FunctionFS - rewrite of GadgetFS to support userspace gadget functions that can be combined into a USB composite gadget. USB Gadget ConfigFS - interface that allows definition of arbitrary functions and configurations to define an application specific USB composite. It uses a standard linux driver which presents vendor ID 1d6b (linux foundation) and PID 0104 (multifunction composite gadget) when it is plugged in to a USB port. We have not had to make a custom INF file for this device, because we have for many years been able to tell windows machines (windows 7 and 10) manually via the device manager to use.

The Multifunction Composite Gadget (or g_multi) is a composite gadgetthat makes extensive use of the composite framework to providea… multifunction gadget.

In it’s standard configuration it provides a single USB configurationwith RNDIS[1] (that is Ethernet), USB CDC[2] ACM (that is serial) andUSB Mass Storage functions.

A CDC ECM (Ethernet) function may be turned on via a Kconfig optionand RNDIS can be turned off. If they are both enabled the gadget willhave two configurations – one with RNDIS and another with CDC ECM[3].

Please note that if you use non-standard configuration (that is enableCDC ECM) you may need to change vendor and/or product ID.

Host drivers¶

To make use of the gadget one needs to make it work on host side –without that there’s no hope of achieving anything with the gadget.As one might expect, things one need to do very from system to system.

Linux host drivers¶

Since the gadget uses standard composite framework and appears as suchto Linux host it does not need any additional drivers on Linux hostside. All the functions are handled by respective drivers developedfor them.

This is also true for two configuration set-up with RNDISconfiguration being the first one. Linux host will use the secondconfiguration with CDC ECM which should work better under Linux.

Windows host drivers¶

For the gadget to work under Windows two conditions have to be met:

Detecting as composite gadget¶

First of all, Windows need to detect the gadget as an USB compositegadget which on its own have some conditions[4]. If they are met,Windows lets USB Generic Parent Driver[5] handle the device which thentries to match drivers for each individual interface (sort of, don’tget into too many details).

The good news is: you do not have to worry about most of theconditions!

The only thing to worry is that the gadget has to have a singleconfiguration so a dual RNDIS and CDC ECM gadget won’t work unless youcreate a proper INF – and of course, if you do submit it!

Installing drivers for each function¶

The other, trickier thing is making Windows install drivers for eachindividual function.

For mass storage it is trivial since Windows detect it’s an interfaceimplementing USB Mass Storage class and selects appropriate driver.

Things are harder with RDNIS and CDC ACM.

RNDIS¶

To make Windows select RNDIS drivers for the first function in thegadget, one needs to use the [[file:linux.inf]] file provided with thisdocument. It “attaches” Window’s RNDIS driver to the first interfaceof the gadget.

Please note, that while testing we encountered some issues[6] whenRNDIS was not the first interface. You do not need to worry abut itunless you are trying to develop your own gadget in which case watchout for this bug.

CDC ACM¶

Similarly, [[file:linux-cdc-acm.inf]] is provided for CDC ACM.

Customising the gadget¶

If you intend to hack the g_multi gadget be advised that rearrangingfunctions will obviously change interface numbers for each of thefunctionality. As an effect provided INFs won’t work since they haveinterface numbers hard-coded in them (it’s not hard to change thosethough[7]).

This also means, that after experimenting with g_multi and changingprovided functions one should change gadget’s vendor and/or product IDso there will be no collision with other customised gadgets or theoriginal gadget.

Failing to comply may cause brain damage after wondering for hours whythings don’t work as intended before realising Windows have cachedsome drivers information (changing USB port may sometimes help plusyou might try using USBDeview[8] to remove the phantom device).

INF testing¶

Provided INF files have been tested on Windows XP SP3, Windows Vistaand Windows 7, all 32-bit versions. It should work on 64-bit versionsas well. It most likely won’t work on Windows prior to Windows XPSP2.

Other systems¶

At this moment, drivers for any other systems have not been tested.Knowing how MacOS is based on BSD and BSD is an Open Source it isbelieved that it should (read: “I have no idea whether it will”) workout-of-the-box.

For more exotic systems I have even less to say…

Multifunction Composite Gadget Driver Download For Windows 8

Gadget

Any testing and drivers arewelcome!

Authors¶

This document has been written by Michal Nazarewicz([[mailto:mina86@mina86.com]]). INF files have been hacked withsupport of Marek Szyprowski ([[mailto:m.szyprowski@samsung.com]]) andXiaofan Chen ([[mailto:xiaofanc@gmail.com]]) basing on the MS RNDIStemplate[9], Microchip’s CDC ACM INF file and David Brownell’s([[mailto:dbrownell@users.sourceforge.net]]) original INF files.

Footnotes¶

[1] Remote Network Driver Interface Specification,[[http://msdn.microsoft.com/en-us/library/ee484414.aspx]].

[2] Communications Device Class Abstract Control Model, spec for thisand other USB classes can be found at[[http://www.usb.org/developers/devclass_docs/]].

[3] CDC Ethernet Control Model.

[4] [[http://msdn.microsoft.com/en-us/library/ff537109(v=VS.85).aspx]]

[5] [[http://msdn.microsoft.com/en-us/library/ff539234(v=VS.85).aspx]]

[6] To put it in some other nice words, Windows failed to respond toany user input.

[7] You may find [[http://www.cygnal.org/ubb/Forum9/HTML/001050.html]]useful.

Multifunction Composite Gadget Driver Download For Windows 10

[8] http://www.nirsoft.net/utils/usb_devices_view.html

Multifunction Composite Gadget Driver Download For Windows Xp

[9] [[http://msdn.microsoft.com/en-us/library/ff570620.aspx]]