https://wiki.archlinux.org/api.php?action=feedcontributions&user=Hotsauce&feedformat=atomArchWiki - User contributions [en]2024-03-28T17:21:45ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Dell_Inspiron_6400&diff=34275Dell Inspiron 64002007-12-29T16:33:40Z<p>Hotsauce: /* Dell Wireless 1390 */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=Introduction=<br />
==Summary==<br />
The goal of this wiki is to provide a comprehensive guide for Dell Inspiron 6400 owners seeking to install Arch Linux. It will attempt to cover all facets of hardware management, including wireless networking and hotkey support. Although this guide has been written specifically for the Inspiron 6400, many of the sub-sections can be applied to other Dell Inspiron models, including: <br />
* Dell Inspiron e1405<br />
* Dell Inspiron 640m<br />
* Dell Inspiron e1705<br />
<br />
==From the original contributor==<br />
I will attempt to cover as much as possible, however please feel free to contribute to this guide as you feel necessary. I will be happy to answer any questions, but I am by no means a Linux expert so there's a good chance I won't know the answer either! ~[[User:Thayer|Thayer]] (thayerw(at)gmail(dot)com)<br />
<br />
=Hardware Specifications=<br />
The 6400 series laptop is currently available in a number of configurations and this guide will attempt to cover them all. Refer to the list below to determine whether your configuration has been documented.<br />
<br />
*<span style="color:green;">Green items are confirmed to work</span><br />
*<span style="color:red;">Red items have yet to be confirmed and require a Wiki entry</span><br />
<br />
===Base Components===<br />
<br />
* Intel Core Duo and Core 2 Duo processors<br />
** T2500 (2GHz/667MHz FSB/2MB Cache)<br />
** T5600 (1.83GHz/667MHz FSB/2MB Cache)<br />
** T2050 (1.66GHz/667MHz FSB/2MB Cache)<br />
** T1350 (1.66GHz/667MHz FSB/2MB Cache)<br />
** T5200 (1.60GHz/667MHz FSB/2MB Cache)<br />
* 512MB/1GB/2GB 533MHz/667MHz DDR2 SDRAM Memory<br />
* 15.4" Widescreen Display<br />
** WXGA (1280 x 800)<br />
** <span style="color:green;">WSXGA 1280x800 with TrueLife™</span><br />
** <span style="color:green;">WSXGA+ 1680x1050 with TrueLife™</span><br />
* 80GB/100GB/120GB/160GB 5400/7200 RPM SATA Hard Drive<br />
* <span style="color:green;">8x CD/DVD+/-RW/DL+R</span><br />
* <span style="color:green;">Broadcom 440x 10/100 Ethernet</span><br />
* <span style="color:green;">Conexant HDA D110 MDC V.92 modem (winmodem)</span><br />
* <span style="color:green;">Sigmatel STAC 92xx Audio</span><br />
* <span style="color:green;">Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader</span><br />
* <span style="color:green;">4 USB 2.0 Ports</span><br />
* <span style="color:red;">Firewire port (IEEE 1394)</span><br />
* <span style="color:red;">1 ExpressCard Slot</span><br />
* <span style="color:green;">Synaptics touchpad with scroll zones</span><br />
<br />
===Video Options===<br />
<br />
* <span style="color:green;">128MB ATI Mobility Radeon X1300 with HyperMemory</span><br />
* <span style="color:green;">256MB ATI Mobility Radeon X1400 with Hypermemory</span><br />
* <span style="color:green;">256MB nVidia GeForce Go 7300 with TurboCache</span><br />
* <span style="color:green;">128MB Intel Graphics Media Accelerator 950</span><br />
<br />
===Wireless Options===<br />
<br />
* <span style="color:green;">Intel Pro/Wireless 3945ABG (802.11a/b/g)</span><br />
* <span style="color:green;">Dell Wireless 1390</span><br />
* <span style="color:green;">Dell Wireless 1500 Draft 802.11n Wireless (Intel 4965AGN)</span><br />
* <span style="color:green;">Dell Wireless 350 Bluetooth Module</span><br />
* <span style="color:green;">Dell Wireless 355 Bluetooth Module</span><br />
<br />
=Arch Installation=<br />
There are plenty of resources available to help new users install and configure a basic Arch Linux installation, including the [[Official_Arch_Linux_Install_Guide|Official Installation Guide]] and the [[Beginners_Guide|Beginners Guide]].<br />
<br />
That being said, the following tips are specific to the Dell Inspiron 6400 and may be of some help during installation.<br />
<br />
If an Ethernet (wired land-line) broadband internet connection is available it is highly recommended that Arch be installed with the smaller FTP ISO. If you plan to have a desktop environment (KDE, GNOME, etc) then the majority of the packages you require will come from the internet repositories and <em>not</em> the Arch CD itself. This method will get you up and running in the shortest amount of time. Simply download the FTP ISO, burn it to a CD and restart your computer.<br />
<br />
The following steps assume you are connected to the Internet with a wired Ethernet connection, as opposed to a wireless connection.<br />
<br />
==Boot the Arch Setup CD==<br />
If the laptop does not boot from the CD, reboot and press F12 at the DELL BIOS splash screen to access the boot menu. From there you can choose to boot from the CD/DVD drive.<br />
<br />
==Setup==<br />
For the most part, the default settings should be fine, however the following notes may be of assistance.<br />
<br />
===0 - Configure===<br />
Just follow the prompts, choosing the defaults when asked. Make sure you allow the setup to detect your basic hardware automatically when asked.<br />
<br />
===1 - Prepare Hard Disks===<br />
The following is an example partition table. The example hard drive is 100GB and is configured to run only Arch Linux. Your settings will vary depending on the size of your hard drive and the number of operating systems you plan to run.<br />
<br />
'''sda''' (100GB)<br />
'''sda1''' ext2 100MB /boot ''(the boot loader files and kernel images will be installed here)''<br />
'''sda2''' swap 2.1GB swap ''(this example notebook has 2GB of RAM and we want to leave room for suspend2disk (hibernation) functions)''<br />
'''sda3''' ext3 6GB / ''(root--everything else will go here except for the files in /home and /boot)''<br />
'''sda4''' ext3 90GB /home ''(it's actually less than 90GB because ext3 filesystems reserve space to avoid capacity problems, but you get the point)''<br />
<br />
===2 - Select Packages===<br />
*Choose a mirror ('''''ftp.nethat.com''''' works very well from Vancouver, BC @ 160kb/s)<br />
*Choose ''only'' the base packages<br />
*Select ''all'' packages by default<br />
<br />
===3 - Install Packages===<br />
*Answer ''yes'' to cache packages (default)<br />
*Grab a coffee, it's going to take a while to fetch 100MB of packages<br />
<br />
===4 - Configure System===<br />
Choose your preferred editor; either vim or nano. <br />
<br />
A few files can be left alone, but there are some changes worth mentioning:<br />
<br />
====rc.conf====<br />
*Change your locale if necessary, for example Canadians will want to use ''en_CA'':<br />
LOCALE="en_CA.utf8"<br />
*Change the timezone if necessary, for example:<br />
TIMEZONE="Canada/Pacific"<br />
*To get rid of that ever-so-annoying system beep, blacklist the PC speaker module:<br />
MOD_BLACKLIST=(pcspkr)<br />
*Change the hostname if you desire a unique name, for example:<br />
HOSTNAME="dublin"<br />
*If your Internet Service Provider assigns your IP address automatically (and most do), make sure ''eth0'' is set to ''dhcp'':<br />
'''eth0="dhcp"'''<br />
<br />
====hosts====<br />
Add a second line under localhost with your unique hostname (the same hostname you chose in rc.conf) in place of localhost, for example:<br />
127.0.0.1 localhost.localdomain localhost<br />
'''127.0.0.1 dublin.localdomain dublin'''<br />
<br />
====fstab====<br />
No changes should be necessary.<br />
<br />
====mkinitcpio.conf====<br />
No changes should be necessary.<br />
<br />
====modprobe.conf====<br />
No changes should be necessary.<br />
<br />
====resolv.conf====<br />
No changes should be necessary.<br />
<br />
====locale.gen====<br />
Uncomment the languages files you wish to use, including the one you configured under LOCALE in the rc.conf:<br />
#en_BW.UTF-8 UTF-8<br />
#en_BW ISO-8859-1<br />
'''en_CA.UTF-8 UTF-8'''<br />
'''en_CA ISO-8859-1'''<br />
#en_DK.UTF-8 UTF-8<br />
#en_DK ISO-8859-1<br />
<br />
Canadians should probably uncomment ''en_US, en_CA and en_GB''.<br />
<br />
====root password====<br />
Set a root password.<br />
<br />
====pacman mirrors====<br />
You can either use the same mirror you used to install the base packages, or you can choose a different one at this time. The mirror you select at this stage will be your default repository after installation is complete.<br />
<br />
===5 - Install Kernel===<br />
The default choices should be fine.<br />
<br />
===6 - Install Boot Loader===<br />
If you are installing Arch as the sole operating system on the notebook, just go with the default settings. If you are dual-booting with another OS, choose the options carefully to avoid problems with your existing settings.<br />
<br />
* When installing GRUB, you can also append '''vga=791''' to the kernel option to set your terminal (framebuffer) resolution to 1024x768, for example:<br />
kernel /vmlinuz26 root=/dev/sda3 ro '''vga=791'''<br />
<br />
===7 - Exit===<br />
Reboot, eject the CD and log into your new Arch Linux installation.<br />
<br />
==Synchronize Repositories and Update==<br />
When logging into Arch for the first time, it is a good idea to make sure the local package database is synchronized with the Arch software repositories and that all of your software is up to date. From the console, type:<br />
# pacman -Syu<br />
<br />
=Add Users=<br />
At this point you can add a local user account by typing:<br />
# useradd -m johndoe<br />
# passwd johndoe<br />
<br />
''The '''-m''' flag creates the user's /home directory and copies the default configuration files to it (from /etc/skel)''<br />
<br />
Note, you will not be able to use the '''sudo''' command with this account until you [[Sudo|install and configure sudo]].<br />
<br />
=Xorg=<br />
If you plan to install a desktop environment (e.g. GNOME, KDE, etc.) you must install and configure Xorg.<br />
<br />
===Installation===<br />
Install the necessary packages:<br />
# pacman -S xorg xterm hwd<br />
<br />
===Configuration===<br />
The <tt>hwd</tt> program (''Hardware Detect'') will examine your hardware and create a default configuration file for Xorg (''/etc/X11/xorg.conf''):<br />
# hwd -xa<br />
You should now have a working X setup, however the default configuration uses the generic VESA graphics driver. If you want to run your desktop at its native resolution (e.g. 1680x1050) and enable 3D acceleration, you'll need to install the appropriate driver for your video card. See the [[Dell_Inspiron_6400#Video|Video]] section below for detailed instructions.<br />
<br />
=Desktop Environments=<br />
Arch Linux supports a variety of desktop environments and window managers, all of which must be installed manually. Refer to the following list for more information:<br />
<br />
'''Openbox:''' [[Openbox|Openbox Wiki]]<br />
<br />
'''GNOME:''' [[GNOME|GNOME Wiki]]<br />
<br />
'''Xfce:''' [[Xfce|Xfce Wiki]]<br />
<br />
'''KDE:''' [[KDE|KDE Wiki]]<br />
<br />
'''KDEmod:''' Visit the KDEmod website at http://kdemod.ath.cx/ or see the [[KDEmod|KDEmod Wiki]] for more information.<br />
<br />
'''E17:''' [[E17|E17 Wiki]]<br />
<br />
'''Fluxbox:''' [[Fluxbox|Fluxbox Wiki]]<br />
<br />
'''Xmonad:''' [[Xmonad|Xmonad Wiki]]<br />
<br />
'''wmii:''' [[wmii|wmii Wiki]]<br />
<br />
'''dwm:''' [[dwm|dwm Wiki]]<br />
<br />
'''awesome:''' [[awesome|awesome Wiki]]<br />
<br />
=Hardware=<br />
<br />
==Audio==<br />
===Sigmatel/Intel Chipset===<br />
The Sigmatel audio chipset should be detected automatically during installation, requiring no input from the user. For example, the following kernel modules are configured in ''/etc/rc.conf'' by default:<br />
snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore<br />
<br />
====ALSA Audio Drivers====<br />
Refer to the [[ALSA]] wiki for general assistance with volume settings, group permissions, etc.<br />
<br />
====OSS Audio Drivers====<br />
See the [[OSS]] wiki for more information.<br />
<br />
==Video==<br />
===ATI X1300/X1400 Radeon Mobility===<br />
====Proprietary Driver (catalyst/fglrx)====<br />
'''''Note''': ATI has rebranded the fglrx driver to be known as 'catalyst'; at this time '''only the package name has changed'''.''<br />
<br />
The catalyst ATI proprietary driver is available from the standard Arch repositories and is the simplest way to get full 3D acceleration and native resolutions on your notebook:<br />
# pacman -S catalyst<br />
Run the '''aticonfig''' tool to automatically add the appropriate settings to ''/etc/X11/xorg.conf'':<br />
# aticonfig --initial<br />
Lastly, we need to modify ''/etc/rc.conf'' and add the '''fglrx''' kernel driver to the MODULES section, for example:<br />
MODULES=('''fglrx''' b44 mii snd-mixer-oss ...)<br />
Reboot and confirm that the ATI driver is working by typing '''fglrxinfo''' in a terminal. The results should look something like this:<br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: ATI Mobility Radeon X1400<br />
OpenGL version string: 2.1.7059 Release<br />
<br />
Further information can be found at the [[ATI]] wiki.<br />
<br />
====Open Source ATI Driver====<br />
<br />
Please refer to the [[ATI]] wiki for more information.<br />
<br />
===Intel Graphics Media Accelerator 950===<br />
====Open Source Intel Driver====<br />
<br />
Install the driver:<br />
# pacman -S xf86-video-intel<br />
<br />
Use '''''gft''''' to generate the Xorg ''Modeline'' values and then edit ''/etc/X11/xorg.conf'' and add these values to the ''Monitor'' section, for example:<br />
<br />
Section "Monitor"<br />
Identifier "Monitor0"<br />
VendorName "unknown"<br />
'''Modeline "800x600" 40.12 800 848 968 1056 600 601 605 628 #60Hz'''<br />
EndSection<br />
<br />
Lastly, add the following to the "Device" section, replacing the existing ''Driver'' value if present:<br />
<br />
VideoRam 229376<br />
Option "CacheLines" "1980"<br />
Driver "intel"<br />
<br />
===nVidia GeForce Go 7300===<br />
The [[NVIDIA|NVIDIA Driver Wiki]] works fine. A side note: When running Beryl/Compiz-Fusion, while opening multiple instances of FireFox, the entire window went black. Forcing AIGLX solved this.<br />
<br />
==Networking==<br />
<br />
===Broadcom 440x 10/100 Ethernet===<br />
The Broadcom Ethernet card should have out-of-the-box support. No configuration necessary.<br />
<br />
===Dell Wireless 1390===<br />
<br />
Dell does not offer native Linux drivers for the 1390 wireless card. Fortunately, '''ndiswrapper''' can be used to install the Windows driver:<br />
# pacman -S ndiswrapper<br />
<br />
Download the 1390 driver from the Dell website:<br />
wget http://ftp.us.dell.com/network/R140747.EXE<br />
<br />
Create a temp folder and extract the driver:<br />
mkdir ~/Dell1390<br />
mv R14070747.EXE ~/Dell1390 <br />
cd ~/Dell1390 <br />
unzip -a R14070747.EXE<br />
cd ~/Dell1390/DRIVER<br />
<br />
As root, configure ndiswrapper to use the Windows driver:<br />
ndiswrapper -i bcmwl5.inf<br />
ndiswrapper -l<br />
ndiswrapper -m<br />
modprobe ndiswrapper<br />
<br />
Test the new driver by typing '''iwlist scanning''' in a terminal.<br />
<br />
To load the driver automatically at each boot, add '''ndiswrapper''' to the MODULES array in ''/etc/rc.conf'', for example:<br />
MODULES=(fglrx '''ndiswrapper''' b44 mii ...)<br />
<br />
Finally, remove the temp folder used during installation:<br />
rm -rf ~/Dell1390<br />
<br />
===Dell Wireless 1500 Draft 802.11n Wireless (Intel 4965AGN)===<br />
Grab the driver packages:<br />
# pacman -S iwlwifi iwlwifi-4965-ucode<br />
Edit ''/etc/rc.conf'' as root and add '''iwl4965''' to the MODULES list:<br />
MODULES=(fglrx '''''iwl4965''''' b44 mii ...)<br />
Add '''wlan0="dchp"''' to the NETWORKING section:<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
'''''wlan0="dhcp"'''''<br />
If '''wlan0''' is listed in the INTERFACES section, make sure it is disabled:<br />
INTERFACES=(lo !eth0 '''''!wlan0''''')<br />
<br />
===Dell Wireless 350 Bluetooth Module===<br />
Install the bluetooth libraries and basic utilties:<br />
# pacman -S bluez-libs bluez-utils<br />
Add '''bluetooth''' to the DAEMONS list in ''/etc/rc.conf'', for example:<br />
DAEMONS=(syslog-ng powersaved '''bluetooth''' ipw3945d ...)<br />
Now, depending on your desktop environment, install the appropriate tools:<br />
<br />
For GNOME: <br />
# pacman -S gnome-bluetooth bluez-gnome<br />
For KDE:<br />
# pacman -S kdebluetooth<br />
<br />
===Dell Wireless 355 Bluetooth Module===<br />
The steps described above for Dell Wireless 350 Bluetooth Module work with Dell Wireless 355 Bluetooth Module too.<br />
<br />
===Intel PRO/Wireless 3945ABG===<br />
With the release of Intel's open source [http://intellinuxwireless.org/ iwlwifi driver], 3945 owners now have two choices for wireless drivers. As the iwlwifi project matures, the ipw3945 driver will become obsolete, however until that time it will remain below as a second alternative.<br />
<br />
Install and configure NetworkManager before attempting to install the Intel 3945 wireless drivers. Refer to the [[Networkmanager| Networkmanager Wiki]] for more information.<br />
<br />
====Method 1: iwlwifi driver====<br />
Grab the driver packages:<br />
# pacman -S iwlwifi iwlwifi-3945-ucode<br />
Edit ''/etc/rc.conf'' as root and add '''iwl3945''' to the MODULES list:<br />
MODULES=(fglrx '''''iwl3945''''' b44 mii ...)<br />
Add '''wlan0="dchp"''' to the NETWORKING section:<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
'''''wlan0="dhcp"'''''<br />
If '''wlan0''' is listed in the INTERFACES section, make sure it is disabled:<br />
INTERFACES=(lo !eth0 '''''!wlan0''''')<br />
<br />
====Method 2: ipw3945 driver====<br />
Grab the Intel 3945 driver packages:<br />
# pacman -S ipw3945<br />
Edit ''/etc/rc.conf'' as root and add '''ipw3945''' to the MODULES list:<br />
MODULES=(fglrx '''''ipw3945''''' b44 mii ...)<br />
Add '''eth1="dchp"''' to the NETWORKING section ''(Note: It is sometimes detected as eth2 instead of eth1, use '''ifconfig''' to verify yours and, if necessary add eth2="dhcp" instead)'':<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
'''''eth1="dhcp"'''''<br />
If '''eth1''' (or '''eth2''') is listed in the INTERFACES section, make sure it is disabled:<br />
INTERFACES=(lo !eth0 '''''!eth1''''')<br />
Add '''ipw3945d''' to the DAEMONS list ''before'' the dhcdbd and networkmanager daemons:<br />
DAEMONS=(syslog-ng '''''ipw3945d''''' dhcdbd networkmanager alsa ...)<br />
<br />
==Conexant HDA D110 MDC V.92 modem (winmodem)==<br />
The Conexant modem requires the proprietary '''hsfmodem''' driver.<br />
Dell offers a debian package [http://support.dell.com/support/downloads/download.aspx?c=us&l=en&s=gen&releaseid=R155004&SystemID=INSPIRONI6400/E1505&servicetag=&os=UBLN&osl=en&deviceid=8593&devlib=0&typecnt=0&vercnt=1&catid=-1&impid=-1&formatcnt=1&libid=20&fileid=206745 hsfmodem_7.60.00.06oem_i386.deb] at their [http://support.dell.com/ support site] that works at '''full speed''' unlike the trial version from [http://www.linuxant.com/ Linuxant] which works at 14.4kbps.<br />
<br />
The following '''PKGBUILD''' can be used to create an archlinux '''hsfmodem''' package from the debian package:<br />
pkgname=hsfmodem<br />
pkgver=7.60.00.06oem<br />
pkgrel=1<br />
pkgdesc="Conexant modem driver by Dell"<br />
url="http://support.dell.com/"<br />
license=("unknown")<br />
arch=('i686')<br />
source=(${pkgname}_${pkgver}_i386.deb)<br />
md5sums=('80d38fccab347638fa7a2237b458b428')<br />
<br />
build() {<br />
cd $startdir/src/<br />
ar x ${pkgname}_${pkgver}_i386.deb<br />
tar xzf data.tar.gz<br />
cp -a usr etc $startdir/pkg/<br />
}<br />
<br />
#Download and place '''hsfmodem_7.60.00.06oem_i386.deb''' and the '''PKGBUILD''' in a new folder, and run <code>makepkg</code> to create the package. See [[ABS]] for details on building packages.<br />
#Run <code>hsfconfig</code> as root to build the module and initialise the modem. A reboot is required before the modem can be initialised. Run <code>hsfconfig</code> again after reboot.<br />
#The modules are automatically loaded and a <code>/dev/modem</code> symlink is setup for use with the modem. Now use wvdial or other dialer programs to connect to the internet.<br />
<br />
==Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader==<br />
The Ricoh card reader should work out of the box, as long as '''MOD_AUTOLOAD''' is set to '''yes''' in ''/etc/rc.conf''. Assuming you use a HAL-aware desktop (GNOME, KDE, etc.), when a memory card is inserted, the kernel should automatically load the '''mmc_core/mmc_block''' modules and mount the new filesystem according to your desktop's automount settings. <br />
<br />
This has been confirmed with the following card types:<br />
* SD Card<br />
<br />
==Synaptics Touchpad==<br />
The Synaptics touchpad should provide basic functions out-of-the-box, however if you would like to use the scroll zones and enable other advanced features, please refer to the [[Touchpad_Synaptics | Synaptics Touchpad]] wiki.<br />
<br />
=Power Management=<br />
<br />
==ACPI Hibernation/Suspend with pm-utils==<br />
The powersave scripts have been officially replaced by [http://www.archlinux.org/packages/search/?q=pm-utils pm-utils]. Refer to the [[Pm-utils]] wiki for detailed instructions.<br />
<br />
'''''Note:''''' ATI video card owners must also add '''vga=0''' to the kernel options in <tt>/boot/grub/menu.lst</tt> in order to resume from suspend2ram. For exmaple:<br />
<br />
# (0) Arch Linux<br />
title Arch Linux<br />
root (hd0,0)<br />
kernel /vmlinuz26 root=/dev/sda3 resume=/dev/sda2 ro '''''vga=0'''''<br />
initrd /kernel26.img<br />
<br />
==CPU Frequency Scaling with cpufrequtils==<br />
<br />
Refer to the [[Cpufrequtils]] wiki for step-by-step instructions.<br />
<br />
= Multimedia Buttons & Fn Hotkeys =<br />
Unfortunately, configuring multimedia buttons and function keys on your laptop can be complicated process. Factors that must be taken into consideration include your choice of Desktop Environment (or lack thereof) and the actions you wish to bind to the special buttons or keys. For a detailed explanation of what is required, please refer to the [[Hotkeys]] wiki.<br />
<br />
The following tips may offer some assistance in getting started.<br />
<br />
== Multimedia Buttons ==<br />
For the most part, the Volume and Playback buttons should be recognized as an unassigned key by the Linux kernel. In which case, all that is necessary is to bind the button to an action. <br />
<br />
It is also worth noting that the multimedia buttons and equivalent Fn key shortcut (e.g. Fn+PgUp = Vol Up) will produce the same keycode, so if you configure the button, the Fn hotkey combo will execute the same action.<br />
<br />
=== GNOME ===<br />
The GNOME desktop provides an easy method for binding multimedia keys to their appropriate action. <br />
<br />
# Browse to '''System -> Preferences -> Keyboard Shortcuts''' and scroll down to the '''Sound''' section.<br />
# Click on an item (e.g. Mute) and then press the corresponding multimedia button<br />
# Repeat this process for all of the multimedia buttons<br />
<br />
The volume buttons should now work system-wide, and the playback buttons will now work in media players such as Rhythmbox and Exaile.<br />
<br />
=== Openbox and other Window Managers ===<br />
The <tt>xbindkeys</tt> utility is highly recommended for lightweight desktops such as Openbox--refer to the [[Hotkeys]] wiki for information. <br />
<br />
The following is an example ''~/.xbindkeysrc'' config file, making use of the multimedia buttons:<br />
<pre><br />
# vol up<br />
"amixer set Master 2dB+ unmute"<br />
m:0x10 + c:176<br />
# vol dn<br />
"amixer set Master 2dB- unmute"<br />
m:0x10 + c:174<br />
# vol mute<br />
"amixer set Master mute"<br />
m:0x10 + c:160<br />
# play/pause<br />
"audacious -t"<br />
m:0x10 + c:162<br />
# back<br />
"audacious -r"<br />
m:0x10 + c:144<br />
# forward<br />
"audacious -f"<br />
m:0x10 + c:153<br />
# stop<br />
"audacious -s"<br />
m:0x10 + c:164<br />
</pre><br />
<br />
== Function (Fn) Hotkeys ==<br />
Function keys seem to be less standardized than the Volume/Playback buttons, and therefore it can be difficult to get all of them working properly. For example, the Standby shortcut (Fn+ESC) may be recognized while at the same time the Hibernate shortcut (Fn+F1) is not. To make matters more confusing, it appears that some Fn keys such as those that adjust the LCD brightness are controlled by the BIOS, independent of the Operating System. Again, the [[Hotkeys]] wiki is highly recommended reading.<br />
<br />
The following example shows how one can configure the Dell Media Direct button, Eject (Fn+F10) and Hibernate (Fn+F1) hotkeys to execute specific commands:<br />
<br />
First, assign kernel keycodes to the Media Direct button and Fn hotkeys, using the ''/etc/rc.local'' script (which is executed before X loads):<br />
#!/bin/bash<br />
#<br />
# /etc/rc.local: Local multi-user startup script.<br />
#<br />
setkeycodes e009 122 # e009 eject fn<br />
setkeycodes e012 130 # e012 mediadirect<br />
setkeycodes e00a 123 # e00a hibernate fn<br />
<br />
Then use the <tt>xbindkeys</tt> utility to bind the newly recognized keys to a custom action. Here's an ''~/.xbindkeysrc'' config file:<br />
<br />
# media direct button<br />
"streamtuner"<br />
m:0x10 + c:134<br />
# eject function hotkey<br />
"eject"<br />
m:0x10 + c:210 <br />
# hibernate function hotkey<br />
"sudo /usr/sbin/pm-hibernate"<br />
m:0x10 + c:209<br />
<br />
Finally, execute <tt>xbindkeys</tt> at startup by placing it in your .xinitrc (or appropriate startup file for your environment):<br />
xscreensaver -no-splash &<br />
eval `cat $HOME/.fehbg` &<br />
'''''xbindkeys &'''''<br />
#sleep 3<br />
pypanel &<br />
exec openbox<br />
<br />
As stated previously, it can be a complicated process involving lots of trial & error troubleshooting, but hopefully this will help you get started.<br />
<br />
=Resources=<br />
TuxMobil: [http://tuxmobil.org/mylaptops.html Linux Laptop & Notebook Installation Guides]<br />
<br />
TuxMobil: [http://tuxmobil.org/dell.html DELL Notebooks]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400 HARDWARE Dell Inspiron 6400]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400_Fixes_for_common_problems HARDWARE Dell Inspiron 6400 Fixes for common problems]<br />
<br />
<br />
<br />
=Comments=</div>Hotsaucehttps://wiki.archlinux.org/index.php?title=Dell_Inspiron_6400&diff=34274Dell Inspiron 64002007-12-29T16:29:37Z<p>Hotsauce: /* Dell Wireless 1390 */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=Introduction=<br />
==Summary==<br />
The goal of this wiki is to provide a comprehensive guide for Dell Inspiron 6400 owners seeking to install Arch Linux. It will attempt to cover all facets of hardware management, including wireless networking and hotkey support. Although this guide has been written specifically for the Inspiron 6400, many of the sub-sections can be applied to other Dell Inspiron models, including: <br />
* Dell Inspiron e1405<br />
* Dell Inspiron 640m<br />
* Dell Inspiron e1705<br />
<br />
==From the original contributor==<br />
I will attempt to cover as much as possible, however please feel free to contribute to this guide as you feel necessary. I will be happy to answer any questions, but I am by no means a Linux expert so there's a good chance I won't know the answer either! ~[[User:Thayer|Thayer]] (thayerw(at)gmail(dot)com)<br />
<br />
=Hardware Specifications=<br />
The 6400 series laptop is currently available in a number of configurations and this guide will attempt to cover them all. Refer to the list below to determine whether your configuration has been documented.<br />
<br />
*<span style="color:green;">Green items are confirmed to work</span><br />
*<span style="color:red;">Red items have yet to be confirmed and require a Wiki entry</span><br />
<br />
===Base Components===<br />
<br />
* Intel Core Duo and Core 2 Duo processors<br />
** T2500 (2GHz/667MHz FSB/2MB Cache)<br />
** T5600 (1.83GHz/667MHz FSB/2MB Cache)<br />
** T2050 (1.66GHz/667MHz FSB/2MB Cache)<br />
** T1350 (1.66GHz/667MHz FSB/2MB Cache)<br />
** T5200 (1.60GHz/667MHz FSB/2MB Cache)<br />
* 512MB/1GB/2GB 533MHz/667MHz DDR2 SDRAM Memory<br />
* 15.4" Widescreen Display<br />
** WXGA (1280 x 800)<br />
** <span style="color:green;">WSXGA 1280x800 with TrueLife™</span><br />
** <span style="color:green;">WSXGA+ 1680x1050 with TrueLife™</span><br />
* 80GB/100GB/120GB/160GB 5400/7200 RPM SATA Hard Drive<br />
* <span style="color:green;">8x CD/DVD+/-RW/DL+R</span><br />
* <span style="color:green;">Broadcom 440x 10/100 Ethernet</span><br />
* <span style="color:green;">Conexant HDA D110 MDC V.92 modem (winmodem)</span><br />
* <span style="color:green;">Sigmatel STAC 92xx Audio</span><br />
* <span style="color:green;">Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader</span><br />
* <span style="color:green;">4 USB 2.0 Ports</span><br />
* <span style="color:red;">Firewire port (IEEE 1394)</span><br />
* <span style="color:red;">1 ExpressCard Slot</span><br />
* <span style="color:green;">Synaptics touchpad with scroll zones</span><br />
<br />
===Video Options===<br />
<br />
* <span style="color:green;">128MB ATI Mobility Radeon X1300 with HyperMemory</span><br />
* <span style="color:green;">256MB ATI Mobility Radeon X1400 with Hypermemory</span><br />
* <span style="color:green;">256MB nVidia GeForce Go 7300 with TurboCache</span><br />
* <span style="color:green;">128MB Intel Graphics Media Accelerator 950</span><br />
<br />
===Wireless Options===<br />
<br />
* <span style="color:green;">Intel Pro/Wireless 3945ABG (802.11a/b/g)</span><br />
* <span style="color:green;">Dell Wireless 1390</span><br />
* <span style="color:green;">Dell Wireless 1500 Draft 802.11n Wireless (Intel 4965AGN)</span><br />
* <span style="color:green;">Dell Wireless 350 Bluetooth Module</span><br />
* <span style="color:green;">Dell Wireless 355 Bluetooth Module</span><br />
<br />
=Arch Installation=<br />
There are plenty of resources available to help new users install and configure a basic Arch Linux installation, including the [[Official_Arch_Linux_Install_Guide|Official Installation Guide]] and the [[Beginners_Guide|Beginners Guide]].<br />
<br />
That being said, the following tips are specific to the Dell Inspiron 6400 and may be of some help during installation.<br />
<br />
If an Ethernet (wired land-line) broadband internet connection is available it is highly recommended that Arch be installed with the smaller FTP ISO. If you plan to have a desktop environment (KDE, GNOME, etc) then the majority of the packages you require will come from the internet repositories and <em>not</em> the Arch CD itself. This method will get you up and running in the shortest amount of time. Simply download the FTP ISO, burn it to a CD and restart your computer.<br />
<br />
The following steps assume you are connected to the Internet with a wired Ethernet connection, as opposed to a wireless connection.<br />
<br />
==Boot the Arch Setup CD==<br />
If the laptop does not boot from the CD, reboot and press F12 at the DELL BIOS splash screen to access the boot menu. From there you can choose to boot from the CD/DVD drive.<br />
<br />
==Setup==<br />
For the most part, the default settings should be fine, however the following notes may be of assistance.<br />
<br />
===0 - Configure===<br />
Just follow the prompts, choosing the defaults when asked. Make sure you allow the setup to detect your basic hardware automatically when asked.<br />
<br />
===1 - Prepare Hard Disks===<br />
The following is an example partition table. The example hard drive is 100GB and is configured to run only Arch Linux. Your settings will vary depending on the size of your hard drive and the number of operating systems you plan to run.<br />
<br />
'''sda''' (100GB)<br />
'''sda1''' ext2 100MB /boot ''(the boot loader files and kernel images will be installed here)''<br />
'''sda2''' swap 2.1GB swap ''(this example notebook has 2GB of RAM and we want to leave room for suspend2disk (hibernation) functions)''<br />
'''sda3''' ext3 6GB / ''(root--everything else will go here except for the files in /home and /boot)''<br />
'''sda4''' ext3 90GB /home ''(it's actually less than 90GB because ext3 filesystems reserve space to avoid capacity problems, but you get the point)''<br />
<br />
===2 - Select Packages===<br />
*Choose a mirror ('''''ftp.nethat.com''''' works very well from Vancouver, BC @ 160kb/s)<br />
*Choose ''only'' the base packages<br />
*Select ''all'' packages by default<br />
<br />
===3 - Install Packages===<br />
*Answer ''yes'' to cache packages (default)<br />
*Grab a coffee, it's going to take a while to fetch 100MB of packages<br />
<br />
===4 - Configure System===<br />
Choose your preferred editor; either vim or nano. <br />
<br />
A few files can be left alone, but there are some changes worth mentioning:<br />
<br />
====rc.conf====<br />
*Change your locale if necessary, for example Canadians will want to use ''en_CA'':<br />
LOCALE="en_CA.utf8"<br />
*Change the timezone if necessary, for example:<br />
TIMEZONE="Canada/Pacific"<br />
*To get rid of that ever-so-annoying system beep, blacklist the PC speaker module:<br />
MOD_BLACKLIST=(pcspkr)<br />
*Change the hostname if you desire a unique name, for example:<br />
HOSTNAME="dublin"<br />
*If your Internet Service Provider assigns your IP address automatically (and most do), make sure ''eth0'' is set to ''dhcp'':<br />
'''eth0="dhcp"'''<br />
<br />
====hosts====<br />
Add a second line under localhost with your unique hostname (the same hostname you chose in rc.conf) in place of localhost, for example:<br />
127.0.0.1 localhost.localdomain localhost<br />
'''127.0.0.1 dublin.localdomain dublin'''<br />
<br />
====fstab====<br />
No changes should be necessary.<br />
<br />
====mkinitcpio.conf====<br />
No changes should be necessary.<br />
<br />
====modprobe.conf====<br />
No changes should be necessary.<br />
<br />
====resolv.conf====<br />
No changes should be necessary.<br />
<br />
====locale.gen====<br />
Uncomment the languages files you wish to use, including the one you configured under LOCALE in the rc.conf:<br />
#en_BW.UTF-8 UTF-8<br />
#en_BW ISO-8859-1<br />
'''en_CA.UTF-8 UTF-8'''<br />
'''en_CA ISO-8859-1'''<br />
#en_DK.UTF-8 UTF-8<br />
#en_DK ISO-8859-1<br />
<br />
Canadians should probably uncomment ''en_US, en_CA and en_GB''.<br />
<br />
====root password====<br />
Set a root password.<br />
<br />
====pacman mirrors====<br />
You can either use the same mirror you used to install the base packages, or you can choose a different one at this time. The mirror you select at this stage will be your default repository after installation is complete.<br />
<br />
===5 - Install Kernel===<br />
The default choices should be fine.<br />
<br />
===6 - Install Boot Loader===<br />
If you are installing Arch as the sole operating system on the notebook, just go with the default settings. If you are dual-booting with another OS, choose the options carefully to avoid problems with your existing settings.<br />
<br />
* When installing GRUB, you can also append '''vga=791''' to the kernel option to set your terminal (framebuffer) resolution to 1024x768, for example:<br />
kernel /vmlinuz26 root=/dev/sda3 ro '''vga=791'''<br />
<br />
===7 - Exit===<br />
Reboot, eject the CD and log into your new Arch Linux installation.<br />
<br />
==Synchronize Repositories and Update==<br />
When logging into Arch for the first time, it is a good idea to make sure the local package database is synchronized with the Arch software repositories and that all of your software is up to date. From the console, type:<br />
# pacman -Syu<br />
<br />
=Add Users=<br />
At this point you can add a local user account by typing:<br />
# useradd -m johndoe<br />
# passwd johndoe<br />
<br />
''The '''-m''' flag creates the user's /home directory and copies the default configuration files to it (from /etc/skel)''<br />
<br />
Note, you will not be able to use the '''sudo''' command with this account until you [[Sudo|install and configure sudo]].<br />
<br />
=Xorg=<br />
If you plan to install a desktop environment (e.g. GNOME, KDE, etc.) you must install and configure Xorg.<br />
<br />
===Installation===<br />
Install the necessary packages:<br />
# pacman -S xorg xterm hwd<br />
<br />
===Configuration===<br />
The <tt>hwd</tt> program (''Hardware Detect'') will examine your hardware and create a default configuration file for Xorg (''/etc/X11/xorg.conf''):<br />
# hwd -xa<br />
You should now have a working X setup, however the default configuration uses the generic VESA graphics driver. If you want to run your desktop at its native resolution (e.g. 1680x1050) and enable 3D acceleration, you'll need to install the appropriate driver for your video card. See the [[Dell_Inspiron_6400#Video|Video]] section below for detailed instructions.<br />
<br />
=Desktop Environments=<br />
Arch Linux supports a variety of desktop environments and window managers, all of which must be installed manually. Refer to the following list for more information:<br />
<br />
'''Openbox:''' [[Openbox|Openbox Wiki]]<br />
<br />
'''GNOME:''' [[GNOME|GNOME Wiki]]<br />
<br />
'''Xfce:''' [[Xfce|Xfce Wiki]]<br />
<br />
'''KDE:''' [[KDE|KDE Wiki]]<br />
<br />
'''KDEmod:''' Visit the KDEmod website at http://kdemod.ath.cx/ or see the [[KDEmod|KDEmod Wiki]] for more information.<br />
<br />
'''E17:''' [[E17|E17 Wiki]]<br />
<br />
'''Fluxbox:''' [[Fluxbox|Fluxbox Wiki]]<br />
<br />
'''Xmonad:''' [[Xmonad|Xmonad Wiki]]<br />
<br />
'''wmii:''' [[wmii|wmii Wiki]]<br />
<br />
'''dwm:''' [[dwm|dwm Wiki]]<br />
<br />
'''awesome:''' [[awesome|awesome Wiki]]<br />
<br />
=Hardware=<br />
<br />
==Audio==<br />
===Sigmatel/Intel Chipset===<br />
The Sigmatel audio chipset should be detected automatically during installation, requiring no input from the user. For example, the following kernel modules are configured in ''/etc/rc.conf'' by default:<br />
snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore<br />
<br />
====ALSA Audio Drivers====<br />
Refer to the [[ALSA]] wiki for general assistance with volume settings, group permissions, etc.<br />
<br />
====OSS Audio Drivers====<br />
See the [[OSS]] wiki for more information.<br />
<br />
==Video==<br />
===ATI X1300/X1400 Radeon Mobility===<br />
====Proprietary Driver (catalyst/fglrx)====<br />
'''''Note''': ATI has rebranded the fglrx driver to be known as 'catalyst'; at this time '''only the package name has changed'''.''<br />
<br />
The catalyst ATI proprietary driver is available from the standard Arch repositories and is the simplest way to get full 3D acceleration and native resolutions on your notebook:<br />
# pacman -S catalyst<br />
Run the '''aticonfig''' tool to automatically add the appropriate settings to ''/etc/X11/xorg.conf'':<br />
# aticonfig --initial<br />
Lastly, we need to modify ''/etc/rc.conf'' and add the '''fglrx''' kernel driver to the MODULES section, for example:<br />
MODULES=('''fglrx''' b44 mii snd-mixer-oss ...)<br />
Reboot and confirm that the ATI driver is working by typing '''fglrxinfo''' in a terminal. The results should look something like this:<br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: ATI Mobility Radeon X1400<br />
OpenGL version string: 2.1.7059 Release<br />
<br />
Further information can be found at the [[ATI]] wiki.<br />
<br />
====Open Source ATI Driver====<br />
<br />
Please refer to the [[ATI]] wiki for more information.<br />
<br />
===Intel Graphics Media Accelerator 950===<br />
====Open Source Intel Driver====<br />
<br />
Install the driver:<br />
# pacman -S xf86-video-intel<br />
<br />
Use '''''gft''''' to generate the Xorg ''Modeline'' values and then edit ''/etc/X11/xorg.conf'' and add these values to the ''Monitor'' section, for example:<br />
<br />
Section "Monitor"<br />
Identifier "Monitor0"<br />
VendorName "unknown"<br />
'''Modeline "800x600" 40.12 800 848 968 1056 600 601 605 628 #60Hz'''<br />
EndSection<br />
<br />
Lastly, add the following to the "Device" section, replacing the existing ''Driver'' value if present:<br />
<br />
VideoRam 229376<br />
Option "CacheLines" "1980"<br />
Driver "intel"<br />
<br />
===nVidia GeForce Go 7300===<br />
The [[NVIDIA|NVIDIA Driver Wiki]] works fine. A side note: When running Beryl/Compiz-Fusion, while opening multiple instances of FireFox, the entire window went black. Forcing AIGLX solved this.<br />
<br />
==Networking==<br />
<br />
===Broadcom 440x 10/100 Ethernet===<br />
The Broadcom Ethernet card should have out-of-the-box support. No configuration necessary.<br />
<br />
===Dell Wireless 1390===<br />
<br />
Dell does not offer native Linux drivers for the 1390 wireless card. Fortunately, '''ndiswrapper''' can be used to install the Windows driver:<br />
# pacman -S ndiswrapper<br />
<br />
Download the 1390 driver from the Dell website:<br />
wget http://ftp.us.dell.com/network/R140747.EXE<br />
<br />
Create a temp folder and extract the driver:<br />
mkdir ~/Dell1390<br />
mv R14070747.EXE ~/Dell1390 <br />
cd ~/Dell1390 <br />
unzip -a R14070747.EXE<br />
cd DRIVER<br />
<br />
As root, configure ndiswrapper to use the Windows driver:<br />
ndiswrapper -i bcmwl5.inf<br />
ndiswrapper -l<br />
ndiswrapper -m<br />
modprobe ndiswrapper<br />
<br />
Test the new driver by typing '''iwlist scanning''' in a terminal.<br />
<br />
To load the driver automatically at each boot, add '''ndiswrapper''' to the MODULES array in ''/etc/rc.conf'', for example:<br />
MODULES=(fglrx '''ndiswrapper''' b44 mii ...)<br />
<br />
Finally, remove the temp folder used during installation:<br />
rm -rf ~/Dell1390<br />
<br />
===Dell Wireless 1500 Draft 802.11n Wireless (Intel 4965AGN)===<br />
Grab the driver packages:<br />
# pacman -S iwlwifi iwlwifi-4965-ucode<br />
Edit ''/etc/rc.conf'' as root and add '''iwl4965''' to the MODULES list:<br />
MODULES=(fglrx '''''iwl4965''''' b44 mii ...)<br />
Add '''wlan0="dchp"''' to the NETWORKING section:<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
'''''wlan0="dhcp"'''''<br />
If '''wlan0''' is listed in the INTERFACES section, make sure it is disabled:<br />
INTERFACES=(lo !eth0 '''''!wlan0''''')<br />
<br />
===Dell Wireless 350 Bluetooth Module===<br />
Install the bluetooth libraries and basic utilties:<br />
# pacman -S bluez-libs bluez-utils<br />
Add '''bluetooth''' to the DAEMONS list in ''/etc/rc.conf'', for example:<br />
DAEMONS=(syslog-ng powersaved '''bluetooth''' ipw3945d ...)<br />
Now, depending on your desktop environment, install the appropriate tools:<br />
<br />
For GNOME: <br />
# pacman -S gnome-bluetooth bluez-gnome<br />
For KDE:<br />
# pacman -S kdebluetooth<br />
<br />
===Dell Wireless 355 Bluetooth Module===<br />
The steps described above for Dell Wireless 350 Bluetooth Module work with Dell Wireless 355 Bluetooth Module too.<br />
<br />
===Intel PRO/Wireless 3945ABG===<br />
With the release of Intel's open source [http://intellinuxwireless.org/ iwlwifi driver], 3945 owners now have two choices for wireless drivers. As the iwlwifi project matures, the ipw3945 driver will become obsolete, however until that time it will remain below as a second alternative.<br />
<br />
Install and configure NetworkManager before attempting to install the Intel 3945 wireless drivers. Refer to the [[Networkmanager| Networkmanager Wiki]] for more information.<br />
<br />
====Method 1: iwlwifi driver====<br />
Grab the driver packages:<br />
# pacman -S iwlwifi iwlwifi-3945-ucode<br />
Edit ''/etc/rc.conf'' as root and add '''iwl3945''' to the MODULES list:<br />
MODULES=(fglrx '''''iwl3945''''' b44 mii ...)<br />
Add '''wlan0="dchp"''' to the NETWORKING section:<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
'''''wlan0="dhcp"'''''<br />
If '''wlan0''' is listed in the INTERFACES section, make sure it is disabled:<br />
INTERFACES=(lo !eth0 '''''!wlan0''''')<br />
<br />
====Method 2: ipw3945 driver====<br />
Grab the Intel 3945 driver packages:<br />
# pacman -S ipw3945<br />
Edit ''/etc/rc.conf'' as root and add '''ipw3945''' to the MODULES list:<br />
MODULES=(fglrx '''''ipw3945''''' b44 mii ...)<br />
Add '''eth1="dchp"''' to the NETWORKING section ''(Note: It is sometimes detected as eth2 instead of eth1, use '''ifconfig''' to verify yours and, if necessary add eth2="dhcp" instead)'':<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
'''''eth1="dhcp"'''''<br />
If '''eth1''' (or '''eth2''') is listed in the INTERFACES section, make sure it is disabled:<br />
INTERFACES=(lo !eth0 '''''!eth1''''')<br />
Add '''ipw3945d''' to the DAEMONS list ''before'' the dhcdbd and networkmanager daemons:<br />
DAEMONS=(syslog-ng '''''ipw3945d''''' dhcdbd networkmanager alsa ...)<br />
<br />
==Conexant HDA D110 MDC V.92 modem (winmodem)==<br />
The Conexant modem requires the proprietary '''hsfmodem''' driver.<br />
Dell offers a debian package [http://support.dell.com/support/downloads/download.aspx?c=us&l=en&s=gen&releaseid=R155004&SystemID=INSPIRONI6400/E1505&servicetag=&os=UBLN&osl=en&deviceid=8593&devlib=0&typecnt=0&vercnt=1&catid=-1&impid=-1&formatcnt=1&libid=20&fileid=206745 hsfmodem_7.60.00.06oem_i386.deb] at their [http://support.dell.com/ support site] that works at '''full speed''' unlike the trial version from [http://www.linuxant.com/ Linuxant] which works at 14.4kbps.<br />
<br />
The following '''PKGBUILD''' can be used to create an archlinux '''hsfmodem''' package from the debian package:<br />
pkgname=hsfmodem<br />
pkgver=7.60.00.06oem<br />
pkgrel=1<br />
pkgdesc="Conexant modem driver by Dell"<br />
url="http://support.dell.com/"<br />
license=("unknown")<br />
arch=('i686')<br />
source=(${pkgname}_${pkgver}_i386.deb)<br />
md5sums=('80d38fccab347638fa7a2237b458b428')<br />
<br />
build() {<br />
cd $startdir/src/<br />
ar x ${pkgname}_${pkgver}_i386.deb<br />
tar xzf data.tar.gz<br />
cp -a usr etc $startdir/pkg/<br />
}<br />
<br />
#Download and place '''hsfmodem_7.60.00.06oem_i386.deb''' and the '''PKGBUILD''' in a new folder, and run <code>makepkg</code> to create the package. See [[ABS]] for details on building packages.<br />
#Run <code>hsfconfig</code> as root to build the module and initialise the modem. A reboot is required before the modem can be initialised. Run <code>hsfconfig</code> again after reboot.<br />
#The modules are automatically loaded and a <code>/dev/modem</code> symlink is setup for use with the modem. Now use wvdial or other dialer programs to connect to the internet.<br />
<br />
==Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader==<br />
The Ricoh card reader should work out of the box, as long as '''MOD_AUTOLOAD''' is set to '''yes''' in ''/etc/rc.conf''. Assuming you use a HAL-aware desktop (GNOME, KDE, etc.), when a memory card is inserted, the kernel should automatically load the '''mmc_core/mmc_block''' modules and mount the new filesystem according to your desktop's automount settings. <br />
<br />
This has been confirmed with the following card types:<br />
* SD Card<br />
<br />
==Synaptics Touchpad==<br />
The Synaptics touchpad should provide basic functions out-of-the-box, however if you would like to use the scroll zones and enable other advanced features, please refer to the [[Touchpad_Synaptics | Synaptics Touchpad]] wiki.<br />
<br />
=Power Management=<br />
<br />
==ACPI Hibernation/Suspend with pm-utils==<br />
The powersave scripts have been officially replaced by [http://www.archlinux.org/packages/search/?q=pm-utils pm-utils]. Refer to the [[Pm-utils]] wiki for detailed instructions.<br />
<br />
'''''Note:''''' ATI video card owners must also add '''vga=0''' to the kernel options in <tt>/boot/grub/menu.lst</tt> in order to resume from suspend2ram. For exmaple:<br />
<br />
# (0) Arch Linux<br />
title Arch Linux<br />
root (hd0,0)<br />
kernel /vmlinuz26 root=/dev/sda3 resume=/dev/sda2 ro '''''vga=0'''''<br />
initrd /kernel26.img<br />
<br />
==CPU Frequency Scaling with cpufrequtils==<br />
<br />
Refer to the [[Cpufrequtils]] wiki for step-by-step instructions.<br />
<br />
= Multimedia Buttons & Fn Hotkeys =<br />
Unfortunately, configuring multimedia buttons and function keys on your laptop can be complicated process. Factors that must be taken into consideration include your choice of Desktop Environment (or lack thereof) and the actions you wish to bind to the special buttons or keys. For a detailed explanation of what is required, please refer to the [[Hotkeys]] wiki.<br />
<br />
The following tips may offer some assistance in getting started.<br />
<br />
== Multimedia Buttons ==<br />
For the most part, the Volume and Playback buttons should be recognized as an unassigned key by the Linux kernel. In which case, all that is necessary is to bind the button to an action. <br />
<br />
It is also worth noting that the multimedia buttons and equivalent Fn key shortcut (e.g. Fn+PgUp = Vol Up) will produce the same keycode, so if you configure the button, the Fn hotkey combo will execute the same action.<br />
<br />
=== GNOME ===<br />
The GNOME desktop provides an easy method for binding multimedia keys to their appropriate action. <br />
<br />
# Browse to '''System -> Preferences -> Keyboard Shortcuts''' and scroll down to the '''Sound''' section.<br />
# Click on an item (e.g. Mute) and then press the corresponding multimedia button<br />
# Repeat this process for all of the multimedia buttons<br />
<br />
The volume buttons should now work system-wide, and the playback buttons will now work in media players such as Rhythmbox and Exaile.<br />
<br />
=== Openbox and other Window Managers ===<br />
The <tt>xbindkeys</tt> utility is highly recommended for lightweight desktops such as Openbox--refer to the [[Hotkeys]] wiki for information. <br />
<br />
The following is an example ''~/.xbindkeysrc'' config file, making use of the multimedia buttons:<br />
<pre><br />
# vol up<br />
"amixer set Master 2dB+ unmute"<br />
m:0x10 + c:176<br />
# vol dn<br />
"amixer set Master 2dB- unmute"<br />
m:0x10 + c:174<br />
# vol mute<br />
"amixer set Master mute"<br />
m:0x10 + c:160<br />
# play/pause<br />
"audacious -t"<br />
m:0x10 + c:162<br />
# back<br />
"audacious -r"<br />
m:0x10 + c:144<br />
# forward<br />
"audacious -f"<br />
m:0x10 + c:153<br />
# stop<br />
"audacious -s"<br />
m:0x10 + c:164<br />
</pre><br />
<br />
== Function (Fn) Hotkeys ==<br />
Function keys seem to be less standardized than the Volume/Playback buttons, and therefore it can be difficult to get all of them working properly. For example, the Standby shortcut (Fn+ESC) may be recognized while at the same time the Hibernate shortcut (Fn+F1) is not. To make matters more confusing, it appears that some Fn keys such as those that adjust the LCD brightness are controlled by the BIOS, independent of the Operating System. Again, the [[Hotkeys]] wiki is highly recommended reading.<br />
<br />
The following example shows how one can configure the Dell Media Direct button, Eject (Fn+F10) and Hibernate (Fn+F1) hotkeys to execute specific commands:<br />
<br />
First, assign kernel keycodes to the Media Direct button and Fn hotkeys, using the ''/etc/rc.local'' script (which is executed before X loads):<br />
#!/bin/bash<br />
#<br />
# /etc/rc.local: Local multi-user startup script.<br />
#<br />
setkeycodes e009 122 # e009 eject fn<br />
setkeycodes e012 130 # e012 mediadirect<br />
setkeycodes e00a 123 # e00a hibernate fn<br />
<br />
Then use the <tt>xbindkeys</tt> utility to bind the newly recognized keys to a custom action. Here's an ''~/.xbindkeysrc'' config file:<br />
<br />
# media direct button<br />
"streamtuner"<br />
m:0x10 + c:134<br />
# eject function hotkey<br />
"eject"<br />
m:0x10 + c:210 <br />
# hibernate function hotkey<br />
"sudo /usr/sbin/pm-hibernate"<br />
m:0x10 + c:209<br />
<br />
Finally, execute <tt>xbindkeys</tt> at startup by placing it in your .xinitrc (or appropriate startup file for your environment):<br />
xscreensaver -no-splash &<br />
eval `cat $HOME/.fehbg` &<br />
'''''xbindkeys &'''''<br />
#sleep 3<br />
pypanel &<br />
exec openbox<br />
<br />
As stated previously, it can be a complicated process involving lots of trial & error troubleshooting, but hopefully this will help you get started.<br />
<br />
=Resources=<br />
TuxMobil: [http://tuxmobil.org/mylaptops.html Linux Laptop & Notebook Installation Guides]<br />
<br />
TuxMobil: [http://tuxmobil.org/dell.html DELL Notebooks]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400 HARDWARE Dell Inspiron 6400]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400_Fixes_for_common_problems HARDWARE Dell Inspiron 6400 Fixes for common problems]<br />
<br />
<br />
<br />
=Comments=</div>Hotsaucehttps://wiki.archlinux.org/index.php?title=Dell_Inspiron_6400&diff=26060Dell Inspiron 64002007-06-30T04:43:28Z<p>Hotsauce: /* Dell Wireless 1390 */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=Introduction=<br />
==Summary==<br />
The goal of this guide is to provide a comprehensive tutorial for the Inspiron 6400/e1505 series laptop. With any luck, this guide will walk you through the steps necessary to get every piece of hardware working to full capacity.<br />
<br />
==From the contributor==<br />
I will attempt to cover as much as possible, however please feel free to contribute to this guide as you feel necessary. I will be happy to answer any questions, but I'm no Linux expert so there's a good chance I won't know the answer either! ~Thayer ([[User:Thayer.w|thayer.w]]) (thayerw(at)gmail(dot)com)<br />
<br />
=Hardware Specifications=<br />
The 6400 series laptop is currently available in a number of configurations. I have used '''bold''' to indicate my particular configuration where applicable. Your mileage may vary a bit if your components don't match, but for the most part everything should still work fine.<br />
<br />
*<span style="color:green;">Green items are confirmed to work</span><br />
*<span style="color:red;">Red items have yet to be confirmed and require a Wiki entry</span><br />
<br />
===Base Components===<br />
<br />
* Intel Core Duo and Core 2 Duo processors<br />
** '''T2500 (2GHz/667MHz FSB/2MB Cache)'''<br />
** T5600 (1.83GHz/667MHz FSB/2MB Cache)<br />
** T2050 (1.66GHz/667MHz FSB/2MB Cache)<br />
** T1350 (1.66GHz/667MHz FSB/2MB Cache)<br />
* 512MB/1GB/'''2GB''' 533MHz/'''667MHz''' DDR2 SDRAM Memory<br />
* 15.4" Widescreen Display<br />
** WXGA (1280 x 800)<br />
** WSXGA 1280x800 with TrueLife™<br />
** '''WSXGA+ 1680x1050 with TrueLife™'''<br />
* 80GB/'''100GB'''/120GB/160GB '''5400'''/7200 RPM SATA Hard Drive<br />
* <span style="color:green;">8x CD/DVD+/-RW/DL+R</span><br />
* <span style="color:green;">Broadcom 440x 10/100 Ethernet</span><br />
* <span style="color:red;">Conexant HDA D110 MDC V.92 modem (winmodem)</span><br />
* <span style="color:green;">Sigmatel STAC 92xx Audio</span><br />
* <span style="color:green;">Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader</span><br />
* <span style="color:green;">4 USB 2.0 Ports</span><br />
* <span style="color:red;">Firewire port (IEEE 1394)</span><br />
* <span style="color:red;">1 ExpressCard Slot</span><br />
* <span style="color:green;">Synaptics touchpad with scroll zones</span><br />
<br />
===Video Options===<br />
<br />
* 128MB ATI Mobility Radeon X1300 with HyperMemory<br />
* <span style="color:green;">'''256MB ATI Mobility Radeon X1400 with Hypermemory'''</span><br />
* 256MB nVidia GeForce Go 7300 with TurboCache<br />
* 128MB Intel Graphics Media Accelerator 950<br />
<br />
===Wireless Options===<br />
<br />
* <span style="color:green;">'''Intel Pro/Wireless 3945ABG (802.11a/b/g)'''</span><br />
* Intel Wireless WiFi 4965AGN<br />
* Dell Wireless 1390<br />
* Dell Wireless 1500 Draft 802.11n Wireless<br />
* <span style="color:green;">'''Dell Wireless 350 Bluetooth Module'''</span><br />
* Dell Wireless 355 Bluetooth Module<br />
<br />
=Arch Installation (FTP Method)=<br />
I won't go into too much detail regarding the installation steps, because it's pretty straight forward and most of the defaults work fine. There are plenty of resources available ([[Official_Arch_Linux_Install_Guide|Official Installation Guide]]) that will walk you through the basic steps.<br />
<br />
If you have a broadband internet connection, I highly recommend installing Arch with the smaller FTP ISO. If you plan to have a desktop environment (KDE, GNOME, etc) then the majority of the packages you will be installing will come from the internet repositories and <em>not</em> the ISO's. This method will get you up and running in the shortest amount of time. Simply download the FTP ISO, burn it to a CD and restart your computer.<br />
<br />
The following steps assume you are connected to the Internet with a wired Ethernet connection, as opposed to a wireless connection.<br />
<br />
==Boot the Arch Setup CD==<br />
You may need to press F12 at the DELL BIOS screen to get the boot order menu. From there you can choose to boot from the CD/DVD drive rather than the hard disk.<br />
<br />
==Setup==<br />
For the most part, the default settings are fine and the most vital hardware components should be found automatically. Some special items below you may want to consider:<br />
<br />
===0 - Configure===<br />
Just follow the prompts, choosing the defaults when asked and everything should be fine. Make sure you allow the setup to detect your basic hardware automatically when asked.<br />
<br />
===1 - Prepare Hard Disks===<br />
The following is an example of my partition table. My drive is 100GB and I run only Arch on my notebook. Your settings will vary depending on the size of your hard drive and the number of operating systems you plan to run.<br />
<br />
sda (100GB)<br />
*sda1 ext2 100MB /boot<br />
*sda2 swap 2.1GB (I have 2GB of RAM and want to leave room for suspend-to-disk functions)<br />
*sda3 ext3 6GB / (root) <br />
*sda4 ext3 90GB /home (actually less than 90GB because ext3 reserves space to avoid capacity problems, but you get the point)<br />
<br />
===2 - Select Packages===<br />
*Choose a mirror ('''''ftp.nethat.com''''' works very well from Vancouver, BC @ 160kb/s)<br />
*Choose just the base packages<br />
*Select all packages by default<br />
<br />
===3 - Install Packages===<br />
*Answer yes to cache packages (default)<br />
*Grab a coffee, it's going to take a while to grab about 100MB of packages<br />
<br />
===4 - Configure System===<br />
Now we choose our editor; either vim or nano. Many of the files can be left alone, but there are some changes worth mentioning:<br />
<br />
====rc.conf====<br />
*Change your locale if necessary, for example Canadians use en_CA:<br />
LOCALE="en_CA.utf8"<br />
*Change the timezone if necessary, for exmaple:<br />
TIMEZONE="Canada/Pacific"<br />
*To get rid of that ever-so-annoying system beep, blacklist the pc speaker module:<br />
MOD_BLACKLIST=(pcspkr)<br />
*Change the hostname if you desire a unique name, for example:<br />
HOSTNAME="dublin"<br />
*If your ISP assigns your IP address automatically (and most do), make sure eth0 is set to dhcp:<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
<br />
====hosts====<br />
Add a second line under localhost with your unique hostname (from the rc.conf) in place of localhost, for example:<br />
127.0.0.1 localhost.localdomain localhost<br />
127.0.0.1 dublin.localdomain dublin<br />
<br />
====fstab====<br />
No changes should be necessary.<br />
<br />
====mkinitcpio.conf====<br />
No changes should be necessary.<br />
<br />
====modprobe.conf====<br />
No changes should be necessary.<br />
<br />
====resolv.conf====<br />
No changes should be necessary.<br />
<br />
====locale.gen====<br />
Uncomment the languages files you wish to use, including the one you configured under LOCALE in the rc.conf:<br />
#en_BW.UTF-8 UTF-8<br />
#en_BW ISO-8859-1<br />
en_CA.UTF-8 UTF-8<br />
en_CA ISO-8859-1<br />
#en_DK.UTF-8 UTF-8<br />
#en_DK ISO-8859-1<br />
<br />
In my case, I uncommented en_US, en_CA and en_GB.<br />
<br />
====root password====<br />
Set a root password.<br />
<br />
====pacman mirrors====<br />
You can either use the same mirror you used to install the base packages, or you choose a different one at this time.<br />
<br />
===5 - Install Kernel===<br />
The default choices should be fine.<br />
<br />
===6 - Install Boot Loader===<br />
If you are installing Arch as the sole operating system on the notebook, just go with the default settings. If you are dual-booting with Windows or another distro, choose the options carefully to avoid wiping your existing settings.<br />
<br />
* When installing GRUB, I also append vga=791 to the kernel option to set my console resolution to 1024x768, for example:<br />
kernel /vmlinuz26 root=/dev/sda3 ro '''vga=791'''<br />
<br />
===7 - Exit===<br />
You can now reboot into your new Arch installation.<br />
<br />
==Synchronize Updates==<br />
After rebooting from the installation you should make sure your local package database is synced with the mirrors and that your installed software is up to date. From the console, type:<br />
# pacman -Syu<br />
<br />
=Add Users=<br />
At this point you can add a local user account by typing:<br />
# useradd -m johndoe<br />
# passwd johndoe<br />
Note, you will not be able to use the '''sudo''' command with this account until you [[Sudo|install and configure sudo]].<br />
<br />
=Desktop Environments=<br />
<br />
==Xorg==<br />
You must install Xorg if you plan to use a Desktop Environment (e.g. GNOME, KDE, etc.)<br />
<br />
===Install Xorg===<br />
Install the necessary packages:<br />
# pacman -S xorg xterm hwd<br />
<br />
===Configure Xorg===<br />
The <tt>hwd</tt> program (aka ''Hardware Detect'') will examine your hardware and create a default ''xorg.conf'' configuration file for Xorg:<br />
# hwd -xa<br />
You now have a working X setup, however this setup uses the generic VESA graphics driver. If you want to run your desktop at its native resolution (e.g. 1680x1050) and have 3D acceleration enabled, you'll need to install the appropriate driver for your video card.<br />
<br />
==KDE (kdemod)==<br />
Many users believe that Arch Linux is ''the best'' distribution for the [http://www.kde.org/ K Desktop Environment], mostly due to the wonderful [http://www.kdemod.ath.cx/ KDEmod] project:<br />
<br />
:''"KDEmod is a modular and tweaked version of the K Desktop Environment that has been optimized for ArchLinux. It contains additional patches for eyecandy and functionality and an enhanced QT3 installation, and is available in Archlinux´s standard .pkg.tar.gz package format for both i686 and x86_64."'' Source: http://www.kdemod.ath.cx/<br />
<br />
KDEmod is what brought me to Arch Linux in the first place and I highly recommend it for fans of KDE. You should know what you're installing though, so be sure to read through the [http://www.kdemod.ath.cx/ KDEmod website] first.<br />
<br />
'''You must install and configure Xorg BEFORE before you can use KDEmod. See above for details.'''<br />
<br />
===Add kdemod Repository===<br />
The KDEmod project is maintained independently, so we must add the repo to our pacman config manually:<br />
# nano /etc/pacman.conf<br />
add the repo address:<br />
[kdemod]<br />
# kdemod repository<br />
Server = http://kdemod.ath.cx/repo/current/i686<br />
#Server = http://kdemod.ath.cx/repo/testing/i686<br />
If you like to live on the edge, you can uncomment the '''testing''' repo, but ''be aware that you will be running software that is considered '''unstable'''''.<br />
<br />
Save, exit and then sync your pacman database with the new repo:<br />
# pacman -Sy<br />
<br />
===Install kdemod===<br />
To get KDE up and running, we should install at least two packages: the '''kdemod''' base package and the appropriate localization package for your country. American English is included with kdemod, so Americans can bypass the localization step.<br />
<br />
You can see which localization packages are available by searching the pacman database:<br />
# pacman -Ss kdemod-kde-i18n-<br />
Now that you know which language package you need, we can continue with the installation of kdemod:<br />
# pacman -S kdemod kdemod-kde-i18n-en_gb<br />
Grab another coffee or read ahead while you wait for this 200MB download to complete.<br />
<br />
Once completed, it's time to configure the KDM graphical login manager.<br />
<br />
===KDM Login Manager===<br />
Although you can load KDE manually each time you log into your notebook by typing '''startkde''', it's more convenient to have the GUI-based login manager load automatically. There are two common ways to go about this.<br />
<br />
====Method 1: Daemon====<br />
The quick & dirty method is to add kdm to our list of daemons in /etc/rc.conf, since the daemons will always be loaded when we boot up our notebook:<br />
# nano /etc/rc.conf<br />
add '''kdm''' to the very end of the daemons list, for example:<br />
DAEMONS=(syslog-ng network netfs crond kdm)<br />
Save, exit and reboot. You should now be greeted with the KDM login screen.<br />
<br />
====Method 2: Init====<br />
This method will load KDM only when runlevel 5 is initiated; considered by many to be the ''proper'' way of configuring the initialization scripts:<br />
# nano /etc/inittab<br />
Change the default runlevel from 3:<br />
id:3:initdefault:<br />
to runlevel 5:<br />
id:5:initdefault:<br />
and then change the runlevel 5 login manager from xdm:<br />
x:5:respawn:/usr/bin/xdm -nodaemon<br />
to kdm:<br />
x:5:respawn:/opt/kde/bin/kdm -nodaemon<br />
Save, exit and reboot. You should now be greeted with the KDM login screen.<br />
<br />
===Add More Applications===<br />
At this point you should have a bare-bones installation of KDE and a nice GUI-based Login Manager. However, you'll probably want to add more applications to suit your needs. The [http://www.kdemod.ath.cx/ KDEmod website] has a full list of packages available from the KDEmod suite, and of course you can query pacman for general applications (e.g. <tt>pacman -Ss media player</tt>). The following are few essentials you may want to consider:<br />
# pacman -S firefox jre flashplugin acroread ktorrent amarok-base kaffeine gwenview k9copy openoffice-base<br />
This will install the Firefox web browser, Sun Java, Macromedia Flash player plugin, Adobe Acrobat Reader, as well as a torrent client, mp3 media player, audio/video media player, image browser, dvd ripper, and office suite.<br />
<br />
=Hardware=<br />
<br />
==Audio (ALSA)==<br />
The Intel audio hardware should be detected automatically during the Arch setup, requiring no input from the user. For example, the following modules are loaded in '''/etc/rc.conf''' by default:<br />
snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore<br />
Refer to the [[ALSA_Setup| ALSA Setup Wiki]] for general assistance with volume settings, group permissions, etc.<br />
<br />
==Video==<br />
<br />
===ATI X1300/X1400 Radeon Video Cards===<br />
=====FGLRX Proprietary Driver=====<br />
The fglrx ATI proprietary driver is available from the standard repos and is the simplest way to get full 3D acceleration and native resolutions on your notebook:<br />
# pacman -S fglrx<br />
Run the '''aticonfig''' tool to add the appropriate settings to your xorg.conf:<br />
# aticonfig --initial<br />
Lastly, we need to modify ''/etc/rc.conf'' and add the '''fglrx''' kernel driver to the MODULES section, for example:<br />
MODULES=('''fglrx''' b44 mii snd-mixer-oss ...)<br />
Reboot and you're set.<br />
<br />
Further information can be found at the [[ATI_Radeon_%26_Kernel_2.6|ATI Radeon Wiki]].<br />
<br />
=====Open Source ATI Driver=====<br />
Please refer to the [[ATI_Radeon_%26_Kernel_2.6|ATI Radeon Wiki]] for more information.<br />
<br />
===nVidia GeForce Go 7300===<br />
''More information needed. Feel free to edit this section.''<br />
<br />
===Intel Graphics Media Accelerator 950===<br />
<br />
Install driver:<br />
pacman -S xf86-video-intel<br />
<br />
Use gft to generate modeline and add it to "Monitor" section.<br />
<br />
Add this to "Device" section:<br />
<br />
VideoRam 229376<br />
Option "CacheLines" "1980"<br />
Driver "intel"<br />
<br />
==Networking==<br />
<br />
===Broadcom 440x 10/100 Ethernet===<br />
The Broadcom Ethernet card should have out-of-the-box support. No configuration necessary.<br />
<br />
===Intel PRO/Wireless 3945ABG===<br />
Install and configure NetworkManager before attempting to install the Intel 3945 wireless drivers. Refer to the [[Networkmanager| Networkmanager Wiki]] for more information.<br />
<br />
Grab the Intel 3945 driver packages:<br />
# pacman -S ipw3945<br />
Edit /etc/rc.conf:<br />
# nano /etc/rc.conf<br />
Add '''ipw3945''' to the MODULES list:<br />
MODULES=(fglrx '''''ipw3945''''' b44 mii ...)<br />
Add '''eth1="dchp"''' to the NETWORKING section ''(Note: It is sometimes detected as eth2 instead of eth1, use '''ifconfig''' to verify yours and add eth2="dhcp" if necessary)'':<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
'''''eth1="dhcp"'''''<br />
If '''eth1''' is listed in the INTERFACES section, make sure it is disabled:<br />
INTERFACES=(lo !eth0 '''''!eth1''''')<br />
Add '''ipw3945d''' to the DAEMONS list ''before'' the dhcdbd and networkmanager daemons:<br />
DAEMONS=(syslog-ng '''''ipw3945d''''' dhcdbd networkmanager alsa ...)<br />
<br />
===Dell Wireless 1390===<br />
<br />
To use the Dell1390 wireless card we will use ndiswrapper<br />
pacman -Sy ndiswrapper<br />
<br />
Download driver from the dell website:<br />
<br />
wget http://ftp.us.dell.com/network/R140747.EXE<br />
<br />
Extract it:<br />
mkdir ~/Dell1390<br />
mv R14070747.EXE ~/Dell1390 <br />
cd ~/Dell1390 <br />
unzip -a R14070747.EXE<br />
cd DRIVERS<br />
<br />
Set it up<br />
ndiswrapper -i bcmwl5.inf<br />
ndiswrapper -l<br />
ndiswrapper -m<br />
modprobe ndiswrapper<br />
<br />
Now it should work, try typing "iwlist scanning" in a terminal to make sure<br />
<br />
Also make sure you add ndiswrapper to your daemon array in /etc/rc.conf<br />
<br />
clean up after yourself<br />
<br />
rm -rf ~/Dell1390<br />
<br />
===Dell Wireless 1500 Draft 802.11n Wireless===<br />
''More information needed. Feel free to edit this section.''<br />
<br />
===Dell Wireless 350 Bluetooth Module===<br />
Install the bluetooth libraries and basic utilties:<br />
# pacman -S bluez-libs bluez-utils<br />
Add '''bluetooth''' to the DAEMONS list in ''/etc/rc.conf'', for example:<br />
DAEMONS=(syslog-ng powersaved '''bluetooth''' ipw3945d ...)<br />
Now, depending on your Desktop Environment, install the appropriate tools:<br />
<br />
For GNOME: <br />
# pacman -S gnome-bluetooth bluez-gnome<br />
For KDE:<br />
# pacman -S kdebluetooth<br />
<br />
===Dell Wireless 355 Bluetooth Module===<br />
''In theory, the steps for the Dell 350 module should apply to the 355 model as well, however this has not been confirmed.''<br />
<br />
==Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader==<br />
The Ricoh card reader should work out of the box, as long as '''MOD_AUTOLOAD''' is set to '''yes''' in ''/etc/rc.conf''. Assuming you use a HAL-aware desktop (Xfce, KDE, GNOME), once a memory card is inserted the kernel should automatically load the '''mmc_core/mmc_block''' modules and mount the new filesystem according to your automount settings. <br />
<br />
This has been confirmed with the following card types:<br />
* SD Card<br />
<br />
==Synaptics Touchpad==<br />
The Synaptics touchpad should provide basic functions out-of-the-box, however if you would like to use the scroll zones and enable other advanced features, follow these instructions:<br />
# pacman -S synaptics<br />
<br />
Edit ''/etc/X11/xorg.conf'' as root:<br />
# nano /etc/X11/xorg.conf<br />
<br />
Add '''InputDevice "Touchpad" "AlwaysCore"''' to the ''ServerLayout'':<br />
Section "ServerLayout"<br />
...<br />
InputDevice "USB Mouse" "CorePointer"<br />
'''''InputDevice "Touchpad" "AlwaysCore"'''''<br />
EndSection<br />
<br />
Add '''Load "synaptics"''' to the ''Module'' section, for example:<br />
Section "Module"<br />
...<br />
Load "freetype"<br />
Load "record"<br />
'''''Load "synaptics"'''''<br />
...<br />
EndSection<br />
<br />
Lastly, add a new ''InputDevice'' section for the touchpad itself:<br />
<br />
Section "InputDevice"<br />
Identifier "Touchpad"<br />
Driver "synaptics"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "LeftEdge" "1700"<br />
Option "RightEdge" "5300"<br />
Option "TopEdge" "1700"<br />
Option "BottomEdge" "4200"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "MaxTapTime" "180"<br />
Option "MaxTapMove" "220"<br />
Option "VertScrollDelta" "100"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "SHMConfig" "true"<br />
EndSection<br />
<br />
Save, exit and restart X. The touchpad should now have working scroll zones. You can further tweak the ''InputDevice'' settings above for more control over touch sensitivity, etc.<br />
<br />
If you use GNOME you can also install the '''gsynaptics''' package to enable a GUI-based control panel. You'll have to add '''''gsynaptics-init''''' to your startup session if you want these GUI-based settings remembered.<br />
<br />
=Power Management=<br />
<br />
==powersaved: ACPI Hibernation/Suspend ''and'' CPU Frequency Scaling==<br />
The powersave daemon appears to be the best all-in-one solution for this laptop; addressing both ACPI sleep modes and CPU frequency scaling.<br />
<br />
The following information is based on a GNOME desktop setup, however it should work just as well under KDE if you replace ''gnome-power-manager'' with ''kpowersave''.<br />
# pacman -S acpid powersave gnome-power-manager<br />
Add '''powersaved''' to your DAEMONS list in /etc/rc.conf and because powersave will also check for (and load) the hal, dbus and acpid daemons, we need to comment them out if they are present, for example:<br />
DAEMONS=(syslog-ng '''powersaved !acpid !dbus !hal''' ...)<br />
<br />
===Hibernation Basics===<br />
In order for suspend2disk (hibernate) to work, we need to edit ''/boot/grub/menu.lst'' as root and add '''resume=/path/to/swap/drive''' (e.g. /dev/sda2) to the kernel options, for example:<br />
# (0) Arch Linux<br />
title Arch Linux<br />
root (hd0,0)<br />
kernel /vmlinuz26 root=/dev/sda3 '''resume=/dev/sda2''' ro vga=0<br />
initrd /kernel26.img<br />
Now when your notebook is placed into hibernation, it will move the data from your RAM to your swap partition... you ''did'' make your swap partition large enough, right?<br />
<br />
'''''Note:''''' ''ATI video card owners will also need to add '''vga=0''' to the kernel options (as shown above) in order to resume from suspend2ram.''<br />
<br />
===CPU Scaling===<br />
Edit as root ''/etc/powersave/cpufreq''<br />
* Modify CPUFREQ_CONTROL="" to desired scheme ('''ondemand''' is a good choice)<br />
* Modify CPUFREQD_MODULE="" to desired module ('''p4-clockmod''' is a good choice)<br />
<br />
===Restart Network Automatically after Hibernate/Suspend===<br />
You may find that when resuming from a sleep mode your network connection is not reestablished. Assuming you use networkmanager, this is easily fixed by editing as root ''/etc/powersave/sleep'' and adding '''networkmanager''' to SUSPEND2DISK_RESTART_SERVICES and SUSPEND2RAM_RESTART_SERVICES:<br />
<br />
SUSPEND2DISK_RESTART_SERVICES="networkmanager"<br />
SUSPEND2RAM_RESTART_SERVICES="networkmanager"<br />
<br />
Intel Wireless 3945ABG users will also need to unload the ipw3945 kernel module and restart the ipw3945d daemon in order for your wireless to work after a resume:<br />
UNLOAD_MODULES_BEFORE_SUSPEND2DISK="ipw3945"<br />
UNLOAD_MODULES_BEFORE_SUSPEND2RAM="ipw3945"<br />
SUSPEND2DISK_RESTART_SERVICES="networkmanager ipw3945d"<br />
SUSPEND2RAM_RESTART_SERVICES="networkmanager ipw3945d"<br />
The order of daemon services is very important, ipw3945d '''''must come after''''' networkmanager.<br />
<br />
=Resources=<br />
TuxMobil: [http://tuxmobil.org/mylaptops.html Linux Laptop & Notebook Installation Guides]<br />
<br />
TuxMobil: [http://tuxmobil.org/dell.html DELL Notebooks]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400 HARDWARE Dell Inspiron 6400]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400_Fixes_for_common_problems HARDWARE Dell Inspiron 6400 Fixes for common problems]<br />
<br />
<br />
<br />
=Comments=</div>Hotsaucehttps://wiki.archlinux.org/index.php?title=Dell_Inspiron_6400&diff=26059Dell Inspiron 64002007-06-30T04:34:58Z<p>Hotsauce: /* Dell Wireless 1390 */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=Introduction=<br />
==Summary==<br />
The goal of this guide is to provide a comprehensive tutorial for the Inspiron 6400/e1505 series laptop. With any luck, this guide will walk you through the steps necessary to get every piece of hardware working to full capacity.<br />
<br />
==From the contributor==<br />
I will attempt to cover as much as possible, however please feel free to contribute to this guide as you feel necessary. I will be happy to answer any questions, but I'm no Linux expert so there's a good chance I won't know the answer either! ~Thayer ([[User:Thayer.w|thayer.w]]) (thayerw(at)gmail(dot)com)<br />
<br />
=Hardware Specifications=<br />
The 6400 series laptop is currently available in a number of configurations. I have used '''bold''' to indicate my particular configuration where applicable. Your mileage may vary a bit if your components don't match, but for the most part everything should still work fine.<br />
<br />
*<span style="color:green;">Green items are confirmed to work</span><br />
*<span style="color:red;">Red items have yet to be confirmed and require a Wiki entry</span><br />
<br />
===Base Components===<br />
<br />
* Intel Core Duo and Core 2 Duo processors<br />
** '''T2500 (2GHz/667MHz FSB/2MB Cache)'''<br />
** T5600 (1.83GHz/667MHz FSB/2MB Cache)<br />
** T2050 (1.66GHz/667MHz FSB/2MB Cache)<br />
** T1350 (1.66GHz/667MHz FSB/2MB Cache)<br />
* 512MB/1GB/'''2GB''' 533MHz/'''667MHz''' DDR2 SDRAM Memory<br />
* 15.4" Widescreen Display<br />
** WXGA (1280 x 800)<br />
** WSXGA 1280x800 with TrueLife™<br />
** '''WSXGA+ 1680x1050 with TrueLife™'''<br />
* 80GB/'''100GB'''/120GB/160GB '''5400'''/7200 RPM SATA Hard Drive<br />
* <span style="color:green;">8x CD/DVD+/-RW/DL+R</span><br />
* <span style="color:green;">Broadcom 440x 10/100 Ethernet</span><br />
* <span style="color:red;">Conexant HDA D110 MDC V.92 modem (winmodem)</span><br />
* <span style="color:green;">Sigmatel STAC 92xx Audio</span><br />
* <span style="color:green;">Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader</span><br />
* <span style="color:green;">4 USB 2.0 Ports</span><br />
* <span style="color:red;">Firewire port (IEEE 1394)</span><br />
* <span style="color:red;">1 ExpressCard Slot</span><br />
* <span style="color:green;">Synaptics touchpad with scroll zones</span><br />
<br />
===Video Options===<br />
<br />
* 128MB ATI Mobility Radeon X1300 with HyperMemory<br />
* <span style="color:green;">'''256MB ATI Mobility Radeon X1400 with Hypermemory'''</span><br />
* 256MB nVidia GeForce Go 7300 with TurboCache<br />
* 128MB Intel Graphics Media Accelerator 950<br />
<br />
===Wireless Options===<br />
<br />
* <span style="color:green;">'''Intel Pro/Wireless 3945ABG (802.11a/b/g)'''</span><br />
* Intel Wireless WiFi 4965AGN<br />
* Dell Wireless 1390<br />
* Dell Wireless 1500 Draft 802.11n Wireless<br />
* <span style="color:green;">'''Dell Wireless 350 Bluetooth Module'''</span><br />
* Dell Wireless 355 Bluetooth Module<br />
<br />
=Arch Installation (FTP Method)=<br />
I won't go into too much detail regarding the installation steps, because it's pretty straight forward and most of the defaults work fine. There are plenty of resources available ([[Official_Arch_Linux_Install_Guide|Official Installation Guide]]) that will walk you through the basic steps.<br />
<br />
If you have a broadband internet connection, I highly recommend installing Arch with the smaller FTP ISO. If you plan to have a desktop environment (KDE, GNOME, etc) then the majority of the packages you will be installing will come from the internet repositories and <em>not</em> the ISO's. This method will get you up and running in the shortest amount of time. Simply download the FTP ISO, burn it to a CD and restart your computer.<br />
<br />
The following steps assume you are connected to the Internet with a wired Ethernet connection, as opposed to a wireless connection.<br />
<br />
==Boot the Arch Setup CD==<br />
You may need to press F12 at the DELL BIOS screen to get the boot order menu. From there you can choose to boot from the CD/DVD drive rather than the hard disk.<br />
<br />
==Setup==<br />
For the most part, the default settings are fine and the most vital hardware components should be found automatically. Some special items below you may want to consider:<br />
<br />
===0 - Configure===<br />
Just follow the prompts, choosing the defaults when asked and everything should be fine. Make sure you allow the setup to detect your basic hardware automatically when asked.<br />
<br />
===1 - Prepare Hard Disks===<br />
The following is an example of my partition table. My drive is 100GB and I run only Arch on my notebook. Your settings will vary depending on the size of your hard drive and the number of operating systems you plan to run.<br />
<br />
sda (100GB)<br />
*sda1 ext2 100MB /boot<br />
*sda2 swap 2.1GB (I have 2GB of RAM and want to leave room for suspend-to-disk functions)<br />
*sda3 ext3 6GB / (root) <br />
*sda4 ext3 90GB /home (actually less than 90GB because ext3 reserves space to avoid capacity problems, but you get the point)<br />
<br />
===2 - Select Packages===<br />
*Choose a mirror ('''''ftp.nethat.com''''' works very well from Vancouver, BC @ 160kb/s)<br />
*Choose just the base packages<br />
*Select all packages by default<br />
<br />
===3 - Install Packages===<br />
*Answer yes to cache packages (default)<br />
*Grab a coffee, it's going to take a while to grab about 100MB of packages<br />
<br />
===4 - Configure System===<br />
Now we choose our editor; either vim or nano. Many of the files can be left alone, but there are some changes worth mentioning:<br />
<br />
====rc.conf====<br />
*Change your locale if necessary, for example Canadians use en_CA:<br />
LOCALE="en_CA.utf8"<br />
*Change the timezone if necessary, for exmaple:<br />
TIMEZONE="Canada/Pacific"<br />
*To get rid of that ever-so-annoying system beep, blacklist the pc speaker module:<br />
MOD_BLACKLIST=(pcspkr)<br />
*Change the hostname if you desire a unique name, for example:<br />
HOSTNAME="dublin"<br />
*If your ISP assigns your IP address automatically (and most do), make sure eth0 is set to dhcp:<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
<br />
====hosts====<br />
Add a second line under localhost with your unique hostname (from the rc.conf) in place of localhost, for example:<br />
127.0.0.1 localhost.localdomain localhost<br />
127.0.0.1 dublin.localdomain dublin<br />
<br />
====fstab====<br />
No changes should be necessary.<br />
<br />
====mkinitcpio.conf====<br />
No changes should be necessary.<br />
<br />
====modprobe.conf====<br />
No changes should be necessary.<br />
<br />
====resolv.conf====<br />
No changes should be necessary.<br />
<br />
====locale.gen====<br />
Uncomment the languages files you wish to use, including the one you configured under LOCALE in the rc.conf:<br />
#en_BW.UTF-8 UTF-8<br />
#en_BW ISO-8859-1<br />
en_CA.UTF-8 UTF-8<br />
en_CA ISO-8859-1<br />
#en_DK.UTF-8 UTF-8<br />
#en_DK ISO-8859-1<br />
<br />
In my case, I uncommented en_US, en_CA and en_GB.<br />
<br />
====root password====<br />
Set a root password.<br />
<br />
====pacman mirrors====<br />
You can either use the same mirror you used to install the base packages, or you choose a different one at this time.<br />
<br />
===5 - Install Kernel===<br />
The default choices should be fine.<br />
<br />
===6 - Install Boot Loader===<br />
If you are installing Arch as the sole operating system on the notebook, just go with the default settings. If you are dual-booting with Windows or another distro, choose the options carefully to avoid wiping your existing settings.<br />
<br />
* When installing GRUB, I also append vga=791 to the kernel option to set my console resolution to 1024x768, for example:<br />
kernel /vmlinuz26 root=/dev/sda3 ro '''vga=791'''<br />
<br />
===7 - Exit===<br />
You can now reboot into your new Arch installation.<br />
<br />
==Synchronize Updates==<br />
After rebooting from the installation you should make sure your local package database is synced with the mirrors and that your installed software is up to date. From the console, type:<br />
# pacman -Syu<br />
<br />
=Add Users=<br />
At this point you can add a local user account by typing:<br />
# useradd -m johndoe<br />
# passwd johndoe<br />
Note, you will not be able to use the '''sudo''' command with this account until you [[Sudo|install and configure sudo]].<br />
<br />
=Desktop Environments=<br />
<br />
==Xorg==<br />
You must install Xorg if you plan to use a Desktop Environment (e.g. GNOME, KDE, etc.)<br />
<br />
===Install Xorg===<br />
Install the necessary packages:<br />
# pacman -S xorg xterm hwd<br />
<br />
===Configure Xorg===<br />
The <tt>hwd</tt> program (aka ''Hardware Detect'') will examine your hardware and create a default ''xorg.conf'' configuration file for Xorg:<br />
# hwd -xa<br />
You now have a working X setup, however this setup uses the generic VESA graphics driver. If you want to run your desktop at its native resolution (e.g. 1680x1050) and have 3D acceleration enabled, you'll need to install the appropriate driver for your video card.<br />
<br />
==KDE (kdemod)==<br />
Many users believe that Arch Linux is ''the best'' distribution for the [http://www.kde.org/ K Desktop Environment], mostly due to the wonderful [http://www.kdemod.ath.cx/ KDEmod] project:<br />
<br />
:''"KDEmod is a modular and tweaked version of the K Desktop Environment that has been optimized for ArchLinux. It contains additional patches for eyecandy and functionality and an enhanced QT3 installation, and is available in Archlinux´s standard .pkg.tar.gz package format for both i686 and x86_64."'' Source: http://www.kdemod.ath.cx/<br />
<br />
KDEmod is what brought me to Arch Linux in the first place and I highly recommend it for fans of KDE. You should know what you're installing though, so be sure to read through the [http://www.kdemod.ath.cx/ KDEmod website] first.<br />
<br />
'''You must install and configure Xorg BEFORE before you can use KDEmod. See above for details.'''<br />
<br />
===Add kdemod Repository===<br />
The KDEmod project is maintained independently, so we must add the repo to our pacman config manually:<br />
# nano /etc/pacman.conf<br />
add the repo address:<br />
[kdemod]<br />
# kdemod repository<br />
Server = http://kdemod.ath.cx/repo/current/i686<br />
#Server = http://kdemod.ath.cx/repo/testing/i686<br />
If you like to live on the edge, you can uncomment the '''testing''' repo, but ''be aware that you will be running software that is considered '''unstable'''''.<br />
<br />
Save, exit and then sync your pacman database with the new repo:<br />
# pacman -Sy<br />
<br />
===Install kdemod===<br />
To get KDE up and running, we should install at least two packages: the '''kdemod''' base package and the appropriate localization package for your country. American English is included with kdemod, so Americans can bypass the localization step.<br />
<br />
You can see which localization packages are available by searching the pacman database:<br />
# pacman -Ss kdemod-kde-i18n-<br />
Now that you know which language package you need, we can continue with the installation of kdemod:<br />
# pacman -S kdemod kdemod-kde-i18n-en_gb<br />
Grab another coffee or read ahead while you wait for this 200MB download to complete.<br />
<br />
Once completed, it's time to configure the KDM graphical login manager.<br />
<br />
===KDM Login Manager===<br />
Although you can load KDE manually each time you log into your notebook by typing '''startkde''', it's more convenient to have the GUI-based login manager load automatically. There are two common ways to go about this.<br />
<br />
====Method 1: Daemon====<br />
The quick & dirty method is to add kdm to our list of daemons in /etc/rc.conf, since the daemons will always be loaded when we boot up our notebook:<br />
# nano /etc/rc.conf<br />
add '''kdm''' to the very end of the daemons list, for example:<br />
DAEMONS=(syslog-ng network netfs crond kdm)<br />
Save, exit and reboot. You should now be greeted with the KDM login screen.<br />
<br />
====Method 2: Init====<br />
This method will load KDM only when runlevel 5 is initiated; considered by many to be the ''proper'' way of configuring the initialization scripts:<br />
# nano /etc/inittab<br />
Change the default runlevel from 3:<br />
id:3:initdefault:<br />
to runlevel 5:<br />
id:5:initdefault:<br />
and then change the runlevel 5 login manager from xdm:<br />
x:5:respawn:/usr/bin/xdm -nodaemon<br />
to kdm:<br />
x:5:respawn:/opt/kde/bin/kdm -nodaemon<br />
Save, exit and reboot. You should now be greeted with the KDM login screen.<br />
<br />
===Add More Applications===<br />
At this point you should have a bare-bones installation of KDE and a nice GUI-based Login Manager. However, you'll probably want to add more applications to suit your needs. The [http://www.kdemod.ath.cx/ KDEmod website] has a full list of packages available from the KDEmod suite, and of course you can query pacman for general applications (e.g. <tt>pacman -Ss media player</tt>). The following are few essentials you may want to consider:<br />
# pacman -S firefox jre flashplugin acroread ktorrent amarok-base kaffeine gwenview k9copy openoffice-base<br />
This will install the Firefox web browser, Sun Java, Macromedia Flash player plugin, Adobe Acrobat Reader, as well as a torrent client, mp3 media player, audio/video media player, image browser, dvd ripper, and office suite.<br />
<br />
=Hardware=<br />
<br />
==Audio (ALSA)==<br />
The Intel audio hardware should be detected automatically during the Arch setup, requiring no input from the user. For example, the following modules are loaded in '''/etc/rc.conf''' by default:<br />
snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore<br />
Refer to the [[ALSA_Setup| ALSA Setup Wiki]] for general assistance with volume settings, group permissions, etc.<br />
<br />
==Video==<br />
<br />
===ATI X1300/X1400 Radeon Video Cards===<br />
=====FGLRX Proprietary Driver=====<br />
The fglrx ATI proprietary driver is available from the standard repos and is the simplest way to get full 3D acceleration and native resolutions on your notebook:<br />
# pacman -S fglrx<br />
Run the '''aticonfig''' tool to add the appropriate settings to your xorg.conf:<br />
# aticonfig --initial<br />
Lastly, we need to modify ''/etc/rc.conf'' and add the '''fglrx''' kernel driver to the MODULES section, for example:<br />
MODULES=('''fglrx''' b44 mii snd-mixer-oss ...)<br />
Reboot and you're set.<br />
<br />
Further information can be found at the [[ATI_Radeon_%26_Kernel_2.6|ATI Radeon Wiki]].<br />
<br />
=====Open Source ATI Driver=====<br />
Please refer to the [[ATI_Radeon_%26_Kernel_2.6|ATI Radeon Wiki]] for more information.<br />
<br />
===nVidia GeForce Go 7300===<br />
''More information needed. Feel free to edit this section.''<br />
<br />
===Intel Graphics Media Accelerator 950===<br />
<br />
Install driver:<br />
pacman -S xf86-video-intel<br />
<br />
Use gft to generate modeline and add it to "Monitor" section.<br />
<br />
Add this to "Device" section:<br />
<br />
VideoRam 229376<br />
Option "CacheLines" "1980"<br />
Driver "intel"<br />
<br />
==Networking==<br />
<br />
===Broadcom 440x 10/100 Ethernet===<br />
The Broadcom Ethernet card should have out-of-the-box support. No configuration necessary.<br />
<br />
===Intel PRO/Wireless 3945ABG===<br />
Install and configure NetworkManager before attempting to install the Intel 3945 wireless drivers. Refer to the [[Networkmanager| Networkmanager Wiki]] for more information.<br />
<br />
Grab the Intel 3945 driver packages:<br />
# pacman -S ipw3945<br />
Edit /etc/rc.conf:<br />
# nano /etc/rc.conf<br />
Add '''ipw3945''' to the MODULES list:<br />
MODULES=(fglrx '''''ipw3945''''' b44 mii ...)<br />
Add '''eth1="dchp"''' to the NETWORKING section ''(Note: It is sometimes detected as eth2 instead of eth1, use '''ifconfig''' to verify yours and add eth2="dhcp" if necessary)'':<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
'''''eth1="dhcp"'''''<br />
If '''eth1''' is listed in the INTERFACES section, make sure it is disabled:<br />
INTERFACES=(lo !eth0 '''''!eth1''''')<br />
Add '''ipw3945d''' to the DAEMONS list ''before'' the dhcdbd and networkmanager daemons:<br />
DAEMONS=(syslog-ng '''''ipw3945d''''' dhcdbd networkmanager alsa ...)<br />
<br />
===Dell Wireless 1390===<br />
<br />
To use the Dell1370 wireless card we will use ndiswrapper<br />
pacman -Sy ndiswrapper<br />
<br />
Download driver from the dell website:<br />
<br />
wget http://ftp.us.dell.com/network/R140747.EXE<br />
<br />
Extract it:<br />
mkdir ~/Dell1370<br />
mv R14070747.EXE ~/Dell1370 <br />
cd ~/Dell1370 <br />
unzip -a R14070747.EXE<br />
cd DRIVERS<br />
<br />
Set it up<br />
ndiswrapper -i bcmwl5.inf<br />
ndiswrapper -l<br />
ndiswrapper -m<br />
modprobe ndiswrapper<br />
<br />
Now it should work, try typing "iwlist scanning" in a terminal to make sure<br />
<br />
Also make sure you add ndiswrapper to your daemon array in /etc/rc.conf<br />
<br />
clean up after yourself<br />
<br />
rm -rf ~/Dell1370<br />
<br />
===Dell Wireless 1500 Draft 802.11n Wireless===<br />
''More information needed. Feel free to edit this section.''<br />
<br />
===Dell Wireless 350 Bluetooth Module===<br />
Install the bluetooth libraries and basic utilties:<br />
# pacman -S bluez-libs bluez-utils<br />
Add '''bluetooth''' to the DAEMONS list in ''/etc/rc.conf'', for example:<br />
DAEMONS=(syslog-ng powersaved '''bluetooth''' ipw3945d ...)<br />
Now, depending on your Desktop Environment, install the appropriate tools:<br />
<br />
For GNOME: <br />
# pacman -S gnome-bluetooth bluez-gnome<br />
For KDE:<br />
# pacman -S kdebluetooth<br />
<br />
===Dell Wireless 355 Bluetooth Module===<br />
''In theory, the steps for the Dell 350 module should apply to the 355 model as well, however this has not been confirmed.''<br />
<br />
==Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader==<br />
The Ricoh card reader should work out of the box, as long as '''MOD_AUTOLOAD''' is set to '''yes''' in ''/etc/rc.conf''. Assuming you use a HAL-aware desktop (Xfce, KDE, GNOME), once a memory card is inserted the kernel should automatically load the '''mmc_core/mmc_block''' modules and mount the new filesystem according to your automount settings. <br />
<br />
This has been confirmed with the following card types:<br />
* SD Card<br />
<br />
==Synaptics Touchpad==<br />
The Synaptics touchpad should provide basic functions out-of-the-box, however if you would like to use the scroll zones and enable other advanced features, follow these instructions:<br />
# pacman -S synaptics<br />
<br />
Edit ''/etc/X11/xorg.conf'' as root:<br />
# nano /etc/X11/xorg.conf<br />
<br />
Add '''InputDevice "Touchpad" "AlwaysCore"''' to the ''ServerLayout'':<br />
Section "ServerLayout"<br />
...<br />
InputDevice "USB Mouse" "CorePointer"<br />
'''''InputDevice "Touchpad" "AlwaysCore"'''''<br />
EndSection<br />
<br />
Add '''Load "synaptics"''' to the ''Module'' section, for example:<br />
Section "Module"<br />
...<br />
Load "freetype"<br />
Load "record"<br />
'''''Load "synaptics"'''''<br />
...<br />
EndSection<br />
<br />
Lastly, add a new ''InputDevice'' section for the touchpad itself:<br />
<br />
Section "InputDevice"<br />
Identifier "Touchpad"<br />
Driver "synaptics"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "LeftEdge" "1700"<br />
Option "RightEdge" "5300"<br />
Option "TopEdge" "1700"<br />
Option "BottomEdge" "4200"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "MaxTapTime" "180"<br />
Option "MaxTapMove" "220"<br />
Option "VertScrollDelta" "100"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "SHMConfig" "true"<br />
EndSection<br />
<br />
Save, exit and restart X. The touchpad should now have working scroll zones. You can further tweak the ''InputDevice'' settings above for more control over touch sensitivity, etc.<br />
<br />
If you use GNOME you can also install the '''gsynaptics''' package to enable a GUI-based control panel. You'll have to add '''''gsynaptics-init''''' to your startup session if you want these GUI-based settings remembered.<br />
<br />
=Power Management=<br />
<br />
==powersaved: ACPI Hibernation/Suspend ''and'' CPU Frequency Scaling==<br />
The powersave daemon appears to be the best all-in-one solution for this laptop; addressing both ACPI sleep modes and CPU frequency scaling.<br />
<br />
The following information is based on a GNOME desktop setup, however it should work just as well under KDE if you replace ''gnome-power-manager'' with ''kpowersave''.<br />
# pacman -S acpid powersave gnome-power-manager<br />
Add '''powersaved''' to your DAEMONS list in /etc/rc.conf and because powersave will also check for (and load) the hal, dbus and acpid daemons, we need to comment them out if they are present, for example:<br />
DAEMONS=(syslog-ng '''powersaved !acpid !dbus !hal''' ...)<br />
<br />
===Hibernation Basics===<br />
In order for suspend2disk (hibernate) to work, we need to edit ''/boot/grub/menu.lst'' as root and add '''resume=/path/to/swap/drive''' (e.g. /dev/sda2) to the kernel options, for example:<br />
# (0) Arch Linux<br />
title Arch Linux<br />
root (hd0,0)<br />
kernel /vmlinuz26 root=/dev/sda3 '''resume=/dev/sda2''' ro vga=0<br />
initrd /kernel26.img<br />
Now when your notebook is placed into hibernation, it will move the data from your RAM to your swap partition... you ''did'' make your swap partition large enough, right?<br />
<br />
'''''Note:''''' ''ATI video card owners will also need to add '''vga=0''' to the kernel options (as shown above) in order to resume from suspend2ram.''<br />
<br />
===CPU Scaling===<br />
Edit as root ''/etc/powersave/cpufreq''<br />
* Modify CPUFREQ_CONTROL="" to desired scheme ('''ondemand''' is a good choice)<br />
* Modify CPUFREQD_MODULE="" to desired module ('''p4-clockmod''' is a good choice)<br />
<br />
===Restart Network Automatically after Hibernate/Suspend===<br />
You may find that when resuming from a sleep mode your network connection is not reestablished. Assuming you use networkmanager, this is easily fixed by editing as root ''/etc/powersave/sleep'' and adding '''networkmanager''' to SUSPEND2DISK_RESTART_SERVICES and SUSPEND2RAM_RESTART_SERVICES:<br />
<br />
SUSPEND2DISK_RESTART_SERVICES="networkmanager"<br />
SUSPEND2RAM_RESTART_SERVICES="networkmanager"<br />
<br />
Intel Wireless 3945ABG users will also need to unload the ipw3945 kernel module and restart the ipw3945d daemon in order for your wireless to work after a resume:<br />
UNLOAD_MODULES_BEFORE_SUSPEND2DISK="ipw3945"<br />
UNLOAD_MODULES_BEFORE_SUSPEND2RAM="ipw3945"<br />
SUSPEND2DISK_RESTART_SERVICES="networkmanager ipw3945d"<br />
SUSPEND2RAM_RESTART_SERVICES="networkmanager ipw3945d"<br />
The order of daemon services is very important, ipw3945d '''''must come after''''' networkmanager.<br />
<br />
=Resources=<br />
TuxMobil: [http://tuxmobil.org/mylaptops.html Linux Laptop & Notebook Installation Guides]<br />
<br />
TuxMobil: [http://tuxmobil.org/dell.html DELL Notebooks]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400 HARDWARE Dell Inspiron 6400]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400_Fixes_for_common_problems HARDWARE Dell Inspiron 6400 Fixes for common problems]<br />
<br />
<br />
<br />
=Comments=</div>Hotsaucehttps://wiki.archlinux.org/index.php?title=Dell_Inspiron_6400&diff=26058Dell Inspiron 64002007-06-30T04:31:44Z<p>Hotsauce: /* Dell Wireless 1390 */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=Introduction=<br />
==Summary==<br />
The goal of this guide is to provide a comprehensive tutorial for the Inspiron 6400/e1505 series laptop. With any luck, this guide will walk you through the steps necessary to get every piece of hardware working to full capacity.<br />
<br />
==From the contributor==<br />
I will attempt to cover as much as possible, however please feel free to contribute to this guide as you feel necessary. I will be happy to answer any questions, but I'm no Linux expert so there's a good chance I won't know the answer either! ~Thayer ([[User:Thayer.w|thayer.w]]) (thayerw(at)gmail(dot)com)<br />
<br />
=Hardware Specifications=<br />
The 6400 series laptop is currently available in a number of configurations. I have used '''bold''' to indicate my particular configuration where applicable. Your mileage may vary a bit if your components don't match, but for the most part everything should still work fine.<br />
<br />
*<span style="color:green;">Green items are confirmed to work</span><br />
*<span style="color:red;">Red items have yet to be confirmed and require a Wiki entry</span><br />
<br />
===Base Components===<br />
<br />
* Intel Core Duo and Core 2 Duo processors<br />
** '''T2500 (2GHz/667MHz FSB/2MB Cache)'''<br />
** T5600 (1.83GHz/667MHz FSB/2MB Cache)<br />
** T2050 (1.66GHz/667MHz FSB/2MB Cache)<br />
** T1350 (1.66GHz/667MHz FSB/2MB Cache)<br />
* 512MB/1GB/'''2GB''' 533MHz/'''667MHz''' DDR2 SDRAM Memory<br />
* 15.4" Widescreen Display<br />
** WXGA (1280 x 800)<br />
** WSXGA 1280x800 with TrueLife™<br />
** '''WSXGA+ 1680x1050 with TrueLife™'''<br />
* 80GB/'''100GB'''/120GB/160GB '''5400'''/7200 RPM SATA Hard Drive<br />
* <span style="color:green;">8x CD/DVD+/-RW/DL+R</span><br />
* <span style="color:green;">Broadcom 440x 10/100 Ethernet</span><br />
* <span style="color:red;">Conexant HDA D110 MDC V.92 modem (winmodem)</span><br />
* <span style="color:green;">Sigmatel STAC 92xx Audio</span><br />
* <span style="color:green;">Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader</span><br />
* <span style="color:green;">4 USB 2.0 Ports</span><br />
* <span style="color:red;">Firewire port (IEEE 1394)</span><br />
* <span style="color:red;">1 ExpressCard Slot</span><br />
* <span style="color:green;">Synaptics touchpad with scroll zones</span><br />
<br />
===Video Options===<br />
<br />
* 128MB ATI Mobility Radeon X1300 with HyperMemory<br />
* <span style="color:green;">'''256MB ATI Mobility Radeon X1400 with Hypermemory'''</span><br />
* 256MB nVidia GeForce Go 7300 with TurboCache<br />
* 128MB Intel Graphics Media Accelerator 950<br />
<br />
===Wireless Options===<br />
<br />
* <span style="color:green;">'''Intel Pro/Wireless 3945ABG (802.11a/b/g)'''</span><br />
* Intel Wireless WiFi 4965AGN<br />
* Dell Wireless 1390<br />
* Dell Wireless 1500 Draft 802.11n Wireless<br />
* <span style="color:green;">'''Dell Wireless 350 Bluetooth Module'''</span><br />
* Dell Wireless 355 Bluetooth Module<br />
<br />
=Arch Installation (FTP Method)=<br />
I won't go into too much detail regarding the installation steps, because it's pretty straight forward and most of the defaults work fine. There are plenty of resources available ([[Official_Arch_Linux_Install_Guide|Official Installation Guide]]) that will walk you through the basic steps.<br />
<br />
If you have a broadband internet connection, I highly recommend installing Arch with the smaller FTP ISO. If you plan to have a desktop environment (KDE, GNOME, etc) then the majority of the packages you will be installing will come from the internet repositories and <em>not</em> the ISO's. This method will get you up and running in the shortest amount of time. Simply download the FTP ISO, burn it to a CD and restart your computer.<br />
<br />
The following steps assume you are connected to the Internet with a wired Ethernet connection, as opposed to a wireless connection.<br />
<br />
==Boot the Arch Setup CD==<br />
You may need to press F12 at the DELL BIOS screen to get the boot order menu. From there you can choose to boot from the CD/DVD drive rather than the hard disk.<br />
<br />
==Setup==<br />
For the most part, the default settings are fine and the most vital hardware components should be found automatically. Some special items below you may want to consider:<br />
<br />
===0 - Configure===<br />
Just follow the prompts, choosing the defaults when asked and everything should be fine. Make sure you allow the setup to detect your basic hardware automatically when asked.<br />
<br />
===1 - Prepare Hard Disks===<br />
The following is an example of my partition table. My drive is 100GB and I run only Arch on my notebook. Your settings will vary depending on the size of your hard drive and the number of operating systems you plan to run.<br />
<br />
sda (100GB)<br />
*sda1 ext2 100MB /boot<br />
*sda2 swap 2.1GB (I have 2GB of RAM and want to leave room for suspend-to-disk functions)<br />
*sda3 ext3 6GB / (root) <br />
*sda4 ext3 90GB /home (actually less than 90GB because ext3 reserves space to avoid capacity problems, but you get the point)<br />
<br />
===2 - Select Packages===<br />
*Choose a mirror ('''''ftp.nethat.com''''' works very well from Vancouver, BC @ 160kb/s)<br />
*Choose just the base packages<br />
*Select all packages by default<br />
<br />
===3 - Install Packages===<br />
*Answer yes to cache packages (default)<br />
*Grab a coffee, it's going to take a while to grab about 100MB of packages<br />
<br />
===4 - Configure System===<br />
Now we choose our editor; either vim or nano. Many of the files can be left alone, but there are some changes worth mentioning:<br />
<br />
====rc.conf====<br />
*Change your locale if necessary, for example Canadians use en_CA:<br />
LOCALE="en_CA.utf8"<br />
*Change the timezone if necessary, for exmaple:<br />
TIMEZONE="Canada/Pacific"<br />
*To get rid of that ever-so-annoying system beep, blacklist the pc speaker module:<br />
MOD_BLACKLIST=(pcspkr)<br />
*Change the hostname if you desire a unique name, for example:<br />
HOSTNAME="dublin"<br />
*If your ISP assigns your IP address automatically (and most do), make sure eth0 is set to dhcp:<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
<br />
====hosts====<br />
Add a second line under localhost with your unique hostname (from the rc.conf) in place of localhost, for example:<br />
127.0.0.1 localhost.localdomain localhost<br />
127.0.0.1 dublin.localdomain dublin<br />
<br />
====fstab====<br />
No changes should be necessary.<br />
<br />
====mkinitcpio.conf====<br />
No changes should be necessary.<br />
<br />
====modprobe.conf====<br />
No changes should be necessary.<br />
<br />
====resolv.conf====<br />
No changes should be necessary.<br />
<br />
====locale.gen====<br />
Uncomment the languages files you wish to use, including the one you configured under LOCALE in the rc.conf:<br />
#en_BW.UTF-8 UTF-8<br />
#en_BW ISO-8859-1<br />
en_CA.UTF-8 UTF-8<br />
en_CA ISO-8859-1<br />
#en_DK.UTF-8 UTF-8<br />
#en_DK ISO-8859-1<br />
<br />
In my case, I uncommented en_US, en_CA and en_GB.<br />
<br />
====root password====<br />
Set a root password.<br />
<br />
====pacman mirrors====<br />
You can either use the same mirror you used to install the base packages, or you choose a different one at this time.<br />
<br />
===5 - Install Kernel===<br />
The default choices should be fine.<br />
<br />
===6 - Install Boot Loader===<br />
If you are installing Arch as the sole operating system on the notebook, just go with the default settings. If you are dual-booting with Windows or another distro, choose the options carefully to avoid wiping your existing settings.<br />
<br />
* When installing GRUB, I also append vga=791 to the kernel option to set my console resolution to 1024x768, for example:<br />
kernel /vmlinuz26 root=/dev/sda3 ro '''vga=791'''<br />
<br />
===7 - Exit===<br />
You can now reboot into your new Arch installation.<br />
<br />
==Synchronize Updates==<br />
After rebooting from the installation you should make sure your local package database is synced with the mirrors and that your installed software is up to date. From the console, type:<br />
# pacman -Syu<br />
<br />
=Add Users=<br />
At this point you can add a local user account by typing:<br />
# useradd -m johndoe<br />
# passwd johndoe<br />
Note, you will not be able to use the '''sudo''' command with this account until you [[Sudo|install and configure sudo]].<br />
<br />
=Desktop Environments=<br />
<br />
==Xorg==<br />
You must install Xorg if you plan to use a Desktop Environment (e.g. GNOME, KDE, etc.)<br />
<br />
===Install Xorg===<br />
Install the necessary packages:<br />
# pacman -S xorg xterm hwd<br />
<br />
===Configure Xorg===<br />
The <tt>hwd</tt> program (aka ''Hardware Detect'') will examine your hardware and create a default ''xorg.conf'' configuration file for Xorg:<br />
# hwd -xa<br />
You now have a working X setup, however this setup uses the generic VESA graphics driver. If you want to run your desktop at its native resolution (e.g. 1680x1050) and have 3D acceleration enabled, you'll need to install the appropriate driver for your video card.<br />
<br />
==KDE (kdemod)==<br />
Many users believe that Arch Linux is ''the best'' distribution for the [http://www.kde.org/ K Desktop Environment], mostly due to the wonderful [http://www.kdemod.ath.cx/ KDEmod] project:<br />
<br />
:''"KDEmod is a modular and tweaked version of the K Desktop Environment that has been optimized for ArchLinux. It contains additional patches for eyecandy and functionality and an enhanced QT3 installation, and is available in Archlinux´s standard .pkg.tar.gz package format for both i686 and x86_64."'' Source: http://www.kdemod.ath.cx/<br />
<br />
KDEmod is what brought me to Arch Linux in the first place and I highly recommend it for fans of KDE. You should know what you're installing though, so be sure to read through the [http://www.kdemod.ath.cx/ KDEmod website] first.<br />
<br />
'''You must install and configure Xorg BEFORE before you can use KDEmod. See above for details.'''<br />
<br />
===Add kdemod Repository===<br />
The KDEmod project is maintained independently, so we must add the repo to our pacman config manually:<br />
# nano /etc/pacman.conf<br />
add the repo address:<br />
[kdemod]<br />
# kdemod repository<br />
Server = http://kdemod.ath.cx/repo/current/i686<br />
#Server = http://kdemod.ath.cx/repo/testing/i686<br />
If you like to live on the edge, you can uncomment the '''testing''' repo, but ''be aware that you will be running software that is considered '''unstable'''''.<br />
<br />
Save, exit and then sync your pacman database with the new repo:<br />
# pacman -Sy<br />
<br />
===Install kdemod===<br />
To get KDE up and running, we should install at least two packages: the '''kdemod''' base package and the appropriate localization package for your country. American English is included with kdemod, so Americans can bypass the localization step.<br />
<br />
You can see which localization packages are available by searching the pacman database:<br />
# pacman -Ss kdemod-kde-i18n-<br />
Now that you know which language package you need, we can continue with the installation of kdemod:<br />
# pacman -S kdemod kdemod-kde-i18n-en_gb<br />
Grab another coffee or read ahead while you wait for this 200MB download to complete.<br />
<br />
Once completed, it's time to configure the KDM graphical login manager.<br />
<br />
===KDM Login Manager===<br />
Although you can load KDE manually each time you log into your notebook by typing '''startkde''', it's more convenient to have the GUI-based login manager load automatically. There are two common ways to go about this.<br />
<br />
====Method 1: Daemon====<br />
The quick & dirty method is to add kdm to our list of daemons in /etc/rc.conf, since the daemons will always be loaded when we boot up our notebook:<br />
# nano /etc/rc.conf<br />
add '''kdm''' to the very end of the daemons list, for example:<br />
DAEMONS=(syslog-ng network netfs crond kdm)<br />
Save, exit and reboot. You should now be greeted with the KDM login screen.<br />
<br />
====Method 2: Init====<br />
This method will load KDM only when runlevel 5 is initiated; considered by many to be the ''proper'' way of configuring the initialization scripts:<br />
# nano /etc/inittab<br />
Change the default runlevel from 3:<br />
id:3:initdefault:<br />
to runlevel 5:<br />
id:5:initdefault:<br />
and then change the runlevel 5 login manager from xdm:<br />
x:5:respawn:/usr/bin/xdm -nodaemon<br />
to kdm:<br />
x:5:respawn:/opt/kde/bin/kdm -nodaemon<br />
Save, exit and reboot. You should now be greeted with the KDM login screen.<br />
<br />
===Add More Applications===<br />
At this point you should have a bare-bones installation of KDE and a nice GUI-based Login Manager. However, you'll probably want to add more applications to suit your needs. The [http://www.kdemod.ath.cx/ KDEmod website] has a full list of packages available from the KDEmod suite, and of course you can query pacman for general applications (e.g. <tt>pacman -Ss media player</tt>). The following are few essentials you may want to consider:<br />
# pacman -S firefox jre flashplugin acroread ktorrent amarok-base kaffeine gwenview k9copy openoffice-base<br />
This will install the Firefox web browser, Sun Java, Macromedia Flash player plugin, Adobe Acrobat Reader, as well as a torrent client, mp3 media player, audio/video media player, image browser, dvd ripper, and office suite.<br />
<br />
=Hardware=<br />
<br />
==Audio (ALSA)==<br />
The Intel audio hardware should be detected automatically during the Arch setup, requiring no input from the user. For example, the following modules are loaded in '''/etc/rc.conf''' by default:<br />
snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore<br />
Refer to the [[ALSA_Setup| ALSA Setup Wiki]] for general assistance with volume settings, group permissions, etc.<br />
<br />
==Video==<br />
<br />
===ATI X1300/X1400 Radeon Video Cards===<br />
=====FGLRX Proprietary Driver=====<br />
The fglrx ATI proprietary driver is available from the standard repos and is the simplest way to get full 3D acceleration and native resolutions on your notebook:<br />
# pacman -S fglrx<br />
Run the '''aticonfig''' tool to add the appropriate settings to your xorg.conf:<br />
# aticonfig --initial<br />
Lastly, we need to modify ''/etc/rc.conf'' and add the '''fglrx''' kernel driver to the MODULES section, for example:<br />
MODULES=('''fglrx''' b44 mii snd-mixer-oss ...)<br />
Reboot and you're set.<br />
<br />
Further information can be found at the [[ATI_Radeon_%26_Kernel_2.6|ATI Radeon Wiki]].<br />
<br />
=====Open Source ATI Driver=====<br />
Please refer to the [[ATI_Radeon_%26_Kernel_2.6|ATI Radeon Wiki]] for more information.<br />
<br />
===nVidia GeForce Go 7300===<br />
''More information needed. Feel free to edit this section.''<br />
<br />
===Intel Graphics Media Accelerator 950===<br />
<br />
Install driver:<br />
pacman -S xf86-video-intel<br />
<br />
Use gft to generate modeline and add it to "Monitor" section.<br />
<br />
Add this to "Device" section:<br />
<br />
VideoRam 229376<br />
Option "CacheLines" "1980"<br />
Driver "intel"<br />
<br />
==Networking==<br />
<br />
===Broadcom 440x 10/100 Ethernet===<br />
The Broadcom Ethernet card should have out-of-the-box support. No configuration necessary.<br />
<br />
===Intel PRO/Wireless 3945ABG===<br />
Install and configure NetworkManager before attempting to install the Intel 3945 wireless drivers. Refer to the [[Networkmanager| Networkmanager Wiki]] for more information.<br />
<br />
Grab the Intel 3945 driver packages:<br />
# pacman -S ipw3945<br />
Edit /etc/rc.conf:<br />
# nano /etc/rc.conf<br />
Add '''ipw3945''' to the MODULES list:<br />
MODULES=(fglrx '''''ipw3945''''' b44 mii ...)<br />
Add '''eth1="dchp"''' to the NETWORKING section ''(Note: It is sometimes detected as eth2 instead of eth1, use '''ifconfig''' to verify yours and add eth2="dhcp" if necessary)'':<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
'''''eth1="dhcp"'''''<br />
If '''eth1''' is listed in the INTERFACES section, make sure it is disabled:<br />
INTERFACES=(lo !eth0 '''''!eth1''''')<br />
Add '''ipw3945d''' to the DAEMONS list ''before'' the dhcdbd and networkmanager daemons:<br />
DAEMONS=(syslog-ng '''''ipw3945d''''' dhcdbd networkmanager alsa ...)<br />
<br />
===Dell Wireless 1390===<br />
<br />
pacman -Sy ndiswrapper<br />
<br />
Download driver from the dell website:<br />
<br />
wget http://ftp.us.dell.com/network/R140747.EXE<br />
<br />
Extract it:<br />
[code]mkdir ~/Dell1370<br />
mv R14070747.EXE ~/Dell1370 <br />
cd ~/Dell1370 <br />
unzip -a R14070747.EXE<br />
cd DRIVERS<br />
[/code]<br />
<br />
Set it up<br />
[code]<br />
ndiswrapper -i bcmwl5.inf<br />
ndiswrapper -l<br />
ndiswrapper -m<br />
modprobe ndiswrapper<br />
[/code]<br />
<br />
Now it should work, try typing "iwlist scanning" in a terminal to make sure<br />
<br />
Also make sure you add ndiswrapper to your daemon array in /etc/rc.conf<br />
<br />
clean up after yourself<br />
<br />
[code]rm -rf ~/Dell1370[/code]<br />
<br />
===Dell Wireless 1500 Draft 802.11n Wireless===<br />
''More information needed. Feel free to edit this section.''<br />
<br />
===Dell Wireless 350 Bluetooth Module===<br />
Install the bluetooth libraries and basic utilties:<br />
# pacman -S bluez-libs bluez-utils<br />
Add '''bluetooth''' to the DAEMONS list in ''/etc/rc.conf'', for example:<br />
DAEMONS=(syslog-ng powersaved '''bluetooth''' ipw3945d ...)<br />
Now, depending on your Desktop Environment, install the appropriate tools:<br />
<br />
For GNOME: <br />
# pacman -S gnome-bluetooth bluez-gnome<br />
For KDE:<br />
# pacman -S kdebluetooth<br />
<br />
===Dell Wireless 355 Bluetooth Module===<br />
''In theory, the steps for the Dell 350 module should apply to the 355 model as well, however this has not been confirmed.''<br />
<br />
==Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader==<br />
The Ricoh card reader should work out of the box, as long as '''MOD_AUTOLOAD''' is set to '''yes''' in ''/etc/rc.conf''. Assuming you use a HAL-aware desktop (Xfce, KDE, GNOME), once a memory card is inserted the kernel should automatically load the '''mmc_core/mmc_block''' modules and mount the new filesystem according to your automount settings. <br />
<br />
This has been confirmed with the following card types:<br />
* SD Card<br />
<br />
==Synaptics Touchpad==<br />
The Synaptics touchpad should provide basic functions out-of-the-box, however if you would like to use the scroll zones and enable other advanced features, follow these instructions:<br />
# pacman -S synaptics<br />
<br />
Edit ''/etc/X11/xorg.conf'' as root:<br />
# nano /etc/X11/xorg.conf<br />
<br />
Add '''InputDevice "Touchpad" "AlwaysCore"''' to the ''ServerLayout'':<br />
Section "ServerLayout"<br />
...<br />
InputDevice "USB Mouse" "CorePointer"<br />
'''''InputDevice "Touchpad" "AlwaysCore"'''''<br />
EndSection<br />
<br />
Add '''Load "synaptics"''' to the ''Module'' section, for example:<br />
Section "Module"<br />
...<br />
Load "freetype"<br />
Load "record"<br />
'''''Load "synaptics"'''''<br />
...<br />
EndSection<br />
<br />
Lastly, add a new ''InputDevice'' section for the touchpad itself:<br />
<br />
Section "InputDevice"<br />
Identifier "Touchpad"<br />
Driver "synaptics"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "LeftEdge" "1700"<br />
Option "RightEdge" "5300"<br />
Option "TopEdge" "1700"<br />
Option "BottomEdge" "4200"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "MaxTapTime" "180"<br />
Option "MaxTapMove" "220"<br />
Option "VertScrollDelta" "100"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "SHMConfig" "true"<br />
EndSection<br />
<br />
Save, exit and restart X. The touchpad should now have working scroll zones. You can further tweak the ''InputDevice'' settings above for more control over touch sensitivity, etc.<br />
<br />
If you use GNOME you can also install the '''gsynaptics''' package to enable a GUI-based control panel. You'll have to add '''''gsynaptics-init''''' to your startup session if you want these GUI-based settings remembered.<br />
<br />
=Power Management=<br />
<br />
==powersaved: ACPI Hibernation/Suspend ''and'' CPU Frequency Scaling==<br />
The powersave daemon appears to be the best all-in-one solution for this laptop; addressing both ACPI sleep modes and CPU frequency scaling.<br />
<br />
The following information is based on a GNOME desktop setup, however it should work just as well under KDE if you replace ''gnome-power-manager'' with ''kpowersave''.<br />
# pacman -S acpid powersave gnome-power-manager<br />
Add '''powersaved''' to your DAEMONS list in /etc/rc.conf and because powersave will also check for (and load) the hal, dbus and acpid daemons, we need to comment them out if they are present, for example:<br />
DAEMONS=(syslog-ng '''powersaved !acpid !dbus !hal''' ...)<br />
<br />
===Hibernation Basics===<br />
In order for suspend2disk (hibernate) to work, we need to edit ''/boot/grub/menu.lst'' as root and add '''resume=/path/to/swap/drive''' (e.g. /dev/sda2) to the kernel options, for example:<br />
# (0) Arch Linux<br />
title Arch Linux<br />
root (hd0,0)<br />
kernel /vmlinuz26 root=/dev/sda3 '''resume=/dev/sda2''' ro vga=0<br />
initrd /kernel26.img<br />
Now when your notebook is placed into hibernation, it will move the data from your RAM to your swap partition... you ''did'' make your swap partition large enough, right?<br />
<br />
'''''Note:''''' ''ATI video card owners will also need to add '''vga=0''' to the kernel options (as shown above) in order to resume from suspend2ram.''<br />
<br />
===CPU Scaling===<br />
Edit as root ''/etc/powersave/cpufreq''<br />
* Modify CPUFREQ_CONTROL="" to desired scheme ('''ondemand''' is a good choice)<br />
* Modify CPUFREQD_MODULE="" to desired module ('''p4-clockmod''' is a good choice)<br />
<br />
===Restart Network Automatically after Hibernate/Suspend===<br />
You may find that when resuming from a sleep mode your network connection is not reestablished. Assuming you use networkmanager, this is easily fixed by editing as root ''/etc/powersave/sleep'' and adding '''networkmanager''' to SUSPEND2DISK_RESTART_SERVICES and SUSPEND2RAM_RESTART_SERVICES:<br />
<br />
SUSPEND2DISK_RESTART_SERVICES="networkmanager"<br />
SUSPEND2RAM_RESTART_SERVICES="networkmanager"<br />
<br />
Intel Wireless 3945ABG users will also need to unload the ipw3945 kernel module and restart the ipw3945d daemon in order for your wireless to work after a resume:<br />
UNLOAD_MODULES_BEFORE_SUSPEND2DISK="ipw3945"<br />
UNLOAD_MODULES_BEFORE_SUSPEND2RAM="ipw3945"<br />
SUSPEND2DISK_RESTART_SERVICES="networkmanager ipw3945d"<br />
SUSPEND2RAM_RESTART_SERVICES="networkmanager ipw3945d"<br />
The order of daemon services is very important, ipw3945d '''''must come after''''' networkmanager.<br />
<br />
=Resources=<br />
TuxMobil: [http://tuxmobil.org/mylaptops.html Linux Laptop & Notebook Installation Guides]<br />
<br />
TuxMobil: [http://tuxmobil.org/dell.html DELL Notebooks]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400 HARDWARE Dell Inspiron 6400]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400_Fixes_for_common_problems HARDWARE Dell Inspiron 6400 Fixes for common problems]<br />
<br />
<br />
<br />
=Comments=</div>Hotsaucehttps://wiki.archlinux.org/index.php?title=Dell_Inspiron_6400&diff=26057Dell Inspiron 64002007-06-30T04:26:58Z<p>Hotsauce: /* Dell Wireless 1390 */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
=Introduction=<br />
==Summary==<br />
The goal of this guide is to provide a comprehensive tutorial for the Inspiron 6400/e1505 series laptop. With any luck, this guide will walk you through the steps necessary to get every piece of hardware working to full capacity.<br />
<br />
==From the contributor==<br />
I will attempt to cover as much as possible, however please feel free to contribute to this guide as you feel necessary. I will be happy to answer any questions, but I'm no Linux expert so there's a good chance I won't know the answer either! ~Thayer ([[User:Thayer.w|thayer.w]]) (thayerw(at)gmail(dot)com)<br />
<br />
=Hardware Specifications=<br />
The 6400 series laptop is currently available in a number of configurations. I have used '''bold''' to indicate my particular configuration where applicable. Your mileage may vary a bit if your components don't match, but for the most part everything should still work fine.<br />
<br />
*<span style="color:green;">Green items are confirmed to work</span><br />
*<span style="color:red;">Red items have yet to be confirmed and require a Wiki entry</span><br />
<br />
===Base Components===<br />
<br />
* Intel Core Duo and Core 2 Duo processors<br />
** '''T2500 (2GHz/667MHz FSB/2MB Cache)'''<br />
** T5600 (1.83GHz/667MHz FSB/2MB Cache)<br />
** T2050 (1.66GHz/667MHz FSB/2MB Cache)<br />
** T1350 (1.66GHz/667MHz FSB/2MB Cache)<br />
* 512MB/1GB/'''2GB''' 533MHz/'''667MHz''' DDR2 SDRAM Memory<br />
* 15.4" Widescreen Display<br />
** WXGA (1280 x 800)<br />
** WSXGA 1280x800 with TrueLife™<br />
** '''WSXGA+ 1680x1050 with TrueLife™'''<br />
* 80GB/'''100GB'''/120GB/160GB '''5400'''/7200 RPM SATA Hard Drive<br />
* <span style="color:green;">8x CD/DVD+/-RW/DL+R</span><br />
* <span style="color:green;">Broadcom 440x 10/100 Ethernet</span><br />
* <span style="color:red;">Conexant HDA D110 MDC V.92 modem (winmodem)</span><br />
* <span style="color:green;">Sigmatel STAC 92xx Audio</span><br />
* <span style="color:green;">Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader</span><br />
* <span style="color:green;">4 USB 2.0 Ports</span><br />
* <span style="color:red;">Firewire port (IEEE 1394)</span><br />
* <span style="color:red;">1 ExpressCard Slot</span><br />
* <span style="color:green;">Synaptics touchpad with scroll zones</span><br />
<br />
===Video Options===<br />
<br />
* 128MB ATI Mobility Radeon X1300 with HyperMemory<br />
* <span style="color:green;">'''256MB ATI Mobility Radeon X1400 with Hypermemory'''</span><br />
* 256MB nVidia GeForce Go 7300 with TurboCache<br />
* 128MB Intel Graphics Media Accelerator 950<br />
<br />
===Wireless Options===<br />
<br />
* <span style="color:green;">'''Intel Pro/Wireless 3945ABG (802.11a/b/g)'''</span><br />
* Intel Wireless WiFi 4965AGN<br />
* Dell Wireless 1390<br />
* Dell Wireless 1500 Draft 802.11n Wireless<br />
* <span style="color:green;">'''Dell Wireless 350 Bluetooth Module'''</span><br />
* Dell Wireless 355 Bluetooth Module<br />
<br />
=Arch Installation (FTP Method)=<br />
I won't go into too much detail regarding the installation steps, because it's pretty straight forward and most of the defaults work fine. There are plenty of resources available ([[Official_Arch_Linux_Install_Guide|Official Installation Guide]]) that will walk you through the basic steps.<br />
<br />
If you have a broadband internet connection, I highly recommend installing Arch with the smaller FTP ISO. If you plan to have a desktop environment (KDE, GNOME, etc) then the majority of the packages you will be installing will come from the internet repositories and <em>not</em> the ISO's. This method will get you up and running in the shortest amount of time. Simply download the FTP ISO, burn it to a CD and restart your computer.<br />
<br />
The following steps assume you are connected to the Internet with a wired Ethernet connection, as opposed to a wireless connection.<br />
<br />
==Boot the Arch Setup CD==<br />
You may need to press F12 at the DELL BIOS screen to get the boot order menu. From there you can choose to boot from the CD/DVD drive rather than the hard disk.<br />
<br />
==Setup==<br />
For the most part, the default settings are fine and the most vital hardware components should be found automatically. Some special items below you may want to consider:<br />
<br />
===0 - Configure===<br />
Just follow the prompts, choosing the defaults when asked and everything should be fine. Make sure you allow the setup to detect your basic hardware automatically when asked.<br />
<br />
===1 - Prepare Hard Disks===<br />
The following is an example of my partition table. My drive is 100GB and I run only Arch on my notebook. Your settings will vary depending on the size of your hard drive and the number of operating systems you plan to run.<br />
<br />
sda (100GB)<br />
*sda1 ext2 100MB /boot<br />
*sda2 swap 2.1GB (I have 2GB of RAM and want to leave room for suspend-to-disk functions)<br />
*sda3 ext3 6GB / (root) <br />
*sda4 ext3 90GB /home (actually less than 90GB because ext3 reserves space to avoid capacity problems, but you get the point)<br />
<br />
===2 - Select Packages===<br />
*Choose a mirror ('''''ftp.nethat.com''''' works very well from Vancouver, BC @ 160kb/s)<br />
*Choose just the base packages<br />
*Select all packages by default<br />
<br />
===3 - Install Packages===<br />
*Answer yes to cache packages (default)<br />
*Grab a coffee, it's going to take a while to grab about 100MB of packages<br />
<br />
===4 - Configure System===<br />
Now we choose our editor; either vim or nano. Many of the files can be left alone, but there are some changes worth mentioning:<br />
<br />
====rc.conf====<br />
*Change your locale if necessary, for example Canadians use en_CA:<br />
LOCALE="en_CA.utf8"<br />
*Change the timezone if necessary, for exmaple:<br />
TIMEZONE="Canada/Pacific"<br />
*To get rid of that ever-so-annoying system beep, blacklist the pc speaker module:<br />
MOD_BLACKLIST=(pcspkr)<br />
*Change the hostname if you desire a unique name, for example:<br />
HOSTNAME="dublin"<br />
*If your ISP assigns your IP address automatically (and most do), make sure eth0 is set to dhcp:<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
<br />
====hosts====<br />
Add a second line under localhost with your unique hostname (from the rc.conf) in place of localhost, for example:<br />
127.0.0.1 localhost.localdomain localhost<br />
127.0.0.1 dublin.localdomain dublin<br />
<br />
====fstab====<br />
No changes should be necessary.<br />
<br />
====mkinitcpio.conf====<br />
No changes should be necessary.<br />
<br />
====modprobe.conf====<br />
No changes should be necessary.<br />
<br />
====resolv.conf====<br />
No changes should be necessary.<br />
<br />
====locale.gen====<br />
Uncomment the languages files you wish to use, including the one you configured under LOCALE in the rc.conf:<br />
#en_BW.UTF-8 UTF-8<br />
#en_BW ISO-8859-1<br />
en_CA.UTF-8 UTF-8<br />
en_CA ISO-8859-1<br />
#en_DK.UTF-8 UTF-8<br />
#en_DK ISO-8859-1<br />
<br />
In my case, I uncommented en_US, en_CA and en_GB.<br />
<br />
====root password====<br />
Set a root password.<br />
<br />
====pacman mirrors====<br />
You can either use the same mirror you used to install the base packages, or you choose a different one at this time.<br />
<br />
===5 - Install Kernel===<br />
The default choices should be fine.<br />
<br />
===6 - Install Boot Loader===<br />
If you are installing Arch as the sole operating system on the notebook, just go with the default settings. If you are dual-booting with Windows or another distro, choose the options carefully to avoid wiping your existing settings.<br />
<br />
* When installing GRUB, I also append vga=791 to the kernel option to set my console resolution to 1024x768, for example:<br />
kernel /vmlinuz26 root=/dev/sda3 ro '''vga=791'''<br />
<br />
===7 - Exit===<br />
You can now reboot into your new Arch installation.<br />
<br />
==Synchronize Updates==<br />
After rebooting from the installation you should make sure your local package database is synced with the mirrors and that your installed software is up to date. From the console, type:<br />
# pacman -Syu<br />
<br />
=Add Users=<br />
At this point you can add a local user account by typing:<br />
# useradd -m johndoe<br />
# passwd johndoe<br />
Note, you will not be able to use the '''sudo''' command with this account until you [[Sudo|install and configure sudo]].<br />
<br />
=Desktop Environments=<br />
<br />
==Xorg==<br />
You must install Xorg if you plan to use a Desktop Environment (e.g. GNOME, KDE, etc.)<br />
<br />
===Install Xorg===<br />
Install the necessary packages:<br />
# pacman -S xorg xterm hwd<br />
<br />
===Configure Xorg===<br />
The <tt>hwd</tt> program (aka ''Hardware Detect'') will examine your hardware and create a default ''xorg.conf'' configuration file for Xorg:<br />
# hwd -xa<br />
You now have a working X setup, however this setup uses the generic VESA graphics driver. If you want to run your desktop at its native resolution (e.g. 1680x1050) and have 3D acceleration enabled, you'll need to install the appropriate driver for your video card.<br />
<br />
==KDE (kdemod)==<br />
Many users believe that Arch Linux is ''the best'' distribution for the [http://www.kde.org/ K Desktop Environment], mostly due to the wonderful [http://www.kdemod.ath.cx/ KDEmod] project:<br />
<br />
:''"KDEmod is a modular and tweaked version of the K Desktop Environment that has been optimized for ArchLinux. It contains additional patches for eyecandy and functionality and an enhanced QT3 installation, and is available in Archlinux´s standard .pkg.tar.gz package format for both i686 and x86_64."'' Source: http://www.kdemod.ath.cx/<br />
<br />
KDEmod is what brought me to Arch Linux in the first place and I highly recommend it for fans of KDE. You should know what you're installing though, so be sure to read through the [http://www.kdemod.ath.cx/ KDEmod website] first.<br />
<br />
'''You must install and configure Xorg BEFORE before you can use KDEmod. See above for details.'''<br />
<br />
===Add kdemod Repository===<br />
The KDEmod project is maintained independently, so we must add the repo to our pacman config manually:<br />
# nano /etc/pacman.conf<br />
add the repo address:<br />
[kdemod]<br />
# kdemod repository<br />
Server = http://kdemod.ath.cx/repo/current/i686<br />
#Server = http://kdemod.ath.cx/repo/testing/i686<br />
If you like to live on the edge, you can uncomment the '''testing''' repo, but ''be aware that you will be running software that is considered '''unstable'''''.<br />
<br />
Save, exit and then sync your pacman database with the new repo:<br />
# pacman -Sy<br />
<br />
===Install kdemod===<br />
To get KDE up and running, we should install at least two packages: the '''kdemod''' base package and the appropriate localization package for your country. American English is included with kdemod, so Americans can bypass the localization step.<br />
<br />
You can see which localization packages are available by searching the pacman database:<br />
# pacman -Ss kdemod-kde-i18n-<br />
Now that you know which language package you need, we can continue with the installation of kdemod:<br />
# pacman -S kdemod kdemod-kde-i18n-en_gb<br />
Grab another coffee or read ahead while you wait for this 200MB download to complete.<br />
<br />
Once completed, it's time to configure the KDM graphical login manager.<br />
<br />
===KDM Login Manager===<br />
Although you can load KDE manually each time you log into your notebook by typing '''startkde''', it's more convenient to have the GUI-based login manager load automatically. There are two common ways to go about this.<br />
<br />
====Method 1: Daemon====<br />
The quick & dirty method is to add kdm to our list of daemons in /etc/rc.conf, since the daemons will always be loaded when we boot up our notebook:<br />
# nano /etc/rc.conf<br />
add '''kdm''' to the very end of the daemons list, for example:<br />
DAEMONS=(syslog-ng network netfs crond kdm)<br />
Save, exit and reboot. You should now be greeted with the KDM login screen.<br />
<br />
====Method 2: Init====<br />
This method will load KDM only when runlevel 5 is initiated; considered by many to be the ''proper'' way of configuring the initialization scripts:<br />
# nano /etc/inittab<br />
Change the default runlevel from 3:<br />
id:3:initdefault:<br />
to runlevel 5:<br />
id:5:initdefault:<br />
and then change the runlevel 5 login manager from xdm:<br />
x:5:respawn:/usr/bin/xdm -nodaemon<br />
to kdm:<br />
x:5:respawn:/opt/kde/bin/kdm -nodaemon<br />
Save, exit and reboot. You should now be greeted with the KDM login screen.<br />
<br />
===Add More Applications===<br />
At this point you should have a bare-bones installation of KDE and a nice GUI-based Login Manager. However, you'll probably want to add more applications to suit your needs. The [http://www.kdemod.ath.cx/ KDEmod website] has a full list of packages available from the KDEmod suite, and of course you can query pacman for general applications (e.g. <tt>pacman -Ss media player</tt>). The following are few essentials you may want to consider:<br />
# pacman -S firefox jre flashplugin acroread ktorrent amarok-base kaffeine gwenview k9copy openoffice-base<br />
This will install the Firefox web browser, Sun Java, Macromedia Flash player plugin, Adobe Acrobat Reader, as well as a torrent client, mp3 media player, audio/video media player, image browser, dvd ripper, and office suite.<br />
<br />
=Hardware=<br />
<br />
==Audio (ALSA)==<br />
The Intel audio hardware should be detected automatically during the Arch setup, requiring no input from the user. For example, the following modules are loaded in '''/etc/rc.conf''' by default:<br />
snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore<br />
Refer to the [[ALSA_Setup| ALSA Setup Wiki]] for general assistance with volume settings, group permissions, etc.<br />
<br />
==Video==<br />
<br />
===ATI X1300/X1400 Radeon Video Cards===<br />
=====FGLRX Proprietary Driver=====<br />
The fglrx ATI proprietary driver is available from the standard repos and is the simplest way to get full 3D acceleration and native resolutions on your notebook:<br />
# pacman -S fglrx<br />
Run the '''aticonfig''' tool to add the appropriate settings to your xorg.conf:<br />
# aticonfig --initial<br />
Lastly, we need to modify ''/etc/rc.conf'' and add the '''fglrx''' kernel driver to the MODULES section, for example:<br />
MODULES=('''fglrx''' b44 mii snd-mixer-oss ...)<br />
Reboot and you're set.<br />
<br />
Further information can be found at the [[ATI_Radeon_%26_Kernel_2.6|ATI Radeon Wiki]].<br />
<br />
=====Open Source ATI Driver=====<br />
Please refer to the [[ATI_Radeon_%26_Kernel_2.6|ATI Radeon Wiki]] for more information.<br />
<br />
===nVidia GeForce Go 7300===<br />
''More information needed. Feel free to edit this section.''<br />
<br />
===Intel Graphics Media Accelerator 950===<br />
<br />
Install driver:<br />
pacman -S xf86-video-intel<br />
<br />
Use gft to generate modeline and add it to "Monitor" section.<br />
<br />
Add this to "Device" section:<br />
<br />
VideoRam 229376<br />
Option "CacheLines" "1980"<br />
Driver "intel"<br />
<br />
==Networking==<br />
<br />
===Broadcom 440x 10/100 Ethernet===<br />
The Broadcom Ethernet card should have out-of-the-box support. No configuration necessary.<br />
<br />
===Intel PRO/Wireless 3945ABG===<br />
Install and configure NetworkManager before attempting to install the Intel 3945 wireless drivers. Refer to the [[Networkmanager| Networkmanager Wiki]] for more information.<br />
<br />
Grab the Intel 3945 driver packages:<br />
# pacman -S ipw3945<br />
Edit /etc/rc.conf:<br />
# nano /etc/rc.conf<br />
Add '''ipw3945''' to the MODULES list:<br />
MODULES=(fglrx '''''ipw3945''''' b44 mii ...)<br />
Add '''eth1="dchp"''' to the NETWORKING section ''(Note: It is sometimes detected as eth2 instead of eth1, use '''ifconfig''' to verify yours and add eth2="dhcp" if necessary)'':<br />
lo="lo 127.0.0.1"<br />
eth0="dhcp"<br />
'''''eth1="dhcp"'''''<br />
If '''eth1''' is listed in the INTERFACES section, make sure it is disabled:<br />
INTERFACES=(lo !eth0 '''''!eth1''''')<br />
Add '''ipw3945d''' to the DAEMONS list ''before'' the dhcdbd and networkmanager daemons:<br />
DAEMONS=(syslog-ng '''''ipw3945d''''' dhcdbd networkmanager alsa ...)<br />
<br />
===Dell Wireless 1390===<br />
<br />
pacman -Sy ndiswrapper<br />
<br />
Download driver from the dell website:<br />
<br />
wget http://ftp.us.dell.com/network/R140747.EXE<br />
<br />
Extract it:<br />
<br />
mkdir ~/1370<br />
mv R14070747.EXE ~/1370 <br />
cd ~/1370 <br />
unzip -a R14070747.EXE<br />
cd DRIVERS<br />
<br />
Set it up<br />
<br />
ndiswrapper -i bcmwl5.inf<br />
ndiswrapper -l<br />
ndiswrapper -m<br />
modprobe ndiswrapper<br />
<br />
Now it should work, try typing "iwlist scanning" in a terminal to make sure<br />
<br />
Also make sure you add ndiswrapper to your daemon array in /etc/rc.conf<br />
<br />
===Dell Wireless 1500 Draft 802.11n Wireless===<br />
''More information needed. Feel free to edit this section.''<br />
<br />
===Dell Wireless 350 Bluetooth Module===<br />
Install the bluetooth libraries and basic utilties:<br />
# pacman -S bluez-libs bluez-utils<br />
Add '''bluetooth''' to the DAEMONS list in ''/etc/rc.conf'', for example:<br />
DAEMONS=(syslog-ng powersaved '''bluetooth''' ipw3945d ...)<br />
Now, depending on your Desktop Environment, install the appropriate tools:<br />
<br />
For GNOME: <br />
# pacman -S gnome-bluetooth bluez-gnome<br />
For KDE:<br />
# pacman -S kdebluetooth<br />
<br />
===Dell Wireless 355 Bluetooth Module===<br />
''In theory, the steps for the Dell 350 module should apply to the 355 model as well, however this has not been confirmed.''<br />
<br />
==Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Card Reader==<br />
The Ricoh card reader should work out of the box, as long as '''MOD_AUTOLOAD''' is set to '''yes''' in ''/etc/rc.conf''. Assuming you use a HAL-aware desktop (Xfce, KDE, GNOME), once a memory card is inserted the kernel should automatically load the '''mmc_core/mmc_block''' modules and mount the new filesystem according to your automount settings. <br />
<br />
This has been confirmed with the following card types:<br />
* SD Card<br />
<br />
==Synaptics Touchpad==<br />
The Synaptics touchpad should provide basic functions out-of-the-box, however if you would like to use the scroll zones and enable other advanced features, follow these instructions:<br />
# pacman -S synaptics<br />
<br />
Edit ''/etc/X11/xorg.conf'' as root:<br />
# nano /etc/X11/xorg.conf<br />
<br />
Add '''InputDevice "Touchpad" "AlwaysCore"''' to the ''ServerLayout'':<br />
Section "ServerLayout"<br />
...<br />
InputDevice "USB Mouse" "CorePointer"<br />
'''''InputDevice "Touchpad" "AlwaysCore"'''''<br />
EndSection<br />
<br />
Add '''Load "synaptics"''' to the ''Module'' section, for example:<br />
Section "Module"<br />
...<br />
Load "freetype"<br />
Load "record"<br />
'''''Load "synaptics"'''''<br />
...<br />
EndSection<br />
<br />
Lastly, add a new ''InputDevice'' section for the touchpad itself:<br />
<br />
Section "InputDevice"<br />
Identifier "Touchpad"<br />
Driver "synaptics"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "LeftEdge" "1700"<br />
Option "RightEdge" "5300"<br />
Option "TopEdge" "1700"<br />
Option "BottomEdge" "4200"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "MaxTapTime" "180"<br />
Option "MaxTapMove" "220"<br />
Option "VertScrollDelta" "100"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "SHMConfig" "true"<br />
EndSection<br />
<br />
Save, exit and restart X. The touchpad should now have working scroll zones. You can further tweak the ''InputDevice'' settings above for more control over touch sensitivity, etc.<br />
<br />
If you use GNOME you can also install the '''gsynaptics''' package to enable a GUI-based control panel. You'll have to add '''''gsynaptics-init''''' to your startup session if you want these GUI-based settings remembered.<br />
<br />
=Power Management=<br />
<br />
==powersaved: ACPI Hibernation/Suspend ''and'' CPU Frequency Scaling==<br />
The powersave daemon appears to be the best all-in-one solution for this laptop; addressing both ACPI sleep modes and CPU frequency scaling.<br />
<br />
The following information is based on a GNOME desktop setup, however it should work just as well under KDE if you replace ''gnome-power-manager'' with ''kpowersave''.<br />
# pacman -S acpid powersave gnome-power-manager<br />
Add '''powersaved''' to your DAEMONS list in /etc/rc.conf and because powersave will also check for (and load) the hal, dbus and acpid daemons, we need to comment them out if they are present, for example:<br />
DAEMONS=(syslog-ng '''powersaved !acpid !dbus !hal''' ...)<br />
<br />
===Hibernation Basics===<br />
In order for suspend2disk (hibernate) to work, we need to edit ''/boot/grub/menu.lst'' as root and add '''resume=/path/to/swap/drive''' (e.g. /dev/sda2) to the kernel options, for example:<br />
# (0) Arch Linux<br />
title Arch Linux<br />
root (hd0,0)<br />
kernel /vmlinuz26 root=/dev/sda3 '''resume=/dev/sda2''' ro vga=0<br />
initrd /kernel26.img<br />
Now when your notebook is placed into hibernation, it will move the data from your RAM to your swap partition... you ''did'' make your swap partition large enough, right?<br />
<br />
'''''Note:''''' ''ATI video card owners will also need to add '''vga=0''' to the kernel options (as shown above) in order to resume from suspend2ram.''<br />
<br />
===CPU Scaling===<br />
Edit as root ''/etc/powersave/cpufreq''<br />
* Modify CPUFREQ_CONTROL="" to desired scheme ('''ondemand''' is a good choice)<br />
* Modify CPUFREQD_MODULE="" to desired module ('''p4-clockmod''' is a good choice)<br />
<br />
===Restart Network Automatically after Hibernate/Suspend===<br />
You may find that when resuming from a sleep mode your network connection is not reestablished. Assuming you use networkmanager, this is easily fixed by editing as root ''/etc/powersave/sleep'' and adding '''networkmanager''' to SUSPEND2DISK_RESTART_SERVICES and SUSPEND2RAM_RESTART_SERVICES:<br />
<br />
SUSPEND2DISK_RESTART_SERVICES="networkmanager"<br />
SUSPEND2RAM_RESTART_SERVICES="networkmanager"<br />
<br />
Intel Wireless 3945ABG users will also need to unload the ipw3945 kernel module and restart the ipw3945d daemon in order for your wireless to work after a resume:<br />
UNLOAD_MODULES_BEFORE_SUSPEND2DISK="ipw3945"<br />
UNLOAD_MODULES_BEFORE_SUSPEND2RAM="ipw3945"<br />
SUSPEND2DISK_RESTART_SERVICES="networkmanager ipw3945d"<br />
SUSPEND2RAM_RESTART_SERVICES="networkmanager ipw3945d"<br />
The order of daemon services is very important, ipw3945d '''''must come after''''' networkmanager.<br />
<br />
=Resources=<br />
TuxMobil: [http://tuxmobil.org/mylaptops.html Linux Laptop & Notebook Installation Guides]<br />
<br />
TuxMobil: [http://tuxmobil.org/dell.html DELL Notebooks]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400 HARDWARE Dell Inspiron 6400]<br />
<br />
Gentoo Wiki: [http://gentoo-wiki.com/HARDWARE_Dell_Inspiron_6400_Fixes_for_common_problems HARDWARE Dell Inspiron 6400 Fixes for common problems]<br />
<br />
<br />
<br />
=Comments=</div>Hotsauce