From owner-freebsd-hardware@FreeBSD.ORG Mon Nov 14 23:25:56 2011 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADEAB1065742 for ; Mon, 14 Nov 2011 23:25:56 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7175A8FC08 for ; Mon, 14 Nov 2011 23:25:56 +0000 (UTC) Received: by ywe9 with SMTP id 9so4307228ywe.13 for ; Mon, 14 Nov 2011 15:25:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=tVvmjHZZVCgx0S1/+95fLcf8L+jXkuZkFwpHeN0vd2E=; b=JdRWflQFiIl2f8GN6t52DRVKoFzS4VqhZmRqzHWbHDwn+sIoFStjqwsDaKoxvzBp7T RI0xldHgIht+iuWCbsad5d1D2Hf0odWVtNECigQHxEe0a3JvjzIMzP/Ucb+zsD+izHcX 1H1kpQ6dQFE5N5Ot3Tej5frkGjXA+2xIG+1X4= MIME-Version: 1.0 Received: by 10.100.186.10 with SMTP id j10mr6607851anf.83.1321313155741; Mon, 14 Nov 2011 15:25:55 -0800 (PST) Received: by 10.100.227.7 with HTTP; Mon, 14 Nov 2011 15:25:55 -0800 (PST) In-Reply-To: <201111051539.49068.hselasky@c2i.net> References: <201111040941.28413.hselasky@c2i.net> <201111051539.49068.hselasky@c2i.net> Date: Mon, 14 Nov 2011 18:55:55 -0430 Message-ID: From: Alberto Mijares To: freebsd-hardware@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: How to debug USB hardware issues X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2011 23:25:56 -0000 On Sat, Nov 5, 2011 at 10:09 AM, Hans Petter Selasky wrote: > On Saturday 05 November 2011 15:19:14 Alberto Mijares wrote: >> > What does dmesg say when this failure occurs? >> > >> > Do you see the following sysctl: >> > >> > sysctl hw.usb.no_cs_fail >> > >> > I would start turn on debugging in the modem driver, compile kernel with >> > options USB_DEBUG, and then see what is printed at the time of failure. >> >> Hi, >> >> I already have USB_DEBUG option in kernel running and u3g debug. What >> info can I send you? I don't see anything relevant. >> >> Thanks > > Hi, > > Have you tried: > > sysctl hw.usb.u3g.debug=15 > > --HPS > Hi, I have the problem rigth now... so: # sysctl hw.usb.u3g.debug hw.usb.u3g.debug: 15 and USB_DEBUG is in actual kernel config. bearerbox process (Kannel 1.5.0) hangs, since it cannot talk to the modem anymore. I killed it with signal -9 and tried to connect with cu: # cu -l /dev/cuaU0 -s 150200 connected but it doesn't response. At this very moment, how could I determine if there is a problem with the modem or with the USB port/bus? My only choice now is to reset the USB port with usbconfig -d 0.2 reset. Thanks in advance Regards Alberto Mijares