usb rndis

Andriy Gapon avg at icyb.net.ua
Thu Sep 27 08:56:07 PDT 2007


What is status of support of USB devices that talk (MS) RNDIS ?
Are there any news or clever hacks ?

Essentially I am trying to connect to internet my FreeBSD computer using
GPRS via Asus P535 device that runs WM5 (AKU 3). I use "Internet
Sharing" program on the device side.
I tried using cdce but it doesn't attach to my device.

I am open to any suggestions both on PC and device sides.
Dump from udesc_dump follows. As I understand from
http://www.usb.org/developers/defined_class
class e0, subclass 1, protocol 3 seems to mean "Remote NDIS".
There is a huge linux patch that seems to be designed to add or improve
RNDIS support:
http://riksun.riken.go.jp/pub/pub/Linux/kernel/people/gregkh/gregkh-2.6/gregkh-03-usb-2.6.20-rc1-git7.patch

Standard Device Descriptor:
  bLength            18
  bDescriptorType    01
  bcdUSB             0200
  bDeviceClass       e0
  bDeviceSubClass    01
  bDeviceProtocol    03
  bMaxPacketSize     16
  idVendor           0b05
  idProduct          424f
  bcdDevice          0000
  iManufacturer      1
  iProduct           2
  iSerialNumber      3
  bNumConfigurations 1

Configuration 0:
	Standard Configuration Descriptor:
	  bLength             9
	  bDescriptorType     02
	  wTotalLength        62
	  bNumInterface       2
	  bConfigurationValue 1
	  iConfiguration      0
	  bmAttributes        80
	  bMaxPower           250 (500 mA)

	Standard Interface Descriptor:
	  bLength            9
	  bDescriptorType    04
	  bInterfaceNumber   0
	  bAlternateSetting  0
	  bNumEndpoints      1
	  bInterfaceClass    e0
	  bInterfaceSubClass 01
	  bInterfaceProtocol 03
	  iInterface         0

		Descriptor:
		  bLength            5
		  bDescriptorType    24
		  bDescriptorSubtype 01
		05 24 01 00 01

		Descriptor:
		  bLength            4
		  bDescriptorType    24
		  bDescriptorSubtype 02
		04 24 02 00

		Descriptor:
		  bLength            5
		  bDescriptorType    24
		  bDescriptorSubtype 02
		05 24 02 00 01

	Standard Endpoint Descriptor:
	  bLength          7
	  bDescriptorType  05
	  bEndpointAddress 81 (in)
	  bmAttributes     03 (Interrupt)
	  wMaxPacketSize   8
	  bInterval        1

	Standard Interface Descriptor:
	  bLength            9
	  bDescriptorType    04
	  bInterfaceNumber   1
	  bAlternateSetting  0
	  bNumEndpoints      2
	  bInterfaceClass    0a
	  bInterfaceSubClass 00
	  bInterfaceProtocol 00
	  iInterface         0

	Standard Endpoint Descriptor:
	  bLength          7
	  bDescriptorType  05
	  bEndpointAddress 82 (in)
	  bmAttributes     02 (Bulk)
	  wMaxPacketSize   64
	  bInterval        0

	Standard Endpoint Descriptor:
	  bLength          7
	  bDescriptorType  05
	  bEndpointAddress 03 (out)
	  bmAttributes     02 (Bulk)
	  wMaxPacketSize   64
	  bInterval        0

Codes Representing Languages by the Device:
  bLength          4
  bDescriptorType  03
  wLANGID[0]       0409

String (index 1): ASUS

String (index 2): ASUS Windows Mobile Device

String (index 3): f553b4ec-0dee-9dcc-7a63-40a7b4d674b9


-- 
Andriy Gapon


More information about the freebsd-mobile mailing list