From owner-freebsd-usb@FreeBSD.ORG Mon May 23 20:58:12 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D13116A41C for ; Mon, 23 May 2005 20:58:12 +0000 (GMT) (envelope-from rucci@warganizer.com) Received: from mta10.srv.hcvlny.cv.net (mta10.srv.hcvlny.cv.net [167.206.4.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DED1443D1D for ; Mon, 23 May 2005 20:58:11 +0000 (GMT) (envelope-from rucci@warganizer.com) Received: from [192.168.1.100] (ool-18b92f9e.dyn.optonline.net [24.185.47.158]) by mta10.srv.hcvlny.cv.net (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0IGY0000GNJLPA@mta10.srv.hcvlny.cv.net> for freebsd-usb@freebsd.org; Mon, 23 May 2005 16:57:23 -0400 (EDT) Date: Mon, 23 May 2005 16:58:17 -0400 From: Daniel Rucci In-reply-to: <200505231105.43045.hselasky@c2i.net> To: hselasky@c2i.net Message-id: <429243E9.1050403@warganizer.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050416) X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime References: <428A2350.6000603@warganizer.com> <4291725C.50504@warganizer.com> <200505231048.00554.hselasky@c2i.net> <200505231105.43045.hselasky@c2i.net> Cc: ticso@cicely.de, freebsd-usb@freebsd.org, Julian Elischer Subject: Re: force power over usb X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 20:58:12 -0000 Hans Petter Selasky wrote: >On Monday 23 May 2005 10:47, Hans Petter Selasky wrote: > > >>On Monday 23 May 2005 08:04, Daniel Rucci wrote: >> >> >>>Standard Device Descriptor: >>> bLength 18 >>> bDescriptorType 01 >>> bcdUSB 0110 >>> bDeviceClass 02 >>> bDeviceSubClass 00 >>> bDeviceProtocol 00 >>> bMaxPacketSize 8 >>> idVendor 22b8 >>> idProduct 4902 >>> bcdDevice 0001 >>> iManufacturer 1 >>> iProduct 2 >>> iSerialNumber 0 >>> bNumConfigurations 1 >>> >>>Configuration 0: >>> Standard Configuration Descriptor: >>> bLength 9 >>> bDescriptorType 02 >>> wTotalLength 67 >>> bNumInterface 2 >>> bConfigurationValue 1 >>> iConfiguration 4 >>> bmAttributes c0 (self-powered) >>> bMaxPower 50 (100 mA) >>> >>> >>There is only one configuration, and that configuration is self-powered, so >>I'm not sure if that cable is for charging. But do you know if it charges >>under other OS'es ? >> >> >> >>> Standard Interface Descriptor: >>> bLength 9 >>> bDescriptorType 04 >>> bInterfaceNumber 0 >>> bAlternateSetting 0 >>> bNumEndpoints 1 >>> bInterfaceClass 02 >>> >>> >>bInterfaceClass is "CDC" >> >> >> >>> bInterfaceSubClass 02 >>> >>> >>bInterfaceSubClass is "ABSTRACT_CONTROL_MODEL" >> >> >> >>> bInterfaceProtocol 01 >>> iInterface 5 >>> >>> >>according to defines in /sys/dev/usb/* >> >> >> >>> Standard Interface Descriptor: >>> bLength 9 >>> bDescriptorType 04 >>> bInterfaceNumber 1 >>> bAlternateSetting 0 >>> bNumEndpoints 2 >>> bInterfaceClass 0a >>> bInterfaceSubClass 00 >>> bInterfaceProtocol 00 >>> iInterface 16 >>> >>> > >Looked at the wrong numbers: > >bInterfaceClass is "UICLASS_CDC_DATA". > >bInterfaceSubClass is "UISUBCLASS_DATA". > >Maybe "umodem" supports this? Try "kldload umodem" and replug your device. >Does it still appear as "ugen0"? > > kldload umodem does the trick! thanks, for future reference how did you figure that out from looking at that output? [...] Thanks, Dan