GerardMilmeister/nc8430

= Fedora Core 6 on HP Compaq NC8430 =

I decided to replace my old Dell Inspiron 3800 with a new notebook. However I did not want a Dell again, the build quality simply isn't very good. The NC8430 seemed to fit my needs, it is very solid and professionally looking without any silly design.

I installed the FC6 respin from 11 Jan 2007 and used the Extras and Livna repositories, as well as freshrpms for drivers.

Graphics Card
I did not try very hard to push the open source driver to higher resolution, as I assumed it would only work with the proprietary one anyway. I installed the package  from Livna. The configuration was simple (as root): aticonfig --initial Do enable DRI and thus OpenGL acceleration, the Composite extension needs to be disabled, i.e., in : Section "Extensions" Option   "Composite" "Disable" EndSection Unfortunately, AIGLX currently does not work with, since it needs both DRI and Composite. :-( I installed the Xgl which works satisfactorily, although I think AIGLX is the cleaner solution.

I did not try out Xinerama, but connected an external monitor and projector to it. If the external monitor is connected at boot time, it is recognized and the display is cloned. If the resolution is too big, for example 1680x1050, then it is panned on the external video device.

If the device is connected after boot, then you can show all devices using aticonfig --query-monitor which will typically return something like Connected monitors: lvds, crt1 Enabled monitors: lvds The external monitor must then be enabled with aticonfig --enable-montor=lvds,crt1

Resolution is easily switched using, but you can also use   if you prefer a GUI to CLI. Unfortunately, whatever the resolution, the image is always stretched to fill the screen, even if it is 4:3 instead of 16:10.

Power Management (ACPI)
ACPI seems to be the weak point of any Linux installations on notebooks, and this one is no exceptions. In fact, not much does work out of the book. However with a little work, much can be done to improve it.

First of all, there is a problem, which is either due to a bug in a kernel driver or in the ACPI firmwire. After shutting down or rebooting, many functions wouldn't work anymore. For example, the CPU frequency can only be set to a maximum of 1.67GHz instead of 2GHz, or the multimedia buttons don't work. It seems that when the  driver is active during shutdown, the ACPI is left in a bad state. The only solution is to disconnect AC power and Battery, before booting again. A better solution is to recompile the kernel and to build the  driver as a module. If the  module is  'ed during shutdown, the problem doesn't appear. There is a bug report to build the kernel with the  as a loadable module:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217513

Suspend-to-RAM and hibernate don't seem to work at all out of the box. I installed a suspend2 kernel from atrpms.net. Here hibernate works much better. Sometimes the SD Card reader wouldn't work after resume. Simply unloading and reloading the  generally fixes this. I tried to let the hibernate script do this automatically by specifying it in the configuration file, but it doesn't always work. Suspend-to-RAM seems to work at first, but when awakening the computer is unresponsive to input. Graphics seems to be alright and the cursor blinks, but neither keyboard nor mouse work.

I also tried to increase battery life as much as possible. CPU frequency can be changed down to 1GHz. This can also be done automatically based on system load using the  governor. The  service needs to be installed for this work. I don't know how well this works, however. Dimming the screen also helps, since the screen consumes most of energy. Interestingly the video card can also be configured consume less power, for example for slower, but less power, set: aticonfig --set-powerstate=1 For faster, but more power, set aticonfig --set-powerstate=3 Normally the power state is set to 2. The fglrx driver package installs some power management scripts to set the state according to whether the computer runs on AC or battery power.

I installed the  package from rpmforge. I haven't yet seen any noticeable improvement however. In fact, I wonder if the HD ever spins down! Battery life is not very long so far, about 90min with full power and 2h30 with power-saving features on. I have not done any extensive benchmarks, however.

Special Buttons
In Gnome, the mute and volume buttons work without any configuration. When the sound is muted, the light on the mute button is on. Suprisingly the Wireless button (with the blue light, when on) seems to work perfectly as well. It toggles the Wireless and Bluetooth radios.

The  key starts Suspend-to-RAM as it should, but as already mentioned, this doesn't work correctly. However, the power button initiates a perfectly regular power off sequence, a useful feature.

The keys for changing the display brightness,  and , work, while the range seems to be a little narrow. There is a third key,, for automatically setting the brightness based on ambient light. This does something, i.e., it lowers the brightness, but I don't know if it works as it should.

The battery key  and the external monitor key   do not work. They may be configured to do something useful using the same method as below.

The  and    keys are not bound to anything. I suggest using  from Extras. The keycodes for the buttons must however be configured in.

Configuration files
Here is the  file that I use: cpufreq-set -u 2000000

/sbin/modprobe tifm_sd

/sbin/modprobe snd_virmidi

setkeycodes e059 232 # Info setkeycodes e008 134 # Presentation

/sbin/hdparm -q -S 4 /dev/sda

In  it seems that lvm volume needs to be explicitly mentioned: PARTITIONS="auto /dev/mapper/VolGroup00-LogVol00 /dev/mapper/*"

For, the   entry can be used if it is changed to look like this (the wireless and sound buttons already work as they should): [HP-NC6230] brandname = "Hewlett Packard" modelname = "Compaq NC6230" [KEYS] Information     = 228 Presentation    = 191 [END KEYS] [END HP-NC6230] Note, that the keycodes for  and   are different.

My  looks as follows: CdromDevice = /dev/cdrom Display_align = center Display_color = 0aff00 Display_font = -adobe-helvetica-bold-r-normal-*-*-140-*-*-p-*-*-* Display_hoffset = 0 Display_plugin = xosd Display_pos = bottom Display_soffset = 1 Display_timeout = 3 Display_voffset = 50 KeyboardType = HP-NC6230 MixerDevice = /dev/mixer conffilename = /home/gemi/.lineak/lineakd.conf [Gnome System Monitor] Information = gnome-system-monitor [Eject CD] Information+control = EAK_EJECT [Hibernate] Information+alt = pm-hibernate [Home Folder] Presentation = nautilus

Conclusion
I like this Notebook. It looks very good, has a tasteful design, it is slim and rather light. Most functions work with FC6. The downside is non-working Suspend-to-RAM, and the non-optimal battery-life. These may work better some time in the near future. These features are not that important for me, anyway.

Links
Other reports on installing Linux on NC8430:
 * http://upload.fabifri.at/Linux.html
 * http://gentoo-wiki.com/HARDWARE_Gentoo_on_HP_Compaq_nc8430
 * http://www.linlap.com/wiki/Hewlett-Packard+nc8430
 * http://coderjournal.com/2007/10/running-ubuntu-linux-704-on-hp-nc8430
 * http://www.hermit.org/Linux/HPCompaq-nc8430Ubu.html