How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

Erich Dollansky erichfreebsdlist at ovitrap.com
Wed Jul 25 13:21:36 UTC 2012


Hi,

On Tue, 24 Jul 2012 14:29:07 +0530
Manish Jain <bourne.identity at 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


More information about the freebsd-questions mailing list