Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2009 12:02:39 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>, current@freebsd.org
Subject:   Re: 3G modem and USB, old & new
Message-ID:  <200901091202.41011.hselasky@c2i.net>
In-Reply-To: <3994.1231494833@critter.freebsd.dk>
References:  <3994.1231494833@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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