Configurando notebook HP Pavilion série dv6000 no ArchLinux

Publicado por flavio augusto marques adao em 27/10/2008

[ Hits: 18.379 ]

 


Configurando notebook HP Pavilion série dv6000 no ArchLinux



Tenho um notebook HP Pavilion dv6910us da série dv6000. Depois de ter pesquisado bastante para conseguir configurá-lo no ArchLinux, resolvi escrever este tutorial, que pode ser uma mão na roda para quem não tem muito conhecimento em Linux ou está tendo dificuldades em encontrar os módulos corretos para os drivers.

Após feita a instalação, deve-se atualizar seu ArchLinux com o seguinte comando:

# pacman -Syu

Após o término da atualização, basta reiniciar e já estará totalmente atualizado. Depois de reiniciar aproveite para instalar o xorg:

# pacman -S gnome gnome-session xorg

Após este passo deve ser feita a instalação da placa de vídeo. Basta baixar o driver padrão da nvidia:

Download NVIDIA-Linux-x86-177.80-pkg1.run

Após o download digite:

# chmod a+x NVIDIA-Linux-x86-177.80-pkg1.run
# sh NVIDIA-Linux-x86-177.80-pkg1.run
# nvidia-xconfigure


Pronto, você já está com o Gnome rodando e a placa de vídeo funcionando.

Para configurar o touchpad deixe seu xorg.conf assim (adicione synaptics no Section "Module")

Section "Module"

   Load     "synaptics"

   Load     "dbe"

   Load     "extmod"

   Load     "type1"

   Load     "freetype"

   Load     "glx"

EndSection

e deixe seu Section "InputDevice" assim:

Section "InputDevice"
    Identifier     "Mouse0"
    Driver          "synaptics"
    Option  "Device"        "/dev/psaux"
    Option  "Protocol"      "auto-dev"
    Option  "LeftEdge"      "1700"
    Option  "RightEdge"     "5300"
    Option  "TopEdge"       "1700"
    Option  "BottomEdge"    "4200"
    Option  "FingerLow"     "25"
    Option  "FingerHigh"    "30"
    Option  "MaxTapTime"    "180"
    Option  "MaxTapMove"    "220"
    Option  "VertScrollDelta" "100"
    Option  "MinSpeed"      "0.06"
    Option  "MaxSpeed"      "0.12"
    Option  "AccelFactor" "0.0010"
    Option  "SHMConfig"     "on"
EndSection

E instale o driver com:

# pacman -S synaptics

Verifique se o módulo da sua webcam é carregado:

# modprobe uvcvideo

Caso isso não ocorra, será necessário baixar este driver e instalá-lo:

# tar xzvf uvcvideo-r75.tar.gz
# cd uvcvideo-r75
# make
# make install


Vamos ao bluetooth:

# pacman -S bluez-libs bluez-utils bluez-hcidump kdebluetooth obex-data-server

Adicione bluetooth e dbus na seção daemons do seu arquivo /etc/rc.conf e ative-os com:

# /etc/rc.d/dbus restart
# /etc/rc.d/bluetooth start


Depois disso você já pode trocar arquivos com seu celular executando o kdebluetooth. Não se esqueça de que antes de executar o kdebluetooth você deve ativar o botão que liga o bluetooth na parte frontal do notebook.

Instale o ALSA:

# pacman -S alsa-lib alsa-utils alsa-oss esd
# alsaconf


Para instalar o acpi é necessário instalar o acpid:

# pacman -S acpid gnome-power-manager

Vamos a parte final.

Edite seu arquivo /etc/rc.conf e deixe sua seção modules assim:

MODULES=(ath5k psmouse battery ac processor uvcvideo forcedeth wlan snd-mixer-oss snd-hwdep snd-page-alloc snd-timer snd snd-hda-intel soundcore)

E a seção daemons assim:

DAEMONS=(syslog-ng esd dbus bluetooth hal acpid network netfs crond)

Deixo aqui meu rc.conf para caso queiram tirar alguma dúvida.

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# ------------------
# LOCALIZATION
# ------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#

LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="yes"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------
# HARDWARE
# -----------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#

MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(ath5k psmouse battery ac processor uvcvideo forcedeth wlan snd-mixer-oss snd-hwdep snd-page-alloc snd-timer snd snd-hda-intel soundcore)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# --------------
# NETWORKING
# --------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#

HOSTNAME="flavio"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#

gateway="default gw 10.1.1.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# ---------
# DAEMONS
# ---------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#

DAEMONS=(syslog-ng esd dbus bluetooth hal acpid network netfs crond)

Não esqueca de colocar seu usuário nos grupos video, audio, dbus e hal no arquivo /etc/group.

Pronto. Basta reiniar e já estará com tudo funcionando.

Rede, wireless, webcam, vídeo, audio, bluetooth, controle remoto, touchpad e acpi. Creio que tudo vá funcionar, senão podem entrar em contato comigo.

Abraços a todos.

Outras dicas deste autor
Nenhuma dica encontrada.
Leitura recomendada

Instalação do DHCP Server

Chaveiro padrão bloqueado no Ubuntu - Como se livrar

Instalação do PHP + MySQL + Apache + PHPMyAdmin e resolvendo problemas

Microsoft Office 2007 funcionando perfeitamente com Wine

Instalação do Oracle 11g R 2 no Slackware 13.1

  

Comentários
[1] Comentário enviado por aaron.binner em 30/10/2008 - 13:56h

É isso ai Flavio !! Contribuindo com o mundo do Software Livre, ótima dica, simples e prático.



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts