Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2011 18:55:55 -0430
From:      Alberto Mijares <amijaresp@gmail.com>
To:        freebsd-hardware@freebsd.org
Subject:   Re: How to debug USB hardware issues
Message-ID:  <CAGZBXN9x9L0Qi3TOidAXSBWZiEsdd_G=TiyHV=f83vfjS-hwSg@mail.gmail.com>
In-Reply-To: <201111051539.49068.hselasky@c2i.net>
References:  <CAGZBXN8gAuGfxmWJr6JV4JYtZPbDXghXwwRVZXttc8p38Gr_TQ@mail.gmail.com> <201111040941.28413.hselasky@c2i.net> <CAGZBXN-3qc1y6ikrA%2BywOocwT1q7qZPArq7Pak2P8mEqwQNtZA@mail.gmail.com> <201111051539.49068.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 5, 2011 at 10:09 AM, Hans Petter Selasky <hselasky@c2i.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGZBXN9x9L0Qi3TOidAXSBWZiEsdd_G=TiyHV=f83vfjS-hwSg>