View Full Version : Core 2 and HP Pavilion zv5220
linuxpaul
24th July 2004, 08:53 AM
Having problems with Core 2 (2.6.5-1.358) on an HP Pavilion zv5220us (5000 series). Basically everything is working properly except for two last issues wireless and the touchpad.
I have no specs on the touchpad and tried to use the Synaptics driver, but without and success. /proc/bus/input/devices does not even list the touch pad (it only lists the keyboard) and googling/searching HP's website reveals nothing about the touchpad.
If I add psmouse.proto=imps to the boot, my touchpad still does not work and my keyboard stops working as well. Here is the relevant section from xorg.conf. X11 complains that it can't open /dev/psaux:
Section "InputDevice"
Identifier "Synaptics Mouse"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
# Option "Repeater" "/dev/ps2mouse"
EndSection
Another issue is with the broadcom wireless. Compiled and installed ndiswrapper and loaded the device driver:
# ndiswrapper -l
Installed ndis drivers:
bcmwl5 present
The device appears to be installed correctly, however it acts like the radio is turned off (the wirelss button is not lite either). Pressing the wirelss button has no effect, it appears that it may be a soft key that turns the radio on/off via the driver. Is there a way to do this with ndiswrapper?
# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.462GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate:54Mb/s Tx-Power:16 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:-10 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
and from dmesg:
wlan0: ndiswrapper ethernet device 00:90:4b:5b:ac:2b using driver bcmwl5.sys
Any ideas?
Thanks.
linuxdummy
1st August 2004, 05:34 PM
I also have the same laptop and am working on the same issues. I put my message in the Hardware forum yesterday if you care to read it.
Please keep me informed if you solve these issues and I'll do the same.
BTW, did you get the 1280x800 resolution working. It took me a day, but I now can use it. Let me know if you are having flickerling problems or if you can't use this resolution.
merith
1st August 2004, 11:07 PM
For the touchpad try : http://personal.eunet.fi/pp/joakim/nx7010.html
Not the same model laptop but may help.
Though I have found that in FC2 it recoginized the touchpad of my hp laptop out of the box....
linuxdummy
5th August 2004, 04:12 PM
Eureka!
I got my laptop's HP zv5220us (zv5000) touchpad to work. I tried using the synaptics driver, but after exploring all combinations (and 20 hours later) - no luck. As a newbie, I was able to create the required driver synaptics_drv.o and changed many settings in xorg.conf. I still do not understand how to apply the patch nor do I understand how to cut and paste a code segment from the README and "patch" it. Maybe someone can detail the synaptics instructions for us newbies in the future.
Despite not getting any results from the synaptics driver installation, I did manage to get the touchpad to work on boot up (the cursor moves in text mode). And for startx, the /etc/xorg.conf file only uses one InputDevice identified as Mouse0.
Its parameters are:
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Note that with only one inputdevice listed in xorg.conf I can plug in a USB mouse at any time and both the touchpad and the USB mouse simultaneously. I do not need two input devices ( one for the touchpad and one for the USB mouse)!
Modify the /boot/grub/grub.conf file.
For every version of linux there will be a line containing kernel vmlinux change the statement to the following:
kernel /vmlinuz-2.6.7-1.494.2.2 ro root=LABEL=/ acpi=on i8042.nomux idebus=66 rhgb quiet
The i8042.nomux remedies a bug which prevents the touchpad from being recognized. With this one command no additional drivers are needed to activate the touchpad. No patches, no compiling, no installing. Very simple.
I will note that the right side of the touchpad which can be used for scrolling doesn't work and probably needs a driver. So I installed the synaptics driver, but it didn't fix it. My next effort will be to use the ALPs patch, when I learn how to apply the patch. I've read that all you do is type: patch -i < /path/to/alps.patch but the patch also has a patch which isn't in a file. I could cut and paste its contents in to a file but I'm wondering if there are any headers that are missing?
Moving on, the acpi=on insures that the powersaving features are enabled and the idebus=66 makes my system run faster.
Next, note haven't gotten to wireless yet. Also, when probing CPU speed, the powernow technology from AMD throttles back the CPIspeed to 800 Mhz. This is normal.
Lastly, I will also note that I had screen flicker/scrambled text screens when using FC2 standard installation. The remedy was to install the latest NVIDIA driver. The NVIDIA driver installation was easy, but first I had to get to a non-scrambled screen.
Shutoff computer.
PowerOn.
when you're at the GRUB screen (where options are to select Linux or Other) type a lowercase 'a' Now you need to type a 'space' and a '1' after the word quiet. Press enter.
This now will boot up the computer in single user mode ( no graphics). Now you'll be able to see what you're doing.
NVIDIA installation:
1. Retrieve Linux Display Driver IA32 http://www.nvidia.com/object/linux_display_ia32_1.0-6106.html
(if you're graphics mode use webbrowser Mozilla, if in text mode type this:
lynx http://www.nvidia.com/object/linux_display_ia32_1.0-6106.html <enter>
LYNX is a text only web browser.
Now find the link to download.
2. If not in text mode, goto terminal mode (right-click anywhere on the blue display and select Open Terminal) and get to appropriate directory ( cd /your/path)
3. type: sh NVIDIA*.run
4. answer prompts (note you will see a reference to a conflict with rivafb. Ignore this warnng. It doesn't affect the installation or the results.
5. Modify the file /etc/X11/xorg.conf.
Add one line Load "nvidia" and delete the Line: Load "dri"
Next change Video driver
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection
That completes the NVIDIA installation now the following steps adds the 1280x800 screen resolution.
Change the Monitor and the screen section within xorg.conf
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x800" # different from original file
HorizSync 31.5 - 100.0 # different from original file
VertRefresh 30.0 - 100.0 # different from original file
Option "dpms"
UseModes "16:10" # insert new lind
EndSection
# notice many lines changed
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Now create a new section and insert it anywhere after any of the EndSection statments
Section "Modes"
Identifier "16:10"
Modeline "1280x800" 107.21 1280 1360 1496 1712 800 801 804 835
EndSection
6. save changes to the file
7. at the prompt you're ready to enter the command 'startx' and now use graphics mode flicker/scramble free.
Future concerns: The AMD XP-M 3000+ is a K8 hydrid but the standard installation for FC2 uses Pentium-Pro (M686). I will try a new kernel recompile using the K8 processor designation and compare benchmarks.
glenik
22nd December 2004, 11:38 PM
Thanks for the great post on getting the touchpad and screen res fixed. I am still unable to get the NvIDIA driver loaded succesfully. It seems to have conflicts with the update kernel 2.6.9-1.6. I can live with the screen flash and garbled text but I'd like to hear about a fix for it.
My current problems are with both the onboard Broadcom wireless G card and the PCMCIA 802.11b card. The Broadcom is recognized in the output of lspci but is inactive due to soft on button I am assuming.
The 802.11 b shows up as:
02:04.0 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
02:04.1 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
02:04.2 System peripheral: Texas Instruments: Unknown device 8201 (rev 01)
Here's lspci:
00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev a2)
00:06.1 Modem: nVidia Corporation: Unknown device 00d9 (rev a2)
00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go 32M] (rev a3)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:02.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 03)
02:04.0 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
02:04.1 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
02:04.2 System peripheral: Texas Instruments: Unknown device 8201 (rev 01)
I'm also getting a CS: Unable to map card memory at boot. Any suggestions? I've read several posts on the CS error but nobody seems to have any suggestions on fixing it.
Thanks, Grayson
telmo
23rd December 2004, 12:35 AM
I have a HP zx5051ea (ZX5000 series), and my advice is... try Fedora Core 3... :)
I think you'll have better luck with your hardware... but ofcourse, that's just my opinion.
Good luck!
marion
23rd December 2004, 01:51 PM
I just finished installing FC3 on my laptop, and it found the synaptics pad fine. The button to turn it off and on still works (which supriesed me.) The only issue I have left to resolve is the broadcom wireless 802.11g card.
The first linux distro I tried was SuSe 9.1, which didn't load the driver for the synaptics pad, but did let me use the ndis wrapper and the windows sys file to use the card. The problem I had with SuSe is that it wasn't consistent.
The ndis wrapper reported that all was well, and it saw my router, but I could never obtian and IP address.
I just found this website [ http://rfswitch.sourceforge.net/ ] as well, which although it make the wireless work, could be convienient.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.