Porting code from the Linux ibm-acpi sourceforge package
Takanori Watanabe
takawata at init-main.com
Sun May 8 04:58:59 PDT 2005
In message <20050508024448.A943 at cons.org>, Martin Cracauer さんいわく:
>Hi,
>
>I reinstalled my Thinkpad R40 with FreeBSD-5-stable. Works very well
>except for video corruption on sleep and that I miss some ACPI
>functionality I had with the ibm-acpi package under Linux.
Some functionalies are implimented in acpi_ibm.
>More specifically, I would like to port or reimplement some parts of
>it, and I would like to start with the code to eject and re-mount the
>ultrabay devices.
>
>I have the Linux code in front of me which is showing, for the example
>of the basic bay identifier and the eject code:
>
>IBM_HANDLE(bay, root,
> "\\_SB.PCI.IDE.SECN.MAST", /* 570 */
> "\\_SB.PCI0.IDE0.IDES.IDSM", /* 600e/x, 770e, 770x */
> "\\_SB.PCI0.IDE0.SCND.MSTR", /* all others */
>); /* A21e, R30, R31 */
>IBM_HANDLE(bay_ej, bay,
> "_EJ3", /* 600e/x, A2xm/p, A3x */
> "_EJ0", /* all others */
>); /* 570,A21e,G4x,R30,R31,R32,R40e,R50e */
>
But eject handling is not supported .
More information about the freebsd-acpi
mailing list