3G modem and USB, old & new

Hans Petter Selasky hselasky at c2i.net
Fri Jan 9 03:00:50 PST 2009


On Friday 09 January 2009, Poul-Henning Kamp wrote:
> I tried using my 3g modem (Huawei E196) yesterday, with both the
> old and the new USB stack, and it fails in slightly different
> ways.
>
> With the old USB stack, it works until I actually try to get a packet
> of more than approx 1024 bytes through, at which point it hangs with
> 	ucom0: ucomreadcb: IOERROR
> And I need to stop and start ppp(1) to get it working until the next
> big packet comes around.
>
> It does not help to reduce the MRU because two small packets back to
> back will also trigger this error.
>
> With the new USB stack, I am not able to talk to the modem at all
> using the cuaU* devices.

Hi,

With regard to the new USB stack:

Do you see any USB error messages in dmesg?

What does the dmesg print out?

Also there are debugging sysctls:

sysctl -a hw.usb2 | grep debug

Also try dumping the descriptors of your device using "usbconfig -u xxx -a yyy 
dump_device_desc dump_curr_config_desc".

You can also try things like:

usbconfig -u xxx -a yyy reset

--HPS


More information about the freebsd-current mailing list