Summary: Configuring a Toshiba Portégé 320CT laptop with GNU/Linux (Debian 2.2 potato) and the K Desktop Environment (KDE)..
I (Ted Ruegsegger) prepared this document as:
A record of the machine's hardware and software configuration, which I'll endeavor to keep up-to-date as I make changes
A reference to guide me and others in building similarly-configured PCs
| Component | Description |
|---|---|
| Console | Toshiba Portégé 320CT laptop with:
The I/O Bar(Port Expander), when attached, provides:
|
| Processor | Intel Pentium, 266 MHz |
| Memory | 64 MB EDO RAM, max 96 (one slot) |
| Hard Disk | Toshiba HDD2932, MK1011GAV EIDE "10.05 GB" = 10,056,130,560 bytes = 9590.27 MB = 9.37 GB |
| CD-ROM Drive | none |
| Graphics Adapter | Chips & Technologies B65555, 2MB (uses SVGA X server) |
| Monitor | 10.4in LCD display, Panoramic Active Matrix Color (16:9 aspect ratio), 1024x600, 0.22mm dot pitch, 100:1 contrast ratio. HorizSync 30-64, VertRefresh 40-100 |
| Sound | Yamaha OPL3-SA3 (emulates SoundBlaster Pro and Windows Sound System). Parameters set in BIOS. |
| PCMCIA Controller | i82365 (Controller mode in BIOS can toggle between PCIC compatible, CardBus/16-bit, Auto-Selected) |
| Network Card | 3Com Etherlink III 3C589D PCMCIA Ethernet card (10 Mbps) |
| Modem |
|
| USB Controller | NEC Open Host Controller: usb-ohci |
| Mouse |
|
| Floppy Disk Drive | 1.44 MB 3.25in. in external drive, attached to the port expander |
| Operating System | Debian GNU/Linux 2.2 (Potato) |
It's probably a good idea to install the flash BIOS upgrade and any others, obtained from the Toshiba website (see References).
To access the BIOS, hit Esc right after boot, before the Toshiba logo shows (if you miss, hit Ctrl-Alt-Del immediately and try again). Use PgUp/PgDn to switch between the two pages.
Set (and note) the parameters for the various devices, in particular, the sound card.
On page 2, under PC CARD, set Controller Mode=PCIC
Compatible, or the PCMCIA ethernet card won't work.
Install GNU/Linux from the installation media, in my case the three-CD set for Debian GNU/Linux 2.2r2 (Potato). Some notes:
All of this is documented, a bit convolutedly, in the Debian Installation Manual, beginning at Installing from a Linux Partition.
/home and made subdirectories under
/home/cdrom/ for each of the three CDs.
rescue.bin and root.bin images on the first CD's
install/ subdirectory, in my case
/home/cdrom/deb22r2-1/install/, using/ and /home:
| Disk /dev/hda: 255 heads, 63
sectors, 1222 cylinders Units = cylinders of 16065 * 512 bytes |
||||||
| Device | Cyls | Start | End | MB | Type | Mount Point |
/dev/hda1 |
522 | 1 | 522 | 4095 | 83 Linux native | / |
/dev/hda2 |
32 | 523 | 554 | 251 | 82 Linux swap | |
/dev/hda3 |
668 | 555 | 1222 | 5240 | 83 Linux native | /home |
| Total | 1222 | 1 | 1222 | 9586 | ||
/target//target/home/cdrom/deb22r2-1/dists/stable/main/disks-i386/current/
(it's sufficient to specify just
/target/home/cdrom/deb22r2-1/ )
| Category | Module | Options |
|---|---|---|
| misc | opl3 | io=0x388 |
| misc | sb | io=0x220 irq=5 dma=0 mpu_io=0x330
|
| usb | input | |
| usb | hid | |
| usb | mousedev | |
| usb | usb-ohci |
| Fully-qualified domain name | pikachu.home |
| IP address | 192.168.0.100 |
| Subnet mask | 255.255.255.0 |
| Gateway | 192.168.0.1 |
| DNS servers | 131.131.157.250 131.131.220.201 |
/dev/hda
After the new kernel boots,
/home/cdrom/deb22r2-{1 2
3}, in succession.exim configuration (select 5, no configuration).install_usb_mice.sh
script.tasksel -slynx home page,
like http://pikachu/gpm defaults to -m /dev/psaux -t ps2 -Rms3
Change it togpm -m /dev/input/mice -t ps2cat /dev/sndstat
sample.au and sample.midi:playmidi using dselect and run;In /etc, install the hosts file and the automount maps
from the reference copies. Be sure the server's
/etc/exports file includes Pikachu for the appropriate
shares.
/etc/auto.master |
Master automount map that identifies the others |
/etc/auto.home |
User home directories (mounted under /users) |
/etc/auto.misc |
For mounting local devices (unchanged) |
/etc/auto.pkg |
Software installation packages |
/etc/auto.public |
Shared public directory, writeable |
Run dselect and install autofs.
/etc/skel/ files from the reference copies./users, but make the default home directories local, that is,
under /home.guest account (uid 60000, gid 60000)
with an easy, welcoming password.audio group.create_accounts.sh
script.dselect and install:task-kde and its dependencies/etc/X11/XF86ConfigInstall and upgrade software as needed. As recommended in dselect
Documentation for Beginners, it's a good idea to run
/etc/cron.daily/find after installing new software, so
locate can find the new files. Essential packages include
ntp and ssh. I also install apache (and
possibly apache-ssl), php, and
postgresql.
Always save copies of modified configuration files under
/home/config (reference copies are in the config subdirectory relative to this document). Some
comments:
| File | Notes |
/etc/X11/XF86Config |
This file started as a cross between the results of
|
/etc/skel/.bash_logout |
I list these here because web browsers won't display dot files in an
index. Note that /root/.bashrc isn't the same as
/etc/skel/.bashrc |
/dev/modem is linked to) /dev/ttyS1.kppp by starting
it and clicking the Setup button:
Accounts tabDial tabDNS tabGateway tabAssign the Default Route to this
Gateway.Device tabModem Device to /dev/modem.Connection Speed to 115200.Modem tabModem Commands:Volume/high to M1L3.Terminal:ATW2 and save it with AT&W
(this reports connect speed).PPP tabPPP: Dock into Panel on ConnectAutomatic Redial on DisconnectShow Clock on CaptionDisconnect on X-server ShutdownMinimize Window on Connectwith appropriate settings for the available ISPs.
For each account that will need it, set up kmail by starting
it and specifying the ISP's mail and news
servers.
Run appfinder to add non-KDE applications to the menu.
Some handy settings for the KDE desktop:
Focus policy:check Click Raise
check Auto Hide Panel (small delay, fast speed)
Some notes on apps.
The version of Amaya that comes with the stable distribution is very old. I
recompiled the sources for the testing version to make an Amaya
package that runs under potato. If that doesn't suffice, get the Amaya web
browser/editor from the World Wide Web
Consortium at http://www.w3c.org.
Jonathan Buzzard's tools (see References). At
time of writing, stable release was 1.1 and developmental release was 990830.
Fan turns fan on and off, but always reports it as off.
Developmental release has some buggy Makefiles (tries to install nonexistent
manpages; installs executables in /usr/local instead of
/usr/local/bin). Tuxtime crashes a lot, but does
detect low battery: When I configured Pikachu, the battery was defective, and
the alarms kept popping up every few seconds. They were exactly correct, but I
couldn't find a way to shut them off!
All the same, these promise to be very useful when Buzzard finishes them.
| File | Notes |
pikachu.wavsample.ausample.miditeam-rocket-motto.wav |
Sound samples for testing sound configuration |
| File | Notes |
create_accounts.sh |
Set up accounts for the usual users at home |
install_usb_mice.sh |
Sets up USB devices for mouse |
http://www.csd.toshiba.com/cgi-bin/WebObjects/Toshiba.woa/wa/ssDownload?series=59http://www.buzzard.org.uk/toshiba/
include:
His Technical Documentation is useful, too, at http://www.buzzard.org.uk/toshiba/docs.html
http://linux.toshiba-dme.co.jp/linux/http://www.onelist.com/community/linux-on-portegehttp://www.yy.cs.keio.ac.jp/~sanpei/note-list.htmlhttp://www.cs.utexas.edu/users/kharker/linux-laptop/http://www.kd-dev.com/~dereks/toshiba/