From owner-freebsd-current@FreeBSD.ORG Mon Dec 15 00:00:46 2003 Return-Path: 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 448F816A4CE for ; Mon, 15 Dec 2003 00:00:46 -0800 (PST) Received: from maestro.tackymt.homeip.net (dhcp-7.cent.saitama-u.ac.jp [133.38.4.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id C804C43D33 for ; Mon, 15 Dec 2003 00:00:37 -0800 (PST) (envelope-from taku@cent.saitama-u.ac.jp) Received: from dhcp-7.cent.saitama-u.ac.jp (localhost [IPv6:::1]) hBF80Utl073102 for ; Mon, 15 Dec 2003 17:00:32 +0900 (JST) (envelope-from taku@cent.saitama-u.ac.jp) Date: Mon, 15 Dec 2003 17:00:30 +0900 From: Taku YAMAMOTO To: freebsd-current@freebsd.org Message-Id: <20031215170030.364c7411.taku@cent.saitama-u.ac.jp> In-Reply-To: <1071464354.22361.2.camel@bigboot.humphrey.world> References: <1070640554.22666.14.camel@bigboot.humphrey.world> <1071464354.22361.2.camel@bigboot.humphrey.world> Organization: Advanced Computer and Communication Studies Society X-Mailer: Sylpheed version 0.9.5-gtk2-20030906 (GTK+ 2.2.4; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Compaq Presario 2105US ACPI = NO MOUSE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2003 08:00:46 -0000 Greetings, I've read your ASLs and figured out how psm0 fails to attach. Both of the two ASLs have _CID (compat id) of MSE0 (read: psm0) as a package. But, unfortunately, our current code does not handle such _CIDs. So, for interim solution, I would propose following snippet of ASL. Device (MSE0) // psm0/psmcpnp0 { Name (_HID, EisaId ("SYN0105")) Name (_CID, EisaId ("PNP0F13")) /// XXX - for now Name (_CSR, Buffer (6) { 0x23, 0x00, 0x10, 0x01, 0x79, 0x00 }) } For long time solution, we have to modify the logic of acpi_isa_pnp_probe() (defined in src/sys/dev/acpica/acpi.c) to support multiple _CID EisaIds. I ever saw such patch before. (as long as my memory serves right) # Mmm, takawata-san's work? yours sincerely, Taku -- -|-__ YAMAMOTO, Taku | __ < On Sun, 14 Dec 2003 20:59:14 -0800 Brendon and Wendy wrote: > Quick update regarding problem below. > > I have cvsupped the kernel again as of today, in order to get the new > ACPI implemention. Sadly, it does not seem to improve on the mouse > problem. > > I quickly installed Gentoo 1.4 just to verify that Linux manages to find > psm, and it does. > > So, I'm now slowly working my way through the initialisation code to see > if I can at least pinpoint where the decision on IRQ availability is > made. Will report what/if I find. > > Thanks, > Brendon > > > On Fri, 2003-12-05 at 08:09, Brendon and Wendy wrote: > > Dear list, > > > > I am going to join the slowly growing number of users that are reporting > > that use of ACPI on 5.1-current on Compaq Presario (maybe just Compaq!) > > laptops results in the PS/2 mouse being undetectable by the OS (PSM: > > Unable to allocate IRQ). > > > > This has been an ongoing thing for me - I've been aware of the problem > > for some time, but have not had the time to do anything about it. I > > could sware that 5.0 + ACPI used to work, in fact I might reinstall it > > to see. > > > > I have already tried rebuilding my DSDT, and am going to try some > > further experiments (the Compaq raw .aml, does not compile cleanly with > > iasl and needs work). Going to try copying the resource allocation code > > from a desktop machine that seems ok with ACPI into the laptop (that'll > > be fun). I may also start walking through the resource > > allocation/discovery code in the kernel to see what the device driver is > > doing. My basic premise is that the kernel is having difficulty > > determining which IRQ to use for the PS/2 mouse. > > > > Nate if you have suggestions of things to try I'm perfectly happy to do > > so. > > > > For Nate, my boot -v output is at > > > > http://humphrey.dyndns.org/dmesg.boot > > > > original disassembled DSDT is at > > > > http://humphrey.dyndns.org/presario2100us.asl > > > > slightly tweeked (and no doubt munged) version: > > > > http://humphrey.dyndns.org/presario2100us2.asl > > http://humphrey.dynsdns.org/presario2100usdiff > > > > Thanks, > > Brendon > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >