Modem GSM/GPRS

Alberto Mijares amijaresp at gmail.com
Tue Feb 17 14:45:20 PST 2009


On Wed, Feb 18, 2009 at 5:50 PM, Alberto Mijares <amijaresp at gmail.com> wrote:
> On Wed, Feb 18, 2009 at 4:33 PM, Nick Hibma <nick at 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


More information about the freebsd-hardware mailing list