LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 601|回复: 2

install fedora 3 for tp600e

[复制链接]
发表于 2008-11-9 20:34:59 | 显示全部楼层 |阅读模式
首先是看老外的:
http://linux-laptop.net/hosted/thinkpad600e-fc4.html
(第二贴中COPY)

网卡:
usb rtl8150的卡,核心支持的好.还有一块PCMCIA 8139的卡,也自认.在/etc/modprobe.conf里加了二行:
alias eth0 rtl8150
alias eth1 8139too
这样X窗口里的网络设置就能找道网卡了.

声卡:
声卡得先手动,再aumix开大.不是pnp的,不能在硬件浏览器里显示.

不好打字.把资料放下边.集合一下
 楼主| 发表于 2008-11-9 20:36:17 | 显示全部楼层
Installing Fedora Core 4 on the IBM Thinkpad 600E

Norman Lippincott Jr, Asst. Professor, Dept. of Mathematical and Information Sciences
Cedar Crest College, Allentown PA USA

17 July 2005
Introduction

Here I document my experience with a very recent successful installation of Fedora Core 4 (FC4) on an IBM Thinkpad 600E. As of this writing, the official FC4 release is just 5 weeks old. This release runs very well on this machine in spite of it being a low-end unit.

I purchased this particular Thinkpad 600E (used) about two years ago. The unit, at purchase, had Windows 98 installed, which I soon deleted. Since that time, I have installed several Linux distributions on it including Fedora Core 1 and Fedora Core 3.

In addition, I have a Belkin F5D6020 Wireless Notebook Adapter installed. The information here regarding that hardware may be useful to others with that card, even if installed in a laptop other than a 600E.
General Hardware Specifications of IBM Thinkpad 600E
Component         Status         Notes
Pentium II, 233 MHz         Works         This is just a bit under spec according to the FC4 recommended minimum, but runs fine.
288 MB RAM         Works         The 600E has 32 MB on the motherboard with capability to add up to 256 MB. I recommend maximum RAM for FC4.
6 GB Hard Disk         Works         This is the original hard drive for this machine. I chose the "ersonal Desktop" installation type due to the limited disk space.
Neomagic Video Controller         Works         Works out of the box under Fedora Core 4, but requires special attention if installing Fedora Core 3. See notes below.
LCD Panel         Works, setup required         FC4 will configure to 800x600 maximum resolution, in which case the fonts do not display well. Works much better at 1024x768 resolution, but some special attention is needed during setup. See notes below.
Crystal Sound Controller         Requires special setup         Not recognized by FC4 setup, but does work with a little effort. Requires special BIOS setup. No additional software is required.
CD/DVD ROM         Works for CD audio, CD/DVD data. DVD video not attempted.         I had DVD video working under FC3, but did not attempt for FC4. My FC3 notes are included below.
Modem         Not tested.         I don't use dialup, so I never tried it.
USB Port         Works         See Additional Hardware Components below for devices tested.
Additional Hardware Components

These components were installed and tested on my system, but are not standard components of the 600E.
Component         Status         Notes
Belkin F5D6020 Wireless Notebook Adapter         Works, but additional software required.         This card uses the Atmel chip set, which is poorly supported. FC4 recognizes the card, but firmware must be loaded at system startup. FC4 does not include the required firmware. See notes below.
Logitech Wireless USB Notebook Mouse         Works         Automatically detected under GNOME.
Various memory sticks         Works         Automatically detected under GNOME and automatically mounted. Icon appears on desktop after mount.
HP Photosmart Digital Camera         Works         Automatically detected under GNOME. Automatically runs the Photo Import Tool.
Kernel Version

This laptop is running under kernel version 2.6.12, build 2.6.12-1.1398_FC4 as of this writing.
BIOS Settings

In order for the sound card to work on the 600E you must disable "Quick Boot" in the BIOS. This can be done as follows:

   1. With the unit powered off, press and hold the F1 key.
   2. Power on the unit while still holding the F1 key. The "Easy Setup" screen should appear, at which point you can release the F1 key.
   3. Using the mouse, go to "Config", then to "Quick Book". Set "Quick Boot" to disabled.
   4. Save the BIOS settings and reboot.

If, later, you still don't get sound working, you might try the "Initialize" option in the BIOS, then make sure "Quick Boot" is still turned off. Save, and try sound again.
Basic Installation of Fedora Core 4

For installation media I used an FC4 CD set burned from the standard i386 ISO images downloaded from the Internet. See http://fedora.redhat.com/download/.

Insert CD #1 and boot. No special boot options are necessary, so just press ENTER at the "boot:" prompt. During the installation process, default selections may be used except where noted below.
Installation Type

FC4 offers several types of installations including Personal Desktop and Workstation, both of which are appropriate for laptops in general. I chose Personal Desktop due to the limited disk space; 6 GB is not enough for a Workstation installation.
Disk Partitioning

