| HOME > MISC > LINUX > TOSHIBA 1115 RH9 |
|---|
This document builds on the work in the Red Hat 8.0 Version of this document.
There is also a Fedora Core 1 Version of this document.
The Toshiba Satellite 1115-S103 is a low priced but fairly high performance laptop. It has a 1.50 GHz Celeron procesor and comes with 256MB of RAM and a 20G hard drive. It also includes a DVD-ROM drive, 14.1" TFT XGA (1024x768) display, 10/100 ethernet, modem, three USB ports, parallel port, TV and VGA outputs. What it doesn't contain is a floppy drive, serial port or PS/2 keyboard/mouse port. Full detailed specs directly from Toshiba can be found HERE.
Fortunately the built-in Ethernet port works fine so at this point I recommend you register with Red Hat Network and fully update your system before continuing. It doesn't matter if you upgrade the kernel as you won't be needing the Red Hat kernels unless you really screw up the rest of the instructions.
First you're going to need to download the 2.4.22 Linux Kernel. The 2.4.22 kernel now includes the latest ACPI code so you no longer need to apply the patches. Un-tar the kernel in /usr/src and build it as follows:
# cd /usr/src # gtar xjvf linux-2.4.22.tar.bz2 # cd linux-2.4.22Now you will want to build the kernel. I highly recommend you use this config file and copy it to /usr/src/linux-2.4.22/.config . At this point you can fine tune the kernel with make menuconfig or just build it as is:
# make oldconfig # make dep # make bzImage # make modules (This takes a while, about 30 minutes) # make modules_install # make installThis will cause a new kernel called kernel 2.4.22 to be built, installed and added to the GRUB menu. One strange step is to remove the old directory full of way out of date symlinks. Not removing them will prevent the proper drivers from loading properly. After you delete them just reboot:
# rm -rf /lib/modules/2.4.22/pcmcia # shutdown -r nowMake sure you select the new "2.4.22" kernel you just built above. If everything works you should make sure you're always booting the custom kernel. Edit /etc/grub.conf and make sure default=0 which makes the most recent kernel the default.
If you're not using the 2.4.22 kernel, I encourage you to switch now.
The battery meter FINALLY works correctly when used with the config
file above.
If you want basic power power management to work, such as screen blanking and a working battery meter, use the latest Omnibook module to which Rick contributed code to make them work on the Toshiba 1115. The key is the Omnibook module includes APM emulation that at least allows the battery monitor to work.
Grab the latest Omnibook module, at the time of this writing located at http://prdownloads.sourceforge.net/omke/omnibook-2003-04-03.tar.gz?download. Untar the file in /usr/src
Go to the /usr/src/omnibook-2003-04-03 directory and do the following:
# make # make installCongrats, you now have a module built. To load it automatically at boot time you need to add the following line to /etc/rc.local in the start section:
insmod omnibook apmemu=1 user=1You should now have some new files:
# ls /proc/omnibook # cat /proc/omnibook/dmi # cat /proc/omnibook/battery # cat /proc/apmIf all those files are there then the Gnome battery meter should work accurately. After that if you want the screen to blank correctly you need to do something REALLY ugly.
Set up your screensaver by going to the Red Hat and select Preferences -> Screensaver. Set the mode to Blank Screen Only with your preferred blanking time. There is no point in setting a pretty screen saver since you will only see it for about 1 second. Then you can install the following Perl script named lightwatch complements of Rick:
use strict;
#
# This handy script watches when the screensaver activates and
# toggles the lcd backlight. You won't see more than a
# second of the screensaver, so you might as well chose one
# which consumes few mips.
#
$ENV{'PATH'} = '/bin:/usr/bin';
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
# $<=0; # become root not just effective root
open(XS,"/usr/X11R6/bin/xscreensaver-command -watch|") or die;
while(<XS>) {
if(/^BLANK/i) {
system("echo off > /proc/omnibook/lcd");
} elsif(/^UNBLANK/i) {
system("echo on > /proc/omnibook/lcd");
}
}
After you install that script in your home directory and make it executable
go to the Red Hat and select Extras -> Preferences -> Sessions
then select Startup Programs then click Add and add the
full path to the script to the list of commands started when you log in.
Basically, what this Perl script does is monitor the Gnome screensaver program and when the Blank screensaver gets started it will tell the Omnibook driver you installed to shut off the LCD display. It will turn the LCD monitor back on as soon as the screensaver gets disabled. It works surprisingly well.
The README is pretty self explanitory. Since you're now running a non-standard kernel you'll need to adjust the include path in the Makefile
# Path to your kernel's includes ifndef KERNEL_INCLUDES KERNEL_INCLUDES:= /usr/src/linux-2.4.22/include endifThen just compile and install it:
# make # make install-amrThen you can just test it with minicom:
# minicom -s Go go Serial Port Setup Set Serial Device to /dev/modem Set Bps/Par/Bits to 115200 8N1 Return to main menu and Save setup as dfl Hit Esc to exit out of setup and you should be able to dial out now. After confirming it works you can set up your PPP dialup like you would normally.
DVD: Playing DVDs isn't hard. I'll document the procedure shortly.Suspend/Resume: We can all dream, can't we? Well, it may not work through hardware but I've had some success with the Software Suspend patches. Once I get it working reliably I'll write it up.
If you have any leads on getting any more features working please drop me a line.
Rick's Installing Redhat 8.0 on Toshiba Satellite 1115-S103 - Rick did most of the work in figuring out how to make Linux load on this laptop. He goes into a lot more technical detail about ACPI and other issues he's run into.Red Hat 8.0 Tips Tricks - This site puts in one place the most common tips for getting RH 8.0 to work the way it's supposed to. Tips including installing a DVD player, getting MP3 support back and MUCH more! A must read for new RH 8.0 and 9 users.
Unofficial Toshiba 1115-S103 Info - Another website with tons of Toshiba 1115-S103 info, most of it is hardware XP related but still very useful.
Red Hat 9 RPMs - Tons of pre-compiled packages built for Red Hat 9 (aka Shrike).
RedHat 9.0 (shrike) on a Toshiba Satellite 1135 - S155 - Yet another description on how to install RH9 on a very simillar laptop. This one goes into detail about some additional options such as Emacs, True Type Fonts and other annoyances. It also describes how to go back to the Sawfish window manager should you prefer that one.
Redhat 9 linux on toshiba satellite S1905-S303 - A description of installing RH9 on another Toshiba laptop model. Looks like that one was a LOT smoother.
| Comments From People Like You! Red Hat 9 on Toshiba Satellite 1115-S103 | |
|
08-Mar-2005 16:11 |
|
Ok. Im running Fedora Core 3 and for the life of me I can't get the modem to work. And hints?
|
|
|
11-Feb-2004 12:45 |
|
Thanks a lot for your effort on writing this HOWTO. I\'m looking forward to your HOWTO on migration to kernel 2.6.
|
|
|
21-Jan-2004 13:13 |
|
Hi Greg.
|
|
|
04-Dec-2003 07:25 |
|
Thanks for your HowTo, I'm been using it from RH8.
|
|
|
14-Nov-2003 13:05 |
|
Many thanks for creating this howto, finally something for redhat 9. My toshiba is a 1905-s303, but the newest kernel, and your .profile worked great, and now I can see my battery level! (have not tried the screen blanking yet).
|
|
|
02-Nov-2003 05:31 |
|
Greg,
|
|
|
25-Sep-2003 19:29 |
|
great job of explaining about software suspend !
|
|
|
18-Sep-2003 13:04 |
|
any update and/or success regarding usb? i am running rh8 at the moment, and usb it NOT working. i used the nousb boot option during install as recommended here:
|
|
|
08-Aug-2003 14:08 |
|
I have been able to get Software Suspend to work
|
|