LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-17-2009, 02:05 PM   #1
Pazau
Member
 
Registered: Nov 2008
Location: Copenhagen, Denmark
Distribution: Ubuntu and Xubuntu 8.10
Posts: 98

Rep: Reputation: 15
Question Debian: drivers


Hello everyone. I need a little help here.

I have an HP Pavilion dv6645eo with Debian 5.0 on. It runs as it should, except for certain drivers.

I don't have the Nvidia driver, so graphics are very low, and I alså need Broadcom driver, so therefore I have not wirelessly.

Before I had Ubuntu and there was something with "Hardware Drivers", where I just had to put the checkmark and reboot, but in Debian it is obviously more technical.

Some will help me installing Nvidia driver version 173 and the Broadcom driver?
 
Old 02-17-2009, 02:11 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
For nvidia:
http://desiato.tinyplanet.ca/~lsoren...dri-howto.html

For broadcom
Code:
apt-get install b43-fwcutter
 
Old 02-17-2009, 02:21 PM   #3
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 32
Quote:
Originally Posted by Pazau View Post
Hello everyone. I need a little help here.

I have an HP Pavilion dv6645eo with Debian 5.0 on. It runs as it should, except for certain drivers.

I don't have the Nvidia driver, so graphics are very low, and I alså need Broadcom driver, so therefore I have not wirelessly.

Before I had Ubuntu and there was something with "Hardware Drivers", where I just had to put the checkmark and reboot, but in Debian it is obviously more technical.

Some will help me installing Nvidia driver version 173 and the Broadcom driver?
The Nvidia driver should be accessable in the Debian repositories through synaptic. Installing it will pull in the kernel headers and a few other packages. As for the Broadcom wireless, I am not sure how to set that up. If there is no Linux driver, you may have to set up a wrapper like ndiswrapper and run a Windows driver in Linux. Others may be able to help you with that.

Ubuntu IS Debian, but Debian unstable with Ubuntu specific changes so you should be able to get things working. The difference, as you may have found out already, is that Ubuntu holds your hand through everything and Debian does not, but it's a great way to learn.

I can post back with the specific packages I installed for the Nvidia drivers this evening when I get home.
 
Old 02-17-2009, 02:32 PM   #4
Pazau
Member
 
Registered: Nov 2008
Location: Copenhagen, Denmark
Distribution: Ubuntu and Xubuntu 8.10
Posts: 98

Original Poster
Rep: Reputation: 15
I came to step 3. I have a Nvidia Geforce 7150M, which driver should I choose?
 
Old 02-17-2009, 02:47 PM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
I would just use the latest drivers from nvidia.. it's not much different than the Debian way, but the drivers are more up to date..

CTRL + ALT + F2 to get to a prompt and login as root, then do the following commands


/etc/init.d/gdm stop
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
aptitude update
aptitude install build-essential module-assistant
m-a update
m-a prepare
wget http://us.download.nvidia.com/XFree86/Linux-x86/180.29/NVIDIA-Linux-x86-180.29-pkg1.run
chmod +x NVIDIA-Linux-x86-180.29-pkg1.run
./NVIDIA-Linux-x86-180.29-pkg1.run
/etc/init.d/gdm start


step through the setup accepting the defaults, allow the nvidia configuration utility to modify your xorg.conf file at the end when prompted.

the final command should put you back at a graphical login prompt with the nvidia drivers running..


You may want to download the nvidia driver ahead of time to make things easier.. less to type.

Last edited by farslayer; 02-17-2009 at 02:51 PM.
 
Old 02-17-2009, 04:41 PM   #6
Pazau
Member
 
Registered: Nov 2008
Location: Copenhagen, Denmark
Distribution: Ubuntu and Xubuntu 8.10
Posts: 98

Original Poster
Rep: Reputation: 15
Can I just install some Nvidia packages in Synaptic?

The second option looks to be unnecessary and burdensome out.
Dansk
 
Old 02-17-2009, 04:54 PM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Use http://www.smxi.org to install the Nvidia driver.

Broadcom, b43/ b43legacy wlan:
apt-get install b43-fwcutter

OpenFWWF 5.1 opensource firmware for the following Broadcom AirForce 802.11b/g wireless cards:
apt-get install openfwwf

* BCM4306
* BCM4311 revision 1
* BCM4318
* BCM4320
Open firmware for Broadcom BCM43xx (b43) wlan devices
This package contains the open source firmware alternative for Broadcom
AirForce BCM43xx wireless lan chipsets, which can be used in combination
with the in-kernel b43 module of kernel 2.6.30 or above. .
Known supported boards:
* BCM4306
* BCM4311/1
* BCM4318
* BCM4320
Homepage: http://www.ing.unibs.it/openfwwf/
 
