From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 27 15:56:07 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90AA816A418; Thu, 27 Sep 2007 15:56:07 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 0914E13C458; Thu, 27 Sep 2007 15:56:06 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 70CED43DAC0; Thu, 27 Sep 2007 18:37:50 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZX8a7tqBz1pJ; Thu, 27 Sep 2007 18:37:50 +0300 (EEST) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 1A81243D4DE; Thu, 27 Sep 2007 18:37:50 +0300 (EEST) Message-ID: <46FBCE7D.8060409@icyb.net.ua> Date: Thu, 27 Sep 2007 18:38:37 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: usb rndis X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2007 15:56:07 -0000 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