Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2014 09:05:31 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Randall Fox <randall.fox@gmail.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Disconnects every 15 seconds
Message-ID:  <548E964B.8080408@selasky.org>
In-Reply-To: <CANqctif759OC0Y8Oof-j1n2ECnnnsf5ro=54rnzCMV_HVTrLkg@mail.gmail.com>
References:  <CANqctidkhOkKv4wh=V_hcEiKxuN1Q=5g=DcBBkOUxRN85SJnNg@mail.gmail.com>	<548D38D5.2010700@selasky.org>	<CANqctif12bbn_iDBYS6DX6N_AaxQgw-tumLPch-pVMu_gALqFA@mail.gmail.com>	<548DDC93.2020601@selasky.org> <CANqctif759OC0Y8Oof-j1n2ECnnnsf5ro=54rnzCMV_HVTrLkg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/14/14 20:43, Randall Fox wrote:
> On everything below, I removed the USB hub I tested with in the last
> message and plugged the UPS directly into the computers USB port, like
> before.
>
>> Can you send the output from "pciconv -lv" especially those lines which
> relate to USB controllers?
>> Also try setting:
>> sysctl hw.usb.no_cs_fail=1
>
> $ sysctl hw.usb.no_cs_fail=1
> hw.usb.no_cs_fail: 0 -> 1
> $
> I previously tried the above, it had no effect.  I tried it again just to
> be sure, still no effect.  I assumed an immediate effect, unless a reboot
> is needed?
>
> Here are the interesting results from pciconf -lv, (I replaced the \n with
> a comma to make thing more compact and I removed the boring stuff.  I also
> put the USB stuff at the top.)
> Note: I included my motherboard and periph data below if that helps.  And
> thanks again for your help.
>
> ehci0@pci0:0:26:0:    class=0x0c0320 card=0x062b15d9 chip=0x1d2d8086
> rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg USB2
> Enhanced Host Controller',class=serial bus,subclass= USB
> ehci1@pci0:0:29:0:    class=0x0c0320 card=0x062b15d9 chip=0x1d268086
> rev=0x06 hdr=0x00,vendor='Intel Corporation',device= 'Patsburg USB2
> Enhanced Host Controller',class=serial bus,subclass= USB
>

Hi,

The pciconf output looks normal. All USB controllers have drivers attached.

Can you set "hw.usb.uhub.debug=16" and collect messages in dmesg for and 
attach/detach/attach cycle?

Also, does the endless attach/detach happen to other USB devices?

--HPS



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