I allowed the installation to do automatic partitioning taking the option to remove all partitions on the system. The defaults are adequate but I always ask to review the disk setup. On my system it gave me a 576MB swap partition, and the remainder is dedicated to a logical volume group containing a 103MB boot partition and a 6047MB root partition.

I don't dual-boot with Windows, and I have no desire to do so. I'm sure it's possible on this laptop, but with 6 GB of disk space it would be very tight.
Network Configuration

This will vary depending on your network card, if you have one. In my case, the Belkin wireless card is recognized, but has problems later that need to be resolved.
Package Defaults

The FC4 installation will give you the opportunity to customize the package selection. I always use this option so that I can pick and choose the software I want installed. For this installation, I wanted to eliminate some of the software I would not use right off the bat. Here are some things I considered:

    * Graphical Internet - I trimmed this down to include only firefox, thunderbird, and gaim.
    * Text Internet - I chose only elinks and mutt.
    * Sound and Video - I removed all of the additional packages in this area but kept the main packages. Many of these packages have to do with CD/DVD burning; this laptop does not have a burner. A couple of packages installed by default are CD rippers. With limited disk space, I won't be copying audio CD's to my hard drive. Further, I planned to use only xmms as a music player, and that package is now part of Fedora Extras, not part of Fedora Core.
    * I added packages vim-X11 and gnucash due to personal preferences and needs.

First Boot

The FC4 installation will prompt you to remove the CD media and reboot the system. The initial boot sequence continues the system setup.

For my installation, the network failed to start. This was expected with the Belkin, Atmel-based wireless card. A message indicates that the firmware was not found, and there is a significant delay at this point. The startup eventually proceeds without the network.
Display Setup

FC4 properly detects the Neomagic video controller but does not detect the monitor. As such, it sets the display resolution to 800x600 without an option for higher resolution. Fonts display very poorly at 800x600 resolution on this laptop. I run at 1024x768 and the display is very good at that resolution.

To change to 1024x768 resolution, do the following at display setup, in this order:

   1. Configure the monitor as "Generic LCD / 1024x768".
   2. Set color depth to "Thousands of Colors".
   3. Change resolution to 1024x768.

If you are installing Fedora Core 3 on the Thinkpad 600E, the video driver works but not very well. You will notice that scrolling motion is very rough. This can be fixed by replacing the driver (/usr/X11R6/lib/modules/drivers/neomagic_drv.o) with an older Neomagic driver from XFree86. The older driver can be downloaded from http://www.xfree86.org/~alanh/drivers/x86/. This does not appear to be a problem in Fedora Core 4.
Atmel Wireless (Belkin card) Network Setup

I spent a good bit of time researching this for FC1 and for FC3. My FC3 setup worked fine under FC4, so there was not a lot of research needed this time around.

The issue is that the Atmel firmware needs to be loaded at system startup, and the firmware is not included in the FC4 distribution (probably due to licensing issues, but I'm not sure). The firmware can be installed from package atmel-firmware. The RPM I used was atmel-firmware-1.1-1.i386.rpm. I had saved this RPM from my FC3 installation, but could not find this specific version on a recent search. Version 1.0 can be found for download via Google as of this writing, but I have not tried it.

Install the RPM and you get the firmware and a program to load the firmware. I was able to start the network by doing the following:

atmel_fwl eth0 /usr/lib/hotplug/firmware/atmel_at76c502d.bin
ifup eth0

In order to make this happen every time the system is started, add the following line to the end of /etc/sysconfig/network-scripts/ifcfg-eth0:

/usr/sbin/atmel_fwl eth0 /usr/lib/hotplug/firmware/atmel_at76c502d.bin
System Updates

Once the network was running, I wanted to apply all available system updates. I am very good about keeping my operating systems software up to date, and I typically look to update my systems as soon as possible after installation. I keep my Fedora systems updated with yum, using this command:

yum update

This will take some time. It took about an hour on my system.
Sound Setup

Getting sound to work on this unit was the most difficult and research intensive part of the installation. FC4's sound card detection does not recognize the Crystal controller built into this unit (nor did FC3's detection). To make matters worse, none of the configurations I had used for previous Fedora versions worked either.

After considerable searching I hit upon the right configuration. Add the following lines to /etc/modprobe.conf:

options snd-cs4236 isapnp=0 cport=0x538 port=0x530 sb_port=0x220 fm_port=0x388 irq=5 dma1=1 dma2=0
alias snd-card-0 snd-cs4236

You can test this immediately by doing:

modprobe snd-cs4236

I tested my configuration by running Applications / Internet / IM (which runs gaim). I set up my AOL-IM account, and sent a message to myself. gaim, in this case, gives two audible cues; one for the outgoing message and one for the incoming message.

