View previous topic :: View next topic |
Author |
Message |
Ornette n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Jun 2006 Posts: 3
|
Posted: Mon Jun 05, 2006 7:19 am Post subject: hotswapping in the ultrabay battery |
|
|
On a Thinkpad T42p, 2.6.12 kernel, I boot with the dvd-rw in the ultrabay, then I hotwap it with the battery. The ultrabay battery is being discharged and charged just fine, except there is no /proc/acpi/battery/BAT1 entry, so the OS can't display correct battery stats (charge%, time left, etc). If I boot with battery in ultrabay, BAT1 is there any everything is reported fine, but I can't swap in the dvd-rw device.
Is there anyway to get the kernel to recognize (when I boot with dvd-rw) the newly swapped in battery? Do I need to compile the battery as a module and do a rmmod/modprobe when I stick the battery into the ultrabay? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
widan Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/142533236243680bda6f27b.jpg)
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Mon Jun 05, 2006 3:27 pm Post subject: |
|
|
You probably need ibm-acpi for the hotswapping to work right. You can look here and here for more information. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ornette n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Jun 2006 Posts: 3
|
Posted: Mon Jun 05, 2006 5:49 pm Post subject: |
|
|
I have ibm-acpi installed as well as the Thinkpad ebuild. The tpctl can recognize that there's a battery in the ultrabay, but there still isn't anything in /proc/acpi/battery/
Is it possible that the ibm-acpi scripts are configured incorrectly? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|