PDA

View Full Version : [ubuntu] using sudo privilages



bavman
June 18th, 2009, 05:08 PM
Im sorry but this is a really noobish question.
Im totally new to linux and all this. But ive been having problems with my hp laptop and sound but i found an answer:

http://ubuntuforums.org/showthread.php?t=1073090

So heres my question: Ive downloaded the file specified in the thread but what do i do with the code there? Does it go in the terminal or something?

Thanks for helping. :)

~sHyLoCk~
June 18th, 2009, 05:15 PM
Im sorry but this is a really noobish question.
Im totally new to linux and all this. But ive been having problems with my hp laptop and sound but i found an answer:

http://ubuntuforums.org/showthread.php?t=1073090

So heres my question: Ive downloaded the file specified in the thread but what do i do with the code there? Does it go in the terminal or something?

Thanks for helping. :)

Yes! Suppose you have the file .tar.gz in your desktop, open terminal [Applications -> Accessories -> Terminal] and type the sugested commands! Make sure you have extracted the tar file first! You can simply do that by right clicking -> extract here.

bavman
June 18th, 2009, 05:21 PM
#> ./configure --enable-dynamic-minors
#> make
#> sudo make install-modules
#> sudo vim /etc/modprobe.d/alsa-base
[add 'options snd_hda_intel model=hp-dv5' sans quotes to the bottom of the file, even if you have a dv4, etc.]

#> sudo reboot
when i put that in though it doesnt do anything.
and when i take out the #> before it, it says this: No such file or directory

bavman
June 18th, 2009, 05:46 PM
Basically i dont know what im doing. How do i put in the code. Step by step instructions would be appreciated =) With everything i need to do. I know you guys might think some of this is obvious but ive never done this before so i have no clue haha

~sHyLoCk~
June 18th, 2009, 06:39 PM
Ok before compiling anything, you will first need something. Open terminal and type :

sudo apt-get install build-essential
Now did u extract the tar file on the desktop? Open the terminal again? Type:

cd ~/Desktop/foldername
replace "foldername" with the extracted folder's name
Now type in the terminal again:

./configure --enable-dynamic-minors
make
sudo make install-modules
sudo vim /etc/modprobe.d/alsa-base
Now you have to add 'options snd_hda_intel model=hp-dv5' sans quotes to the bottom of the file, even if you have a dv4, etc. <---I don't know how to do that but you will figure it out while installing.


sudo reboot

Hope this helps

raymondh
June 18th, 2009, 06:45 PM
For reference/reading

https://help.ubuntu.com/community/UsingTheTerminal
https://help.ubuntu.com/community/RootSudo

http://beginlinux.com/desktop_training/ubuntu/1094-the-beginners-guide-to-the-ubuntu-terminal