Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Aug 2009 06:15:01 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Navdeep Parhar <nparhar@gmail.com>
Subject:   Re: svn commit: r195960 - in head/sys/dev/usb: . controller input
Message-ID:  <200908010615.02972.hselasky@c2i.net>
In-Reply-To: <20090731212140.GK47463@elvis.mu.org>
References:  <200907300014.n6U0EZ77086341@svn.freebsd.org> <d04e16b70907310045y635245efob33b10464c22524f@mail.gmail.com> <20090731212140.GK47463@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 31 July 2009 23:21:40 Alfred Perlstein wrote:
> Hans, can you please look into this issue?
>
> * Navdeep Parhar <nparhar@gmail.com> [090731 00:45] wrote:
> > On Wed, Jul 29, 2009 at 5:14 PM, Alfred Perlstein<alfred@freebsd.org> 
wrote:
> > > Author: alfred
> > > Date: Thu Jul 30 00:14:34 2009
> > > New Revision: 195960
> > > URL: http://svn.freebsd.org/changeset/base/195960
> > >
> > > Log:
> > > ?USB CORE:
> > > ?- Add minimum polling support to drive UMASS
> > > ? ?and UKBD in case of panic.
> > > ?- Add extra check to ukbd probe to fix problem about
> > > ? ?mouse devices attaching like keyboards.
> > > ?- P4 ID: 166148
> > >
> > > ?Submitted by: hps
> > > ?Approved by: ?re
> >
> > This has slowed down core dumps very significantly.  What used to take
> > 10-15s on my system now takes around 3 minutes.  A simple test is to
> > break into ddb and "call doadump" with or without this rev.  I have a
> > serial console on this machine
> > and so I can use ddb whether the attached USB keyboard works or not.
> >
> > Here is the usbconfig from the machine:
> > ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
> > pwr=ON ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL
> > (12Mbps) pwr=ON ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST
> > spd=FULL (12Mbps) pwr=ON ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0
> > md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: <EHCI root HUB Intel> at
> > usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
> > ugen1.2: <product 0x7000 vendor 0x0557> at usbus1, cfg=0 md=HOST
> > spd=FULL (12Mbps) pwr=SAVE
> > ugen1.3: <USB Multimedia Keyboard BTC> at usbus1, cfg=0 md=HOST
> > spd=LOW (1.5Mbps) pwr=ON
> > ugen1.4: <USB-PS/2 Optical Mouse Logitech> at usbus1, cfg=0 md=HOST
> > spd=LOW (1.5Mbps) pwr=ON

It's because there is a DELAY(1000) in the UKBD's polling routine so that key-
repeating will work, no magic.

--HPS



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