Thanks for the reply...  Here are the answers to you questions.

> What USB controllers are you using? EHCI/XHCI/OHCI/UHCI?
I'm not sure how to check this, but it looks like it's using EHCI, at least
it shows that when running usbconfig:
$ usbconfig

ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE (0mA)
ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE (0mA)
ugen0.2: <product 0x0024 vendor 0x8087> at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen1.2: <product 0x0024 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA)
ugen0.3: <Hermon USB hidmouse Device Winbond Electronics Corp> at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
ugen1.3: <Cruzer SanDisk> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON (200mA)
ugen1.4: <TRIPP LITE SMART1500RM2U Tripp Lite> at usbus1, cfg=0 md=HOST
spd=LOW (1.5Mbps) pwr=ON (0mA)


> Are all USB controller drivers loaded?

I would assume so.  Since the device is USB HID, I don't have any device
specific drivers to load.  And since the mouse/keyboard etc, loads fine,and
I don't see any errors in the logs.  If there is somewhere else I should
check, just point me in that direction.  I would assume if it was a driver
problem, the communication to the device would not work at all.  I can
communicate with it, it just disconnects and reconnects frequently.

> Did you try connecting the device through an external USB HUB?

Just did, here is the result.  Interesting, but still the same result, but
with more info.  The hub I used is part of my monitor, a new Dell with a
USB3 hub in it.  I had to lug it into the server room.  I usually run
headless.

Dec 14 09:54:11 freenas kernel: ugen1.4: <vendor 0x0451> at usbus1
Dec 14 09:54:11 freenas kernel: uhub4: <vendor 0x0451 product 0x8142, class
9/0, rev 2.10/1.00, addr 4> on usbus1
Dec 14 09:54:11 freenas kernel: uhub4: MTT enabled
Dec 14 09:54:12 freenas kernel: uhub4: 4 ports with 4 removable, self
powered
Dec 14 09:54:13 freenas kernel: ugen1.5: <Tripp Lite> at usbus1
Dec 14 09:54:13 freenas kernel: uhid0: <Tripp Lite TRIPP LITE
SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 5> on usbus1
Dec 14 09:54:13 freenas kernel: ugen1.6: <vendor 0x0451> at usbus1
Dec 14 09:54:13 freenas kernel: uhub5: <vendor 0x0451 product 0x8142, class
9/0, rev 2.10/1.00, addr 6> on usbus1
Dec 14 09:54:13 freenas kernel: uhub5: MTT enabled
Dec 14 09:54:14 freenas kernel: uhub5: 4 ports with 4 removable, self
powered
Dec 14 09:54:27 freenas kernel: ugen1.5: <Tripp Lite> at usbus1
(disconnected)
Dec 14 09:54:27 freenas kernel: uhid0: at uhub4, port 2, addr 5
(disconnected)
Dec 14 09:54:28 freenas kernel: uhub_reattach_port: port 2 reset failed,
error=USB_ERR_STALLED
Dec 14 09:54:28 freenas kernel: uhub_reattach_port: device problem
(USB_ERR_STALLED), disabling port 2
Dec 14 09:54:28 freenas kernel: ugen1.4: <vendor 0x0451> at usbus1
(disconnected)
Dec 14 09:54:28 freenas kernel: uhub4: at uhub3, port 1, addr 4
(disconnected)
Dec 14 09:54:28 freenas kernel: ugen1.6: <vendor 0x0451> at usbus1
(disconnected)
Dec 14 09:54:28 freenas kernel: uhub5: at uhub4, port 4, addr 6
(disconnected)
Dec 14 09:54:32 freenas kernel: ugen1.4: <vendor 0x0451> at usbus1
Dec 14 09:54:32 freenas kernel: uhub4: <vendor 0x0451 product 0x8142, class
9/0, rev 2.00/1.00, addr 4> on usbus1
Dec 14 09:54:32 freenas kernel: uhub4: MTT enabled
Dec 14 09:54:33 freenas kernel: uhub4: 4 ports with 4 removable, self
powered
Dec 14 09:54:33 freenas kernel: ugen1.5: <Tripp Lite> at usbus1
Dec 14 09:54:33 freenas kernel: uhid0: <Tripp Lite TRIPP LITE
SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 5> on usbus1
Dec 14 09:54:34 freenas kernel: ugen1.6: <vendor 0x0451> at usbus1
Dec 14 09:54:34 freenas kernel: uhub5: <vendor 0x0451 product 0x8142, class
9/0, rev 2.10/1.00, addr 6> on usbus1
Dec 14 09:54:34 freenas kernel: uhub5: MTT enabled
Dec 14 09:54:35 freenas kernel: uhub5: 4 ports with 4 removable, self
powered
Dec 14 09:54:48 freenas kernel: ugen1.5: <Tripp Lite> at usbus1
(disconnected)
Dec 14 09:54:48 freenas kernel: uhid0: at uhub4, port 2, addr 5
(disconnected)
Dec 14 09:54:49 freenas kernel: ugen1.5: <Tripp Lite> at usbus1
Dec 14 09:54:49 freenas kernel: uhid0: <Tripp Lite TRIPP LITE
SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 5> on usbus1
Dec 14 09:55:03 freenas kernel: ugen1.5: <Tripp Lite> at usbus1
(disconnected)
Dec 14 09:55:03 freenas kernel: uhid0: at uhub4, port 2, addr 5
(disconnected)
Dec 14 09:55:04 freenas kernel: ugen1.5: <Tripp Lite> at usbus1
Dec 14 09:55:04 freenas kernel: uhid0: <Tripp Lite TRIPP LITE
SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 5> on usbus1
Dec 14 09:55:19 freenas kernel: ugen1.5: <Tripp Lite> at usbus1
(disconnected)
Dec 14 09:55:19 freenas kernel: uhid0: at uhub4, port 2, addr 5
(disconnected)
Dec 14 09:55:20 freenas kernel: ugen1.5: <Tripp Lite> at usbus1
Dec 14 09:55:20 freenas kernel: uhid0: <Tripp Lite TRIPP LITE
SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 5> on usbus1
Dec 14 09:55:34 freenas kernel: ugen1.5: <Tripp Lite> at usbus1
(disconnected)
Dec 14 09:55:34 freenas kernel: uhid0: at uhub4, port 2, addr 5
(disconnected)
Dec 14 09:55:35 freenas kernel: ugen1.5: <Tripp Lite> at usbus1
Dec 14 09:55:35 freenas kernel: uhid0: <Tripp Lite TRIPP LITE
SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 5> on usbus1
.
.
.
continues...



