Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hotswapping in the ultrabay battery
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Ornette
n00b
n00b


Joined: 03 Jun 2006
Posts: 3

PostPosted: Mon Jun 05, 2006 7:19 am    Post subject: hotswapping in the ultrabay battery Reply with quote

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
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Mon Jun 05, 2006 3:27 pm    Post subject: Reply with quote

You probably need ibm-acpi for the hotswapping to work right. You can look here and here for more information.
Back to top
View user's profile Send private message
Ornette
n00b
n00b


Joined: 03 Jun 2006
Posts: 3

PostPosted: Mon Jun 05, 2006 5:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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