Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 08:26:55 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Thomas Mueller <mueller6724@bellsouth.net>,  freebsd-current@freebsd.org
Subject:   Re: usb issues on OLD USB 1.0 machine...
Message-ID:  <539A99AF.30005@selasky.org>
In-Reply-To: <233974.407.bm@smtp118.sbc.mail.gq1.yahoo.com>
References:  <20140612185243.GU31367@funkthat.com> <5399FA31.7020408@selasky.org> <233974.407.bm@smtp118.sbc.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539A99AF.30005>