Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2011 10:51:12 +0200
From:      =?UTF-8?B?0JLQvtC70L7QtNC40LzQuNGAINCa0L7RgdGC0LjRgNC60L4=?= <c.kworr@gmail.com>
To:        freebsd-usb@freebsd.org
Subject:   Sierra Wireless AC595U after 8.2 upgrade
Message-ID:  <4D661C00.602@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all. Am I too quick?

 > uname -a
FreeBSD chmmr.3501.lan 8.2-RELEASE FreeBSD 8.2-RELEASE #0 r218964: Wed 
Feb 23 13:41:25 EET 2011 
arcade@chmmr.3501.lan:/usr/obj/usr/src/sys/MINIMAL_8  amd64

# /usr/sbin/usbconfig -d 1.2 -i 0 dump_info
ugen1.2: <Sierra Wireless AC595U Device Sierra Wireless, Incorporated> 
at usbus1, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON

Feb 24 10:39:15 chmmr kernel: ugen1.2: <Sierra Wireless, Incorporated> 
at usbus1
Feb 24 10:39:15 chmmr kernel: u3g0: <Data Interface> on usbus1
Feb 24 10:39:15 chmmr kernel: u3g0: Found 3 ports.

My problem with this device was that upon disconnection device should be 
reset to connect one more time. On 8.1 I just did:

#!/bin/sh -

awk '
$0~/.*chmmr mpd: \[pnet] chat: warning: line buffer overflow/{
         system("/usr/sbin/usbconfig -d 1.2 -i 0 power_off; sleep 1; 
/usr/sbin/usbconfig -d 1.2 -i 0 power_save")
}'

This was done solely because `usbconfig ... reset` effectively did 
nothing. But after upgrading this results in:

Feb 24 10:30:07 chmmr kernel: u3g0: at uhub0, port 1, addr 2 (disconnected)

And com port never comes back. The only solution would be to unplug 
device then replug it again in at least 5 seconds.

Is there any other way to completely reset this device? Has anyone 
solved this problem before?

-- 
Sphinx of black quartz judge my vow.



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