From owner-freebsd-current  Thu Jan 23 18: 6:40 2003
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AF3D037B401
	for <freebsd-current@freebsd.org>; Thu, 23 Jan 2003 18:06:38 -0800 (PST)
Received: from blues.jpj.net (blues.jpj.net [208.210.80.156])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 35EEF43F18
	for <freebsd-current@freebsd.org>; Thu, 23 Jan 2003 18:06:33 -0800 (PST)
	(envelope-from benh@jpj.net)
Received: from [192.168.10.2] (dryden.horked.net [216.162.122.26])
	by blues.jpj.net (8.12.3/8.12.3) with ESMTP id h0O26PxG032454;
	Thu, 23 Jan 2003 21:06:25 -0500 (EST)
	(envelope-from benh@jpj.net)
X-Sender: benh@blues.jpj.net
Message-Id: <v03102802ba56500dc393@[192.168.10.2]>
In-Reply-To: <20030123200452.GG579@dhcp01.pn.xcllnt.net>
References: <v03102801ba55f56275e1@[192.168.10.2]>
 <v03102809ba559967d92d@[192.168.10.2]>
 <v03102806ba54ff70ac3e@[192.168.10.2]>
 <v03102806ba54ff70ac3e@[192.168.10.2]>
 <v03102809ba559967d92d@[192.168.10.2]>
 <v03102801ba55f56275e1@[192.168.10.2]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 23 Jan 2003 20:07:11 -0600
To: Marcel Moolenaar <marcel@xcllnt.net>
From: Ben Hockenhull <benh@jpj.net>
Subject: Re: psm0 not found on a Sony Vaio w/ 5.0-RELEASE
Cc: freebsd-current@freebsd.org
Sender: owner-freebsd-current@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-current.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-current>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-current>
X-Loop: FreeBSD.ORG

At 12:04 PM -0800 1/23/03, Marcel Moolenaar wrote:
>On Thu, Jan 23, 2003 at 01:44:49PM -0600, Ben Hockenhull wrote:
>> >>
>> >> Exactly what I needed to know.  I discovered that it's actually
>>0x090cd041
>> >> for my Vaio R505EC.  I've added that to pcm.c and recompiled and it's now
>> >> found and works normally.
>> >
>> >Hmmm.... That PnP id is a generic id (has the PNP prefix). A Sony
>> >specific PnP id is 0x####d94d... Your Id is one for an ACPI embedded
>> >controller and I don't think it has to be a mouse. I suspect there's
>> >a _CID value as well and that it's a generic PS/2 mouse id...
>>
>>
>> I see what happened.  Here's the entire entry from acpidump:
>>
>>             Device(MOUE) {
>>                 Name(_HID, 0x0190d94d)
>>                 Name(_CID, 0x130fd041)
>>                 Name(_CRS, Buffer(0x5) {0x22, 0x0, 0x10, 0x79, 0x0 })
>>             }
>>
>> Looks like I inadvertantly used the _HID entry for EC0_, not MOUE.
>
>That explains. Which also means that HEAD has the right fixes.
>
>> Yet, it still worked, in that psm0 was detected and functions as well as it
>> ever did.
>
>The reason for this is probably that any PnP id will do as long as you
>have hints and you use a PnP id that is tried on the psm driver...
>This may be specific to psm, though. If you're interested, try removing
>the hints and see if it still works without the right PnP id (see
>/boot/device.hints).

I commented out the psm hints and it still worked.  Interesting.

At any rate, I've got the correct entry in psm.c now, so all is as it
should be.

Thanks for the help.

Ben



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message