From owner-freebsd-usb@FreeBSD.ORG Mon Dec 22 10:30:25 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A930897E for ; Mon, 22 Dec 2014 10:30:25 +0000 (UTC) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3338B64D58 for ; Mon, 22 Dec 2014 10:30:25 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id l2so6324189wgh.27 for ; Mon, 22 Dec 2014 02:30:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=r5un+UnMgiZfHFqNBBFc2OefYAmrj5QASNKSYuVCzuQ=; b=PHc6R7X9vhSkuBEb71pS1qYzFoXbxrrtLLqbVgEx8dHKsBPusSdvfKUcO85sxZ61Qt 06vUW1huvy079P3ZfiPQqyQi4bOLzo86WU6NvhrY6p+hajK0RQjANhIKaEb8KC4pSXsf OWnGT4YKVdNiAqhiK/ZB8UM/2NPc+MEvdjQ05A+JINIzFeHzmVO0Edi+HTQPb8lJ9Mkx wRyBVulEx8/lnyUc+NjO4hTq1V9ldbOephWcvDncV44OAuiRCzOndOTZc36bN7PUYNoU 5kgk5r2JqS/9mH7h911YEIvOOBktKWUS38tNwHB0W0dXN7uU59jz7PA/P1xfyPyIlN4Y 836A== MIME-Version: 1.0 X-Received: by 10.194.57.84 with SMTP id g20mr41118350wjq.122.1419244223559; Mon, 22 Dec 2014 02:30:23 -0800 (PST) Received: by 10.27.174.20 with HTTP; Mon, 22 Dec 2014 02:30:23 -0800 (PST) In-Reply-To: <5497E9C5.60703@selasky.org> References: <548D38D5.2010700@selasky.org> <548DDC93.2020601@selasky.org> <548E964B.8080408@selasky.org> <548EA7F1.7070407@selasky.org> <5497E9C5.60703@selasky.org> Date: Mon, 22 Dec 2014 02:30:23 -0800 Message-ID: Subject: Re: Disconnects every 15 seconds From: Randall Fox To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-usb@FreeBSD.org" 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 10:30:25 -0000 On Mon, Dec 22, 2014 at 1:52 AM, Hans Petter Selasky wrote: > 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 > I will send a txt file as attachment directly to you.. (This will save people on the mailing list the large email message).