From owner-acpi-jp@jp.freebsd.org  Mon Sep 17 15:21:52 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id PAA83732;
	Mon, 17 Sep 2001 15:21:52 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from nasu.utsunomiya-u.ac.jp (nasu.utsunomiya-u.ac.jp [160.12.128.3])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id PAA83694;
	Mon, 17 Sep 2001 15:21:40 +0900 (JST)
	(envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp)
Received: from nantai.utsunomiya-u.ac.jp by nasu.utsunomiya-u.ac.jp (8.11.2/1.1.29.3/26Jan01-1134AM)
	id f8H6L45153792; Mon, 17 Sep 2001 15:21:04 +0900 (JST)
Received: from zodiac.mech.utsunomiya-u.ac.jp by nantai.utsunomiya-u.ac.jp (8.11.2/1.1.29.3/30Jan01-0241PM)
	id f8H6L4u206297; Mon, 17 Sep 2001 15:21:04 +0900 (JST)
Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:QtAhTNJEJ9eL9R+xtGfVpgL6JuD1+Gth@zodiac.mech.utsunomiya-u.ac.jp [160.12.43.7])
	by zodiac.mech.utsunomiya-u.ac.jp (8.9.3+3.2W/3.7W/zodiac-May2000) with ESMTP id PAA17762;
	Mon, 17 Sep 2001 15:30:52 +0900 (JST)
Message-Id: <200109170630.PAA17762@zodiac.mech.utsunomiya-u.ac.jp>
To: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
cc: current@freebsd.org, acpi-jp@jp.freebsd.org,
        yokota@zodiac.mech.utsunomiya-u.ac.jp
In-reply-to: Your message of "Mon, 17 Sep 2001 02:03:21 JST."
             <20010917.020321.74756726.iwasaki@jp.FreeBSD.org> 
References: <200109110336.MAA13723@zodiac.mech.utsunomiya-u.ac.jp> <20010915.234817.92590934.iwasaki@jp.FreeBSD.org>
	  <20010917.020321.74756726.iwasaki@jp.FreeBSD.org> 
Date: Mon, 17 Sep 2001 15:30:51 +0900
From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1293
Subject: [acpi-jp 1293] ACPI, PS/2 and USB (was: Re: ThinkPad, ACPI, and PS/2 mouse)
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: yokota@zodiac.mech.utsunomiya-u.ac.jp

>Hi, I've just noticed strange behavior of psm probing (w/ and w/o acpi).
[...]

>This is not a ThinkPad, but FIVA 206VL (PS/2 mouse PnP ID = 0x130fd041;
>normal one), the psm is no longer recognized if USB is not compiled (or
>USB module is not loaded at loader).

I have never heard of this type of error before!

>Here is difference between dmesgs of kernel w/o and w/ usb module.
[...]

>@@ -370,7 +377,10 @@
> kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
> atkbd1: unable to allocate IRQ
> psm0: current command byte:0047
>-psm0: the aux port is not functioning (-1).
>+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
> bt0 failed to probe on isa0
> cs0 failed to probe at port 0x300 on isa0
> ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
>@@ -430,10 +440,8 @@
> unknown: <PNP0800> failed to probe at port 0x61 on isa0
> unknown: <PNP0c02> can't assign resources
> unknown: <PNP0c02> at iomem 0xd8000-0xdbfff on isa0
>-psmcpnp0: <PS/2 mouse port> at irq 12 on isa0
>-atkbd1: unable to allocate IRQ
>-psm0: current command byte:0047
>-psm0: the aux port is not functioning (-1).

This means that the keyboard controller on the motherboard didn't
respond when it was asked to test the aux (PS/2 mouse) port.
You usually see this error when your system does not have the PS/2 mouse
port...

I cannot think of a reason why the presence or absence of the usb
module affects the behavior of the motherboard keyboard
controller...

I must say this is the most arcane error.

>+unknown: <PNP0f13> can't assign resources
>+unknown: <PNP0f13> at irq 12 on isa0
> fdc1: cannot reserve I/O port range (1 ports)
> unknown: <PC standard floppy disk controller> failed to probe on isa0
> BIOS Geometries:
[...]

>I tried to load acpi module too, but it seems acpi doesn't affect psm
>probing on this machine.
>
>In summary;
>		with USB	without USB
>---------------+---------------+-------------
>with ACPI	   OK			NG
>without ACPI	   OK			NG

Ok, this is strictly the psm and usb modules' problem, then.

Do you remember when your PS/2 mouse was detected correctly without
the usb module?

Kazu

>I enclosed dmesg -v output of kernel w/o usb and acpi.
>
>Thanks
