Subject: kern/17512: /dev/wskbd and /dev/wsmouse don't update mtime when events occur
To: None <>
From: None <>
List: netbsd-bugs
Date: 07/08/2002 09:20:41
>Number:         17512
>Category:       kern
>Synopsis:       /dev/wskbd and /dev/wsmouse don't update mtime when events occur
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 07 16:21:01 PDT 2002
>Originator:     Luke Mewburn
>Release:        NetBSD 1.6_BETA3
Luke Mewburn  <>
Luke Mewburn     <>
Wasabi Systems - NetBSD hackers for hire
NetBSD - the world's most portable UNIX-like operating system
System: NetBSD 1.6_BETA3 NetBSD 1.6_BETA3 (ARGO from GENERIC-$Revision: 1.491 $) #1: Fri Jun 28 08:52:16 EST 2002 i386
Architecture: i386
Machine: i386
	screenblank(1) checks if the atime or mtime of "input" devices
	has changed to determine if it should "unblank" the display.
	the default input devices are /dev/wskbd and /dev/wsmouse (the
	wsmux devices).  these don't update their atime or mtime when
	events (such as an arbitrary keypress) occur.

	start up screenblank(1) on a wscons framebuffer. 
	notice that pressing a CTRL key or moving the mouse doesn't
	unblank the screen.  add "-i /dev/ttyE0" to rc.conf(5)'s
	screenblank_flags so that at least screen output results in
	the unblanking if you press a key that results in a character

	no idea.  i tried to work out how (pseudo) devices update
	their [acm]time values and got lost in the kernel :(