Date: Wed, 1 Jun 2005 14:29:45 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: Nate Lawson <nate@root.org> Cc: freebsd-acpi@FreeBSD.org, Markus Brueffer <markus@FreeBSD.org>, freebsd-mobile@FreeBSD.org Subject: Re: Call for testers: New acpi_ibm driver Message-ID: <20050601112945.GI26337@ip.net.ua> In-Reply-To: <429C9FDE.3060607@root.org> References: <20050531120618.GB4568@ip.net.ua> <429C9FDE.3060607@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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=none _UID=0 at handle=\_PR_.CPU0
> >: acpi_throttle0
> >: cpufreq0
> >: pci_link0 pnpinfo _HID=PNP0C0F _UID=1 at handle=\_SB_.LNKA
> >: pci_link1 pnpinfo _HID=PNP0C0F _UID=2 at handle=\_SB_.LNKB
> >: pci_link2 pnpinfo _HID=PNP0C0F _UID=3 at handle=\_SB_.LNKC
> >: pci_link3 pnpinfo _HID=PNP0C0F _UID=4 at handle=\_SB_.LNKD
> >: acpi_lid0 pnpinfo _HID=PNP0C0D _UID=0 at handle=\_SB_.LID0
> >: acpi_button0 pnpinfo _HID=PNP0C0E _UID=0 at handle=\_SB_.SLPB
> >: unknown pnpinfo _HID=IBM0068 _UID=0 at handle=\_SB_.HKEY
> > ^^^^^^^
> >: acpi_sysresource0 pnpinfo _HID=PNP0C01 _UID=0 at handle=\_SB_.MBRM
> >: pcib0 pnpinfo _HID=PNP0A03 _UID=0 at handle=\_SB_.PCI0
>
> Add a line to acpi_ibm_probe at the start of the function:
>
> printf("acpi ibm probing %s\n", acpi_get_handle(dev));
>
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 after.
>
Loading it on boot or after doesn't make any difference.
Cheers,
--
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iD8DBQFCnZwpqRfpzJluFF4RAjAWAKCCMYcg4bTUFuUW0eVwt0fjS0LhUQCdF6PS
EeD0/fz/2NMEBBs/TcGPdeM=
=7Wo5
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050601112945.GI26337>
