Subject: kern/30932: ACPI kernel does not work well with XFree86 on ASUS S200N
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Denis Lagno <dlagno@rambler.ru>
List: netbsd-bugs
Date: 08/07/2005 11:37:00
>Number:         30932
>Category:       kern
>Synopsis:       XFree86 on ACPI kernel does not work with keyboard and mouse on laptop
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 07 11:37:00 +0000 2005
>Originator:     Denis Lagno
>Release:        NetBSD 3.99.5
>Organization:
>Environment:
System: NetBSD chup.gado 3.99.5 NetBSD 3.99.5 (CHUP) #0: Sat May 28 06:40:48 MSD 2005 dina@chup.gado:/flam/volatile/worksrc/netbsd-current/src/sys/arch/i386/compile/CHUP i386
Architecture: i386
Machine: i386
>Description:
There is XFree86:

# XFree86 -version

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.5.99.7
Release Date: 8 July 2005
X Protocol Version 11, Revision 0
Build Operating System: NetBSD/i386 3.99.5 [ELF] The NetBSD Foundation, Inc.
Current Operating System: NetBSD chup.gado 3.99.5 NetBSD 3.99.5 (CHUP) #0: Sat May 28 06:40:48 MSD 2005  dina@chup.gado:/flam/volatile/worksrc/netbsd-current/src/sys/arch/i386/compile/CHUP i386
Build Date: 12 July 2005
Changelog Date: 8 July 2005
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Command line: XFree86 -version

It works perfectly with APM kernel.
However when booted into ACPI kernel keyboard and mouse (embedded into ASUS S200N) are dead.
USB keyboard and mouse work still fine.

Keyboard section in /etc/X11/XF86Config:

Section "InputDevice"
        Identifier "kbd0"
        Driver "keyboard"

        Option "AutoRepeat" "500 30"
        Option "XkbRules" "xfree86"
        Option "XkbModel" "pc104"
        Option "XkbLayout" "us"
        Option "XkbOptions" "ctrl:nocaps,grp_led:caps,compose:menu,meta:alt"
EndSection

>How-To-Repeat:
boot into ACPI kernel on ASUS S200N.
Launch XFree86.
>Fix: