Including mf.sys and mf.inf

  • Thread starter =?iso-8859-1?Q?Chris=20Dor=e9?=
  • Start date
?

=?iso-8859-1?Q?Chris=20Dor=e9?=

Hi all,

I have a device that requires the multi-function driver/inf, however I cannot
find any component for it (in order to add an appropriate dependency to my
component).

Does anyone know how I can get mf.sys and mf.inf installed along with my
device?


Thnaks, Chri
 
K

KM

The component is "Device: Multifunction".
Its Visibility is 100. You may want to lower your TD Min Visibility settings.
 
?

=?iso-8859-1?Q?Chris=20Dor=e9?=

KM,

Thanks for the info. I should have stated that I already tried "Device:
Multifunction". When resolving dependencies, all I get is a list of all
other multi-function devices (Brother devices, etc.). I didn't see a MF
only component.

If this is the way I have to go, I will. However it doesn't seem very intuitive
to add in a different device just to get some MS supplied functionality.


Another idea:
Create my own MF component and reference the XPe repository. that way I
could bring in the MF functionality alone. Sound feasible?


Thanks, Chris
 
K

KM

Chris,
Thanks for the info. I should have stated that I already tried "Device: Multifunction". When resolving dependencies, all I get
is a list of all other multi-function devices (Brother devices, etc.). I didn't see a MF only component.

Sorry, you lost me here. What did you mean you tried it? Did you manually add that component to your config?
The only dependency of the "Device: Multifunction" is, obviously, the corresponding class installer - "Class Installer -
Multifunciton Adapters". You should add it too.

There is no "MF" component in the dataabse. But the mf driver will be brought in by the "Device: Multifunction" component.
If this is the way I have to go, I will. However it doesn't seem very intuitive to add in a different device just to get some MS
supplied functionality.


Another idea:
Create my own MF component and reference the XPe repository. that way I could bring in the MF functionality alone. Sound
feasible?


Even easier. Created your own component and inherit from the "Device: Multifunction" component (set the "Device: Multifunction" as
the prototype for your coponent). Then you will get the base coponent functionality in your image.
 
?

=?iso-8859-1?Q?Chris=20Dor=e9?=

KM,
Sorry, you lost me here. What did you mean you tried it? Did you
manually add that component to your config?

Sorry about that, I'll explain my situation in more detail.

I'm creating my own component for a multi-port serial adapter. This component's
prototype is correspondingly set to "Device: MultiPortSerial". However,
the driver for this this device uses MF to create the child port devices.
Therefore the component has a dependency on "Device: MultiFunction" (I got
this dependency from inporting the driver's inf).

The problem is when TD resolves the dependencies. In order to resolve the
"Device: MultiFunction" dependency, it gives me a choice of all components
that are multi-function devices (I assume this is the list of components
that have a "Device: MultiFunction" prototype). Instead, all I want is mf.inf
and mf.sys included.

Hopefully this clears things up.


Thanks for your help,
Chris
 
K

KM

Chris,

Yes, it is clear now why you are having the problem.

Well, if you can't use the "Device: MultiFunction" as the prototype of your component you can always manually inherit its resources.
I.e. remove the "Device: MultiFunction" from dependency list of your own component. Add mf.inf and mf.sys to the file list. Those
files are already in the repository so you don't have to copy them to your own compoent repository.
 
?

=?iso-8859-1?Q?Chris=20Dor=e9?=

KM,

Thanks for your help.
I.e. remove the "Device: MultiFunction" from dependency list of your
own component. Add mf.inf and mf.sys to the file list. Those
files are already in the repository so you don't have to copy them to
your own compoent repository.

I was under the impression that I couldn't specify files outside my component's
repository. Thus I didn't think I would be able to just reference MF's files.
Thanks for straightening me out. :)


Thanks again, Chri
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top