HP Pavilion 15-n084ca laptop computer setup for debian linux
Here are the many steps to install Debian 7.1.0
YLL 20131026
To be done right after installing Debian:
Log in as root and enter the following command...
code:
apt-get update && apt-get upgrade
Update the PCI BUS database :
update-lspci
Get hardware information:
lshw -c video
The list is exaustive and may be very long.
Not installed by default in Debian.
Wireless connection with Ralink RT3290:
First thing you're going to want to do is update and get the Linux Headers, for this you will open Terminal and type the following:
Code:
sudo apt-get update && sudo apt-get install build-essential linux-headers-generic
After that is complete, cd to your home directory if you're not already there:
Code:
cd ~
Now you're going to want to download the Ralink RT3290STA Driver
Code:
wget http://dl.dropbox.com/u/11876059/DPO_RT3290_LinuxSTA_V2600_20120508.tar.gz
Now extract the tar:
Code:
tar -xvf DPO_RT3290_LinuxSTA_V2600_20120508.tar.gz
Open "DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/config.mk"
Find the following lines and make sure they look like this:
Code:
HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT=y
Now back in Terminal, cd into the extracted driver folder:
Code:
cd ~/DPO_RT3290_LinuxSTA_V2600_20120508
Now the following commands in order:
Code:
sudo su
make
make install
After that finishes, activate the wireless driver:
Code:
sudo modprobe rt3290sta
Your wifi should pop right up, but it will not survive a reboot yet...
Now let's make sure it will activate on boot, for this we will be editing the "modules" file:
Code:
sudo gedit /etc/modules
Copy/paste these lines at the very bottom:
Code:
rt3290
rt3290sta
Save the file and exit
Now you need to blacklist the default driver so that it doesn't override the rt3290sta driver:
Code:
sudo gedit /etc/modprobe.d/blacklist.conf
**** Could be "sudo gedit /etc/modprobe.d/fbdev-blacklist.conf" ****
**** But it is working like this. ****
Scroll down the bottom of that file and add these lines at the bottom:
Code:
#Wireless drivers conflicting with rt3562sta
blacklist rt2800pci
blacklist rt2x00pci
Save and exit
Now update your changes:
Code:
sudo update-initramfs -u
Now exit the terminal and reboot
Upon reboot you should have working wifi that will survive every reboot. Hope this helps everyone, it took me about 2 days to figure all this out.
Source: http://ubuntuforums.org/showthread.php?t=2104690
The WIFI LED is always ON(orange):
The WIFI key does toggle the WIFI ON an OFF:
Command to switch rf and bluetooth ports on/off:
rfkill list
rfkill block
rfkill unblock
Not installed by default under Debian.
Add a new repository via apt command:
To add anew repository using "apt":
add-apt-repository ppa:xxxxxxxx/ppa
To remove a repository using "apt":
add-apt-repository --remove ppa:xxxxxxxx/ppa
Install video driver for Radeon HD 8610G:
Go to web page http://support.amd.com/en-us/download
Select the following options from the drop-down menus
Step 1: APU(Accelerated processors)
Step 2: Mobile APU (Acceleratd processors)
Step 3: A- Series APU
Step 4: Linux x86_64
Step 5: Clic on green "Display Results" button.
Download "latest beta driver" using the green "downlaod" link. This latest driver is dated October 8th, 2013 and it is a 117MB file at the time of this writing. (Oct 26th, 2013)
Extract the file into your hmoe directory.
Make the file executable.
Double click on it and "Execute it in a terminal window".
Accept the license, when asked for it.
Accept a reboot when it asks for it.
*********************************************
* Unable to get the brightness keys to work *
*********************************************
This command does adjust brightness.
xrandr --output LVDS --brightness .7
Put into an "alias" like bs7 for brigght 70%
Put into an "alias" like bs5 for brigght 50%
Put into an "alias" like bs for brigght 100%
To be put into .bash_aliases file.
Create it if it does not exist yet.
The addon lines would look like this:
alias bs7='xrandr --output LVDS --brightness .7'
alias bs5='xrandr --output LVDS --brightness .5'
alias bs='xrandr --output LVDS --brightness 1'
The value .4 seems to be the absolute minimum.
The value 1 look like a sunburn setting.
Does not survive a closed session or a reboot.
Lid position detection on laptop:
cat /proc/acpi/buton/lid/LID/state
The output would be similar to:
state: open[close]
Useful system commands:
hdparm -t -T /de/sda
dpkg -l
lspci
lspcmcia
uname -a
lsusb
dmesg
cat /proc/cpuinfo
cat /etc/*-release
rfkill unblock all
acpi -V
iwlist ra0 scanning
ntpq -nc peers
ntpdc -c sysinfo
Add personal aliases so they are available at login:
Create the file .bash_aliases in your home directory.
Put your aliases into it, one per line, according to the following:
alias l='ls -a --color'
alias ll='ls -al --color'
Youtube does not work in iceweasel navigator:
sudo apt-get remove gnash
sudo apt-get install flashplugin-nonfree
Source: http://forums.debian.net/viewtopic.php?f=30&t=76841
SDHC card reader:
Select "Unix (Linux)" near the top of the page.
Find the line with "PCI RTS5229 Card Reader Driver For Linux".
I selected the Downloade site 3, US1, as I am on the North-America's East coast.
Select to save file on your PC.
Decompress the file.
Follow the README text file.
Network access has to be changed from "NAT" to "Bridge"
Trying to install Debian 7.1, require the lan interface to be changed from "ra0" to "eth0".
End of file
YLL20131026hp-pavilion-15.odt