From owner-freebsd-current@FreeBSD.ORG Mon Dec 15 10:57:33 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 E5C8E16A4CE for ; Mon, 15 Dec 2003 10:57:33 -0800 (PST) Received: from cserv62.csub.edu (cserv62.csub.edu [136.168.10.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18F9C43D2D for ; Mon, 15 Dec 2003 10:57:32 -0800 (PST) (envelope-from rjackson@cserv62.csub.edu) Received: from cserv62.csub.edu (localhost [127.0.0.1]) by cserv62.csub.edu (8.12.9/8.12.9) with ESMTP id hBFIvIOX010958; Mon, 15 Dec 2003 10:57:18 -0800 (PST) (envelope-from rjackson@cserv62.csub.edu) Received: from localhost (rjackson@localhost)hBFIvHiN010955; Mon, 15 Dec 2003 10:57:17 -0800 (PST) (envelope-from rjackson@cserv62.csub.edu) Date: Mon, 15 Dec 2003 10:57:17 -0800 (PST) From: Russell Jackson To: Taku YAMAMOTO In-Reply-To: <20031215170030.364c7411.taku@cent.saitama-u.ac.jp> Message-ID: <20031215104746.T7517@cserv62.csub.edu> References: <1070640554.22666.14.camel@bigboot.humphrey.world> <1071464354.22361.2.camel@bigboot.humphrey.world> <20031215170030.364c7411.taku@cent.saitama-u.ac.jp> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org 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 18:57:34 -0000 Wow, I posted, lastnight, about this very same problem but on a Compaq Presario 900Z. My ASL is very similar. Device (MSE0) { Name (_HID, "SYN0100") Name (_CID, Package (0x02) { 0x02002E4F, 0x130FD041 }) Name (_PRW, Package (0x02) { 0x01, 0x03 }) Name (_CRS, Buffer (0x06) { 0x23, 0x00, 0x10, 0x01, 0x79, 0x00 }) Method (_PSW, 1, NotSerialized) { If (Arg0) { If (\_SB.PCI0.ISA.EC.ECOK) { Store (0x01, \_SB.PCI0.ISA.EC.TME0) } If (\_SB.PCI0.ISA.EC.ECOK) { Store (0x00, \_SB.PCI0.ISA.EC.TME0) } } } } Do I need to change _HID EisaId? What about _PRW? On Mon, 15 Dec 2003, Taku YAMAMOTO wrote: > 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" > > > _______________________________________________ > 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" > -- Russell A. Jackson (rjackson@cserv62.csub.edu) Owning a handgun doesn't make you armed any more than owning a guitar makes you a musician. -- Col. Jeff Cooper