If that works, try rebooting the system to make sure the sound system comes up. In my case it worked fine.
FC3 Sound Setup

The configuration, in /etc/modprobe.conf, I had used under FC3 is as follows:

alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-cs4232
alias sound-slot-0 snd-cs4232
options snd-cs4232 port=0x530 cport=0x538 isapnp=0 dma1=1 dma2=0 irq=5

This did not work under FC4. I am, by no means, an expert in Linux sound architecture, and I really don't know how all this ties together. But the two-line configuration that worked for FC4 is, to me, much more straightforward and understandable. Simpler is better, I suppose. I don't know if the two-line version would have worked for FC3.
Extra Software

As part of the installation, FC4 configures the Fedora Extras repository, which gives you access to additional software.

I also configured the Livna repository so that I could install xmms with MP3 playback. Installing this was the final test for my sound setup. Configuration information for the Livna repository can be found on the Livna Configuration Page. This is easier than ever under FC4. Just download and install the RPM and the repository is fully configured.

I used yum to install xmms-mp3, which in turn installs xmms as a dependency. Once installed, I tested it with an MP3 and it worked fine.
Unpursued Issues
Modem

Personally, I have not used a dial-up modem since 1999. Further, I have never set one up in Fedora. As such, the modem remains untested.
DVD Video Playback

I had DVD video playback working under FC3, but did not attempt to get it working under FC4. It worked fine under FC3 using Ogle, but I never got it working well with xine (my preferred DVD player).

In order to make this work under FC3, I needed to add the following to /etc/X11/xorg.conf in the Device section for Videocard0:

Option "OverlayMem" "829440"
Contact Information

I welcome questions, comments, suggestions, etc. regarding Fedora Core 4 on the IBM Thinkpad 600E, or FC4 in general.

    * nlippinc (at) cedarcrest (dot) edu
    * http://www2.cedarcrest.edu/academic/csc/nlippincott/

Resources

Special thanks to the following which contributed greatly to the success of this project:

    * The Official Fedora Web site.
    * Craig's HowTo for Revision 2: the Belkin F5D6020 and D-Link DWL-650 posted at House of Craig.
    * Mark Alford's Fedora/RedHat GNU/Linux page, for IBM Thinkpads by Prof. Mark Alford, Washington University in St. Louis.
    * A forum posting at Red Hat, Inc.
    * Many others Googled and, unfortunately, forgotten.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-9 20:37:21 | 显示全部楼层
Sound on the Thinkpad 600E using kernel drivers

On several Linux user forums newbies and old timers often have a hard time getting sound to work on their Thinkpads, and one of the most common laptops is still the 600E. I have had great success using Alsa on my 600E (a 2645-4A0 model) but it seems I'm quite alone in this. So here's a quick and ugly solution to getting it working. The kernel developers don't want the ad1848 driver to be used at all but it actually works pretty well!

Here is what you need: A Thinkpad 600E with the Cirrus Logic CS4237B sound chip, known for being incorrectly identified as a CS4610/11 by Linux utilities such as lspci. Well...it's not a CS46xx model - those are PCI chips while the CS4237B is an ISA chip. It is actually a whole lot easier getting the sound to work this way so I'll get to it right away:

Kernel configuration for 2.6 series kernels:

    * ISA-PNP support, built-in or as a module (Device Drivers -> Plug and Play support)
    * * UART401 built as a module (Device Drivers -> Sound -> Open Sound System -> MPU-401 support)
    * * CS4232 built as a module (Device Drivers -> Sound -> Open Sound System -> OSS Sound Modules -> Crystal CS4232 based (PNP) cards)
    * * AD1848 built as a module (Device Drivers -> Sound -> Open Sound System -> PSS (AD1848, etc)


That's pretty much it. Test the modules before finalizing your options by writing a script or setting your options in a settings file (such as
/etc/modules on Debian). To load the modules manually:
modprobe isa-pnp
modprobe ad1848
modprobe uart401
modprobe cs4232 cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=9

If all goes well you shouldn't be seeing any errors at all. Test playing a sound using play, or any other OSS-aware application (XMMS works fine too). If you get problems playing sounds you may have to chmod a+rw /dev/dsp /dev/sound /dev/mixer to make sure all users have access to the sound devices.

If you do get sound you could write a script to automatically load the modules at boot - much recommended. Loading them by hand like above gets tedious and isn't very productive, now is it? I found this simple script on the Linux on Laptops website and it should work right out of the box. Just remove the isa-pnp related lines if you have ISA PNP support built in rather than as a module.

Copy this script to /etc/init.d/ and call it oss_sound or something similar. Make it executable through chmod +x /etc/init.d/oss_sound and either create the symlinks to the runlevels at which it should run manually or use your distribution's init script management tool (rc-update on Gentoo, Debian has a similar tool) to make it run at boot and load the sound modules, and also shut down cleanly when the computer is halted.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表