Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2009 18:15:19 +1930
From:      Alberto Mijares <amijaresp@gmail.com>
To:        Nick Hibma <nick@van-laarhoven.org>, freebsd-hardware@freebsd.org
Subject:   Re: Modem GSM/GPRS
Message-ID:  <286906750902171445s24ab7d29s7cf8f2eedf0fa376@mail.gmail.com>
In-Reply-To: <286906750902171420h5815eaccp60e20abb0d097c21@mail.gmail.com>
References:  <286906750902130802q2ec86267ye5ae0832ab9a3aa4@mail.gmail.com> <200902132209.52793.hselasky@c2i.net> <286906750902140111i62d94f78w3921951f072cb930@mail.gmail.com> <200902172203.19534.nick@van-laarhoven.org> <286906750902171420h5815eaccp60e20abb0d097c21@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 18, 2009 at 5:50 PM, Alberto Mijares <amijaresp@gmail.com> wrote:
> On Wed, Feb 18, 2009 at 4:33 PM, Nick Hibma <nick@van-laarhoven.org> wrote:
>> Alberto,
>>
>> Could you remove u3g again from your kernel, so the device attaches to ugen
>> and then dump its descriptors using usbgen?
>>
>>        usbgen -f /dev/ugen0 -D
>>
>> where ugen0 is the device mentioned in the dmesg.
>>
>> Thanks.
>>
>> Nick
>>
>
> There is no such usbgen command in my system nor the ports tree (Am I
> lost in the moon?). Where can I find it?

I'm sorry. I've been too lazy last days. I found it already (sysutils/usbutil).

Here goes:

# usbgen -f /dev/ugen0 -D
DEVICE descriptor:
bLength=18 bDescriptorType=1 bcdUSB=1.10 bDeviceClass=0 bDeviceSubClass=0
bDeviceProtocol=0 bMaxPacketSize=64
idVendor=0x10c4 idProduct=0x8053 bcdDevice=100
iManufacturer=1 iProduct=2 iSerialNumber=3 bNumConfigurations=1

Current configuration is number 1

CONFIGURATION descriptor index 0:
bLength=9 bDescriptorType=2 wTotalLength=32 bNumInterface=1
bConfigurationValue=1 iConfiguration=0 bmAttributes=80 bMaxPower=500 mA

  INTERFACE descriptor index 0, alt index 0:
  bLength=9 bDescriptorType=4 bInterfaceNumber=0 bAlternateSetting=0
  bNumEndpoints=2 bInterfaceClass=255 bInterfaceSubClass=0
  bInterfaceProtocol=0 iInterface=2

    ENDPOINT descriptor index 0:
    bLength=7 bDescriptorType=5 bEndpointAddress=1-in
    bmAttributes=2 wMaxPacketSize=64 bInterval=0

    ENDPOINT descriptor index 1:
    bLength=7 bDescriptorType=5 bEndpointAddress=1-out
    bmAttributes=2 wMaxPacketSize=64 bInterval=0



Seems the same info...

Regards.


Alberto Mijares



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