Re: 3G modem and USB, old & new

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Fri, 9 Jan 2009 12:02:39 +0100
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
Received on Fri Jan 09 2009 - 10:00:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC