Compaq Presario V3019US

From Gentoo Linux Wiki

Jump to: navigation, search

Contents

[edit] Machine Description

  • Machine Spec.
  • AMD Turion 64 (TL-50) operating at 1.6GHz
  • 1GB RAM
  • 80GB HDD (SATA)
  • DVD+-R/W DL (PATA)
  • 3 x USB V2.0
  • Firewire
  • Express Card Slot
  • SD/MMC/XD Media Card Reader
  • Broadcom 802.11G/B (BCM4311)
  • Nvidia Chipset, Graphics, Sound & Ethernet
  • SVideo & VGA Output
  • Connexant Modem (soft/winmodem)
  • Display 1280x800 Resolution @ 32Bit with 60Hz
  • Synaptics Touchpad

There is also an IR interface of some kind meant of use with a remote this might or might not be included as it comes as an accessory. It is located in the front of the machine next to the headphone and microphone jacks.

[edit] Data from testing

[edit] What works.

  • Speaker output
  • Headphone output
  • Headphone jack sense
  • Microphones (stereo)
  • Microphone Jack Sense
  • Synaptics Touchpad
  • nVidia Chipset, Graphics (24Bit not full 32Bit color with binary driver)
  • Ethernet (chipset but nVidia driver not required)
  • USB
  • HDD
  • DVD+-R/W DL
  • Power Monitoring/Control
  • 802.11G/B (BCM4311 unstable with limited range)
  • VGA Output
  • SVideo Output
  • SD/MMC/XD Media Card Reader

[edit] What doesn't work.

  • Modem

[edit] What is untested.

  • Firewire
  • Express Card Slot
  • IR Port?(expected to work under kernel 2.6.20 or higher)

All of the above are expected to work.

[edit] Gentoo/Portage Aspects of Setup

You will want the following packages.

  • udev
  • hddtemp
  • synaptics
  • kismet

More coming Soon.

[edit] make.conf

Better descriptions coming Soon. make.conf:

 CFLAGS="-march=athlon64 -O2 -pipe"
 CHOST="x86_64-pc-linux-gnu"
 CXXFLAGS="${CFLAGS}"
 PORTDIR_OVERLAY="/usr/portage/local/my_packages"
 FEATURES="parallel-fetch"
 MAKEOPTS="-j3"
 PORTAGE_ELOG_CLASSES="info warn error log"
 PORTAGE_ELOG_SYSTEM="save"
 ACCEPT_KEYWORDS="amd64"


[edit] Kernel Setup

The following have been tested to work (in my experience) on gentoo-sources-2.6.18-r2 and vanilla-sources-2.6.20.6 (for 802.11). Your millage may vary. If this goes crazy and causes damage (ex. your computer eats you in your sleep) don't blame the author(s).

[edit] A note on kernel versions and 802.11

I have tested on many different kernels both vanilla and gentoo-sources and up to this point I have yet to get success with the BCM4311 card. The native driver team are working diligently to fix this but it will most likely take time. I have been compiling the kernel with SMP enabled and for 64 bit. I have been using one of the 64 bit firmwares the native driver team suggest. I recommend other people with one of these machines contact the team to join in testing. I may be doing something wrong and having more eyes on a problem never hurt. As the team's patches do not add full support the latest kernel I use is gentoo sources 2.6.18-r2 going further adds no functionality I can see yet. I recommend using this version while you wait for 2.6.21 which will have many patches to the bcm43xx driver. These patches fix things like suspend errors and signal quality reporting and may even lead to actual connectivity. Currently these instructions use the kernels internal softmac but the BCM43xx native driver group is changing to mac80211.

[edit] Using lower kernels

You can do this but 802.11 will not work as well (speed), headphone jack sense will not work, the mute button won't change color, audio line in will not work ether. There are other issues but I can't recall all of them.

  • 2.6.20 - requires a patch to 802.11
  • 2.6.19 - unknown
  • 2.6.18 - requires a patch to 802.11/BCM43xx and a patch to the hda-intel module
  • 2.6.17 - a patch to the hda-intel kernel module

[edit] Required Kernel Modules

This is not meant to be a total list of modules just a list of the more obscure ones this machine uses.

  • Sound (ALSA Intel-HD Audio Module)
  • 802.11G/B (Broadcom BCM43xx wireless support with BCM43xx data transfer mode (DMA + PIO))
  • Generic IEEE 802.11 Networking Stack
  • Software MAC add-on to the IEEE 802.11 networking stack
  • Ethernet (nvidia nforce)
  • Harddisk SATA Interface (nvidia sata)
  • Graphics (binary nvidia-driver for glx compiled after kernel)
  • SD/MMC/XD Media Card Reader (Secure Digital Host Controller Interface support)
  • I2C (I2C - Nvidia nForce2, nForce3 and nForce4)

[edit] Patching 802.11

The current patches from the native driver project with these Broadcom 43xx directions.

The patch for 2.6.21 is here.[1] Notice that you will have to alter the patch directories from linux-2.6 to reflect the kernel used (vanilla or gentoo).

[edit] Patching Sound

This is only for kernels before 2.6.20 and higher than 2.6.18.
This patch does not add jack sense so the user must manually control the volume of both the speakers and headphones individually. This patch is from Xopen and ALSA. It can be found at the following.
http://xopen.dyndns.org/linux/v6024ea/
https://bugtrack.alsa-project.org/alsa-bug/login_page.php?return=%2Falsa-bug%2Fview.php%3Fid%3D2412
Basically to install it you can use Xopen's instructions but if you already have the kernel source installed it is easier to use the following.

  cd /usr/src/kernel-2.6.xx-rx/sound/pci/hda/
  patch -p0 <hda-generic-hp-fix.diff

And now recompile the kernel with the ALSA Intel-HD Audio Module.

[edit] Module Loading

Not all the modules load correctly the first time for some reason. While this will eventually be fixed.

[edit] 802.11

After booting the box the bcm43xx module requires a reload to get a connection. It should cause the SNR to change from 0.

[edit] Sound

  snd_hda_intel hp-3013

[edit] Package Installation/Configuration

Some packages require minor alteration or re-configuration to work or have the most functionality. This section also lists recommended alterations to your installation.

[edit] GNOME-Power-Manager

Provided you have ACPI, DBus, and the like (including nvidia i2c kernel modules) installed just emerge gnome's power manager. This has however only been tested under GNOME 2.16 or higher.

[edit] HDD Temp.

With hddtemp add the following line to the hddtemp drive database (/usr/share/hddtemp/hddtemp.db).
"FUJITSU MHV2080BH" 194 C "FUJITSU MHV2080BH"
Then make hddtemp start at boot.

  rc-update add hddtemp default

To make it start with out a reboot right now run the following line.

  /etc/init.d/hddtemp start

[edit] nVidia

Follow the directions in the gentoo-wiki page NVIDIA drivers for installing the nvidia-drivers package unless you want to use the open source version of the driver called nv.
Followed by the directions for using wide screen displays (WSXGA) from the gentoo-wiki page hereHOWTO Widescreen Resolutions (WSXGA).
Optionally these may be followed by the untested directions from the gentoo-wiki page hereTV-Out with GeForce for SVideo Output.
And/or the ones hereHOWTO nVidia TwinView for getting VGA output to work. Followed by thisHOWTO Dual Monitors page for dual monitors.
And/or the directions hereHOWTO Enabling Monitor Power Saver or hereHOWTO Automatically turn off your monitor to save your screen from getting burned.(This needs checking)

[edit] Synaptics

See this guide.

[edit] SD/MMC/XD Media Card Reader

Just use the gentoo-wiki directions hereSD and MMC card readers with the kernel module I mentioned earlier.

[edit] Kismet

In short.

  • emerge kismet with the settings of your choice.
  • edit kismet.conf so the source line reads
  source=bcm43xx,eth1,bcm43xx

[edit] Firefox with Flash

This requires the 32bit chroot which portage will list when you add firefox-bin. Flash is closed source and does not support 64 Bit so to run it firefox-bin is required. There are alternative flash players but to use standard flash follow the following. The sound from the Firefox-bin Flash Player Plugin does not work with out the following change from HOWTO AMD64

  aoss32 /usr/libexec/mozilla-launcher "$@"
Personal tools