Re: ACPI hotplug
From: Paul Ionescu <hidden>
Date: 2005-01-15 10:26:46
Hi Keshavamurthy, The eject files have no any side effect for me. I just tried to play with them for my devices. I tried on a docked computer and I have this: /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/USB7/URTH/UPDK/eject /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/USB0/URTH/UPDK/eject /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/IDE0/SCND/MSTR/eject /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/PCI1/DOCK/eject /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/UART/eject Trying to echo 1 > /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/PCI1/DOCK/eject did not undocked the laptop as I hoped. I thought I can use my docking station without being necessary to boot docked. But is not the case. I tried this way: Booted normaly, loaded acpiphp (even said found a pci slot), then plug the ThinkPad in the dockingstation, but nothing happened. No new devices get added. Then I tried to boot in the dockingstation and while I see all the new devices (this was always the case), I cannot remove the laptop from the docking station because it does not senses I push the eject button on it. Thanks, Paul
--- Keshavamurthy Anil S[off-list ref] wrote:
On Thu, Jan 13, 2005 at 03:02:37PM +0100, Paul Ionescu wrote:quoted
Hi, I just read that 2.6.11-rc1 does support ACPIhotplug.quoted
What does this really mean ?2.6.11-rc1 now supports physical CPU hotplug and these eject files were added to support the same. Once the cpu's are logically offlined, they can be physically removed by echoing 1 onto the eject file under _SB/PCI0/LSBX/CPUX/eject.quoted
I found some new files in /sys/firmware: find /sys/firmware/ | grep eject
/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/USB7/URTH/UPDK/eject
quoted
/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/USB0/URTH/UPDK/eject
quoted
/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/IDE0/SCND/MSTR/eject
quoted
/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject
quoted
/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/FDC/FDD0/eject
Looks like your DSDT has _EJx methods for many other types of devices, either you can enhance these devices drivers to support user mode eject or you can simply not create "eject" file.quoted
But what can I do with them, and what else isthere for hotplug ?quoted
Does it support docking stations ?Does this "eject" file has any side effects which needs to be addressed, please let me know. -Anil
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt