USB keyboard problems

Dave Leimbach leimySPAM2k at mac.com
Wed Jan 7 15:30:26 PST 2004


I finally got a few minutes to play with several keyboards and CMOS options
to see what is going on with my keyboard on my ASUS A7N8X-Deluxe
motherboard.  I need USB Legacy Keyboard and Mouse support enabled for
things like GRUB and Plan 9 but when I boot into DragonFly with this
CMOS option enabled I can't use my keyboard.

If I turn off legacy USB support on the keyboard it works fine in
DragonFly but not in GRUB [at all].  I can of course just twiddle the
bits when I boot dragonfly as a workaround for now but this seems like
a bug that needs fixing as I don't have this problem in Windows or
other OSes...

I wish I had more information than a dmesg dump but here it is:

----------------------------------------------------------------------
Copyright (c) 2003-2004 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 1.0-CURRENT #4: Wed Jan  7 00:06:55 CST 2004
    root at xxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) XP 2800+ (2079.56-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 1073676288 (1048512K bytes)
avail memory = 1033719808 (1009492K bytes)
Preloaded elf kernel "/kernel" at 0xc0583000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 11 entries at 0xc00fdeb0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <NVIDIA nForce2 AGP Controller> mem 0xd8000000-0xdbffffff at device 0.0 on pci0
pci0: <unknown card> (vendor=0x10de, dev=0x01eb) at 0.1
pci0: <unknown card> (vendor=0x10de, dev=0x01ee) at 0.2
pci0: <unknown card> (vendor=0x10de, dev=0x01ed) at 0.3
pci0: <unknown card> (vendor=0x10de, dev=0x01ec) at 0.4
pci0: <unknown card> (vendor=0x10de, dev=0x01ef) at 0.5
isab0: <NVIDIA nForce2 PCI to ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <unknown card> (vendor=0x10de, dev=0x0064) at 1.1
ohci0: <OHCI (generic) USB controller> mem 0xe2086000-0xe2086fff irq 5 at device 2.0 on pci0
installed MI handler for int 5
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
uhub1: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2
uhub1: 4 ports with 4 removable, self powered
ukbd0: ATEN 4 Port USB KVM B V1.30, rev 1.10/1.00, addr 3, iclass 3/1
kbd1 at ukbd0
ums0: ATEN 4 Port USB KVM B V1.30, rev 1.10/1.00, addr 3, iclass 3/1
ums0: 5 buttons and Z dir.
ohci1: <OHCI (generic) USB controller> mem 0xe2081000-0xe2081fff irq 11 at device 2.1 on pci0
installed MI handler for int 11
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub2: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 3 ports with 3 removable, self powered
pci0: <unknown card> (vendor=0x10de, dev=0x0066) at 4.0 irq 11
pci0: <unknown card> (vendor=0x10de, dev=0x006b) at 5.0 irq 11
pci0: <unknown card> (vendor=0x10de, dev=0x006a) at 6.0 irq 5
pcib1: <NVIDIA nForce2 PCI-PCI bridge> at device 8.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <unknown card> (vendor=0x1095, dev=0x3112) at 11.0 irq 11
atapci0: <NVIDIA nForce ATA133 controller> port 0xf000-0xf00f at device 9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
installed MI handler for int 14
ata1: at 0x170 irq 15 on atapci0
installed MI handler for int 15
pcib2: <PCI to PCI bridge (vendor=10de device=006d)> at device 12.0 on pci0
pci2: <PCI bus> on pcib2
xl0: <3Com 3c920B-EMB Integrated Fast Etherlink XL> port 0xb000-0xb07f mem 0xdd000000-0xdd00007f irq 5 at device 1.0 on pci2
xl0: Ethernet address: 00:26:54:0b:d1:56
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fwohci0: vendor=10de, dev=6e
fwohci0: <1394 Open Host Controller Interface> mem 0xe2084000-0xe208403f,0xe2083000-0xe20837ff irq 11 at device 13.0 on pci0
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:e0:18:00:00:19:ad:86
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
if_fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:e0:18:19:ad:86
sbp0: <SBP2/SCSI over firewire> on firewire0
fwohci0: Initiate bus reset
pcib3: <NVIDIA nForce2 PCI-PCI bridge> at device 30.0 on pci0
pci3: <PCI bus> on pcib3
pci3: <NVidia model 0281 graphics accelerator> at 0.0 irq 5
orm0: <Option ROMs> at iomem 0xd0000-0xd3fff,0xd4000-0xd57ff,0xd6000-0xda7ff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
installed MI handler for int 6
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
device_probe_and_attach: atkbd0 attach returned 6
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
installed MI handler for int 4
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
installed MI handler for int 3
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
installed MI handler for int 7
installed MI handler for int 0
installed MI handler for int 8
ad0: 38166MB <WDC WD400BB-00DGA0> [77545/16/63] at ata0-master UDMA100
WARNING: "ad" is usurping "ad"'s cdevsw[]
ad1: 38166MB <WDC WD400BB-00CAA0> [77545/16/63] at ata0-slave UDMA100
acd0: DVD-ROM <SONY DVD-ROM DDU1612> at ata1-master PIO4
Mounting root from ufs:/dev/ad1s1a

----------------------------------------------------------------------

Let me know if you need more information.  This is a fairly busy work
week for me but I can probably do more stuff in my evenings 
[GMT -06:00]

Other than that the new USB stuff seems to work very well.

Dave





More information about the Bugs mailing list