Find the answer to your Linux question:
Results 1 to 8 of 8
Hello this is my first thread on this forum, but I have been coming to the forum for about a year now to solve any issues I've had before. Well ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Posts
    21

    Toshiba Battery


    Hello this is my first thread on this forum, but I have been coming to the forum for about a year now to solve any issues I've had before. Well recently I have bought a Toshiba Satellite L645-S4102. The laptop is great on with Windows 7, but with linux not so much. On every linux distro I've tried (fedora, ubuntu, Puppy linux, Open Suse) The battery icon does not work. It either does not show a battery icon or says something about there not being a battery installed, when I know there is. Do you guys have any advice?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    You probably will need to configure and build a custom kernel to get this functionality. Current kernels have support for Toshiba laptops, but it is not built in by default, hence the need for a custom configured kernel.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Apr 2011
    Posts
    21
    lol how exactly would I do that I've compiled software before but never an entire kernel

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    Quote Originally Posted by jonathon6017 View Post
    lol how exactly would I do that I've compiled software before but never an entire kernel
    It isn't that difficult. Make sure you have your compiler installed, and download/install your kernel sources. Then, go to the directory where the source is installed, down to where you find the Makefile. At that point, run the command make menuconfig or make xconfig. The first one will bring up a curses (text) based UI, and the second will bring up a GUI/X-Windows UI to configure the kernel. At that point, you can set the appropriate configuration options to support the Toshiba laptop. When done, you save the configuration, exit, run 'make', and then 'make modules_install', and finally 'make install'. You will also want to set the Makefile variable EXTRAVERSION (up near the top of the Makefile) to something slightly different than the current kernel version. Example, I am running the 2.6.32-71.18.2.el6.x86_64 kernel, but I have set my EXTRAVERSION to '-71.18.2a.afs.el6.x86_64' so it doesn't conflict with the standard kernel installation. As a result, the custom kernel I run shows up with uname -r as 2.6.32-71.18.2a.afs.el6.x86_64 instead, and I can still boot to the default 2.6.32-71.18.2 kernel if necessary, such as I f'd up and did something with the configuration that make the kernel unbootable... If you need, you can run the configuration tool multiple times until your are satisfied that everything you need is functional. Each time, the 'make install' will overwrite the previous version, but leave the rest of the installed kernels alone.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    One final note. Building the kernel takes some time. If you have a multi-core system (mine has 8 cores), then when you run the build (make without options), you can add the -jN option, where 'N' is the number of parallel threads (jobs) you want it to use. In my case, I use -j8 so that all the cores are used as much as possible. If you have a 4 core system, try -j4. That will speed up the build linearly. On my system, it reduces a 2 hour build to about 15 minutes.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #6
    Just Joined!
    Join Date
    Apr 2011
    Posts
    21
    Quote Originally Posted by Rubberman View Post
    One final note. Building the kernel takes some time. If you have a multi-core system (mine has 8 cores), then when you run the build (make without options), you can add the -jN option, where 'N' is the number of parallel threads (jobs) you want it to use. In my case, I use -j8 so that all the cores are used as much as possible. If you have a 4 core system, try -j4. That will speed up the build linearly. On my system, it reduces a 2 hour build to about 15 minutes.
    Ok where would I get the stuff for the toshiba acpi?


    I've done some research and even though many people are having this exact problem, apparently the 2.6 kernel is supposed to come "pre-installed" with the toshiba-acpi

  8. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    Re. pre-installed Toshiba acpi. Not sure, but looking at default kernel configuration, I think you are correct. My current kernel is custom configured, so I apparently removed that as my system is an Intel motherboard custom-built workstation. I tend to remove cruft I really don't need, and if it turns out I do some time in the future, it is easy enough to add it back in.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  9. #8
    Just Joined!
    Join Date
    Apr 2011
    Posts
    21
    Ok I have tried to compile a kernel and everything but yet I still can not get it working...any ideas?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •