From florian@wl394.wlan.uni-regensburg.de  Tue Mar 11 08:53:49 2003
Return-Path: <florian@wl394.wlan.uni-regensburg.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 93D3B37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 11 Mar 2003 08:53:49 -0800 (PST)
Received: from wl394.wlan.uni-regensburg.de (wl394.wlan.uni-regensburg.de [132.199.233.104])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7ED4843F75
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 11 Mar 2003 08:53:48 -0800 (PST)
	(envelope-from florian@wl394.wlan.uni-regensburg.de)
Received: from wl394.wlan.uni-regensburg.de (localhost [127.0.0.1])
	by wl394.wlan.uni-regensburg.de (8.12.6/8.12.6) with ESMTP id h2BGrfSs000822;
	Tue, 11 Mar 2003 17:53:46 +0100 (CET)
	(envelope-from florian@wl394.wlan.uni-regensburg.de)
Received: (from florian@localhost)
	by wl394.wlan.uni-regensburg.de (8.12.6/8.12.6/Submit) id h2BGre33000821;
	Tue, 11 Mar 2003 17:53:40 +0100 (CET)
Message-Id: <200303111653.h2BGre33000821@wl394.wlan.uni-regensburg.de>
Date: Tue, 11 Mar 2003 17:53:40 +0100 (CET)
From: Florian Tischer <florian@woanders.de>
Reply-To: Florian Tischer <florian@woanders.de>
To: FreeBSD-gnats-submit@freebsd.org
Subject: ACPI module disables /dev/psm0 detection
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         49116
>Category:       i386
>Synopsis:       ACPI module disables /dev/psm0 detection
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    acpi-jp@jp.FreeBSD.org
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 11 09:00:29 PST 2003
>Closed-Date:    Mon Jul 14 04:39:10 PDT 2003
>Last-Modified:  Mon Jul 14 04:39:10 PDT 2003
>Originator:     Florian Tischer
>Release:        FreeBSD 5.0-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD wl394.wlan.uni-regensburg.de 5.0-RELEASE-p4 FreeBSD 5.0-RELEASE-p4 #0: Tue Mar 11 13:00:18 CET 2003 root@wl394.wlan.uni-regensburg.de:/usr/src/sys/i386/compile/CUSTOM-ALDEBARAN i386

The System is an IBM Thinkpad T30
CPU is a Pentium-4 1.8ghz

>Description:
While the ACPI module is loaded the Kernel fails to detect the psm0 device.

This is the dmesg output while acpi_module is loaded:
Note the wrong allocation of the keyboard controller to the acpi bus!

atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x54ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: unable to allocate IRQ

When I disable the loading of the acpi module the keyboard controller is
correctly attached to the isa0 bus. And most importandtly the psm0 device
is detected correctly.

atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x54ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00

>How-To-Repeat:
Just boot with and without the acpi module loaded

>Fix:
Disable acpi support.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: kris 
State-Changed-When: Sun Jul 13 00:39:47 PDT 2003 
State-Changed-Why:  
Can you please retry with 5.1-CURRENT? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=49116 
Responsible-Changed-From-To: freebsd-bugs->acpi-jp@jp.FreeBSD.org 
Responsible-Changed-By: kris 
Responsible-Changed-When: Mon Jul 14 01:28:17 PDT 2003 
Responsible-Changed-Why:  
Assign to ACPI maintainers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=49116 
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Mon Jul 14 04:38:51 PDT 2003 
State-Changed-Why:  
Submitter reports problem resolved 

http://www.freebsd.org/cgi/query-pr.cgi?pr=49116 
>Unformatted:
