From owner-freebsd-usb@FreeBSD.ORG Wed Jun 6 15:38:57 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21A5A106566B for ; Wed, 6 Jun 2012 15:38:57 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id ED9CE8FC08 for ; Wed, 6 Jun 2012 15:38:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=Message-Id:From:Mime-Version:Date:Subject:To:Content-Type; bh=Dz24btw5FhRRZK8ca6TiHVReOxJeNuSwdGHeV8pFNks=; b=FwZvONjQfifz70YbTjwz1vEpGIWW0A2kZHlqEV97IOE7OtRa9QrE3ZIKJKkKXp5oYDyPOo6TffkuhP53LyY3JrDBvLMaAB8njgJqnMIAPEoby47VgD96603ziEI/BTjn; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1ScIJv-0004Rp-Ad for freebsd-usb@freebsd.org; Wed, 06 Jun 2012 10:38:56 -0500 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpa id 1338997125-26372-26371/5/39; Wed, 6 Jun 2012 15:38:45 +0000 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-usb@freebsd.org Date: Wed, 6 Jun 2012 10:38:44 -0500 Mime-Version: 1.0 From: Mark Felder Message-Id: User-Agent: Opera Mail/11.64 (FreeBSD) X-SA-Score: -1.0 Subject: usb power output issues X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2012 15:38:57 -0000 Hi all, I have a Dell OptiPlex 390. There are several in the office, but mine is the only one that runs FreeBSD. I'm currently running FreeBSD 9.0-STABLE #4 r234571, but this has happened on several previous builds as well. I've never run an 8.x branch on this hardware. Sometimes when I come into the office -- perhaps once a week -- I'll find that my nice keyboard has stopped functioning. My mouse always works, but the keyboard does not. I can plug in any USB keyboard and I see it recognized by reading the console messages, but they just don't work. The CapsLock, ScrollLock, Numlock, etc lights don't even turn on. I usually just reboot the computer and move on, but today this happened when I was on the phone with a customer so I knew I couldn't blame it on a screensaver or anything whacky like that. I ended up digging out a powered USB hub and plugging my keyboard into that. It started working as expected at this time. I am wondering if this is a known issue or if there is anything in the USB stack that could cause this behavior? My PC is currently in this state and I don't ever power it off, so if someone needs some USB diagnostics output I can provide that. This is not a debugging kernel so I can't get you any output from DDB at this time. tech304# usbconfig show_ifdrv ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen0.1.0: uhub0: ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.1.0: uhub1: ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen0.2.0: uhub2: ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.2.0: uhub3: ugen1.3: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.3.0: uhub5: ugen1.4: at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen1.4.0: ukbd0: ugen1.4.1: ums0: ugen1.5: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.5.0: uhub4: ugen1.6: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.6.0: ukbd1: ugen1.6.1: ums1: ugen1.6.2: uhid0: