How to debug USB hardware issues

Alberto Mijares amijaresp at gmail.com
Mon Nov 14 23:25:56 UTC 2011


On Sat, Nov 5, 2011 at 10:09 AM, Hans Petter Selasky <hselasky at 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


More information about the freebsd-hardware mailing list