{"id":116,"date":"2017-06-13T16:41:43","date_gmt":"2017-06-13T20:41:43","guid":{"rendered":"https:\/\/www2.whoi.edu\/staff\/nforrester\/?page_id=116"},"modified":"2017-06-14T09:36:57","modified_gmt":"2017-06-14T13:36:57","slug":"linux-on-an-hp-nw8000","status":"publish","type":"page","link":"https:\/\/www2.whoi.edu\/staff\/nforrester\/publications\/linux-on-an-hp-nw8000\/","title":{"rendered":"Linux on an HP nw8000"},"content":{"rendered":"<br \/>\n<h1>Linux Fedora Core 3 on an HP nw8000 Laptop<\/h1>\n<p>Ned C. Forrester, <em>Linux Fedora Core 3 on an HP nw8000 Laptop<\/em><\/p>\n<pre>Revision 1.0    April 8, 2005<\/pre>\n<p><a name=\"pgfId-382617\"><\/a>Ned Forrester<\/p>\n<p><a href=\"http:\/\/www.linux-on-laptops.com\/\"> <img loading=\"lazy\" src=\"http:\/\/www.linux-on-laptops.com\/images\/linux-on-laptops.gif\" alt=\"Linux On Laptops\" width=\"110\" height=\"36\" border=\"0\" \/> <\/a><\/p>\n<h2><a name=\"pgfId-383146\"><\/a>1.0 Hardware Features<\/h2>\n<ul>\n<li><a name=\"pgfId-383230\"><\/a>Model: nw8000<\/li>\n<li><a name=\"pgfId-383231\"><\/a>Processor: Pentium M 755 (2.0GHz)<\/li>\n<li><a name=\"pgfId-383232\"><\/a>Chipset: Intel 855PM<\/li>\n<li><a name=\"pgfId-383233\"><\/a>Display: 15inch UXGA (1600&#215;1200), 60Hz<\/li>\n<li><a name=\"pgfId-383234\"><\/a>Graphics: ATI Mobility FireGL T2, 128MB DDR SDRAM<\/li>\n<li><a name=\"pgfId-383235\"><\/a>Memory: 1GB, single SIMM<\/li>\n<li><a name=\"pgfId-383236\"><\/a>Disk: 60GB, 7200 RPM, ATA-6, ATA Security<\/li>\n<li><a name=\"pgfId-383237\"><\/a>Optical Disk: DVD+RW, EIDE<\/li>\n<li><a name=\"pgfId-383238\"><\/a>Diskette Drive: yes<\/li>\n<li><a name=\"pgfId-383239\"><\/a>Ethernet: 10\/100\/1000 Broadcom NetXtreme Gigabit Ethernet<\/li>\n<li><a name=\"pgfId-383240\"><\/a>Wireless: HP W500 (Atheros AR5001X+), 802.11a\/b\/g<\/li>\n<li><a name=\"pgfId-383241\"><\/a>Bluetooth: ?<\/li>\n<li><a name=\"pgfId-383242\"><\/a>Sound: AC97 CODEC<\/li>\n<li><a name=\"pgfId-383243\"><\/a>Modem: Agere Systems AC97<\/li>\n<\/ul>\n<h2><a name=\"pgfId-383245\"><\/a>2.0 Installation of Fedora Core 3<\/h2>\n<h3><a name=\"pgfId-383764\"><\/a>2.1 Drive Partition:<\/h3>\n<p><a name=\"pgfId-383247\"><\/a>Used <em> ntfresize<\/em> to shrink the factory installed XP installation after running windows <em> defrag<\/em> . <em> ntfresize<\/em> is available from:<\/p>\n<p><a name=\"pgfId-383767\"><\/a> <em> <a href=\"http:\/\/mlf.linux.rulez.org\/mlf\/ezaz\/ntfsresize.html\">http:\/\/mlf.linux.rulez.org\/mlf\/ezaz\/ntfsresize.html<\/a><\/em><\/p>\n<p><a name=\"pgfId-383788\"><\/a>And a binary executable is available at:<\/p>\n<p><a name=\"pgfId-383769\"><\/a> <em> <a href=\"http:\/\/mlf.linux.rulez.org\/mlf\/ezaz\/ntfsresize-static-1.9.4.tgz\">http:\/\/mlf.linux.rulez.org\/mlf\/ezaz\/ntfsresize-static-1.9.4.tgz<\/a><\/em><\/p>\n<p><a name=\"pgfId-383776\"><\/a>This worked fine without disturbing the Win2000 installation, but I later re-formatted this partition as FAT32 and reinstalled Win2000 so that I could read\/write from Linux without VMWare running.<\/p>\n<p><a name=\"pgfId-383784\"><\/a>I then allowed FC3 install to pick partitions and format the remainder of the disk. The final partition is:<\/p>\n<p><a name=\"pgfId-383787\"><\/a>Disk \/dev\/hda: 60.0 GB, 60011642880 bytes<\/p>\n<p><a name=\"pgfId-383790\"><\/a>240 heads, 63 sectors\/track, 7752 cylinders<\/p>\n<p><a name=\"pgfId-383791\"><\/a>Units = cylinders of 15120 * 512 = 7741440 bytes<\/p>\n<p><a name=\"pgfId-383792\"><\/a><\/p>\n<p><a name=\"pgfId-383793\"><\/a> Device Boot Start End Blocks Id System<\/p>\n<p><a name=\"pgfId-383794\"><\/a>\/dev\/hda1 * 1 1577 11922088+ c W95 FAT32 (LBA)<\/p>\n<p><a name=\"pgfId-383795\"><\/a>\/dev\/hda2 1578 1585 48195 83 Linux<\/p>\n<p><a name=\"pgfId-383796\"><\/a>Partition 2 does not end on cylinder boundary.<\/p>\n<p><a name=\"pgfId-383797\"><\/a>\/dev\/hda3 1585 2127 4096575 82 Linux swap<\/p>\n<p><a name=\"pgfId-383798\"><\/a>Partition 3 does not end on cylinder boundary.<\/p>\n<p><a name=\"pgfId-383799\"><\/a>\/dev\/hda4 2127 7752 42532087+ 5 Extended<\/p>\n<p><a name=\"pgfId-383800\"><\/a>Partition 4 does not end on cylinder boundary.<\/p>\n<p><a name=\"pgfId-383801\"><\/a>\/dev\/hda5 2127 7752 42532056 83 Linux<\/p>\n<p><a name=\"pgfId-383802\"><\/a>I don&#8217;t know why <em> fdisk<\/em> complains about the cylinder boundaries when the FC3 install made these partitions by itself. It does not seem to cause any problems.<\/p>\n<h3><a name=\"pgfId-387864\"><\/a>2.2 Installation Results<\/h3>\n<p><a name=\"pgfId-383251\"><\/a>There were no problems installing FC3. Video installs as 800&#215;600 VESA.<\/p>\n<p><a name=\"pgfId-383253\"><\/a>Occasionally on changes in video state, the video is &#8220;smeared&#8221; horizontally. This is easily corrected by closing\/opening the cover or pushing cover switch. This problem persists even after all installations and updates (including the ATI driver installation, below), therefore I have not connected any action (like suspend) to the cover switch, as I use it to clear the screen when necessary.<\/p>\n<p><a name=\"pgfId-383256\"><\/a>Working natively:<\/p>\n<ul>\n<li><a name=\"pgfId-383257\"><\/a>X-Windows (800&#215;600)<\/li>\n<li><a name=\"pgfId-383258\"><\/a>DVD (reads CDs, writes not tested)<\/li>\n<li><a name=\"pgfId-383259\"><\/a>Diskette<\/li>\n<li><a name=\"pgfId-383260\"><\/a>Ethernet<\/li>\n<li><a name=\"pgfId-383261\"><\/a>Bluetooth (recognized on USB, but nothing to test with)<\/li>\n<li><a name=\"pgfId-383262\"><\/a>Sound (but not modem)<\/li>\n<li><a name=\"pgfId-387868\"><\/a>Touchpad and force stick<\/li>\n<li><a name=\"pgfId-387871\"><\/a>Radio power button, turns radios on\/off<\/li>\n<li><a name=\"pgfId-387873\"><\/a>Fnc\/F9\/F10 screen brightness control<\/li>\n<\/ul>\n<p><a name=\"pgfId-387869\"><\/a>Not working:<\/p>\n<ul>\n<li><a name=\"pgfId-387870\"><\/a>Mute and volume buttons on front edge of computer<\/li>\n<li><a name=\"pgfId-387872\"><\/a>Various other function buttons (presentaion, lock) and some of the Fnc (blue) buttons on the keyboard. Some of these produce un-implemented keycodes and so could be tied to some function.<\/li>\n<li><a name=\"pgfId-387874\"><\/a>Modem, the build in modem is a WinModem, I have not looked for any addon support for this. I plan to use my PCMCIA modem.<\/li>\n<\/ul>\n<h2><a name=\"pgfId-383263\"><\/a>3.0 Further Installation and Configuration<\/h2>\n<h3><a name=\"pgfId-383264\"><\/a>3.1 Video<\/h3>\n<p><a name=\"pgfId-383268\"><\/a>Initially (January 2005), there was no driver directly available from ATI that supported Fedora Core 3, because FC3 uses Xorg, not XFree86. So I started by following the instructions at:<\/p>\n<p><a name=\"pgfId-383272\"><\/a> <em> <a href=\"http:\/\/www.stanford.edu\/%7Efenn\/linux\/radeon.shtml\">http:\/\/www.stanford.edu\/~fenn\/linux\/radeon.shtml<\/a><\/em><\/p>\n<p><a name=\"pgfId-383339\"><\/a>However, ATI now has an X.org driver version on their site that works with FC3. So I have installed the ATI driver exactly according to instructions and all works fine. This is available at:<\/p>\n<p><a name=\"pgfId-387875\"><\/a> <em> <a href=\"http:\/\/www2.ati.com\/drivers\/linux\/fglrx_6_8_0-8.12.10-1.i386.rpm\">http:\/\/www2.ati.com\/drivers\/linux\/fglrx_6_8_0-8.12.10-1.i386.rpm<\/a><\/em><\/p>\n<p><a name=\"pgfId-383342\"><\/a>After installation, <em> fglrxinfo<\/em> says the video system is Radeon 9600, although there were references to FireGL in the <em> fglrxconfig<\/em> script.<\/p>\n<p><a name=\"pgfId-383344\"><\/a>CAUTION: Before running the <em> fglrxconfig<\/em> program, make a copy of <em> \/etc\/X11\/xorg.conf<\/em> . The configuration program does not retain the existing Synaptics mouse driver, which was correctly selected by the FC3 install process and which has many useful features (see below). After running the config program, hand edit the <em> xorg.conf<\/em> file to restore the Synaptics driver.<\/p>\n<p><a name=\"pgfId-383349\"><\/a>See notes below at end of Sleep\/Suspend section regarding the ATI driver setup. In order for suspend to work, you must <em> not<\/em> run with the <em> fglrx<\/em> module installed, and thus only 2D acceleration is available, not 3D. If you want 3D, then you can&#8217;t use suspend.<\/p>\n<p><a name=\"pgfId-383357\"><\/a>To make the VGA output work, it seems that a monitor has to be connected at the time the X server starts. If the external monitor does not support the mode of the primary display, the server makes the external display a panning window on the primary regardless of the xorg.conf &#8220;virtual&#8221; setting in the &#8220;Screens&#8221; section. To make a full screen appear on the external display, one may restart X with a different max resolution. I have put two server configurations in xorg.conf so that I can easily choose a &#8220;small&#8221; screen, using:<\/p>\n<p><a name=\"pgfId-383365\"><\/a>startx &#8212; -layout small<\/p>\n<p><a name=\"pgfId-383367\"><\/a>The driver appears to ignore the &#8220;Virtual&#8221; screen size <em> xorg.conf<\/em> command and always displays a pan-able virtual screen that is the size of the maximum &#8220;Mode&#8221; listed. Otherwise it would not be necessary to issue the above command but simply to use the cntl-fn-alt\/ with num+\/- commands to change screen size. What, if any, hotkey allows the external VGA to be turned on without restarting, I don&#8217;t know.<\/p>\n<h3><a name=\"pgfId-383375\"><\/a>3.2 Wireless<\/h3>\n<p><a name=\"pgfId-383377\"><\/a>Need MADWiFi support for Atheros chip. Download by cvs using instructions on:<\/p>\n<p><a name=\"pgfId-383380\"><\/a> <em> <a href=\"http:\/\/madwifi.sourceforge.net\/\">http:\/\/madwifi.sourceforge.net\/<\/a><\/em><\/p>\n<p><a name=\"pgfId-383381\"><\/a>I needed to add <em> uudecode<\/em> to my system in order to do this (it does not seem to come with FC3, or maybe I did not select something correctly during FC3 install). To download I used:<\/p>\n<p><a name=\"pgfId-383382\"><\/a> up2date sharutils<\/p>\n<p><a name=\"pgfId-383383\"><\/a>and then I could:<\/p>\n<p><a name=\"pgfId-383384\"><\/a> make<\/p>\n<p><a name=\"pgfId-383385\"><\/a> makeinstall<\/p>\n<p><a name=\"pgfId-383387\"><\/a>The nw8000 has a button above the keyboard to turn on and off the RF devices (both WiFi and Bluetooth). To make a long story short, after installing the MADWiFi drivers, it is necessary to turn on the RF devices (blue light on) and then reboot Linux. During the reboot the blue light should come back on and then the scan for new hardware will detect the WiFi and do whatever is necessary to configure the drivers. Without this step, nothing seems to work, afterward everything worked fine. The hardware is detected as &#8220;Atheros 5212&#8221;.<\/p>\n<p><a name=\"pgfId-387315\"><\/a>iwconfig, iwlist and iwpriv can be used to explore and set various WiFi status and configurations. I fiddled a lot with these before discovering the reboot-with-RF-on requirement, so I don&#8217;t know for sure if I inadvertently set anything useful that helped achieve later success, but I think that things are largely automated after the complete install and reboot. Note that the network device name for WiFi is <em> ath0<\/em> , not <em> eth&lt;n&gt;<\/em> . I have tested on an open network and a WEP authorized network. I also have displayed the registration screen for the wireless service at an airport.<\/p>\n<p><a name=\"pgfId-387320\"><\/a>Our company wireless requires a <em> vpn<\/em> client to log in. I have successfully used <em> vpnc-0.3.2.tar.gz<\/em> from:<\/p>\n<p><a name=\"pgfId-387317\"><\/a> <em> <a href=\"http:\/\/www.unix-ag.uni-kl.de\/%7Emassar\/vpnc\/\">http:\/\/www.unix-ag.uni-kl.de\/~massar\/vpnc\/<\/a><\/em><\/p>\n<p><a name=\"pgfId-383417\"><\/a>For this to work, the kernel needs TUN\/TAP enabled, but FC3 comes that way, so it is ok. Also needs <em> crypt<\/em> and <em> crypt-devel<\/em> . Un-tar the distribution an install with:<\/p>\n<p><a name=\"pgfId-383422\"><\/a> make<\/p>\n<p><a name=\"pgfId-383423\"><\/a> make install<\/p>\n<p><a name=\"pgfId-383425\"><\/a>I start with the command:<\/p>\n<p><a name=\"pgfId-383426\"><\/a> \/usr\/local\/sbin\/vpnc &#8211;udp &#8211;pid-file ~\/vpnc.pid ~\/user_vpnc.conf<\/p>\n<p><a name=\"pgfId-383428\"><\/a>Where <em> user_vpnc.config<\/em> contains:<\/p>\n<p><a name=\"pgfId-383430\"><\/a> IPSec gateway &lt;system IP address&gt;<\/p>\n<p><a name=\"pgfId-383431\"><\/a> IPSec ID &lt;system ID NAME&gt;<\/p>\n<p><a name=\"pgfId-383432\"><\/a> IPSec secret &lt;system password&gt;<\/p>\n<p><a name=\"pgfId-383433\"><\/a> Xauth username &lt;username&gt;<\/p>\n<p><a name=\"pgfId-383434\"><\/a> Config Script \/usr\/local\/sbin\/vpnc-connect<\/p>\n<h3><a name=\"pgfId-383436\"><\/a>3.3 Sleep\/Suspend:<\/h3>\n<p><a name=\"pgfId-383438\"><\/a>I am using kernel 2.6.10-766, compiled as below. I don&#8217;t believe a stock FC3 kernel is properly configured for suspend. Follow directions at:<\/p>\n<p><a name=\"pgfId-383442\"><\/a> <em> <a href=\"http:\/\/www.fedoraforum.org\/forum\/archive\/index.php\/t-26571.html\">http:\/\/www.fedoraforum.org\/forum\/archive\/index.php\/t-26571.html<\/a><\/em><\/p>\n<p><a name=\"pgfId-383444\"><\/a>which points to:<\/p>\n<p><a name=\"pgfId-383446\"><\/a> <em> <a href=\"http:\/\/www.suspend2.net\/fedora\/\">http:\/\/www.suspend2.net\/fedora\/<\/a><\/em><\/p>\n<p><a name=\"pgfId-383447\"><\/a>which calls for software-suspend-2.1.5.15:<\/p>\n<p><a name=\"pgfId-383448\"><\/a> <em> <a href=\"http:\/\/www.suspend2.net\/\">http:\/\/www.suspend2.net\/<\/a><\/em> (for download)<\/p>\n<p><a name=\"pgfId-383449\"><\/a> <em> <a href=\"http:\/\/www.suspend2.net\/downloads\/all\/apply\">http:\/\/www.suspend2.net\/downloads\/all\/apply<\/a><\/em><\/p>\n<p><a name=\"pgfId-383450\"><\/a> <em> <a href=\"http:\/\/www.suspend2.net\/FAQ-6.html#ss6.4\">http:\/\/www.suspend2.net\/FAQ-6.html#ss6.4<\/a><\/em><\/p>\n<p><a name=\"pgfId-383452\"><\/a>Build and test the kernel before patching, see configuration below (suspend2 functions probably don&#8217;t appear until after patch\/install). Then, to install suspend, I used the following:<\/p>\n<ul>\n<li><a name=\"pgfId-383460\"><\/a>990-2.6.10-1.760_FC3-to-2.1.5.15-post (patch for FC3)<\/li>\n<li><a name=\"pgfId-383461\"><\/a>010-2.6.10-1.760_FC3-to-2.1.5.15-pre (patch for FC3)<\/li>\n<li><a name=\"pgfId-383462\"><\/a>software-suspend-2.1.5.15-for-2.6.10.tar.bz2 (swsusp2 kernel patches). Note: I did not have good lock with software-suspend-2.1.7-for-2.6.10.tar.bz2<\/li>\n<li><a name=\"pgfId-383464\"><\/a>hibernate-script-1.05.tar.gz<\/li>\n<\/ul>\n<p><a name=\"pgfId-383466\"><\/a>from the above directions:<\/p>\n<ul>\n<li><a name=\"pgfId-383468\"><\/a>install <em> 2.6.10-766-FC3<\/em> kernel source (done above)<\/li>\n<li><a name=\"pgfId-383469\"><\/a>unpack <em> software-suspend-2.1.5.15-for-2.6.10.tar.bz2<\/em> patches to a working directory.<\/li>\n<li><a name=\"pgfId-383471\"><\/a>copy into working directory the pre\/post patches for FC3<\/li>\n<li><a name=\"pgfId-383474\"><\/a><em> cd<\/em> to top of kernel tree (<em> \/usr\/src\/redhat\/BUILD\/kernel-2.6.10\/linux-2.6.10<\/em> or if linked: \/<em> usr\/src\/linux<\/em> )<\/li>\n<li><a name=\"pgfId-383477\"><\/a>apply patches using: <em> \/&lt;path to patches&gt;\/apply<\/em><\/li>\n<li><a name=\"pgfId-383479\"><\/a>to configure kernel, put copy of present <em> .config<\/em> file in current directory (top of kernel source), stock config files are in the <em> configs<\/em> directory of the kernel source.<\/li>\n<\/ul>\n<p><a name=\"pgfId-383481\"><\/a> make oldconfig<\/p>\n<p><a name=\"pgfId-383482\"><\/a>(accepting defaults for new features)<\/p>\n<p><a name=\"pgfId-383483\"><\/a>make xconfig<\/p>\n<p><a name=\"pgfId-387399\"><\/a>(or your favorite config method)<\/p>\n<p><a name=\"pgfId-383484\"><\/a>set the following (may not need all):<\/p>\n<p><a name=\"pgfId-383485\"><\/a> Power Management:<\/p>\n<p><a name=\"pgfId-383487\"><\/a> PM = Y<\/p>\n<p><a name=\"pgfId-383488\"><\/a> SOFTWARE_SUSPEND = Y<\/p>\n<p><a name=\"pgfId-383489\"><\/a> PM_STD_PARTITION = swap:\/dev\/hda3 (or where ever the swap partition resides.<\/p>\n<p><a name=\"pgfId-387423\"><\/a><\/p>\n<p><a name=\"pgfId-387424\"><\/a> Software Suspend 2:<\/p>\n<p><a name=\"pgfId-383494\"><\/a> SOFTWARE_SUSPEND2 = Y<\/p>\n<p><a name=\"pgfId-383495\"><\/a> SOFTWARE_SUSPEND_DEFAULT_RESUME2 = swap:\/dev\/hda3 (or where ever the swap partition resides)<\/p>\n<p><a name=\"pgfId-383499\"><\/a> all other swsusp2 items as Y (compiled in) except:<\/p>\n<p><a name=\"pgfId-383502\"><\/a> SOFTWARE_SUSPEND_KEEP_IMAGE<\/p>\n<p><a name=\"pgfId-383503\"><\/a> SOFTWARE_SUSPEND_DEBUG<\/p>\n<p><a name=\"pgfId-383504\"><\/a> SOFTWARE_SUSPEND_DEVELOPER<\/p>\n<p><a name=\"pgfId-383505\"><\/a><\/p>\n<p><a name=\"pgfId-387420\"><\/a> ACPI Support:<\/p>\n<p><a name=\"pgfId-383506\"><\/a> ACPI = Y<\/p>\n<p><a name=\"pgfId-383507\"><\/a> ACPI_SLEEP = y<\/p>\n<p><a name=\"pgfId-383508\"><\/a> ACPI_AC = M<\/p>\n<p><a name=\"pgfId-383509\"><\/a> ACPI_BATTERY = M<\/p>\n<p><a name=\"pgfId-383510\"><\/a> ACPI_BUTTON = M<\/p>\n<p><a name=\"pgfId-383511\"><\/a> ACPI_VIDEO = M<\/p>\n<p><a name=\"pgfId-383512\"><\/a> ACPI_FAN = Y<\/p>\n<p><a name=\"pgfId-383513\"><\/a> ACPI_PROCESSOR = Y<\/p>\n<p><a name=\"pgfId-383514\"><\/a> ACPI_THERMAL = Y<\/p>\n<p><a name=\"pgfId-383515\"><\/a> X86_PM_TIMER = Y<\/p>\n<p><a name=\"pgfId-383516\"><\/a> some other laptop support is enabled as modules<\/p>\n<p><a name=\"pgfId-383518\"><\/a><\/p>\n<p><a name=\"pgfId-383519\"><\/a> APM BIOS Support:<\/p>\n<p><a name=\"pgfId-383520\"><\/a> APM = N<\/p>\n<p><a name=\"pgfId-383521\"><\/a><\/p>\n<p><a name=\"pgfId-383522\"><\/a> CPU Frequency Scaling:<\/p>\n<p><a name=\"pgfId-383523\"><\/a> CPU_FREQ = Y<\/p>\n<p><a name=\"pgfId-383524\"><\/a> The rest is enabled as in the FC3 config<\/p>\n<p><a name=\"pgfId-383525\"><\/a><\/p>\n<p><a name=\"pgfId-383526\"><\/a> Character devices:<\/p>\n<p><a name=\"pgfId-383530\"><\/a> AGP Support:<\/p>\n<p><a name=\"pgfId-383531\"><\/a> AGP = M (changed from FC3)<\/p>\n<p><a name=\"pgfId-383532\"><\/a> all else enabled as modules<\/p>\n<p><a name=\"pgfId-387429\"><\/a> DRI support:<\/p>\n<p><a name=\"pgfId-387430\"><\/a> DRM = Y<\/p>\n<p><a name=\"pgfId-387431\"><\/a> All else enabled as modules<\/p>\n<p><a name=\"pgfId-383536\"><\/a> ACP Modem support:<\/p>\n<p><a name=\"pgfId-383537\"><\/a> MWAVE = M<\/p>\n<p><a name=\"pgfId-383538\"><\/a> HPET timer:<\/p>\n<p><a name=\"pgfId-383539\"><\/a> HPET = Y<\/p>\n<p><a name=\"pgfId-383540\"><\/a><\/p>\n<p><a name=\"pgfId-383541\"><\/a> USB support, as set in FC3 config, except:<\/p>\n<p><a name=\"pgfId-383543\"><\/a> USB_SUSPEND<\/p>\n<p><a name=\"pgfId-383544\"><\/a><\/p>\n<p><a name=\"pgfId-383545\"><\/a>NOTE: there is no <em> CONFIG_X86_4G<\/em> as mentioned in the directions, instead I turned off: <em> CONFIG_HIGHMEM4G<\/em><\/p>\n<p><a name=\"pgfId-387458\"><\/a><\/p>\n<ul>\n<li><a name=\"pgfId-383548\"><\/a>in kernel top directory:<\/li>\n<\/ul>\n<p><a name=\"pgfId-383549\"><\/a>save .config somewhere, then<\/p>\n<p><a name=\"pgfId-383550\"><\/a> make<\/p>\n<p><a name=\"pgfId-383551\"><\/a> make modules_install<\/p>\n<p><a name=\"pgfId-383552\"><\/a> make install<\/p>\n<p><a name=\"pgfId-387465\"><\/a>(this puts kernel in <em> \/boot<\/em> and fixes up <em> \/boot\/grub\/grub.conf<\/em> to boot the new kernel, but check that you get what you want)<\/p>\n<ul>\n<li><a name=\"pgfId-383556\"><\/a>to patch the <em> \/boot\/initrdxxxx<\/em> file:<\/li>\n<\/ul>\n<p><a name=\"pgfId-383558\"><\/a> mkdir &lt;somewhere&gt;<\/p>\n<p><a name=\"pgfId-383559\"><\/a> cd &lt;somewhere&gt;<\/p>\n<p><a name=\"pgfId-383560\"><\/a> gzip -dc &lt; \/boot\/initrd-2.6.10-prep.img | cpio -i<\/p>\n<p><a name=\"pgfId-383562\"><\/a>add bold &#8220;<em> echo<\/em> &#8221; command to the file &#8220;<em> init<\/em> &#8221; between the lines, as shown:<\/p>\n<p><a name=\"pgfId-383565\"><\/a> mount -t proc \/proc \/proc<\/p>\n<p><a name=\"pgfId-383566\"><\/a> setquiet<\/p>\n<p><a name=\"pgfId-383567\"><\/a> echo Mounted \/proc filesystem<\/p>\n<p><a name=\"pgfId-383568\"><\/a> <strong> echo &gt; \/proc\/software_suspend\/do_resume<\/strong><\/p>\n<p><a name=\"pgfId-383569\"><\/a> echo Mounting sysfs<\/p>\n<p><a name=\"pgfId-383570\"><\/a>then<\/p>\n<p><a name=\"pgfId-387481\"><\/a>find . | cpio -o -c | gzip -9 &gt; boot\/initrd-2.6.10-prep.img<\/p>\n<ul>\n<li><a name=\"pgfId-383573\"><\/a>install hibernate script package according to directions (unpack and run &#8220;<em> install.sh<\/em> &#8221; script)<\/li>\n<li><a name=\"pgfId-383578\"><\/a>Create\/edit:<\/li>\n<\/ul>\n<p><a name=\"pgfId-383579\"><\/a> \/etc\/hibernate\/hibernate.conf (set up hibernate)<\/p>\n<p><a name=\"pgfId-383580\"><\/a> \/etc\/acpi\/actions\/hibernate.sh (invoke hibernate, could be done in power.conf)<\/p>\n<p><a name=\"pgfId-387496\"><\/a><\/p>\n<p><a name=\"pgfId-387497\"><\/a>containing:<\/p>\n<p><a name=\"pgfId-387495\"><\/a><\/p>\n<p><a name=\"pgfId-383582\"><\/a> #!\/bin\/sh<\/p>\n<p><a name=\"pgfId-383583\"><\/a> logger &#8220;Starting hibernate from \/etc\/acpid\/actions&#8230;.&#8221;<\/p>\n<p><a name=\"pgfId-383584\"><\/a> \/usr\/local\/sbin\/hibernate<\/p>\n<p><a name=\"pgfId-383585\"><\/a>and<\/p>\n<p><a name=\"pgfId-383586\"><\/a> \/etc\/acpi\/events\/power.conf (define action on power switch)<\/p>\n<p><a name=\"pgfId-387498\"><\/a>containing:<\/p>\n<p><a name=\"pgfId-383587\"><\/a> event=button\/power .*<\/p>\n<p><a name=\"pgfId-383588\"><\/a> action=\/etc\/acpi\/actions\/hibernate.sh<\/p>\n<p><a name=\"pgfId-383590\"><\/a>I did not set any action for the lid switch, because the screen is sometimes corrupted on display changes and this seems to be fixed by cycling the lid switch. Also, I want to be able to close the laptop and move it without hibernating.<\/p>\n<p><a name=\"pgfId-383596\"><\/a>If desired, set up sudo to allow users to hibernate. This is not needed for the power button action.<\/p>\n<p><a name=\"pgfId-383599\"><\/a>At this point, system will suspend\/resume to disk (mode 5, not to ram mode 3), except that I find it fails to resume about 1\/10 of the time. Here are the non-default hibernate.conf settings I am using:<\/p>\n<p><a name=\"pgfId-387881\"><\/a>UseSwsusp2 yes<\/p>\n<p><a name=\"pgfId-387883\"><\/a>Reboot no<\/p>\n<p><a name=\"pgfId-387884\"><\/a>EnableEscape yes<\/p>\n<p><a name=\"pgfId-387885\"><\/a>DefaultConsoleLevel 1<\/p>\n<p><a name=\"pgfId-387886\"><\/a>ImageSizeLimit 1024<\/p>\n<p><a name=\"pgfId-387887\"><\/a>SuspendDevice swap:\/dev\/hda3<\/p>\n<p><a name=\"pgfId-387888\"><\/a>PowerdownMethod 5<\/p>\n<p><a name=\"pgfId-387889\"><\/a>AsyncIOLimit 8<\/p>\n<p><a name=\"pgfId-387890\"><\/a><\/p>\n<p><a name=\"pgfId-387891\"><\/a>Verbosity 1<\/p>\n<p><a name=\"pgfId-387892\"><\/a>LogFile \/var\/log\/hibernate.log<\/p>\n<p><a name=\"pgfId-387893\"><\/a>LogVerbosity 2<\/p>\n<p><a name=\"pgfId-387894\"><\/a><\/p>\n<p><a name=\"pgfId-387895\"><\/a>SaveClock yes<\/p>\n<p><a name=\"pgfId-387896\"><\/a>IncompatibleDevices \/dev\/dsp \/dev\/video*<\/p>\n<p><a name=\"pgfId-387897\"><\/a>UnmountFSTypes smbfs nfs<\/p>\n<p><a name=\"pgfId-387898\"><\/a>UnmountGraceTime 1<\/p>\n<p><a name=\"pgfId-387899\"><\/a>ChangeGrubMenu yes<\/p>\n<p><a name=\"pgfId-387900\"><\/a><\/p>\n<p><a name=\"pgfId-387901\"><\/a>OnResume 05 \/sbin\/rmmod button<\/p>\n<p><a name=\"pgfId-387902\"><\/a>OnResume 03 \/sbin\/modprobe button<\/p>\n<p><a name=\"pgfId-387903\"><\/a><\/p>\n<p><a name=\"pgfId-387904\"><\/a>UnloadModules floppy<\/p>\n<p><a name=\"pgfId-387905\"><\/a>UnloadBlacklistedModules yes<\/p>\n<p><a name=\"pgfId-387906\"><\/a>LoadModules auto<\/p>\n<p><a name=\"pgfId-387907\"><\/a><\/p>\n<p><a name=\"pgfId-387908\"><\/a># NCF, leave off ath0, it is not found unless powered up<\/p>\n<p><a name=\"pgfId-387909\"><\/a>DownInterfaces eth0_Bigelow eth0_OSL eth0_Home eth0_Hydroid_NoDHCP eth0_DHCP<\/p>\n<p><a name=\"pgfId-387910\"><\/a># NCF, auto tries to do eth0 first and chokes because ifcfg files are named<\/p>\n<p><a name=\"pgfId-387911\"><\/a># by nickname, not device names and it can&#8217;t find them all<\/p>\n<p><a name=\"pgfId-387912\"><\/a># DownInterfaces auto<\/p>\n<p><a name=\"pgfId-387913\"><\/a># UpInterfaces auto<\/p>\n<p><a name=\"pgfId-387914\"><\/a><\/p>\n<p><a name=\"pgfId-387915\"><\/a>SwitchToTextMode yes<\/p>\n<p><a name=\"pgfId-387916\"><\/a>UseDummyXServer yes<\/p>\n<p><a name=\"pgfId-387918\"><\/a><\/p>\n<p><a name=\"pgfId-387528\"><\/a>These settings are spread throughout the provided sample <em> hibernate.conf<\/em> file. Note the <em> OnResume<\/em> commands. I found that the <em> button<\/em> module does not work after resume, even though is was reloaded by <em> LoadModules auto<\/em> . It does work if reloaded very late in the resume sequence, as shown above.<\/p>\n<p><a name=\"pgfId-387933\"><\/a>NOTE: The above kernel compile and install likely disables the ATI driver <em> fglrx<\/em> kernel module. This is not such a bad thing, as suspend does not work with that module. To make the graphics work as well a possible, it seems to be best to reinstall the ATI driver, after the kernel compile, and then remove\/rename the <em> fglrx<\/em> module, as noted below. I cannot resume with ATI driver properly installed. Furthermore, with the ATI rpm un-installed, only the generic VGA drivers run (maybe), and I can&#8217;t run above 800&#215;600.<\/p>\n<p><a name=\"pgfId-383629\"><\/a>If the ATI rpm is re-installed, it runs fine in all screen resolutions, and reports that it is running with <em> fglrxinfo<\/em> , but will not resume. If the module<\/p>\n<p><a name=\"pgfId-387551\"><\/a>\/lib\/modules\/2.6.10-prep\/kernel\/drivers\/char\/drm\/fglrx.ko<\/p>\n<p><a name=\"pgfId-387552\"><\/a>is removed, and <em> depmod<\/em> run (not sure if this is needed), and any loaded <em> fglrx<\/em> is unloaded, then display runs in 1600&#215;1200, but reports MesaGL rather than ATI, and the X log shows that only 2D acceleration is active.<\/p>\n<p><a name=\"pgfId-383638\"><\/a>So, MesaGL is needed (or fglrx module must be omitted) to allow suspend\/resume. To get full GL 3D support, must run with ATI driver active and forgo the ability to suspend.<\/p>\n<h3><a name=\"pgfId-383698\"><\/a>3.4 DVD +R\/W Recorder<\/h3>\n<p><a name=\"pgfId-387581\"><\/a>I have not used the DVD a lot, yet. For cdrecord, device has to be ATA:0,1,0 not \/dev\/hdb. For XCDRoast, this can be set by adding the device manually in setup and specifying this directly. For K3b, I have not succeeded in getting parameters for cdrecord to work, although cdrdao seems to work.<\/p>\n<p><a name=\"pgfId-383704\"><\/a>Oddly, cdrecord fails with both K3b and XCDRoast, and yet if I invoke some cdrecord functions directly at the command line, they seem to work fine. I have not pursued this.<\/p>\n<h3><a name=\"pgfId-383715\"><\/a>3.5 Synaptics Touchpad<\/h3>\n<p><a name=\"pgfId-387588\"><\/a>I did not like the Synaptics touch pad set up. This is a very personal thing, of course. Some button\/scroll emulation on the bottom edge caused Firefox to move fwd\/backward by pages when I did not want that to happen. I Disabled this in \/<em> etc\/X11\/xorg.conf<\/em> using output of<\/p>\n<p><a name=\"pgfId-383718\"><\/a> synclient -l<\/p>\n<p><a name=\"pgfId-387601\"><\/a>as a guide for settable parameters to add to <em> xorg.conf<\/em> . To make <em> synclient<\/em> work, I first had to set <em> SHMConfig=1<\/em> in <em> xorg.conf<\/em> to get <em> synclient<\/em> to work; the default X installation had this set to <em> SHMConfig=on<\/em> , which is apparently not defined.<\/p>\n<p><a name=\"pgfId-383719\"><\/a>Enabled circular scroll starting to on right edge. Disabled taps! Yes!<\/p>\n<p><a name=\"pgfId-383723\"><\/a>The force stick on the keyboard seems to work fine in parallel with the touch pad. I did not have to change anything for this to work.<\/p>\n<h2><a name=\"pgfId-331349\"><\/a>4.0 Supporting Files<\/h2>\n<p><a name=\"pgfId-399833\"><\/a>See links below for supporting files.<\/p>\n<h3><a name=\"pgfId-399824\"><\/a>4.1 \/etc\/X11\/xorg.cong<\/h3>\n<p><a name=\"pgfId-399822\"><\/a><em> <a href=\"http:\/\/www.whoi.edu\/cms\/files\/nforrester\/2005\/4\/xorg_2221.conf\">X window initialization file for Fedora Core 3 on HP nw8000<\/a><\/em><\/p>\n<h3><a name=\"pgfId-399820\"><\/a>4.2 \/etc\/hibernate\/hibernate.conf<\/h3>\n<p><a name=\"pgfId-399825\"><\/a><em> <a href=\"http:\/\/www.whoi.edu\/cms\/files\/nforrester\/2005\/4\/hibernate_2223.conf\">Suspend2 hibernate configuration<\/a><\/em><\/p>\n<h3><a name=\"pgfId-399826\"><\/a>4.3 PDF version of This Document<\/h3>\n<p><a name=\"pgfId-399829\"><\/a><em> <a href=\"https:\/\/www2.whoi.edu\/staff\/nforrester\/wp-content\/uploads\/sites\/52\/2017\/06\/nw8000_2227.pdf\">PDF version of Fedora Core 3 on HP nw8000<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux Fedora Core 3 on an HP nw8000 Laptop Ned C. Forrester, Linux Fedora Core 3 on an HP nw8000 Laptop Revision 1.0 April 8, 2005 Ned Forrester 1.0 Hardware Features Model: nw8000 Processor: Pentium M 755 (2.0GHz) Chipset: Intel 855PM Display: 15inch UXGA (1600&#215;1200), 60Hz Graphics: ATI Mobility FireGL T2, 128MB DDR SDRAM Memory:&hellip;<\/p>\n","protected":false},"author":20,"featured_media":0,"parent":27,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www2.whoi.edu\/staff\/nforrester\/wp-json\/wp\/v2\/pages\/116"}],"collection":[{"href":"https:\/\/www2.whoi.edu\/staff\/nforrester\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www2.whoi.edu\/staff\/nforrester\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www2.whoi.edu\/staff\/nforrester\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www2.whoi.edu\/staff\/nforrester\/wp-json\/wp\/v2\/comments?post=116"}],"version-history":[{"count":3,"href":"https:\/\/www2.whoi.edu\/staff\/nforrester\/wp-json\/wp\/v2\/pages\/116\/revisions"}],"predecessor-version":[{"id":123,"href":"https:\/\/www2.whoi.edu\/staff\/nforrester\/wp-json\/wp\/v2\/pages\/116\/revisions\/123"}],"up":[{"embeddable":true,"href":"https:\/\/www2.whoi.edu\/staff\/nforrester\/wp-json\/wp\/v2\/pages\/27"}],"wp:attachment":[{"href":"https:\/\/www2.whoi.edu\/staff\/nforrester\/wp-json\/wp\/v2\/media?parent=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}