This is my story on how to install Gentoo 1.4 on the HP Pavilion ZD7020. The laptop was tested with Knoppix in Circuit City to make sure that it would boot. The video screen resolution was not set correctly, I hoped that I could solve this with tweaking XFree86.
Me : Heath Holcomb
Contact : xcable_hhh@yahoo.com
Change Log
10.23.2003 - added DVD section, added 802.11g, added freeze error
11.12.2003 - changed gcc flag from p4 to p3
12.10.2003 - changed gcc flag back to p4, added ENE Technologies Flash reader problems, added 2.6.0-test11
2.10.2004 - Added Orinoco Gold Classic with 2.6.2 How to, moved IEEE 1394 to working section
2.25.2004 - Added comment about new ebuild for vmware-workstation, added 2.6.3 kernel, added kde 3.2, IEEE 1394
5.1.2005 - Added section dealing with the volume and mute buttons.
8.20.2005 - Updated xorg.conf (EDID can now to used), updated make.conf (various changes), updated old stuff and misc, ndiswrapper support.
Update 11.5.2005
2.6.13 works well but the kernel breaks my Orinoco driver (Ndiswrapper still works). 2.6.14 does work but breaks the Orinoco driver and is totally unstable when using Ndiswrapper, locks up the system don't use! I have 1.5 GB or RAM now, needed mainly for my multiple Vmware virtual windose machines open at once.
Update 8.20.2005
Not dead yet update.
Xorg can now be configured with EDID enabled, allow automatic control of refresh rates and resoltuions of attached monitors. Ndiswrapper works well with the built in 802.11g card. I will not go into details about how to set ndiswrapper, as there are many other threads to explain that and there are no special steps for your hardware.
2.6.12 works well, xorg 6.8.2 works well, vmware 5 works well, hal ivman and dbus work well, KDE 3.4.2 works well - nuff said
Update 2.25.2004
The new ebuild for vmware-workstation includes a patch to allow vmware to work with the 2.6.x kernels. I have tested this with 2.6.3 and works fine.
I have upgraded to 2.6.3, no major fixes or dirvers updates that affect the the zd7000 (at least I have not noticed anything major, but it's always a good idea to keep your kernel up-to-date.
I have also upgraded to kde 3.2 (it rocks). I highly suggest you upgrade/install/try it.
I have installed Kino (I did a custom ebuild to install the latest version, version .7 I think). Capturing a DV stream from my digital video camera works great. Kino also allows you to control the camera. Burning a VCD and SVCD works fine (using Kino to convert it and K3B to burn it).
Update 12.10.2003
I just upgraded on kernel to 2.6.0-test11, and can't be happier. No more freezes!! The kernel works great for desktop use (as good or better than ck sources). Enabled 4 GB ram, so now I can use all of my 1 GB. I used a patch set for modify vmware and allow it to configure and build against the 2.6 kernel.
http://platan.vc.cvut.cz/ftp/pub/vmware/ - patch set
http://forums.gentoo.org/viewtopic.php? ... ight=heath - how to
Update 10.23.2003
I have noticed that the laptop has just froze on me. On at least 2 ocasions I have come back to my laptop (it was doing nothing be setting there) and I get no response from the keyboard or mouse. I had hold down the power button to restart the computer. So far it has only done this twice, I beleive it to be a low level kernel to hardware problem (maybe nvidia driver). Not to worried about it, hoping that future kernels (nvidia drivers) will solve this problem.
Sound is giving me a problem. Xmms will not work (ALSA or OSS). I beleive this to be a Xmms problem. Running games with user will not play sound, but run under root play sound fine. I believe this to be a permissions probelm.
Upgraded my memory from 512 MB to 1GB and had to recompile my kernel for hi-memory support. Now vmware does not work. When configuring vmware for the new kernel, vmware-config.pl give me compile errors.
Hardware Specs :
Pentium 4 processor 2.8GHz
512MB DDR SDRAM
80GB 4200 rpm hard drive
DVD+R/RW and CD-RW
17" WXGA+ WVA TFT screen (1440 x 900)
NVIDIA GeForce FX Go5600
Intel 82801EB / 82865G chip set (USB, PCI, ISA, sound, modem)
Realtek RTL-8139 network chip
ENE Technology Flash ???
TI TSB43AB21 IEEE 1394 controller
Broadcom BCM94306 802.11g
Install :
1.4 Live CD works "out of the box", with standard install. Nothing special needed. I did wipe out the stock XP and reinstalled using only 5 GB partition. I then used Partition Magic to set up a FAT32 swap partition, /boot, swap, and /. Then formating the linux partitions from the Live CD.
X and KDE fonts are giving me a headache. At first they were almost unusable, but after some tweaking they appear to work ok (thanks to the Gentoo fourms). I did a lot of stuff and can't remember everything I did, but here are the major tweaks/changes :
- set XF86Conig from Load "Freetype" to Load "freetype" - check you X log file for X problems
- installed Gimp
- installed Gnome
- added some Load font files to XF86Config (see below)
APIC is most likely required for the PC to work properly. I did not try boot with out it, so I can't be for sure.
Hardware Status
Currently Working :
video, X (using Nvidia's drivers)
network
audio (alsa required)
framebuffer (set in 1024x768)
USB 2.0
ACPI
APIC
CardBUS
DVD reader (playes DVDs with mplayer)
DVD burner (DVD+R +R/W) - had to use masked version of K3B (.10)
IEEE1394 (works with my new digital cam corder)
volume and mute buttons
Not Tested Yet :
modem (mostley likely will never test)
Know Not to Work :
integrated wireless 802.11g (currently no Linux driver)
ENE Technolgies Flash reader (currentl no Linux driver)
LCD Backlight
The functions keys for backlight intensity are still functioning. I believe they are hard wired to the backlight electronics, because I have done nothing to configure this feature in software.
Volume and Mute Buttons
The volume (up and down) and mute buttons are actually part of the keyboard. Using the program "xev" from the XFree86 project (located in /usr/X11R6/bin/ directory) you can determine the keycode for a keyboard event. After you have determine the keycode for those buttons you can use "xmodmap" (located in /usr/bin/X11/) to assign actions to specific keyboard events. You can set up a script to run at boot to assign those events.
Xmodmap file (/home/hholcomb/cerebro-data/Linux System/Xmodmap):
Code: Select all
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute
Code: Select all
#!/bin/bash
/usr/bin/X11/xmodmap /home/hholcomb/cerebro-data/Linux\ System/Xmodmap
PCMCIA with Orinoco Gold Classic with 2.6.x
Here is how to get your Orinoco Gold Classic working with a 2.6.2 kernel. You can get this card from Buy.com http://www.buy.com/retail/product.asp?s ... =1&loc=101. From what I have read this the best wifi card for Linux 2nd only to Cisco cards (which are expensive). This card is either made by Orinoco Wireless Networks, Proxim, Lucent Technologies, or Agere Systems; looks like this company/group has been purchased many times by different companies. The chipset is Intersil PRISM2.
The power LED on the card will NOT light up until the system gets an IP from this device (dhcpce eth1).
1) Compile kernel 2.6.x (tested with 2.6.2-gentoo) with PCMCIA support, makeing yenta a module
Code: Select all
<*> PCMCIA/CardBus support
<M> CardBus yenta-compatible bridge support
< > i82092 compatible bridge support (NEW)
< > i82365 compatible bridge support (NEW)
< > Databook TCIC host bridge support (NEW)
Code: Select all
[*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
--- Obsolete Wireless cards support (pre-802.11)
< > STRIP (Metricom starmode radio IP) (NEW)
< > Aironet Arlan 655 & IC2200 DS support (NEW)
< > AT&T/Lucent old WaveLAN & DEC RoamAbout DS ISA support (NEW)
< > AT&T/Lucent old WaveLAN Pcmcia wireless support (NEW)
< > Xircom Netwave AirSurfer Pcmcia wireless support (NEW)
--- Wireless 802.11 Frequency Hopping cards support
< > Aviator/Raytheon 2.4MHz wireless support (NEW)
--- Wireless 802.11b ISA/PCI cards support
< > Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards (NEW)
<M> Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)
< > Hermes in PLX9052 based PCI adaptor support (Netgear MA301 etc.) (EXPERIMENTAL)
< > Hermes in TMD7160 based PCI adaptor support (EXPERIMENTAL)
< > Prism 2.5 PCI 802.11b adaptor support (EXPERIMENTAL) (NEW)
--- Wireless 802.11b Pcmcia/Cardbus cards support
<M> Hermes PCMCIA card support
< > Cisco/Aironet 34X/35X/4500/4800 PCMCIA cards (NEW)
< > Intersil Prism GT/Duette/Indigo PCI/PCMCIA (NEW)
< > Atmel at76c502/at76c504 PCMCIA cards (NEW)
< > Planet WL3501 PCMCIA cards (NEW)
Code: Select all
[*] PCMCIA network device support
< > 3Com 3c589 PCMCIA support (NEW)
< > 3Com 3c574 PCMCIA support (NEW)
< > Fujitsu FMV-J18x PCMCIA support (NEW)
< > NE2000 compatible PCMCIA support (NEW)
< > New Media PCMCIA support (NEW)
< > SMC 91Cxx PCMCIA support (NEW)
< > Xircom 16-bit PCMCIA support (NEW)
< > Asix AX88190 PCMCIA support (NEW)
Code: Select all
make clean && make && make modules modules_install
mount /boot
cp arch/i386/boot/bzImage /boot/vmlinux-2.6.2-gentoo
nano -w /boot/grub/grub.conf
reboot
Code: Select all
ACCEPT_KEYWORDS="~x86" emerge pcmcia-cs
Code: Select all
ACCEPT_KEYWORDS="~x86" emerge modules-init-tools-3.0_pre5.ebuild
Code: Select all
nano -w /etc/conf.d/pcmcia
References and related posts:
http://forums.gentoo.org/viewtopic.php? ... e+prism2cs
http://forums.gentoo.org/viewtopic.php? ... pendencies
http://members.iinet.net.au/~mtriggs/wireless.html
http://pcmcia-cs.sourceforge.net/ftp/SUPPORTED.CARDS
http://www.hpl.hp.com/personal/Jean_Tou ... eless.html
Configuration Files
GCC Optimizations / Compiling
-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2
/etc/make.conf
Code: Select all
USE=" acpi artswrappersuid bootsplash bzlib cdinstall cdparanoia \
cdrom dga dvd dvdr doc dvdread ethereal fbcon ffmpeg flash freetype \
gimp gimpprint hal ieee1394 jp2 jpeg2k kdeenablefinal \
kdexdeltas logitech-mouse mpeg4 mplayer mmx net network nvidia nptl \
opie pcmcia pda pdf php pic pnp rdesktop rtc svg sse sse2 theora \
transcode type1 usb videos vidix vnc wifi xine xinerama \
xprint xrandr xscreensaver xvid xvmc zeroconf win32codecs"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2"
CXXFLAGS="${CFLAGS}"
PORTDIR_OVERLAY="/usr/local/portage"
PORTAGE_NICENESS=10
# define machine specific hardware
ALSA_CARDS="intel8x0"
VIDEO_CARDS="nvidia"
ALSA is required to get sound working.
Xorg
/etc/X11/xorg.conf
Code: Select all
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/freetype"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/cyrillic"
EndSection
#Section "Extensions"
# Option "Composite" "Enable"
#EndSection
Section "Module"
Load "glx"
Load "ddc"
Load "record"
Load "extmod"
Load "dbe"
#Load "dri"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "LCD"
#HorizSync 30-92
#VertRefresh 60
Option "dpms"
Modeline "1440x900" 97.54 1440 1472 1840 1872 900 919 927 946
EndSection
Section "Device"
Identifier "GeForce"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce FX Go5600"
BusID "PCI:1:0:0"
Option "NoLogo" "true"
Option "RenderAccel" "1"
Option "CursorShadow" "1"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "EnablePageFlip" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "GeForce"
Monitor "LCD"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1440x900" "1024x768" "800x600"
EndSubSection
EndSection



