|
|
原文连接:http://www.rtdti.com/d610/
Installing Fedora Core 6 Linux (FC6) on a Dell Latitude D610 Laptop
Updated Sat Nov 18 15:20:51 PST 2006, Sun Oct 29 13:39:17 PST 2006.
Links
* Dell D610: Installing FC5, FC4.
* Thinkpad T20: Installing FC6.
Hardware and Initial Success
CPU Auto Intel Pentium-M 770 2.13GHz, 1.00 GB RAM, Dothan FSB 533 915GM/PM Express PCI
Video card Auto ATI M22 Mobility Radeon x300 64MB
LCD Panel Auto 1400x1050
Disk Auto Intel 82801FBM Ultra ATA Storage Controllers - 2653 SATA (Serial ATA) Drive 80GB ST9808211A
Mouse Auto Alps Touch Pad into PS/2 Mouse Port
Ethernet card Auto Internal Dell thingee
Wireless card Working Dell Wireless 1470 Dual Band WLAN Mini PCI Broadcom Driver 3.100.35.0 11/27/2004 (use bcmwl5.inf from R102320.EXE from dell and ndiswrapper-1.27)
Sound Auto SigmaTel 9751 C-Major Audio
CD/DVD Auto* Sony 8X DVD+/-RW Optical drive DW-Q58A in drive bay
*Never tried to play DVD movies.
Media: Some writable media don't work. See Operations table, below.
USB Auto Camera, GPS, Flash drive, External HD all working.
Modem Untried Internal 56K Model for Dell Latitude D-Family notebooks Conexant D110 MDC V.9x Modem (PCI)
Floppy Untried USB in drive bay NEC USB UF000x USB Device
Smart Card Untried TI PCI GemCore based SmartCard controller
All the Auto entries autodetected and worked out of the box.
The Installation Process
Legend:
Bullet Meaning
[x] Already selected by default and left selected
[+] Selection added by me during install
[-] Default section removed by me
[ ] Not selected by default or by me
This section outlines the installation sequence I went through during the installation. I chose to wipe out everything and install fresh. (Since my last installation was single-boot FC5, completely erasing XP, that was not too stressful for me),
* Peform install from DVD
Sat Oct 28 13:57:02 PDT 2006
boot: (Enter: graphical install)
* Media Check. Result is OK
* Running anaconda... Autodetect video card
ATI M22 Radeon Mobility M300. (X comes up in full screen resolution. Both track pad and track pointer are working.)
* Fedora Spash screen (Next)
* Language (English, Next)
* Keyboard (US English, Next)
* [x] Install Fedora Core (Next) (It did detect previous FC5 installation)
* Partitioning... Remove all partitions 76293MB. Warning: Are you sure you want to do this? (Yes, Next)
* Network Devices.
o Active on Boot
[x] eth0 DHCP DHCP
o Hostname
[x] automatically via DHCP
(Next) (We'll might need ethernet up before we try to get wireless working)
* Region
o Americas/LA
[x] UTC (This caused a little trouble on another FC6 install I did, but it went trouble free this time).
(Next)
* Root password (Next)
[Retrieving installation]
* Software Sets
o [x] Office and Productivity
o [+] Software Devo
o [ ] Web server
o Select Additional Repositories
+ [ ] Fedora Extras
(+) Customize Now...
* Customization
o Desktop Environments
+ [x] Gnome
+ [+] Kde
o Apps
+ [+] Authoring and Publishing
+ [x] Editors
# [+] Emacs
# [x] vim-enhanced
+ [+] Engineering and Scientific
+ [-] Games and entertainment (sorry, I'm dull)
+ [x] Graphical Internet
# [+] Epiphany
# [+] Thunderbird
o Development
o Servers
o Base System
o Languages
(Next)
Checking for dependencies in packages (1 min 45 seconds to complete)
* Next to begin (Next)
(Note: clicking on Next did not work until I moved off of Next button and then back on )
o Started at 14:09
o Formatting finished at 14:11
o First package at 14:14
o Early estimate, ~15% done = 25 minutes. (I might have missed the very first estimate)
o Finished 14:40 = 31 minutes
* Congratulations, reboot
Kernel 2.6.18-1.2798
...
X starts, screen blank for a while (no sync) then it comes up, beautiful.
...
(I forgot to connect eithernet, so DHCP fails to init eth0. Will probably need to reboot )
...
First time boot configuration:
o Welcome (Forward)
o License (+) Yes (Forward)
o Firewall
Enabled
Trusted services
[x] SSH
(accept defaults: Forward)
o SELinux
Enforing (accept defaults: Forward)
o Date and Time
Looks OK (UTC and correct time zone handled right. My old clock which I don't remember if it was UTC or not, is showing correct time anyway.)
NTP
[+] Enable NTP
(Forward)
o Create user (Forward)
o Sound Card
Detected Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller
(Test passes: Yes) (Forward)
o Login screen! (Gnome login)
Customizations
Ok, annoying stuff first
* [+] Fix control key
System / Preferences / Keyboard / Layout Options / Ctrl Key posn / Make caps an additional ctrl
(Yum is already warning me about updates)
* [+] Remove alt-space
System / Preferences / Keyboard Shortcuts / Window Management / Activate Window Menu /
* [+] Add a terminal icon to top panel
Applications / Accessories / Terminal -> Drag to top panel
* [+] Add a SU terminal icon to top panel
Applications / Accessories / Terminal -> Drag to top panel
Right click on new icon / Properties
Name : SU Terminal
Command : gnome-terminal -x su -
Icon : gnome-term-linux.png (Add the Tux in corner)
(Close)
* [+] Make top pannel wider
Right click on top panel / Preferences
General / Size = 48
Background [+] Solid color. Slide 1/2 way to more opaque.
* [+] Try out "Window Wobble"
System / Preferences / Desktop Effects
Enable Desktop Effects
[x] Windows wobble when Moved
[x] Workspaces on Cube
It's pretty, but at some point soon after I have a crash and can't get X to restart for the user. It keeps just shutting down. (Note: I had turned on a differnt wall paper and made the gnome-terminal's have transparency, which worked fine in FC5). Since X works when root logs in, I suspect something whacky happened to my user's config files. I turn on Desktop Effects (sorry, I'm boring) and then rm -rf ~/.gnome* ~/.gconf* and any other . files that I think may be causing trouble. X crashes go away.
* [-] Turn OFF Search and Indexing
System / Preferences / Search & Indexing
Search:
[-] Start search & indexing services automatically
[-] Index data while on battery power
Indexing
[-] Index my home directory
These seem to really slow things down and I never use them. I use find by hand.
* [-] Turn OFF yum-updatesd in
System / Administration / Services
[-] yum-updatesd
You can't do yum update by hand if yum-updatesd is enabled. They conflict on locks, or something. I like manual control here.
* [+] To get network working (so I can you update), I just reboot (after attaching ethernet cable). It should have correct config from DHCP previously set up when ethernet was not attached.
* Reboot
It still complains during initial text messages that network is not responding, but when I check, ifconfig says its up and and I can ping www.redhat.com Turns out the complaining was about eth1, which is attached to to internal wireless card by the default bcm43xx module. More about that later.
* [+] yum update
* [+] Add Cpu Frequency Scaling Monitor to top panel
Right click on top panel / Get (bogus) message that "CPU frequence scaling unsupported" (the exact same app it worked in FC5!)
At some point soon after, X is crashing again! I wipe my configuration again (not much to lose): rm -rf ~/.gnome* ~/.gconf* ~/.wapi which gets rid of Cpu Frequency Scaling Monitor. X crashing goes away and I am stable now. (Enough to write this!)
* Restore my Data
Stuff in /home, /root, one or two files in /etc, /usr/local/src.
* Time to get the wireless working...
Get Wireless Working
Basic plan is to use ndiswrapper and Dell's XP driver R102320.EXE (see below for links).
Note: Do not need 16K kernel (yet!) So this works with a stock Fedora kernel.
For more information on how I got this working, look at the FC5 install I did, where I actually probed the card, etc.
* Must disable bcm43xx driver module that is loaded by default. It grabs hardware and makes Dell's driver unable to work.
Blacklist bcm43xx driver and reboot.
o Add this line to end of /etc/modprobe.conf
blacklist bcm43xx
and comment out this line:
# alias eth1 bcm43xx
* Make sure eth1 no longer has an entry in System / Administration / Network. Delete it if it does. This was created by the bcm43xx driver that we just blacklisted. The ndiswrapper device will be wlan0
* Reboot (to have blacklist take effect).
* Get latest ndiswrapper 1.27 from Sourceforge, and get Dell's R102320.EXE XP driver.
Found R102320.exe , around #56. Look for:
Card: Dell Wireless 1470 (802.11a/b/g) Dual-Band WLAN miniPCI Card
* Chipset: Broadcom BCM4319 (rev 02)
* pciid: 14e4:4319
* Driver: http://ftp.us.dell.com/network/R102320.EXE
* Other: Use bcmwl5.inf. Worked out of the box on Fedora Core 4, kernel 2.6.11.
* Install ndiswrapper.
You will need kernel-devel package loaded, which my "development" choice automatically did.
Otherwise use yum install kernel-devel.
% tar -zxf ndiswrapper-1.27
% cd ndiswrapper-1.27
% make
% su
# make install
# exit
% cd ..
* Extract Dell's XP driver
% mkdir R102320
% cd R102320
% unzip ../R102320.EXE
% cd ..
* Use ndiswrapper
% cd R102320;
% su
# ndiswrapper -i bcmwl5.inf
* Check ndiswrapper
# ndiswrapper -l
Installed drivers:
bcmwl5 driver installed, hardware (14e4:4324) present (alternate driver: bcm43xx)
The card should be there, the WIFI LED should light up!
* Configure for local network
# wconfig wlan0 essid
# iwconfig wlan0 key
DHCP users would just type:
# dhclient
I use a static IPs on my LAN, so instead of dhclient, I do...
# ifconfig wlan0
# route add default gw wlan0
# exit
* A test...
% ping www.redhat.com
PING www.redhat.com (209.132.177.50) 56(84) bytes of data.
64 bytes from www.redhat.com (209.132.177.50): icmp_seq=1 ttl=118 time=36.3 ms
64 bytes from www.redhat.com (209.132.177.50): icmp_seq=2 ttl=118 time=36.7 ms
64 bytes from www.redhat.com (209.132.177.50): icmp_seq=3 ttl=118 time=37.0 ms
64 bytes from www.redhat.com (209.132.177.50): icmp_seq=4 ttl=118 time=36.0 ms
...
* Hurrah. Time to go to bed.
Getting USB Garmin GPS To Work
My app uses GPSBabel, so....
* Had trouble with some default garmin handler grabbing the USB before gpsbabel can get it.
Following advice from gpsbabel on Linux Hotplugging, "blacklisted" the garmin to disable the auto-detect by appending this line to /etc/modprobe.conf:
blacklist garmin_gps
* Following more advice from gpsbabel Linux Hotplug, created a file /etc/udev/rules.d/51-garmin.rules with contents:
SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="0666"
* Reboot for blacklisting to take effect.
* GPSbabel 1.3.1 is now an RPM at sourceforge.net. Download and install it
% su
# rpm -i gpsbabel-1.3.1-0.i386.rpm
Noise when idle
See this for idea to add idle=halt to kernel command line. My /etc/grub.conf looks like this now:
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2849.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2849.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet idle=halt
initrd /initrd-2.6.18-1.2849.fc6.img
Operations
Suspend to Mem (pm-suspend or System/Suspend) Need to revive wireless network on resume, but that is simply a matter of reconfiguring the wireless card thusly (for me)
iwconfig wlan0 essid (my-id)
iwconfig wlan0 key (my-key)
Suspend to Disk ?
USB Flash memory drive Use a lot. Works fine.
Digital USB Camera Just works. Auto-imports with gthumb-import
Garmin eTrex Vista C GPS (USB) Works with gpsbabel See these steps for how I got it working.
Burning (data) DVD (nautilus-cd-burner) Picky about media it works with.
Works Fails
DVD-R Fujifilm 8x DVD-R Fujifilm 16x -- Can't finalize
DVD-R Imation 16x DVD-R Sony 16x -- Can't recognize
DVD+R TDK
Burning (data) CD (nautilus-cd-burner)
Works Fails
CD-R TDK 52x
CD-R TDK 48?x
Contact
My email ends with rtdti.com, starts with lol (like linux-on-laptops), and has that funny a symbol in the middle.
Robert Dowling
Kensington, California. |
|