From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 09:51:29 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 71E9CBA for ; Mon, 22 Dec 2014 09:51:29 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2AECF64272 for ; Mon, 22 Dec 2014 09:51:29 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 167D41FE022; Mon, 22 Dec 2014 10:51:27 +0100 (CET) Message-ID: <5497E9C5.60703@selasky.org> Date: Mon, 22 Dec 2014 10:52:05 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Randall Fox , "freebsd-usb@FreeBSD.org" Subject: Re: Disconnects every 15 seconds References: <548D38D5.2010700@selasky.org> <548DDC93.2020601@selasky.org> <548E964B.8080408@selasky.org> <548EA7F1.7070407@selasky.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Dec 2014 09:51:29 -0000 On 12/22/14 10:46, Randall Fox wrote: > On Mon, Dec 15, 2014 at 9:07 AM, Randall Fox wrote: > >> Here is the result, nothing but grep.. >> >> $ ps auxw | grep ugen >> root 80705 0.0 0.0 16272 2080 0 S+ 9:04AM 0:00.00 grep ugen >> >> Looks like you have another message with a possible fix.. I will reply on that one.. >> >> thnx >> >> >> On Mon, Dec 15, 2014 at 1:20 AM, Hans Petter Selasky >> wrote: >>> >>> Hi, >>> >>> On 12/15/14 09:58, Randall Fox wrote: >>> >>>> Dec 15 00:29:21 freenas kernel: uhub_read_port_status: port 2, >>>> wPortStatus=0x0101, wPortChange=0x0001, err=USB_ERR_NORMAL_COMPLETION >>>> >>> >>> This message means that the "UPS_C_CONNECT_STATUS" changed. My best guess >>> is that the device had a problem and decided to restart. Maybe an >>> unsupported command triggered it. >>> >>> Also, try to "ps auxw | grep ugen" to see if there are multiple drivers >>> running on your device. >>> >>> --HPS >>> >> > Result of ps auxw is above. Any ideas on how to fix this? > Hi, Can you get output from usbdump, as this attach/detach goes on. usbdump -i usbusX -f Y -s 65536 -vvv --HPS