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>

next in thread | previous in thread | raw e-mail | index | archive | help
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=EDa Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish
> >>> Jain escribi=F3:
> >>>
> >
> >> 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=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON

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=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON

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

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

Erich



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