From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 22:09:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 195EB37B401 for ; Mon, 9 Jun 2003 22:09:06 -0700 (PDT) Received: from orngca-mls01.socal.rr.com (orngca-mls01.socal.rr.com [66.75.160.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5147543F75 for ; Mon, 9 Jun 2003 22:09:05 -0700 (PDT) (envelope-from gwschenk@socal.rr.com) Received: from fuzz.socal.rr.com (cpe-66-74-152-230.socal.rr.com [66.74.152.230])h5A56GM21121; Mon, 9 Jun 2003 22:06:16 -0700 (PDT) From: Gary Schenk To: Scott Mitchell Date: Mon, 9 Jun 2003 22:08:59 -0700 User-Agent: KMail/1.5 References: <200306091706.36333.gwschenk@socal.rr.com> <20030610003010.GA31743@tuatara.fishballoon.org> In-Reply-To: <20030610003010.GA31743@tuatara.fishballoon.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200306092208.59854.gwschenk@socal.rr.com> cc: freebsd-questions@freebsd.org Subject: Re: Changing to a PS/2 keyboard after install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 05:09:06 -0000 On Monday 09 June 2003 05:30 pm, Scott Mitchell wrote: > On Mon, Jun 09, 2003 at 05:06:36PM -0700, Gary Schenk wrote: > > Thanks for the suggestion, but that did not work. After rebooting > > not only did I not have a PS/2 keyboard, I no longer could plug in > > the USB keyboard. > > > > This is very perplexing. There must be a way to install a new > > keyboard. Reinstalling the OS is the Microsoft way, and I want to > > avoid that. > > > > Gary > > As you've guessed already, you shouldn't have needed to do anything > special to get a PS/2 keyboard working. A few things to try: > > - Is the keyboard & port hardware actually OK? Make sure you can at > least use it to get into the machine's BIOS setup screens. Note that > PS/2 keyboards shouldn't be hot-plugged -- you can easily kill the > port doing that. Try another keyboard if possible. The keyboard works in the BIOS part of the boot. I can get into=20 UserConfig with it, but after FreeBSD takes over the boot it no longer=20 works. And after configuring the kernel with UserConfig it works fine.=20 I am using it to type this message. It is only when I do not interrupt=20 the boot process that the keyboard does not work. > - Boot a GENERIC kernel. It's got everything you need for both PS/2 > and USB keyboards. There should be no harm in having them both > enabled. The kernel that I am booting now has both enabled (I think) thusly: # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 and thus: # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device uscanner # Scanners device urio # Diamond Rio MP3 Player > - Post your /etc/rc.conf, /var/run/dmesg.boot and anything that looks > relevant from /var/log/messages. There may be a clue in there as > to why the keyboard isn't working. The rc.conf file is a little messy, perhaps there is a conflict of some=20 sort here? Changes have been made to this while playing around, but I=20 have been uncertain about whether or not to comment out lines in this=20 file. # -- sysinstall generated deltas -- # Thu Feb 20 21:50:08 2003 # Created: Thu Feb 20 21:50:08 2003 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. #hostname=3D"fuzz.socal.rr.com" #ifconfig_rl0=3D"DHCP" kern_securelevel_enable=3D"NO" linux_enable=3D"YES" moused_enable=3D"NO" moused_port=3D"/dev/mse0" moused_type=3D"auto" nfs_reserved_port_only=3D"YES" #saver=3D"rain" sendmail_enable=3D"YES" sshd_enable=3D"NO" usbd_enable=3D"YES" lpd_enable=3D"YES" inetd_enable=3D"YES" # -- sysinstall generated deltas -- # Mon Apr 21 20:22:44 2003 #ifconfig_rl0=3D"inet 192.168.1.101 netmask 255.255.255.0" #defaultrouter=3D"192.168.1.1" #hostname=3D"fuzz.socal.rr.com" # -- sysinstall generated deltas -- # Mon Apr 21 20:30:43 2003 #ifconfig_rl0=3D"inet 192.168.1.101 netmask 255.255.255.0" #defaultrouter=3D"192.168.1.1" #hostname=3D"fuzz.socal.rr.com" # -- sysinstall generated deltas -- # Mon Apr 21 20:42:02 2003 ifconfig_rl0=3D"inet 192.168.1.101 netmask 255.255.255.0" defaultrouter=3D"192.168.1.1" hostname=3D"fuzz.socal.rr.com" # -- sysinstall generated deltas -- # Mon Apr 28 22:18:46 2003 #saver=3D"fire" # -- sysinstall generated deltas -- # Fri May 9 18:28:39 2003 ntpdate_flags=3D"ntp.ucsd.edu" ntpdate_enable=3D"YES" # -- sysinstall generated deltas -- # Tue May 13 16:11:36 2003 saver=3D"blank" # -- sysinstall generated deltas -- # Sun Jun 8 11:09:18 2003 moused_port=3D"/dev/psm0" moused_type=3D"auto" moused_enable=3D"YES" dmesg is here, but perhaps this will not do you any good? This is from=20 the last boot, in which UserConfig was used to enable the PS/2=20 keyboard. When I had booted the kernel without USB keyboard support, I=20 was forced to switch the machine off, which is the reason / was not=20 properly dismounted. Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. =46reeBSD 4.7-RELEASE #5: Mon Jun 9 16:33:35 PDT 2003 root@fuzz.socal.rr.com:/usr/src/sys/compile/FUZZ Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (598.48-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x681 Stepping =3D 1 =20 =46eatures=3D0x383f9ff real memory =3D 134205440 (131060K bytes) =46reeBSD Kernel Configuration Utility - Version 1.2 Type "help" for help or "visual" to go to the visual configuration interface (requires MGA/VGA display or serial terminal capable of displaying ANSI graphics). config> visual \^[[m\^[[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[m\^[[m\^[[m\^[[H\^[[Javail=20 memory =3D 125317120 (122380K bytes) Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 6 entries at 0xc00f0b00 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0=20 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xb800-0xb80f at device 7.1=20 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xb400-0xb41f irq 5 at device=20 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhid0: Microsoft SideWinder Precision 2 Joystick, rev 1.10/1.08, addr 2,=20 iclass 3/0 pci0: (vendor=3D0x1106, dev=3D0x3050) at 7.3 rl0: port 0xb000-0xb0ff mem=20 0xd6800000-0xd68000ff irq 10 at device 10.0 on pci0 rl0: Ethernet address: 00:10:b5:44:13:da miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xa800-0xa81f irq 11 at device 12.0 on=20 pci0 pcib1: on motherboard pci2: on pcib1 orm0: