Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RNDIS and CDC ethernet



hi all,

I'm new to writing driver and i have to write a driver for a DSL modem supposed to be compliant to the RNDIS protocol but I don't find that much documentation on writing driver for RNDIS devices.

Someone could tell me the difference between RNDIS and CDC ethernet or are they just different names for the same protocol ?
I'm asking this because we use to have a working version of the driver but since the modem is RNDIS compliant the driver doesn't work anymore.


I can open the interfaces and get the different pipe but as soon as I am trying to send data to the modem it reboots. When I try to read the interrupt pipe I get kIOReturnError but the pipe is OK I test it before with getPipeStatus. If someone got a clue ?



Regards
Mathieu


here is the output of the USB Prober

Full Speed device @ 2 (0x19100000): ............................................. Communication device from unknown vendor
Device Descriptor
Descriptor Version Number: 0x0110
Device Class: 2 (Communication)
Device Subclass: 0
Device Protocol: 0
Device MaxPacketSize: 8
Device VendorID/ProductID: 0x12A7/0x3160 (unknown vendor)
Device Version Number: 0x0001
Number of Configurations: 1
Manufacturer String: 0 (none)
Product String: 0 (none)
Serial Number String: 0 (none)
Configuration Descriptor
Total Length of Descriptor: 67
Number of Interfaces: 2
Configuration Value: 1
Attributes: 0x80 (bus-powered)
MaxPower: 200 ma
Interface #0 - Communications-Control
Alternate Setting 0
Number of Endpoints 1
Interface Class: 2 (Communications-Control)
Interface Subclass; 2
Interface Protocol 255
Comm Class Header Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 00 10 01
Comm Class Call Management Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 01 00 00
Comm Class Abstract Control Management Functional Descriptor
Raw Descriptor (hex) 0000: 04 24 02 00
Comm Class Union Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 06 00 01
Endpoint 0x83 - Interrupt Input
Attributes: 0x83 (IN)
Attributes: 0x03 (Interrupt)
Max Packet Size: 8
Polling Interval: 1 ms
Interface #1 - Communications-Data/Unknown Comm Class Model
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
Attributes: 0x81 (IN)
Attributes: 0x02 (Bulk)
Max Packet Size: 64
Polling Interval: 0 ms
Endpoint 0x02 - Bulk Output
Attributes: 0x02 (OUT)
Attributes: 0x02 (Bulk)
Max Packet Size: 64
Polling Interval: 0 ms
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.