From owner-freebsd-usb@FreeBSD.ORG Wed Feb 3 09:58:13 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D83A106566B for ; Wed, 3 Feb 2010 09:58:13 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swipnet.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id B7AB98FC18 for ; Wed, 3 Feb 2010 09:58:12 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=eVUyA3bpAAAA:8 a=6I5d2MoRAAAA:8 a=59y0ZqOpdg79-EMS9HEA:9 a=SupRUNWVuL4UupH4QAEA:7 a=KK-vbtTuOnZajPHAbrEYAiRlaXcA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 628776222; Wed, 03 Feb 2010 10:58:10 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 3 Feb 2010 10:56:46 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <20100201085131.GA34006@server.vk2pj.dyndns.org> <20100202230511.GA19744@pjdesk.au.alcatel-lucent.com> <20100203094756.GB95409@server.vk2pj.dyndns.org> In-Reply-To: <20100203094756.GB95409@server.vk2pj.dyndns.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201002031056.46055.hselasky@c2i.net> Cc: Subject: Re: ukbd probe order regression 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, 03 Feb 2010 09:58:13 -0000 On Wednesday 03 February 2010 10:47:56 Peter Jeremy wrote: > [Based on a thread in -stable] > > I am trying to upgrade a Dell GX620 from FreeBSD 7.1 to a recent > FreeBSD 8-stable and have run into a regression in the ukbd probe > order. This box has no PS/2 ports and therefore I use a USB > keyboard (and have removed atkbdc, atkbd and kbdmux from my kernel). > All relevant USB devices are compiled in. > > In 7.x, ukbd probes before the kernel mounts root. In 8.x, ukbd > probes after the kernel mounts root (it actually probes asynchronously > after the "Enter full pathname of shell..." prompt). (This bit me > badly because I managed to screw up my root disk name and got > prompted with 'mountroot>' but had no keyboard). > > The GX620 is a P4 system with an ICH7 chipse. The keyboard is a Dell > SK-8115 connected directly to a motherboard port (I've tried several > different USB ports without improvement). I've also tried a Dell > SK-8135 (which is the "multimedia" variant and has a builtin hub) > which behaves the same. > > I've uploaded full details as follows: > FreeBSD 7.x verbose dmesg: http://pastebin.ca/1776339 > FreeBSD 8.x verbose dmesg: http://pastebin.ca/1776359 > "pciconf -lv" (same in 7 & 8): http://pastebin.ca/1776363 > > The output from 'usbdevs -v' on FreeBSD 7 is: > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > There has been some patches to ukbd.c recently. Try to apply those first: fetch -o /usr/src/sys/dev/usb/input/ukbd.c "http://p4db.freebsd.org/fileDownLoad.cgi?FSPC=//depot/projects/usb/src/sys/dev/usb/input/ukbd.c&REV=43" --HPS