Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOW TO: Everything HP Pavilion zv5000
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Travers
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 142

PostPosted: Thu Dec 02, 2004 6:44 am    Post subject: HOW TO: Everything HP Pavilion zv5000 Reply with quote

HOW TO: Everything HP Pavilion zv5000

This HOWTO (which is actively maintained; see the timestamp at the very bottom) takes aim at getting all of the zv5000's hardware up and running in Gentoo Linux. If you're a proud, new owner, congratulations! All your hardware is supported to a very workable extent.

Note: Hewlett-Packard (HP) no longer manufactures the zv5000 laptop. ='(
Note: Hewlett-Packard (HP) is recalling laptop batteries; those shipped with the zv5000 are affected. Go to http://bpr.hpordercenter.com/bpr/ to recieve new batteries if yours are affected.

Further inquiries about this HOWTO should be directed to Travers Buda ( travers buda at gmail com )

1.PCI Hardware List
2.Touchpad
3.Xorg.conf Refresh and Sync Rates
4.Nvidia GeForce4 440 Go 64M
5.Wireless via Ndiswrapper or bcm43xx
6.Support for Sound and Ethernet in Kernel
7.Under the hood: servicing the fans; m-pci slot?
8.Hard Buttons, Card Reader, and Modem
9.Full Xorg conf

1. Output of lspci:
Code:

0000:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
0000:00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
0000:00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
0000:00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev a2)
0000:00:06.1 Modem: nVidia Corporation: Unknown device 00d9 (rev a2)
0000:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go 64M] (rev a3)
0000:02:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
0000:02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
0000:02:04.0 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
0000:02:04.1 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
0000:02:04.2 System peripheral: Texas Instruments PCI1620 Firmware Loading Function (rev 01)


2.Touchpad
The touchpad is a AlpsPS/2 ALPS GlidePoint touchpad. Should work without any fiddling (provided generic mouse drivers are built into or modularized in kernel.) Gentoo patched kernels are known to cause the touchpad not to work. If you add the below section into your Xorg conf, you should get fairly typical sensitiviy et al., and the scroll part on the right will also work. The synaptics package must be installed
Code:

 Section "InputDevice"
   Identifier "Touchpad"
   Driver "synaptics"
   Option "SendCoreEvents"             "yes"
   Option "Protocol"                   "auto-dev"
   Option "Device"                     "/dev/input/event3"
   Option "LeftEdge"                   "120"
   Option "RightEdge"                  "830"
   Option "TopEdge"                    "120"
   Option "BottomEdge"                 "650"
   Option "FingerLow"                  "14"
   Option "FingerHigh"                 "15"
   Option "MaxTapTime"                 "130"
   Option "MaxTapMove"                 "5"
   Option "EmulateMidButtonTime"       "75"
   Option "VertScrollDelta"            "20"
   Option "HorizScrollDelta"           "40"
   Option "MinSpeed"                   "0.45"
   Option "MaxSpeed"                   "1.05"
   Option "AccelFactor"                "0.04"
   Option "EdgeMotionMinSpeed"         "200"
   Option "EdgeMotionMaxSpeed"         "200"
   Option "UpDownScrolling"            "1"
   Option "TapButton1"                 "1"
   Option "TapButton2"                 "2"
   Option "TapButton3"                 "3"
   Option "LockedDrops"                "1"
 EndSection


You need [Device Drivers-> Input device support->Event interface] in your kernel if you include the above touchpad configuration in your Xorg conf. If you intend to use a USB mouse, you need this code in your Xorg conf (the particular code below is in the top of the file):
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Touchpad" "CorePointer"
        InputDevice    "USB"      "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "OffTime"        "20"
EndSection

If you want to exclusively use the touchpad, you still need to have the [InputDevice "Touchpad" "CorePointer"] in the top (the identifier in the top of the Xorg and the identifier in the touchpad configuration section must match.) Generic USB support can be added with:
Code:
Section "InputDevice"
        Identifier  "USB"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
EndSection


Again, the identifiers must mach.

3.Xorg.conf refresh and sync rates
You need to configure your xorg.conf file in /etc/X11/xorg.conf for the refresh and sync rates, or Xorg will blank on startup. Here is the approperiate configuration:
Code:

Section “Monitor”
     Identifier “Monitor0”
     HorizSync  31.5-48.5 #these are the official ranges from HP
     VertRefresh  40-70 #these are the official ranges from HP
     #skipping two lines to improve readability
EndSection


4.Nvidia GeForce4 440 Go 64M
http://www.gentoo.org/doc/en/nvidia-guide.xml

Twinview is supported by this card; you can clone monitors (for say, a presentaion) or have one virtual desktop that stretches between two screens. The germane part of the Xorg conf is this:
Code:

Section "Device"
        Option     "NoLogo"     "True"     #Turns off the nvidia splash screen.
        Option     "TwinView"
        Option     "TwinViewOrientation" "Clone"
        Option     "MetaModes"       Option     "MetaModes"  "1024x768,1024x768;"
        Option     "SecondMonitorHorizSync"   "30-50"
        Option     "SecondMonitorVertRefresh" "60"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV17 [GeForce4 440 Go 64M]"
        BusID       "PCI:1:0:0"
        Screen      0
EndSection


Pay special attention to the "Option "TwinViewOrientation" " line, which will determine where the virtual monitor is relative to the display on the laptop. Options include:
Code:

        "RightOf"  (the default behavior if "TwinViewOrientation" is omitted)
        "LeftOf"
        "Above"
        "Below"
        "Clone"


It is necessary to specify
Code:
     Option     "MetaModes"  "1024x768,1024x768;"

while using TwinView. The 1024x768 resolution will not display properly on your screen (see below,) but it will for the attached device. If you specify different resolutions for your screen and the external device, both displays will be screwed up in various ways (blank screen, not all of screen showing up, etc.)

Adding options
Code:
nvidia NVreg_Mobile=0

to
Code:
/etc/modules.d/nvidia

fixes blank screen problems with the drivers > 1.0.6.111*
This is not necessary with >=1.0-7664, yet it can't hurt.

The latest nvidia-kernel and nvidia-glx packages (version 1.0.8174) properly support 1280x768 resolution. The earlier drivers do not--you couldn't get past 1024x768. Also, they would take the 1024x768 resolution (or 800x600, et al) and stretch it across the screen. Subsequently, things were wider than they should have been. Spheres were not perfect spheres. They were more like ovals. Thanks for the new drivers, Nividia!)

5.Wireless via Ndiswrapper or bcm43xx
The card is a Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03). Broadcom does not write any drivers for their cards, that falls on Microsoft corporation, and several large computer retailers. Open source drivers would be easy enough to make, but Broadcom does not release specifications for their cards, and for good reason. Many 802.11 cards can do much more than what they were intended for, to the dismay of the FCC. For instance, it is possible to transmit on military frequencies with some cards. By not releasing specifications and binary only drivers, Broadcom stays out of trouble. So, how do you get a card to work for which there are only Windows drivers? You use the Windows drivers! There is a fantastic program called ndiswrapper which affords us this mocking of Microsoft and Broadcom. Ndiswrapper essentially fakes a Windows environment for the driver and then hijacks the connection for our own evil deeds. But, enough talk:
Code:
emerge ndiswrapper dhcpcd

Now, you are going to need two files, bcmwl5a.inf and bcmwl5.sys. These are the Windows drivers. You can get them at http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?lc=en&lang=en&cc=us&os=228&dlc=en&product=385148&softwareitem=hb-22924-1 The 64 bit drivers can be found here: http://ubuntuforums.org/attachment.php?attachmentid=186. The example only deals with the 32 bit drivers but the installation is the same except for the names. You're going to need a Windows machine or a copy of Wine to extract the files. (The 64 bit drivers are in a .zip, and do not need to be extracted via Windows) (Knoppix comes with Wine, which is a windows emulation program.) Extract the files to a new folder, /lib/windrivers/. Tell ndiwrapper what drivers to use, type:
Code:

cd /lib/windrivers
ndiswrapper -i bcmwl5a.inf

It is necessary to also have the bcmwl5.sys file in the same directory as the bcmwl5a.inf. Ndiswrapper uses it too and looks for it as the same directory as bcmwl5a.inf. Now, to use ndiswrapper, install it as a module; type:
Code:

modprobe -a ndiswrapper

Congratulations, you now have the wireless working, and it has automatically connected to the nearest open access point. To select different networks, or to put it in ad-hoc mode, et cetera, you're going to need wireless-tools:
Code:
emerge wireless-tools

Then read the manual on iwconfig and iwlist if you are unfarmiliar with the wireless-tools. The iwconfig command configures everything from encryption to the essid name. “iwlist scan” will come in handy too, to view the avaliable wireless networks.
Code:
man iwconfig
man iwlist

To use the wireless to connect to the outside world, tell Linux to use the wifi connction and to DHCP background on it.
Code:
ifconfig wlan0 up
dhcpcd wlan0



Note: A newer method of using the broadcom radio is to use the bcm43xx code first included in the 2.6.17-rc2 kernel. See http://bcm43xx.berlios.de/ for more information.

Obsolete note: with kernels <=2.6.9 the wireless will randomly fail. This is an IRQ problem and can be solved by passing append="acpi=noirq" to your bootloader or upgrading to the latest kernel.

6.Support for Sound and Ethernet in Kernel
For the ethernet, build-in, or modularize ReakTek RTL-8139 PCI Fast Ethernet support under Device Drivers-->Networking Device Support-->Ethernet (10 or 100Mbit)-->EISA, VLB, PCI, and onboard controllers--> RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support

For sound, build-in, or modularize Device Drivers-->Sound-->Soundcard Support-->Advanced Linux Sound Architexture-->PCI devices-->Intel/SiS/nVidia/AMD/ALi AC97 Controller

7.Servicing the fans; m-pci slot?
After a few months of use in hostile environments, it would not be a bad idea to clean out the fans. The fans have their own panel on the bottom that you can take off just for them. There isn't anything too delicate (though I would be careful not to bend the copper heatsink fins) in there, and you should be able to open your own case and clean out any gunk that is in there. In my case (pardon the word play), I cleaned out a copious amount of hair... I also went all the way and opened the whole thing up, I was looking for a m-pci slot so I could perhaps remove the Broadcom radio and add in a different one with better *nix support. You can find m-pci 802.11's on newegg btw. All the goodies appear to be under the motherboard which looked very tricky and dangerous to acess. I could barely put all the screws back in, so I'm glad I didn't try to remove the superstructure and dive under the motherboard.


8.Hard Buttons, Card Reader, and Modem
Check out thread Wiki for sister laptop: http://prinsig.se/weekee/index.php/Main_Page
The volume/mute buttons on the front as well as the "WWW" button do not need to be mapped by the kernel and can be used out-of-the-box with a program such as xbindkeys in portage. Here is a xbindkeys config for the volume/mute keys:
Code:
"amixer  set "Master" 4%+ && amixer set "PCM" 4%+"
    m:0x0 + c:176

"amixer  set "Master" toggle"
    m:0x0 + c:160

"amixer  set "Master" 4%- && amixer set "PCM" 4%-"
    m:0x0 + c:174


This is just one way to setup these keys. There are perhaps a hundred different ways to do it, some are better than others, but this one is simple.

The modem has experimental drivers in the linux kernel, (Device Drivers-> Sound-> Advanced Linux Sound Architecture-> Advanced Linux Sound Architecture-> PCI devices) which have a higher propensity to work on a 32 bit system, rather than a 64 bit one. Check out http://linmodems.technion.ac.il/ for more information.

9.Full Xorg conf
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Touchpad" "SendCoreEvents"
        InputDevice    "USB"      "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "OffTime"        "20" #Turn the backlight and lcd off after 20 mins
EndSection

Section "Files"
        RgbPath      "/usr/lib64/X11/rgb"
        ModulePath   "/usr/lib64/modules"
        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/"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

#Section "Extensions"
#    Option "Composite" "true"
#EndSection #see [url]http://gentoo-wiki.com/TIP_Xorg_X11_and_Transparency[/url] for more info on Composite

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "USB"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
EndSection

 Section "InputDevice"
   Identifier "Touchpad"
   Driver "synaptics"
   Option "SendCoreEvents"             "yes"
   Option "Protocol"                   "auto-dev"
   Option "Device"                     "/dev/input/event2"
   Option "LeftEdge"                   "120"
   Option "RightEdge"                  "830"
   Option "TopEdge"                    "120"
   Option "BottomEdge"                 "650"
   Option "FingerLow"                  "14"
   Option "FingerHigh"                 "15"
   Option "MaxTapTime"                 "130"
   Option "MaxTapMove"                 "5"
   Option "EmulateMidButtonTime"       "75"
   Option "VertScrollDelta"            "20"
   Option "HorizScrollDelta"           "40"
   Option "MinSpeed"                   "0.45"
   Option "MaxSpeed"                   "1.05"
   Option "AccelFactor"                "0.04"
   Option "EdgeMotionMinSpeed"         "200"
   Option "EdgeMotionMaxSpeed"         "200"
   Option "UpDownScrolling"            "1"
   Option "RTCornerButton"             "0"
   Option "RBCornerButton"             "0"
   Option "LTCornerButton"             "0"
   Option "LBCornerButton"             "0"
 EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31.5-48.5
        VertRefresh  40-60
        Option "DPMS"
EndSection

Section "Device"
        Option     "NoLogo"     "True"
        Option     "TwinView"
        Option     "TwinViewOrientation" "Clone"
        Option     "MetaModes"  "1024x768,1024x768;"
        Option     "SecondMonitorHorizSync"   "30-50"
        Option     "SecondMonitorVertRefresh" "60"
#       Option     "RenderAccel" "true"
#       Option     "AllowGLXWithComposite" "true" #see [url]http://gentoo-wiki.com/TIP_Xorg_X11_and_Transparency[/url] for info
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV17 [GeForce4 440 Go 64M]"
        BusID       "PCI:1:0:0"
        Screen      0
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Modes "1280x800"
                Depth     24
        EndSubSection
EndSection


Copyright 2007 Travers Buda. All rights reserved. No warranty stated or implied for any purpose. Not responsible for damages resulting from use of this information. Redistribution is permitted, so long as this copyright notice is kept intact.


Last edited by Travers on Sun Apr 08, 2007 6:09 am; edited 17 times in total
Back to top
View user's profile Send private message
mikecore
Guru
Guru


Joined: 29 Dec 2003
Posts: 342
Location: Toledo, Ohio

PostPosted: Thu Dec 02, 2004 12:30 pm    Post subject: I have a HP zv5000 Reply with quote

It is basicly the same computer but, I have the ATI video/sound chipset
and so I have been unable to get my wireless network card working
I have everthing working but the card reader and the wireless.

the true model number on mine is HP zv5034us.
Back to top
View user's profile Send private message
NinerFan
n00b
n00b


Joined: 23 Jul 2003
Posts: 30
Location: California

PostPosted: Sat Dec 04, 2004 11:57 pm    Post subject: Reply with quote

I'm going nuts.

my lspci output, unless i'm blind, looks the same:
Code:

0000:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
0000:00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
0000:00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
0000:00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev a2)
0000:00:06.1 Modem: nVidia Corporation: Unknown device 00d9 (rev a2)
0000:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go 64M] (rev a3)
0000:02:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
0000:02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
0000:02:04.0 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
0000:02:04.1 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
0000:02:04.2 System peripheral: Texas Instruments PCI1620 Firmware Loading Function (rev 01)


But my usb ports don't work at all. Acts like it isn't even suppling power. An optical mouse doesn't light up.

On another partition, I tried installing Fedora core 3, amd64 version, and Mandrake 10.1 standard 32bit version. And usb doesn't work in them either.

The odd thing is, during both those distro's installation programs, I was using a usb mouse just fine. Also, Knoppix and MandrakeMove, the usb works fine there.

Does anyone have a suggestion on what is going on?
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sun Dec 05, 2004 1:15 am    Post subject: Reply with quote

Moved from Kernel & Hardware.
Back to top
View user's profile Send private message
Travers
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 142

PostPosted: Sun Dec 05, 2004 8:15 am    Post subject: Reply with quote

Ok, two things:
You need to modularize or build-in usb support in your kernel. You also need to install hotpluging. It may be that everything is working fine, including USB support in kernel, but since you don't have hotpluging, your mouse is not going to work. Also, I've had a USB mouse plugged in before boot, and when I get into KDE, it does not work. Still figuring that one out. But, here's what you have to do:
Code:
emerge hotplug
rc-update add hotplug default

Now, reboot and plug in the mouse when you are in KDE or what have you. If that dosen't work, come back and I'll tell you how to configure the kernel for USB support.
Back to top
View user's profile Send private message
spammerei
n00b
n00b


Joined: 05 Aug 2004
Posts: 46

PostPosted: Sun Dec 05, 2004 12:23 pm    Post subject: Reply with quote

How do you get to run ndiswrapper with 64 bit AMD?
Back to top
View user's profile Send private message
Travers
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 142

PostPosted: Sun Dec 05, 2004 4:34 pm    Post subject: Reply with quote

One of the ndiswrapper developers told me that there is no way to get it to work in 64 bit. No flaw of code, but of fundamentals.
Back to top
View user's profile Send private message
Travers
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 142

PostPosted: Thu Jan 13, 2005 1:32 am    Post subject: Reply with quote

Update: ndiswrapper can only interface with a 64 bit kernel if it is 64 bit. A 32 bit windows binary can't interface with a 64 bit app. So, we are going to have to wait until there are 64 bit windows binaries. And those will probably be buggy. =)
Back to top
View user's profile Send private message
tuxfan
Apprentice
Apprentice


Joined: 14 Feb 2003
Posts: 257

PostPosted: Sun Jan 23, 2005 10:41 am    Post subject: Reply with quote

How do you got a resolution of 1280x800 on X.org? I've tried something, but it don't work for me.
Back to top
View user's profile Send private message
Travers
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 142

PostPosted: Mon Jan 24, 2005 4:46 am    Post subject: Reply with quote

Like this.

Code:

SubSection "Display"
                Viewport   0 0
                Modes  "1280x800" "1024x768"
                Depth     24
        EndSubSection


I can't say that I've done 1280x800, but I think its supported. If not, it will drop down to 1024...

Xorg is giving me some trouble. I uninstalled gnome in favor of Fluxbox, and now I can't get the nvidia drivers to work--the screen goes black. The generic nv driver works fine. Anyone else in this jam? I don't really need acceleration, but I don't like the way the screen tweaks out when you kill X using the nv driver.
Back to top
View user's profile Send private message
iz
n00b
n00b


Joined: 23 Feb 2005
Posts: 2
Location: ucla

PostPosted: Wed Feb 23, 2005 2:16 am    Post subject: Reply with quote

Thanks, Travers.

I like the idea of opening threads for users with the same (or similar) computers or hardware devices. It truly helps!
_________________
learning...
Back to top
View user's profile Send private message
Hieronymus
n00b
n00b


Joined: 04 Jan 2005
Posts: 38
Location: Terborg, The Netherlands

PostPosted: Mon Feb 28, 2005 11:53 am    Post subject: Reply with quote

spammerei wrote:
How do you get to run ndiswrapper with 64 bit AMD?


First make sure you have support for wireless networkcards in the kernel: device drivers>network>wireless, built the kernel and start with configureing ndiswrapper, as follows:

Code:
 ACCEPT_KEYWORDS="~amd64" emerge ndiswrapper


then download the 64bit drivers for the broadcom card from this site:

http://www.linuxant.com/driverloader/drivers.php these are the 64bit drivers!

then

Code:
 ndiswrapper -i drivername


Code:
 modprobe ndiswrapper


and then it should work, to test:

Code:
 iwconfig wlan0
(if iwconfig doesnt exist: emerge wireless-tools)

and to see if you have connection with an AP:

Code:
 iwlist wlan0 scan
Back to top
View user's profile Send private message
Hieronymus
n00b
n00b


Joined: 04 Jan 2005
Posts: 38
Location: Terborg, The Netherlands

PostPosted: Mon Feb 28, 2005 12:51 pm    Post subject: Reply with quote

tuxfan wrote:
How do you got a resolution of 1280x800 on X.org? I've tried something, but it don't work for me.


Ok, for nvidia do the following:

Code:
 emerge nvidia-glx


then

Code:
 gtf 1280 800 60


copy the output this command gives into your xorg.conf under the monitor section like this:

Code:

Section "Monitor"
Identifier "LCD"
HorizSync 49.68
VertRefresh 60
Modeline "1280x800" 83.91 1280 1312 1624 1656 800 816 824 841
EndSection


next put mode "1280x800" in the Screen sections

now it should work
Back to top
View user's profile Send private message
Jayso
n00b
n00b


Joined: 02 Jul 2003
Posts: 21

PostPosted: Wed Mar 02, 2005 1:09 am    Post subject: Re: I have a HP zv5000 Reply with quote

mikecore wrote:
It is basicly the same computer but, I have the ATI video/sound chipset
and so I have been unable to get my wireless network card working
I have everthing working but the card reader and the wireless.

the true model number on mine is HP zv5034us.

I have the same laptop also, I got just about everything working on mine.
ndiswrapper for wireless is just about flawless...
touchpad was a no brainer
and of course, no 3d drivers for this version of the ATI mobile chipset kinda does suck.
sound is fine but every now and again it gets a bit flaky..

Getting the hard wired buttons to work would be awesome though, especially the sound buttons, the hardwire button for the wireless works for me :P

Any suggestions?
Back to top
View user's profile Send private message
die_vms_die
Apprentice
Apprentice


Joined: 16 Nov 2002
Posts: 189
Location: MS

PostPosted: Mon Mar 07, 2005 5:21 am    Post subject: nvidia 1280x800 Reply with quote

I got the nvidia driver working by passing argument to modprobe.
For permant fix put:
modprobe nvidia NVreg_Mobile=0
in /etc/conf.d/local.start

glxgears
6407 frames in 5.0 seconds = 1281.400 FPS
7925 frames in 5.0 seconds = 1585.000 FPS

BTW chromium worked well at 1024x768, and screen doesn't garble after ctrl-alt-F#.

Relevant xorg.conf setting:
Quote:
Section "Monitor"
Identifier "lcd"
HorizSync 40-60
VertRefresh 40-70
Option "DPMS" "true"
UseModes "16:10"
EndSection

Section "Modes"
Identifier "16:10"

# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
Modeline "1280x800_60" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
EndSection

Section "Screen"
Identifier "Screen 1"
Device "440 go"
Monitor "lcd"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "1280x800_60"
ViewPort 0 0
EndSubsection
EndSection



It seems the NVreg_Mobile is somewhat documented.
What's up with only blanking screen??

from: ftp://download.nvidia.com/XFree86/Linux-x86/1.0-6629/README.txt

Quote:
The "Mobile" kernel option can be set to any of the following values:
0xFFFFFFFF : let the kernel module auto detect the correct value
1 : Dell laptops
2 : non-Compal Toshiba laptops
3 : all other laptops
4 : Compal Toshiba laptops
5 : Gateway laptops


Quote:
o DPMS and Flat Panel
DPMS modes "suspend" and "standby" do not work correctly on a
flat panel display. The screen becomes blank instead of the
flat panel being set to the requested DPMS state.
Back to top
View user's profile Send private message
numbaonestunna
n00b
n00b


Joined: 05 Mar 2003
Posts: 48

PostPosted: Sun Mar 13, 2005 1:12 am    Post subject: Reply with quote

NinerFan wrote:
I'm going nuts.

my lspci output, unless i'm blind, looks the same:
Code:

0000:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
0000:00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
0000:00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
0000:00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev a2)
0000:00:06.1 Modem: nVidia Corporation: Unknown device 00d9 (rev a2)
0000:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go 64M] (rev a3)
0000:02:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
0000:02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
0000:02:04.0 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
0000:02:04.1 CardBus bridge: Texas Instruments PCI1620 PC Card Controller (rev 01)
0000:02:04.2 System peripheral: Texas Instruments PCI1620 Firmware Loading Function (rev 01)


But my usb ports don't work at all. Acts like it isn't even suppling power. An optical mouse doesn't light up.

On another partition, I tried installing Fedora core 3, amd64 version, and Mandrake 10.1 standard 32bit version. And usb doesn't work in them either.

The odd thing is, during both those distro's installation programs, I was using a usb mouse just fine. Also, Knoppix and MandrakeMove, the usb works fine there.

Does anyone have a suggestion on what is going on?


I had the same problem... you need to flash the BIOS from the HP site to their 1.34 or whatever the January flash was. It was just released a couple of months ago. Don't ask... I don't know why the old firmware doesn't work. It's really stupid, but I bet that is your solution.
Back to top
View user's profile Send private message
spammerei
n00b
n00b


Joined: 05 Aug 2004
Posts: 46

PostPosted: Sun Mar 13, 2005 8:58 am    Post subject: Reply with quote

My PCMCIA card works now (don't ask me how), but only if I insert the card AFTER having booted.
What can be the problem? Directly after boot lspci doesn't show the card.
Back to top
View user's profile Send private message
Jayso
n00b
n00b


Joined: 02 Jul 2003
Posts: 21

PostPosted: Thu Mar 17, 2005 2:17 am    Post subject: Reply with quote

I got hotkeys working!

emerge -v hotkeys

then edit the /etc/hotkeys.conf

this is what I have in my conf:
Code:

############################################################
# Global configuration for hotkeys                         #
############################################################

# These are the default values.
# A line starting with # is a comment.

### Specify the default keyboard  (without the .def extension) so you
### don't need to specify -t every time
 Kbd=hp5181

# PrevTrack=xmms --rew
# Play=xmms --play-pause
# Stop=xmms --stop
# Pause=xmms --pause
# NextTrack=xmms --fwd
# Rewind=
 WebBrowser=firefox-bin


and it works great, the only two buttons that dont work are the pictures and media buttons,
ran xev to get keycodes and neither of those two buttons return any keycodes..

So all you have to do is run hotkeys on startup with X and you are done.
Back to top
View user's profile Send private message
spammerei
n00b
n00b


Joined: 05 Aug 2004
Posts: 46

PostPosted: Fri Mar 18, 2005 11:10 am    Post subject: Solved Reply with quote

spammerei wrote:
My PCMCIA card works now (don't ask me how), but only if I insert the card AFTER having booted.
What can be the problem? Directly after boot lspci doesn't show the card.


See here, that solved all.
http://lists.pcxperience.com/pipermail/linuxr3000/2004-November/004007.html
Back to top
View user's profile Send private message
zendron
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 82

PostPosted: Mon Apr 04, 2005 8:48 am    Post subject: Reply with quote

anyone got lm-sensors working on this nForce3 boards? The only clue on temperature i get is from acpi. If i set the cpufreq governor to ondemand during i emerge something, the temperature from acpi gets very fast over 60 °C, so i set it quick back to powersave.
I compiled i2c and lm_sensors all as modules and ran sensors-detect. It detects the i2c-nforce2 but without any algorythm. Anyone lm-sensors running?
Back to top
View user's profile Send private message
Jayso
n00b
n00b


Joined: 02 Jul 2003
Posts: 21

PostPosted: Mon Apr 04, 2005 4:19 pm    Post subject: Reply with quote

these links might help you out a bit.

http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/busses/i2c-nforce2

and this one:
http://secure.netroedge.com/~lm78/supported.html


To break it down a bit, from what the page says, there is no "internal" kernel support for the nforce3 sensors.
Yolu have to emerge lm_sensors >= 2.9.0
However, currently lm_sensors is masked for the version 2.9.0
http://packages.gentoo.org/search/?sstring=lm_sensors

Try the latest verison of lm_sensors by doing:
echo "sys-apps/lm_sensors-2.9.0 ~x86" >> /etc/portage/package.keywords
or if you have an amd64 system:
echo "sys-apps/lm_sensors-2.9.0 ~amd64" >> /etc/portage/package.keywords

then `emerge -pv lm_sensors`

Just a FYI, you might want to read the changelog and see exactly where the standings are and what bugs are known, just to make sure you dont have too many problems.
Back to top
View user's profile Send private message
zendron
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 82

PostPosted: Mon Apr 04, 2005 5:36 pm    Post subject: Reply with quote

I did that all, thanks, but the problem is i think, lm_sensors >=2.9.0 has support for the nforce3 MCP 150 but not for LCP 150, which is used in this amd64 Notebooks. I will mail the i2c-nforce2 maintainer these days, perhaps it is only minor work needed to support this bridge.
Back to top
View user's profile Send private message
REDONDOS
n00b
n00b


Joined: 10 Feb 2005
Posts: 13

PostPosted: Fri Apr 08, 2005 7:03 am    Post subject: Reply with quote

HP zv5370 (amd64, 15.4'' 16:9 Widescreen, Broadcom 4306 WLAN Chipset [only showing hardware that matters to the post])

1) How should I configure grub to have a 1280x800 console resolution?

2) Also, I am playing with /etc/conf.d/wireless and it just doesn't work. Let me explain:

If I configure my card in the traditional manner, it works perfectly:
Code:
modprobe ndiswrapper
iwconfig wlan0 mode Managed
iwconfig wlan0 essid whatever
dhcpcd wlan0

Ok, now if I use the method described here: http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup
Code:
/etc/conf.d/net
iface_wlan0="dhcp"

/etc/conf.d/wireless
preferred_aps=( "whatever" )

ln -s /etc/init.d/net.eth0 /etc/init.d/net.wlan0

Finally, testing it:
Code:
/etc/init.d/net.wlan0 start
* Bringing wlan0 up via DHCP...

And it stays there. Typing iwconfig clearly shows that no ESSID has been set up for the card.
I'm doing this because I want to be able to actually see wlan0 going up as it happens with eth0 at boot.

Any ideas?
Back to top
View user's profile Send private message
Jayso
n00b
n00b


Joined: 02 Jul 2003
Posts: 21

PostPosted: Fri Apr 08, 2005 7:38 am    Post subject: Reply with quote

Can you get the interface working via command line?
If you cant then I would say check your driver.

does `ndiswrapper -l` say hardware found, driver loaded?
And usually I dont set the mode.

All I do for my wireless is:

modprobe ndiswrapper
iwconfig wlan0 essid whatever
dhcpcd wlan0

and it works
Back to top
View user's profile Send private message
REDONDOS
n00b
n00b


Joined: 10 Feb 2005
Posts: 13

PostPosted: Sat Apr 09, 2005 12:28 am    Post subject: Reply with quote

Jayso wrote:
Can you get the interface working via command line?

REDONDOS wrote:
If I configure my card in the traditional manner, it works perfectly:
Code:
modprobe ndiswrapper
iwconfig wlan0 mode Managed
iwconfig wlan0 essid whatever
dhcpcd wlan0

But I don't want it to be this way. I want to be able to start it through the '/etc/conf.d/wireless start' command.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum