t60 linux wifi,T60中使用Ubuntu的一种解决方案(转载)

Linux on an IBM ThinkPad R50e

Last updated: Tue, 12 Dec 2006 21:49

This article is not yet finished and will be

updated every now and then.

This document describes how to install Debian GNU/Linux on an IBM

ThinkPad R50e UR0BYGE. This is not a step-by-step guide. Do

only follow my instructions if you know, what you are doing. If you

want a Linux on your ThinkPad without having to do much work, you

should consider buying one

with a preinstalled Linux or using Ubuntu, which does some

of the configuration automatically.

This report will probably be faulty. If you find any mistakes or if

you have any questions, feel free to e-mail me at

mk(at)mk-stuff(dot)de. If you lose your data, void your warranty or

destroy your notebook, it's not my fault.

Table of contents

Manufacturer:

IBM

Model:

1834-BYG

Product number:

CPU:

Intel Celeron M 1500 MHz

FSB:

400 MHz

RAM:

512 (2x256) MB DDR (Infineon)

Host bridge:

Intel 82852/855GM

HD:

Hitachi 30 GB ATA-100

Optical drive:

DVD(8x)/CD-RW(24/24/24x) Combo drive

Graphics chip:

Intel 82852/82855 GM (64 MB shared memory)

Display

15" XGA LCD TFT (1024x768)

Sound chip:

Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio

Controller

Modem:

Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem

Controller

CardBus bridge:

Texas Instruments PCI1510

Ethernet controller:

Intel 82801BD PRO/100 VE

Wireless LAN:

Intel PRO/Wireless 2200BG

Ports:

1x PCMCIA/Cardbus, 1x microphone, 1x headphones, 1x LAN, 1x

modem, 2x USB 2.0, 1x parallel port, 1x AC, 1x VGA

BIOS:

Version 2.04 (1WET84WW / 2005-07-11; see below)

Battery duration:

3:30 h (depending on what you are doing; sometimes even

longer)

BIOS Update Instructions:

Download the latest version from IBM.

Read IBM's instructions.

Plug in the ACDC.

Start the downloaded BIOS update program under Windows 2000 or

Windows XP.

Follow the instructions on the screen.

The system will restart.

Follow the instructions on the screen.

Config -> Display -> Boot Display Device: ThinkPad

LCD

Config -> Display -> Brightness: High (disables the

automatic dimming of the display, when the system runs on

battery)

Config -> Power -> CD-ROM Speed: Silent (makes your

CD/DVD drive quieter, but slower)

How to do this:

Download the tool from Hitachi.

Burn it on a CD and start from it.

Instructions:

Don't call the IBM support.

Run Start -> Programs -> Access IBM -> Create CD/DVDs

for recovery.

Put in 7 blank CDs.

Ready.

Now you can delete the recovery partition, which gives you back

about 4.5(!) GB of your hard-drive.

Download the i386 netinstall CD image for Debian 3.1 (about

111 MB)

Burn it on a CD and start from it.

Enter

linux26

as the boot command.

Install the basic system and the additional stuff you

need.

Later on I changed my /etc/apt/sources.list to Debian unstable. I don't really

know, how intelligent the step was. On the one hand, Debian

unstable is not as technically mature than Debian testing or even

Debian stable. I had some problems with unresolved dependencies

while trying to install software via apt-get (namely some QT3

stuff) and the systems seems to be a little bit slower than before.

On the other hand, you get the latest software, like KDE 3.4,

OpenOffice 2.0 or X.org, which is very cool. Decide for yourself,

what fits best to your requirements.

How to compile your own Kernel:

Get the latest Kernel-sources from Kernel.org.

Unpack them and change in the linux-2.6....

directory.

Enter

make menuconfig

and configure the Kernel. If you don't know what to do, just copy

my .config in the directory. My .config is for

Kernel 2.6.15 with the Suspend2-Patch applied. All the changes I