On Sat, Dec 13, 2014 at 11:14 PM, Hans Petter Selasky <h...@selasky.org>
wrote:
>
> On 12/14/14 05:21, Randall Fox wrote:
>
>> I'm using a FreeBSD derivative, called FreeNAS.  It is using FreeBSD at
>> its
>> core.  Version of FreeNAS is 9.2.1.3, which roughly corresponds to the
>> FreeBSD version (9.2).
>>
>> I plug in my UPS and I get:
>> Dec 13 20:08:49 freenas kernel: ugen1.4: <Tripp Lite> at usbus1
>> Dec 13 20:08:49 freenas kernel: uhid0: <Tripp Lite TRIPP LITE
>> SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 4> on usbus1
>> Dec 13 20:09:03 freenas kernel: ugen1.4: <Tripp Lite> at usbus1
>> (disconnected)
>> Dec 13 20:09:03 freenas kernel: uhid0: at uhub3, port 2, addr 4
>> (disconnected)
>> Dec 13 20:09:04 freenas kernel: ugen1.4: <Tripp Lite> at usbus1
>> Dec 13 20:09:04 freenas kernel: uhid0: <Tripp Lite TRIPP LITE
>> SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 4> on usbus1
>> Dec 13 20:09:18 freenas kernel: ugen1.4: <Tripp Lite> at usbus1
>> (disconnected)
>> Dec 13 20:09:18 freenas kernel: uhid0: at uhub3, port 2, addr 4
>> (disconnected)
>> Dec 13 20:09:19 freenas kernel: ugen1.4: <Tripp Lite> at usbus1
>> Dec 13 20:09:19 freenas kernel: uhid0: <Tripp Lite TRIPP LITE
>> SMART1500RM2U, class 0/0, rev 1.10/2.0a, addr 4> on usbus1
>> Dec 13 20:09:33 freenas kernel: ugen1.4: <Tripp Lite> at usbus1
>> (disconnected)
>> Dec 13 20:09:33 freenas kernel: uhid0: at uhub3, port 2, addr 4
>> (disconnected)
>>
>>
>> I disabled all the higher level NUT services and such so they are not in
>> the way.
>>
>> Unfortunately I don't have the ability to recompile a kernel to turn on
>> debug and make adjustments.  Is there anything I can do?  I know the UPS
>> device is otherwise working properly, it just seems to be reporting these
>> disconnects.  The UPS also works on my Windows box when I connect it, I
>> don't see any disconnects.  I was able to mute the disconnects in FreeBSD
>> by running "usbhidctl -alvnr -f /dev/uhid0"  which loops repeatedly and
>> shows changed data.  When this is running, the disconnectsin dmesg go
>> away.  Also, it seems to be consistently repeating every 15 seconds..
>>
>> Any help appreciated
>>
>
> Hi,
>
> Did you try connecting the device through an external USB HUB?
>
> What USB controllers are you using? EHCI/XHCI/OHCI/UHCI?
>
> Are all USB controller drivers loaded?
>
> --HPS
>
>
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to