Re: Registering Interfaces

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ben Geib (BenGeib_at_discussions.microsoft.com)
Date: 07/14/04


Date: Wed, 14 Jul 2004 15:06:01 -0700

Thanks for the information. I now can distinguish among the different channels by
the filename created for each instance of the interface. However, I get an extra interface instance with no appended filename even though I didn't register any interface instances and specify the NULL as the reference string. Is this by design?

"Alexander Grigoriev" wrote:

> Use different ReferenceString arguments in IoRegisterDeviceInterface, with
> the same GUID.
>
> This argument will be passed to IRP_MJ_CREATE handler (in FILE_OBJECT as
> file name), to distinguish one channel from another.
>
> "Ben Geib" <BenGeib@discussions.microsoft.com> wrote in message
> news:A5A12D05-4E9A-4EFF-A546-C2BE4A16E2E3@microsoft.com...
> > I am developing a driver for a PCI device that has multiple communication
> channels. In an attempt to have each channel opened and used individually I
> have tried registering an interface for each channel in the AddDevice
> routine; that way a different handle may be used for each channel. However,
> enumeration of the interfaces in an application does not locate all of those
> registered in the driver. Should I even be using multiple interfaces or
> should I name my device object and subdivide its namespace for each channel?
> Thank you for your time.
>
>
>



Relevant Pages

  • [RFC PATCH 1/6] Driver Tracing Interface (DTI) Documentation
    ... named 'The Driver Tracing Interface ' after the title of our OLS ... The Driver Tracing Interface introduced here does essentially the same ... DTI is also very useful as a debugging tool for kernel development. ... single DTI channel across multiple 'subsystems' as well as custom ...
    (Linux-Kernel)
  • Kismet: ERROR: Unable to create VAP: Operation not supported
    ... Enabling channel splitting. ... Enabling monitor mode for madwifi_ag source interface ... wlan0 appears to not accept the Madwifi-NG controls. ... Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 ...
    (Ubuntu)
  • Re: Installing DD-WRT -
    ... few devices in use on a network with a lot of traffic. ... simultaneously, same channel, not true, if all on same channel or thru a ... interface would listen for it's ip. ... I believe they are "spread spectrum" devices which enables them to ...
    (Fedora)
  • Re: Recording system for student
    ... Any interface that accepts standard line levels can be used with any ... Another *very* important thing is driver support for devices, ... a 4 channel interface like the M-Audio "Fast Track Pro" ...
    (rec.audio.pro)
  • Re: [PATCH] w35und: fix usb_control_msg() error handling in wb35_probe()
    ... usb 1-3: new high speed USB device using ehci_hcd and address 4 ... wlan0 Interface doesn't support scanning: ... Frequency:2.412 GHz (Channel 1) ... IE: Unknown: 0004686F6D65 ...
    (Linux-Kernel)