From owner-freebsd-current@FreeBSD.ORG Fri Jun 13 06:26:36 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3DF1AB3 for ; Fri, 13 Jun 2014 06:26:36 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0108825FB for ; Fri, 13 Jun 2014 06:26:35 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 6F4A91FE026; Fri, 13 Jun 2014 08:26:34 +0200 (CEST) Message-ID: <539A99AF.30005@selasky.org> Date: Fri, 13 Jun 2014 08:26:55 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Thomas Mueller , freebsd-current@freebsd.org Subject: Re: usb issues on OLD USB 1.0 machine... References: <20140612185243.GU31367@funkthat.com> <5399FA31.7020408@selasky.org> <233974.407.bm@smtp118.sbc.mail.gq1.yahoo.com> In-Reply-To: <233974.407.bm@smtp118.sbc.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 06:26:36 -0000 On 06/13/14 05:44, Thomas Mueller wrote: >> Possibly increase the timing variables under: > >> sysctl hw.usb.timings > >> If they are not there, possibly the USB_DEBUG option has been removed from the >> kernel config. Can you check that? > > --HPS > > What are the units for sysctl.hw.usb.timings? Seconds? Milliseconds? > > I ran sysctl hw.usb.timings and got > > hw.usb.timings.port_reset_delay: 50 > hw.usb.timings.port_root_reset_delay: 250 > hw.usb.timings.port_reset_recovery: 250 > hw.usb.timings.port_powerup_delay: 300 > hw.usb.timings.port_resume_delay: 40 > hw.usb.timings.set_address_settle: 10 > hw.usb.timings.resume_delay: 250 > hw.usb.timings.resume_wait: 50 > hw.usb.timings.resume_recovery: 50 > hw.usb.timings.extra_power_up_time: 20 > > I checked man sysctl, sysctl.conf, loader.conf and more, no clue. > > I could guess milliseconds, but maybe 1/100-seconds? > > I get console messages about keyboard and mouse being disconnected when that is not true, for both FreeBSD and NetBSD; also wlan under FreeBSD. > > So I would like to increase these times by a factor of 100, if it is milliseconds. Hi, They are all milliseconds. Try doubling the values one by one and see if there is any difference. --HPS