LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 01: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, 01:11 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

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

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

Rep: Reputation: 36
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, 01: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, 01:47 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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 01:51 PM.
 
Old 02-17-2009, 03: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, 03:54 PM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,865
Blog Entries: 28

Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
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, 05:57 PM   #8
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 36
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, 06:27 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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, 11:17 AM   #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, 04: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, 05:53 PM   #12
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

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

Rep: Reputation: 36
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, 08:44 PM   #14
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,403

Rep: Reputation: 141Reputation: 141
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, 10:42 AM   #15
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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 10: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 03:35 PM
nvidia drivers debian tshontikidis Linux - Hardware 1 01-12-2006 06:02 PM
Nvidia drivers on debian linuxmandrake LinuxQuestions.org Member Success Stories 0 12-09-2005 06:44 PM
NVIDIA Drivers on Debian doctorwebbox Linux - Hardware 6 08-23-2004 02:03 PM
NVidia drivers in Debian 3.0 r2 morrolan Linux - Newbie 5 12-28-2003 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:08 AM.

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
Open Source Consulting | Domain Registration