Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2007 16:44:08 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Tom Judge <tom@tomjudge.com>, freebsd-mobile@freebsd.org
Subject:   Re: ACPI Attach (acpi_ibm) stops mouse from working 
Message-ID:  <20071025234408.4C15E4500E@ptavv.es.net>
In-Reply-To: Your message of "Thu, 25 Oct 2007 13:39:15 EDT." <200710251339.16232.jhb@freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1193355848_44900P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> From: John Baldwin <jhb@freebsd.org>
> Date: Thu, 25 Oct 2007 13:39:15 -0400
> 
> On Thursday 25 October 2007 04:20:49 am Tom Judge wrote:
> > Kevin Oberman wrote:
> > >> Date: Mon, 22 Oct 2007 17:04:52 +0100
> > >> From: Tom Judge <tom@tomjudge.com>
> > >> Sender: owner-freebsd-mobile@freebsd.org
> > >>
> > >> Hi,
> > >>
> > >>
> > >> I have recently setup an IBM/Lenovo T43 with RELENG_7 as of mid last 
> > >> week, however I have a problem with the acpi_ibm module.
> > >>
> > >> If I add acpi_ibm_load="YES" to loader.conf I get the following message 
> > >> during boot:
> > >>
> > >> psm0: unable to allocate IRQ
> > >>
> > >> This is followed by a message stating that the acpi_ibm module has 
> > >> attached to IRQ 12.
> > >>
> > >> If I remove this module from loader.conf and boot the system the mouse 
> > >> attaches and works as expected.  If I then kldload acpi_ibm the module 
> > >> attaches to acpi0.
> > >>
> > >>
> > >> Is there any way to make this work without loading the acpi module after 
> > >> boot?
> > > 
> > > I have a T43 and see the same thing if I load drivers in
> > > /boot/loader.conf. I have seen it with both umass and it's USB brethren,
> > > and if_ath. If I build them into the kernel or load them after the
> > > system boots, there is no problem. Otherwise, no IRQ for the mouse (and
> > > no mouse).
> > > 
> > > But you don't have to explicitly load ACPI. It's "magic" and
> > > automatically loads if you don't disable it in hints. If it loads that
> > > way, I have never had problems with the mouse.
> > > 
> > > jhb had some ideas of what caused the problem, but I have never had
> > > time to pursue it and it is pretty rare.
> > > 
> > > Try removing the load from /boot/loader.conf and see if it works and if
> > > you still get ACPI.
> > 
> > If I remove acpi_ibm_load="YES" from loader.conf I do indeed still get 
> > acpi.  But what I don't get are access to the IBM acpi extensions such 
> > as being able to use the access button to launch applications.  It all 
> > seems to be related to the order in which the modules are loaded. If 
> > acpi_ibm is loaded last then all is well, if not then it attaches to irq 
> > 12 clobbering the ps2 port for the mouse.
> 
> I just committed a fix.  You can fix it locally by removing the IBM0057 ID 
> from acpi_ibm.c.

Yes! Thanks so much, John. This has been bugging me for months and the
tie to acpi_ibm never dawned on me. I can confirm that his resolves the
problem completely.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

--==_Exmh_1193355848_44900P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFHISpIkn3rs5h7N1ERAtLmAJ0R1QoE6AciCHhiQf/zfoUgqfWIxwCfQ9Wu
MPgAJWzSaxMdPzlmUzf+hiU=
=bsOm
-----END PGP SIGNATURE-----

--==_Exmh_1193355848_44900P--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071025234408.4C15E4500E>