From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 28 05:01:00 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45DDC16A4CE; Mon, 28 Jun 2004 05:01:00 +0000 (GMT) Received: from bscimail.bariatricsupportcenter.com (bscimail.bariatricsupportcenter.com [216.190.236.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF12943D1D; Mon, 28 Jun 2004 05:00:59 +0000 (GMT) (envelope-from chrislist@bariatricsupportcenter.com) Received: from localhost (localhost [127.0.0.1]) by bscimail.bariatricsupportcenter.com (Postfix) with ESMTP id BB5F7CF10B; Sun, 27 Jun 2004 23:03:04 -0600 (MDT) Received: from bscimail.bariatricsupportcenter.com ([127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25648-04; Sun, 27 Jun 2004 23:03:02 -0600 (MDT) Received: from [192.168.2.20] (unknown [192.168.2.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bscimail.bariatricsupportcenter.com (Postfix) with ESMTP id 9BD0DCF0FE; Sun, 27 Jun 2004 23:03:01 -0600 (MDT) From: Chris Miller To: John Baldwin In-Reply-To: <200406251530.53292.jhb@FreeBSD.org> References: <1087998930.775.32.camel@reaper1.reaperville.com> <200406241347.05092.jhb@FreeBSD.org> <1088141546.720.13.camel@reaper1.reaperville.com> <200406251530.53292.jhb@FreeBSD.org> Content-Type: text/plain Message-Id: <1088398757.675.15.camel@reaper1.reaperville.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 27 Jun 2004 22:59:18 -0600 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at cc: FreeBSD-Mobile Subject: Re: USB mouse and keyboard problems with 5.2.1-Release X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 05:01:00 -0000 I finally got some time to work with this again :) On Fri, 2004-06-25 at 13:30, John Baldwin wrote: > > > > When I try that command I get the following: > > # kbdcontrol -k /dev/kbd1 > > kbd1 > > ukbd0, type:generic (0) > > kbdcontrol: unable to set keyboard: Inappropriate ioctl for device > > You need to be on an actual screen console (like ttyv0) to do this, you can't > do it over ssh unless you do something like: > > kbdcontrol -k /dev/kbd1 /dev/ttyv0 > I was in X-Windows when I tried the command. Doing it from an actual console worked just fine. Thanks, now the keyboard works like it should. > Have you tried adding the psm.0 hints from sys/i386/conf/GENERIC.hints to > your /boot/device.hints file? Also, does psm0 show up if you boot with ACPI > disabled? The only two lines that I see in GENERIC.hints that relate to psm are the following which both already exist in my /boot/device.hints file: hint.psm.0.at="atkbdc" hint.psm.0.irq="12" I tried booting with ACPI disabled and still psm0 doesn't show up. Any other ideas? The keyboard is also not recognized at all if it is unplugged when I boot the system and then plug it in later. (Same problem that the mouse has.) So I assume the USB setup has problems. I took an old hard drive and installed a fresh install of 5.2.1-Release on it to see if I had messed something up somewhere along the line, but it had the same problem. USB mouse craps out if it is unplugged after booting and /dev/psm0 doesn't exist. Any other thoughts would be appreciated. Thanks, Chris Just a recap for anyone reading this thread. The usb mouse works fine if it is plugged in when the system boots, but will not work if it is unplugged and then plugged back in. (Same with the keyboard, I tried a USB hard drive too and it doesn't appear to work either.) The touch pad which should show up as /dev/psm0 also doesn't work. /etc/rc.conf includes: usbd_enable="YES" moused_enable="YES" moused_type="auto" moused_port="/dev/psm0" (note: changing this to /dev/ums0 does not fix the usb mouse when it is unplugged and plugged back in.)