On 9/2/2014 2:59 PM, atar wrote:
Typically, they will show up as /dev/cuaUx or /dev/cuaUx.x (note the capital U).

That's interesting since in the output of 'ls -lh /dev' in my PC it appears 
with no capital 'U'.

Thats your onboard serial ports (uart0 and uart1).


In addition, I've tried to initialize the both devices with 'ppp' but when I 
tried to enter the 'term' command, ppp hangs up and don't give me an option to 
send to the modem commands. Any idea what's the problem?

Did you load the driver (kldload u3g) ?
what is the output of
usbconfig

it should show something like

# usbconfig
ugen0.1: <OHCI root HUB AMD> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen1.1: <EHCI root HUB AMD> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.2: <product 0xf103 vendor 0x2001> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.3: <USB Modem U.S.Robotics> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: <Back-UPS ES 650 FW825.B1.D USB FWB1 APC> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen1.4: <ZTE CDMA Technologies MSM ZTE, Incorporated> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON


note the #s for the device. On mine, it shows 1.4. So do the matching command for yours so it provides the following output

 usbconfig -d 1.4 dump_device_desc
ugen1.4: <ZTE CDMA Technologies MSM ZTE, Incorporated> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x0000
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x19d2
  idProduct = 0x0031
  bcdDevice = 0x0000
  iManufacturer = 0x0002  <ZTE, Incorporated>
  iProduct = 0x0001  <ZTE CDMA Technologies MSM>
  iSerialNumber = 0x0003  <1234567890ABCDEF>
  bNumConfigurations = 0x0001


Then provide the output of

# sysctl -a dev.u3g


        ---Mike



Regards,

Atar.

On 9/2/2014 10:29 AM, atar wrote:

I've a ZTE USB modem and I want to use it with FreeBSD. I've attached it to one of the 
USB slots on my PC and run the "ls -lh /dev/" command to see what's going on. 
I've saw that two modem devices have been created in the 'dialup' group: cuau0 and cuau1.

My question is why were two devices nodes created instead of one and how should 
I know which of them I need to use?

Typically, they will show up as /dev/cuaUx or /dev/cuaUx.x (note the capital U).  Make sure you 
have the u3g driver loaded as well. (kldload u3g).  Also, some ZTE sticks need to be put in 
"modem mode". This can often be done by sending the eject command to its "cdrom"

if its listed as pass0, try the command
camcontrol eject pass0

   ---Mike



--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/




--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
_______________________________________________
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to