NetBSD Problem Report #10471
Received: (qmail 6016 invoked from network); 28 Jun 2000 23:35:45 -0000
Message-Id: <200006282335.TAA29553@hees.mcmahill.net>
Date: Wed, 28 Jun 2000 19:35:44 -0400 (EDT)
From: dmcmahill@netbsd.org
Reply-To: dmcmahill@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: keyup events lost
X-Send-Pr-Version: 3.95
>Number: 10471
>Category: port-i386
>Synopsis: keyup events lost
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-i386-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 28 23:36:01 +0000 2000
>Closed-Date: Fri Apr 04 22:06:13 +0000 2003
>Last-Modified: Fri Apr 04 22:06:13 +0000 2003
>Originator: Dan McMahill
>Release: 1.4.2
>Organization:
NetBSD
>Environment:
System: NetBSD HEESENG1 1.4.2 NetBSD 1.4.2 (HEES) #1: Wed Jun 21 14:23:25 EDT 2000 eng@HEESENG1:/usr/src/sys/arch/i386/compile/HEES i386
>Description:
I'm running a stock 1.4.2 netbsd/i386 with X. Sometimes keyup events are lost and
the machine acts like the key is stuck down. I might go for 2 hours or 2 days between
when it happens. It seems to happen more if I run the linux acroread package (from pkgsrc)
and hit the page up/down key a bunch.
at that point you have to log in remotely and kill X.
this is a Dell Inspiron 7500. dmesg is:
NetBSD 1.4.2 (HEES) #1: Wed Jun 21 14:23:25 EDT 2000
eng@HEESENG1:/usr/src/sys/arch/i386/compile/HEES
cpu0: family 6 model 8 step 3
cpu0: Intel Pentium Pro, II or III (686-class)
real mem = 133758976
avail mem = 120856576
using 1658 buffers containing 6791168 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o enabled, memory enabled
vga1 at pci1 dev 0 function 0: ATI Technologies product 0x4c4d (rev. 0x64)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
Texas Instruments PCI1225 PCI-CardBus Bridge (CardBus bridge, revision 0x01) at pci0 dev 4 function
0 not configured
Texas Instruments PCI1225 PCI-CardBus Bridge (CardBus bridge, revision 0x01) at pci0 dev 4 function
1 not configured
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <FUJITSU MHK2120AT>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 11513MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 23579136 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at irq 14
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-7002B, , 1005> type 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 5
uhci0: USB version 1.0
usb0 at uhci0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev
7 function 3 not configured
ESS Technology Inc product 0x1978 (audio multimedia, revision 0x10) at pci0 dev 8 function 0 not con
figured
Fujitsu Limited (4th PCI Vendor ID) product 0x0448 (miscellaneous communications, revision 0x01) at
pci0 dev 16 function 0 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xd3fff: using irq 3
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
ep0 at pcmcia1 function 0 port 0x330-0x33f: 3Com 3c589 10Mbps Ethernet
ep0: address 00:10:4b:ed:d4:f5, 8KB byte-wide FIFO, 5:3 Rx:Tx split
ep0: 10baseT, 10base5, 10base2 (default 10baseT)
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.1
apm0: battery life expectancy: 100%
apm0: A/C state: on
apm0: battery charge state: high
apm0: estimated 3h 20m
biomask c060 netmask c060 ttymask d0ea
wscons: wskbd0 glued to wsdisplay0 (console)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pcmcia1: card irq 9
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
XF86Config file:
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local,/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/
X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/us
r/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6
/lib/X11/fonts/100dpi"
EndSection
Section "ServerFlags"
EndSection
Section "Keyboard"
Protocol "Standard"
AutoRepeat 500 30
LeftAlt Meta
RightAlt Meta
ScrollLock Compose
RightCtl Control
XkbKeycodes "xfree86"
XkbTypes "default"
XkbCompat "default"
XkbSymbols "us(pc101)"
XkbGeometry "pc"
XkbRules "xfree86"
XkbModel "pc101"
XkbLayout "us"
EndSection
Section "Pointer"
Protocol "wsmouse"
Device "/dev/wsmouse0"
Emulate3Timeout 50
Resolution 100
Buttons 3
Emulate3Buttons
EndSection
Section "Monitor"
Identifier "Primary Monitor"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.5-57
VertRefresh 50-90
Modeline "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
EndSection
Section "Device"
Identifier "Primary Card"
VendorName "Unknown"
BoardName "ATI Rage Mobility P"
EndSection
Section "Screen"
Driver "Accel"
Device "Primary Card"
Monitor "Primary Monitor"
DefaultColorDepth 8
BlankTime 0
SuspendTime 0
OffTime 0
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768"
EndSubSection
EndSection
Section "Screen"
Driver "SVGA"
Device "Primary Card"
Monitor "Primary Monitor"
DefaultColorDepth 8
BlankTime 0
SuspendTime 0
OffTime 0
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768"
EndSubSection
EndSection
Section "Screen"
Driver "VGA16"
Device "Primary Card"
Monitor "Primary Monitor"
BlankTime 0
SuspendTime 0
OffTime 0
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
EndSection
Section "Screen"
Driver "VGA2"
Device "Primary Card"
Monitor "Primary Monitor"
BlankTime 0
SuspendTime 0
OffTime 0
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
EndSection
>How-To-Repeat:
its hit or miss, but the linux acroread seems to make it happen more often.
>Fix:
>Release-Note:
>Audit-Trail:
From: Bernd Salbrechter <bernd@mycity.at>
To: gnats-bugs@gnats.netbsd.org
Cc: dmcmahill@netbsd.org
Subject: Re: port-i386/10471: keyup events lost
Date: Mon, 3 Jul 2000 18:34:34 +0200 (CEST)
On Wed, 28 Jun 2000 19:35:44 -0400 (EDT) dmcmahill@netbsd.org wrote:
...
> >Description:
>
> I'm running a stock 1.4.2 netbsd/i386 with X. Sometimes keyup events are lost and
> the machine acts like the key is stuck down. I might go for 2 hours or 2 days between
> when it happens. It seems to happen more if I run the linux acroread package (from pkgsrc)
> and hit the page up/down key a bunch.
>
> at that point you have to log in remotely and kill X.
I have a simmilar problem on the console sine NetBSD-1.4 (switched to
wscons), but not unter X11 (I am using it only if I realy need grafic,
not very often).
The symptoms are, that somtimes the the last pressed key is instantly
doubled and then a normal autorepeat starts after the waiting period
for the autorepeat. I can stop this by pressing and relasing any
key. I got several tips from David Brownlee <abs@netbsd.org> about
the problem. One was to check, if it also ocure with the old
pccons, whic I have already done. The pccons work fine, without
that symtoms. One was to veryfy that it dosen't ocure with the
old pccons. An other was to try an 1.5 kernel, which I didn't
until yet, because 1.5 is ELF on i386 and 1.4.x is a.out and my 10
month old daugther take much of my time. I will download the 1.5
snapshot sources and try to build a a.out kernel to check this, if
I get the time.
> this is a Dell Inspiron 7500. dmesg is:
> NetBSD 1.4.2 (HEES) #1: Wed Jun 21 14:23:25 EDT 2000
> eng@HEESENG1:/usr/src/sys/arch/i386/compile/HEES
...
> wsdisplay0 at vga1: console (80x25, vt100 emulation)
...
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0
...
> wscons: wskbd0 glued to wsdisplay0 (console)
...
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x25, vt100 emulation)
> wsdisplay0: screen 4 added (80x25, vt100 emulation)
I see you also use the new wscons.
State-Changed-From-To: open->feedback
State-Changed-By: perry
State-Changed-When: Thu Apr 3 21:48:24 PST 2003
State-Changed-Why:
Checking if the problem persists for the user.
From: "Perry E. Metzger" <perry@piermont.com>
To: dmcmahill@netbsd.org
Cc: gnats-bugs@gnats.netbsd.org, perry@piermont.com
Subject: Re: port-i386/10471
Date: 04 Apr 2003 00:51:19 -0500
>Synopsis: keyup events lost
Are you still having this problem?
If not, may I close the PR?
Perry
From: mcmahill@mtl.mit.edu
To: Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-i386/10471
Date: Fri, 4 Apr 2003 05:59:01 -0500 (EST)
On 4 Apr 2003, Perry E. Metzger wrote:
>
> >Synopsis: keyup events lost
>
> Are you still having this problem?
>
> If not, may I close the PR?
>
> Perry
>
I haven't seen this problem for quite some time although I no longer have
that machine and for that matter I don't have a keyboard on my only i386
machine. I'd say go ahead and close the PR.
Thanks
-Dan
State-Changed-From-To: feedback->closed
State-Changed-By: perry
State-Changed-When: Fri Apr 4 14:05:49 PST 2003
State-Changed-Why:
Submitter indicates the PR may be closed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.