Old 02-17-2009, 06:57 PM   #8
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 32
Quote:
Originally Posted by Pazau View Post
Can I just install some Nvidia packages in Synaptic?

The second option looks to be unnecessary and burdensome out.
Dansk
Yes - although the steps outlined above work fine, the fact the drivers and all needed packages are in the repositories makes this process seem a bit cumbersome in comparison. You will still need to know your kernel version though because the Nvidia drivers are built for the kernel packages in the repositories. You can find out your kernel version by running
Code:
uname -r
 
Old 02-17-2009, 07:27 PM   #9
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
the m-a update , m-a prepare steps will automatically handle downloading and installing the necessary kernel headers for compiling the drivers.. just fyi..
 
Old 02-18-2009, 12:17 PM   #10
Pazau
Member
 
Registered: Nov 2008
Location: Copenhagen, Denmark
Distribution: Ubuntu and Xubuntu 8.10
Posts: 98

Original Poster
Rep: Reputation: 15
Farslayer:

I am not so much to install some programs that do something else. I would rather do it manually, as I can make it necessary and not superfluous.


Sargek:

Which packages must be installed to get Nvidia version 173? - I run with kernel 2.6.26-1-686, is that kernel compatible for Nvidia drivers?
 
Old 02-18-2009, 05:29 PM   #11
Pazau
Member
 
Registered: Nov 2008
Location: Copenhagen, Denmark
Distribution: Ubuntu and Xubuntu 8.10
Posts: 98

Original Poster
Rep: Reputation: 15
YES! So I got Nvidia drivers up and running, and the Wireless.

Used wizard http://wiki.debian.org/NvidiaGraphicsDrivers

Repo: Thanks for you help with the Wireless.
Sargek: Thanks for your help. it was you who put me on the trail of the wizard. : D
 
Old 02-18-2009, 06:53 PM   #12
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Wow you really think the directions in my first post are not a manual method ? amazing
 
Old 02-18-2009, 09:24 PM   #13
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 32
Quote:
Originally Posted by Pazau View Post
YES! So I got Nvidia drivers up and running, and the Wireless.

Used wizard http://wiki.debian.org/NvidiaGraphicsDrivers

Repo: Thanks for you help with the Wireless.
Sargek: Thanks for your help. it was you who put me on the trail of the wizard. : D
Glad you got it working!

farslayer - that last one was funny! I was a a bit taken aback the first time I ran the install that way too because it is much more involved than even doing it on Gentoo, but it's all good.
 
Old 02-18-2009, 09:44 PM   #14
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by farslayer View Post
/etc/init.d/gdm stop
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
aptitude update
aptitude install build-essential module-assistant
m-a update
m-a prepare

wget http://us.download.nvidia.com/XFree8...80.29-pkg1.run
chmod +x NVIDIA-Linux-x86-180.29-pkg1.run
./NVIDIA-Linux-x86-180.29-pkg1.run
/etc/init.d/gdm start
farslayer,

Could you tell me the purpose of "m-a update" and "m-a prepare" within this script? They don't seem to do anything since it's a foreign package. At least I've never run them when installing an NVIDIA driver from nvidia.com. All I do is run the .run file.
 
Old 02-19-2009, 11:42 AM   #15
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
I'm just using module assistant to go grab and install the current kernel header packages needed to compile the module. the commands are short and quick to type and everything is handled automatically. (by automatic I just mean that I don't have to remember $(uname -r) or go manually lookup my current kernel with uname)

the alternate method (what most people do) is to use aptitude to install the specific kernel header package for your running kernel. something like:

aptitude install linux-headers-$(uname -r)
43 keystrokes


m-a update
m-a prepare

23 keystrokes


The module assistant method accomplishes the same goal of getting the proper header installed with less keystrokes.

So just call me a lazy typist why dont ya

Last edited by farslayer; 02-19-2009 at 11:43 AM.
 
  


Reply

Tags
debian, drivers, nvidia


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install Debian drivers? Chronothread Linux - Software 1 12-26-2007 04:35 PM
nvidia drivers debian tshontikidis Linux - Hardware 1 01-12-2006 07:02 PM
Nvidia drivers on debian linuxmandrake LinuxQuestions.org Member Success Stories 0 12-09-2005 07:44 PM
NVIDIA Drivers on Debian doctorwebbox Linux - Hardware 6 08-23-2004 03:03 PM
NVidia drivers in Debian 3.0 r2 morrolan Linux - Newbie 5 12-28-2003 02:27 PM


All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration