Date: Mon, 8 Jul 2019 10:30:30 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Hans Petter Selasky <hps@selasky.org> Cc: Ian Lepore <ian@freebsd.org>, freebsd-current@freebsd.org, takawata@freebsd.org Subject: Re: Someone broke USB Message-ID: <20190708173030.GA60139@troutmask.apl.washington.edu> In-Reply-To: <20190708172414.GA60059@troutmask.apl.washington.edu> References: <99a61cc8-495f-a333-b4bc-46fc929bae37@selasky.org> <20190707185818.GA51398@troutmask.apl.washington.edu> <20ee6a81-d513-8332-8e47-6676dbb9a159@selasky.org> <20190707203635.GA53065@troutmask.apl.washington.edu> <2ccb6b71-022d-5b66-3ba9-007e2647b3e2@selasky.org> <20190707222555.GA55146@troutmask.apl.washington.edu> <602f5c9b-e15e-d08f-f388-47fc0a560803@selasky.org> <20190708170323.GA59922@troutmask.apl.washington.edu> <ca435fbe-9942-5b02-0ffc-9d6c5962d1e3@selasky.org> <20190708172414.GA60059@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 08, 2019 at 10:24:14AM -0700, Steve Kargl wrote: > On Mon, Jul 08, 2019 at 07:09:39PM +0200, Hans Petter Selasky wrote: > > On 2019-07-08 19:03, Steve Kargl wrote: > > > On Mon, Jul 08, 2019 at 11:50:31AM +0200, Hans Petter Selasky wrote: > > >> Hi Steve, > > >> > > >> Can you test this patch? > > >> > > >> I made a slight variant which delay the explore threads instead of the > > >> main thread running all the sysinits. > > >> > > >> --HPS > > > > > > With this patch, the kernel does not find any > > > USB devices. > > > > > > > Did you double check the patch was compiled? > > > > Do you see the new sysctl added? > > > > Yes, the new sysctl is added. > > % sysctl -a | grep usb | grep explore > hw.usb.explore_wait: 250 > Setting hw.usb.explore_wait=500 in /boot/loader.conf allowed the laptop to find the mouse and external hard drive. It seems at least for my laptop that 250 is too conservative. -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190708173030.GA60139>