suggest you to do at your Kernel configuration are already applied

to this configuration.

Enter

make

...become root and enter...

make modules_install

cp arch/i386/boot/bzimage /boot/vmlinuz

cp System.map /boot/System.map

Re-adapt your /boot/grub/menu.lst if necessary.

Reboot your Linux with the new Kernel.

If you experience any problems or don't know what to do, take a

look at the Kernel Rebuild Guide.

the X-Server (the driver for the graphics chip is called

"i810")

ALSA (install alsa-base and alsa-utils; I set master volume and

pcm volume to 77, to not overload the built-in speaker)

the 3 buttons to control the volume

the Fn+Home/End buttons to control the brightness/contrast of

the display

the Fn+PgUp button to control the ThinkLight

DVD+/-/RAM reading

Burning CDs/CDRWs

PCMCIA

GPM (the device is called "/dev/input/mice")

vga=0x318

to the "kernel..."-string in my /boot/grub/menu.lst to get a console with a resolution

of 1024x768 @ 24 bpp.

Here are other possible configurations for the Framebuffer

device:

BPP

640x480

800x600

1024x768

1280x1024

1600x1200

8

0x301

0x303

0x305

0x307

0x31C

15

0x310

0x313

0x316

0x319

0x31D

16

0x311

0x314

0x317

0x31A

0x31E

24

0x312

0x315

0x318

0x31B

0x31F

For further information take a look at

[YourKernelSourceDirectory]/Documentation/fb/vesafb.txt.

Once you got the Framebuffer working, the console has a higher

resolution, you can view pictures...

fbi [filename]

...and you can watch videos...

mplayer -vo fbdev [filename]

/etc/X11/xorg.conf to the following:

Section "InputDevice"

Identifier "Configured Mouse"

Driver "mouse"

Option "CorePointer"

Option "Protocol" "PS/2"

Option "Device" "/dev/input/mouse0"

Option "YAxisMapping" "4 5"

Option "XAxisMapping" "6 7"

Option "Emulate3Buttons"

Option "EmulateWheelButton" "2"

Option "EmulateWheel" "true"

EndSection

Now you can scroll in all directions while holding the middle

button. If you need the "real" middle button for like inserting

text, you press the left and the right button at the same

time.

Attention: Some programs, e.g. Mozilla-Firefox, have special

functions on mouse button 6 and 7 (vertical scrolling), like going

back and forward in the history. But there is a way to disable this

annoying feature in Mozilla Firefox:

Type "about:config" in the URL-bar.

Type "mousewheel.horizscroll.withnokey.action" in the filter

and change the value from 2 to 0 via double-click.

Type "mousewheel.horizscroll.withnokey.numlines" in the filter

and change the value from -1 to 1 via double-click.

Now the history is disabled and you can actually scroll

vertically.

Enable the following options in your Kernel configuration:

Networking \ Networking support

Device Drivers \ Network device support \ Wireless LAN drivers

(non-hamradio) & Wireless Extensions

Cryptographic options \ AES cipher algorithms (i586)

Cryptographic options \ ARC4 cipher algorith

Cryptographic options \ Michael MIC keyed digest algorithm

Cryptographic options \ CRC32c CRC algorithm

Don't enable other the Kernel 80211 subsystem or the Kernel ipw2200

driver. Monitor Mode will not work with the Kernel drivers!

Compile, install and boot the Kernel.

Download the latest firmware and unpack it into

/usr/lib/hotplug/firmware.

Download the ieee80211 subsystem for Linux from http://ieee80211.sourceforge.net/downloads.php, unpack

and install it with `make` and `make install`.

Download the latest ipw2200 driver from http://ipw2200.sourceforge.net/downloads.php, unpack and

install it with `make` and `make install`.

I wrote a little script to manually shut down the W-LAN and, if

it is already turned off, turn it on again. The script is called

Fn-F5.sh. You can find it here.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值