Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2005 11:05:41 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Cc:        ticso@cicely.de, Julian Elischer <julian@elischer.org>, Daniel Rucci <rucci@warganizer.com>
Subject:   Re: force power over usb
Message-ID:  <200505231105.43045.hselasky@c2i.net>
In-Reply-To: <200505231048.00554.hselasky@c2i.net>
References:  <428A2350.6000603@warganizer.com> <4291725C.50504@warganizer.com> <200505231048.00554.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ?
>
> > =A0 =A0 Standard Interface Descriptor:
> > =A0 =A0 =A0 bLength =A0 =A0 =A0 =A0 =A0 =A09
> > =A0 =A0 =A0 bDescriptorType =A0 =A004
> > =A0 =A0 =A0 bInterfaceNumber =A0 0
> > =A0 =A0 =A0 bAlternateSetting =A00
> > =A0 =A0 =A0 bNumEndpoints =A0 =A0 =A01
> > =A0 =A0 =A0 bInterfaceClass =A0 =A002
>
> bInterfaceClass is "CDC"
>
> > =A0 =A0 =A0 bInterfaceSubClass 02
>
> bInterfaceSubClass is "ABSTRACT_CONTROL_MODEL"
>
> > =A0 =A0 =A0 bInterfaceProtocol 01
> > =A0 =A0 =A0 iInterface =A0 =A0 =A0 =A0 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.=
=20
Does it still appear as "ugen0"?

=2D-HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505231105.43045.hselasky>