Re: Call for testers: New acpi_ibm driver

Ruslan Ermilov <[email protected]>
Newsgroups gmane.os.freebsd.devel.acpi,gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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
[email protected]
FreeBSD committer
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCnZwpqRfpzJluFF4RAjAWAKCCMYcg4bTUFuUW0eVwt0fjS0LhUQCdF6PS
EeD0/fz/2NMEBBs/TcGPdeM=
=7Wo5
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.