AJZaurusUSB

Issue 117: Support for RNDIS

Comment 1 by Nikolaus Schaller, Dec 20, 2010

Owner: hns

Comment 2 by Tom Coleman, Nov 13, 2011

I'd like to get USB tethering working on Snow Leopard with an HTC 
EVO 4G.  It has been reported that Lion works with the 4G out of the 
box.
 
Is this output from USB Prober a RNDIS signature?

       Interface #1 - Vendor-specific   
            Alternate Setting   0
            Number of Endpoints   2
            Interface Class:   255   (Vendor-specific)
            Interface Subclass;   66   (Vendor-specific)
            Interface Protocol:   1

Comment 3 by Tom Coleman, Nov 14, 2011

My mistake: I had USB Debugging turned on.  Interface Subclass 66 is 
Android ADB debugging.

Here's the output from USB Prober with USB Tethering enabled.

Sure looks like a RNDIS device to me.

High Speed device @ 3 (0x24100000): 
.............................................   Wireless 
Controller/Unknown device: "Android Phone"
    Port Information:   0x001a
           Not Captive
           Attached to Root Hub
           External Device
           Connected
           Enabled
    Device Descriptor   
        Descriptor Version Number:   0x0200
        Device Class:   224   (Wireless Controller)
        Device Subclass:   0   (Unknown)
        Device Protocol:   0   (Unknown)
        Device MaxPacketSize:   64
        Device VendorID/ProductID:   0x0BB4/0x0C03   (High Tech 
Computer, Corp. (HTC))
        Device Version Number:   0x0227
        Number of Configurations:   1
        Manufacturer String:   1 "HTC"
        Product String:   2 "Android Phone"
        Serial Number String:   3 "HT18........"
    Configuration Descriptor   
        Length (and contents):   75
        Number of Interfaces:   2
        Configuration Value:   1
        Attributes:   0xC0 (self-powered)
        MaxPower:   500 ma
        Interface Association   Wireless Controller/RF Controller
            First Interface   0
            Interface Count   2
            Function Class   224   (Wireless Controller)
            Function Subclass   1   (RF Controller)
            Interface Protocol   3
            Function String   6 "RNDIS"
        Interface #0 - Wireless Controller/RF Controller 
..............................................   "RNDIS 
Communications Control"
            Alternate Setting   0
            Number of Endpoints   1
            Interface Class:   224   (Wireless Controller)
            Interface Subclass;   1   (RF Controller)
            Interface Protocol:   3   (Unknown)
        Raw Descriptor (hex)   0000: 05 24 00 10 01 
        Raw Descriptor (hex)   0000: 05 24 01 00 01 
        Raw Descriptor (hex)   0000: 04 24 02 00 
        Raw Descriptor (hex)   0000: 05 24 06 00 01 
            Endpoint 0x82 - Interrupt Input   
                Address:   0x82  (IN)
                Attributes:   0x03  (Interrupt no synchronization 
data endpoint)
                Max Packet Size:   8  (8 x 1  transactions 
opportunities per microframe)
                Polling Interval:   9 (256 microframes (32 msecs) )
        Interface #1 - Communications-Data/Unknown Comm Class Model 
..............................................   "RNDIS 
Ethernet Data"
            Alternate Setting   0
            Number of Endpoints   2
            Interface Class:   10   (Communications-Data)
            Interface Subclass;   0   (Unknown Comm Class Model)
            Interface Protocol:   0
            Endpoint 0x81 - Bulk Input   
                Address:   0x81  (IN)
                Attributes:   0x02  (Bulk no synchronization data 
endpoint)
                Max Packet Size:   512
                Polling Interval:   0 ( Endpoint never NAKs)
            Endpoint 0x01 - Bulk Output   
                Address:   0x01  (OUT)
                Attributes:   0x02  (Bulk no synchronization data 
endpoint)
                Max Packet Size:   512
                Polling Interval:   0 ( Endpoint never NAKs)
    Device Qualifier Descriptor   
        Descriptor Version Number:   0x0200
        Device Class   224   (Wireless Controller)
        Device Subclass   0   (Unknown)
        Device Protocol   0   (Unknown)
        Device MaxPacketSize:   64
        Number of Configurations:   1
        bReserved:   0
    Other Speed Configuration Descriptor   
        Length (and contents):   75
        Number of Interfaces:   2
        Configuration Value:   1
        Attributes:   0xC0 (self-powered)
        MaxPower:   500 ma
        Interface Association   Wireless Controller/RF Controller
            First Interface   0
            Interface Count   2
            Function Class   224   (Wireless Controller)
            Function Subclass   1   (RF Controller)
            Interface Protocol   3
            Function String   6 "RNDIS"
        Interface #0 - Wireless Controller/RF Controller 
..............................................   "RNDIS 
Communications Control"
        Raw Descriptor (hex)   0000: 05 24 00 10 01 
        Raw Descriptor (hex)   0000: 05 24 01 00 01 
        Raw Descriptor (hex)   0000: 04 24 02 00 
        Raw Descriptor (hex)   0000: 05 24 06 00 01 
            Endpoint 0x82 - Interrupt Input   
                Address:   0x82  (IN)
                Attributes:   0x03  (Interrupt no synchronization 
data endpoint)
                Max Packet Size:   8
                Polling Interval:   32 ms
        Interface #1 - Communications-Data/Unknown Comm Class Model 
..............................................   "RNDIS 
Ethernet Data"
            Alternate Setting   0
            Number of Endpoints   2
            Interface Class:   10   (Communications-Data)
            Interface Subclass;   0   (Unknown Comm Class Model)
            Interface Protocol:   0
            Endpoint 0x81 - Bulk Input   
                Address:   0x81  (IN)
                Attributes:   0x02  (Bulk no synchronization data 
endpoint)
                Max Packet Size:   64
                Polling Interval:   0 ms
            Endpoint 0x01 - Bulk Output   
                Address:   0x01  (OUT)
                Attributes:   0x02  (Bulk no synchronization data 
endpoint)
                Max Packet Size:   64
                Polling Interval:   0 ms

Created: 8 years 3 months ago by Nikolaus Schaller

Updated: 7 years 3 days ago

Status: New

Owner: Nikolaus Schaller

Followed by: 1 person

Labels:
Priority:Medium
Type:Enhancement
Milestone:Release1.0