From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 1 11:29:25 2005 Return-Path: X-Original-To: freebsd-acpi@FreeBSD.org Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F9DF16A41C; Wed, 1 Jun 2005 11:29:25 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B28FA43D1D; Wed, 1 Jun 2005 11:29:24 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j51BTNBR091639; Wed, 1 Jun 2005 14:29:23 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 28800-06; Wed, 1 Jun 2005 14:29:22 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j51BTLRn091634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Jun 2005 14:29:21 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j51BTkkn053638; Wed, 1 Jun 2005 14:29:46 +0300 (EEST) (envelope-from ru) Date: Wed, 1 Jun 2005 14:29:45 +0300 From: Ruslan Ermilov To: Nate Lawson Message-ID: <20050601112945.GI26337@ip.net.ua> References: <20050531120618.GB4568@ip.net.ua> <429C9FDE.3060607@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dMdWWqg3F2Dv/qfw" Content-Disposition: inline In-Reply-To: <429C9FDE.3060607@root.org> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-acpi@FreeBSD.org, Markus Brueffer , freebsd-mobile@FreeBSD.org Subject: Re: Call for testers: New acpi_ibm driver X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2005 11:29:25 -0000 --dMdWWqg3F2Dv/qfw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 31, 2005 at 10:33:18AM -0700, Nate Lawson wrote: > Ruslan Ermilov wrote: > >I own the IBM ThinkPad 600X notebook. The acpi(4) and acpi_video(4) > >both work, but this beast doesn't even probe. > > > >Does anyone have an explanation why acpi_ibm doesn't get probed on > >this notebook? My devinfo has the IBM0068 device listed (see below), > >but for some reason this device doesn't get passed to the acpi_ibm's > >probe method. > > > >: nexus0 > >: legacy0 > >: npx0 > >: acpi0 > >: cpu0 pnpinfo _HID=3Dnone _UID=3D0 at handle=3D\_PR_.CPU0 > >: acpi_throttle0 > >: cpufreq0 > >: pci_link0 pnpinfo _HID=3DPNP0C0F _UID=3D1 at handle=3D\_SB_.LNKA > >: pci_link1 pnpinfo _HID=3DPNP0C0F _UID=3D2 at handle=3D\_SB_.LNKB > >: pci_link2 pnpinfo _HID=3DPNP0C0F _UID=3D3 at handle=3D\_SB_.LNKC > >: pci_link3 pnpinfo _HID=3DPNP0C0F _UID=3D4 at handle=3D\_SB_.LNKD > >: acpi_lid0 pnpinfo _HID=3DPNP0C0D _UID=3D0 at handle=3D\_SB_.LID0 > >: acpi_button0 pnpinfo _HID=3DPNP0C0E _UID=3D0 at handle=3D\_SB_.SLPB > >: unknown pnpinfo _HID=3DIBM0068 _UID=3D0 at handle=3D\_SB_.HKEY > > ^^^^^^^ > >: acpi_sysresource0 pnpinfo _HID=3DPNP0C01 _UID=3D0 at handle=3D\_SB= _.MBRM > >: pcib0 pnpinfo _HID=3DPNP0A03 _UID=3D0 at handle=3D\_SB_.PCI0 >=20 > Add a line to acpi_ibm_probe at the start of the function: >=20 > printf("acpi ibm probing %s\n", acpi_get_handle(dev)); >=20 acpi_get_handle() doesn't return "char *", and when using device_get_desc(), "null" is printed. > See if \_SB.HKEY gets printed. Try both loading acpi_ibm on boot and aft= er. >=20 Loading it on boot or after doesn't make any difference. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --dMdWWqg3F2Dv/qfw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCnZwpqRfpzJluFF4RAjAWAKCCMYcg4bTUFuUW0eVwt0fjS0LhUQCdF6PS EeD0/fz/2NMEBBs/TcGPdeM= =7Wo5 -----END PGP SIGNATURE----- --dMdWWqg3F2Dv/qfw--