Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2012 20:23:57 +0700
From:      Erich Dollansky <erichfreebsdlist@ovitrap.com>
To:        Manish Jain <bourne.identity@hotmail.com>
Cc:        Matthias Apitz <guru@unixarea.de>, freebsd-questions@freebsd.org
Subject:   Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?
Message-ID:  <20120725202357.584a931f@AMD620.ovitrap.com>
In-Reply-To: <BLU0-SMTP1716BB70E64EAA958F76B9BF6DC0@phx.gbl>
References:  <BLU0-SMTP1086684ACF08C894823C3B0F6D80@phx.gbl> <20120721133611.GA3755@tinyCurrent> <BLU0-SMTP1571F208F049EDC078EC837F6DD0@phx.gbl> <201207231737.43075.erichfreebsdlist@ovitrap.com> <BLU0-SMTP1716BB70E64EAA958F76B9BF6DC0@phx.gbl>

index | next in thread | previous in thread | raw e-mail

Hi,

On Tue, 24 Jul 2012 14:29:07 +0530
Manish Jain <bourne.identity@hotmail.com> wrote:

> On 23-Jul-12 16:07, Erich Dollansky wrote:
> > Hi,
> >
> > On Monday 23 July 2012 16:46:04 Manish Jain wrote:
> >> On 21-Jul-12 19:06, Matthias Apitz wrote:
> >>> El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish
> >>> Jain escribió:
> >>>
> >
> >> I am still stuck because I can't know the syntax to run usbdump.
> >> usbdump
> >
> > man usbdump
> >
> > usbconfig gives you the device numbers.

I got something wrong.

It is all done by usbconfig

usbconfig without any parameters gives you a list of devices. One entry
should look like this:

ugen0.4: <Huawei CDMA Technologies MSM Huawei, Incorporated> at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

You enter then

usbconfig -u 0 -a 4 dump_device_desc

and you should get something like this:

ugen0.4: <Huawei CDMA Technologies MSM Huawei, Incorporated> at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x12d1 
  idProduct = 0x1803 
  bcdDevice = 0x0000 
  iManufacturer = 0x0003  <Huawei, Incorporated>
  iProduct = 0x0002  <Huawei CDMA Technologies MSM>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 

You try to find a solution from the other side of the rope. I think we
better start here first.

Erich


help

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