Re: Configuration selection when RNDIS Host not enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/7/22 Michał Nazarewicz <m.nazarewicz@xxxxxxxxxxx>:
>>>> And it seems to me that it is not
>>>> a very good idea to have a USB Composite device with multiple
>>>> configurations. What is the use case for that?
>>>
>>> One with RNDIS another with CDC ECM?
>>
>> You do not need multiple configuration, just a USB
>> composite device will do. You can choose to use
>> the CDC ECM under Linux and RNDIS under Windows.
>
> Not sure what you mean?  You mean both interfaces in single
> configuration and use only one of them?

Yes.

>  A single interface that would detect if it is connected to
> Linux or Windows?

Under Windows the CDC-ECM interface will probably be
un-recognized. So this may not be an idea solution.

Another idea, still with one configuration. Set the RNDIS
as the default interface and CDC-ECM as the alternative
interface. If the Linux host does not have RNDIS support,
the alternative interface can be used.


-- 
Xiaofan http://sourceforge.net/projects/libusb-win32/
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux