HP Pavilion and audio problems with Debian

linux 3 Comments »
italiano

I’ve an HP Pavilion notebook (mod. dv6115eu). I’ve installed Debian on it and, listen to music, I’ve tries to insert the jack headphone but the sound come out from speakers yet!

The solution is pretty easy. Download from alsa website the alsa-driver source package.
To compile it, we have to install the right packages before

root~:# apt-get install build-essential linux-headers-generic libncurses5-dev automake autoconf

Here: ftp://ftp.alsa-project.org/pub/driver/ you can find the last source packages.
Make a folder and donwload the source packages

Extract the package

user:~$ tar xjf alsa-driver-X.tar.bz2

Compile and install it

user~:$ cd alsa-driver-X
user~:$ ./configure
root~:# make && make install

Edit /etc/modules and insert at the end of it this kernel module: snd_hda_intel.
Save the file and reboot: the headphone could be work right now!

, , , , , , ,


AWN - Howto make your own .deb

linux No Comments »
italiano

Today i’ve updated my AWN repository

deb http://www.arearelax.org/awn/ ./

with new packages made from awn0.2.1 version taken from Bazaar’s repository.
I’ve thinked that it could be helpfull if I write how you can do your own packages.

First of all install the packages for compile AWN and the dipendencies packages :

root:~# apt-get install build-essential automake1.9 autotools-dev libxdamage-dev libxcomposite-dev libgnome2-common libgnome2-dev libgnome-desktop-dev libgtk2.0-dev libwnck-dev libgconf2-dev libglib2.0-dev libdbus-glib-1-dev python-gtk2-dev gnome-common python-dev python-cairo-dev python-gnome2-dev python-gnome2-desktop gnome-panel python-glade2 librsvg2-common cdbs gnome-pkg-tools gtk-doc-tools valac

install bzr:

root:~# apt-get install bzr

go on your home folder and download AWN source from Bazaar:

user:~$ bzr co lp:awn

join in the new folder

user:~$ cd awn/

and make the packages

user:~$ dpkg-buildpackage -rfakeroot

come back at your home ( cd .. ) and you can find all packages that you need to install AWN

root:~# dpkg -i *.deb

That’s all. Have fun!

, , , ,


Start VNC at Boot

linux No Comments »
italiano

Sometimes could be useful to manage a PC from a remote computer. To do it VNC maybe is one of the best solutions.

It’s good if VNC starts at PC’s boot.

Some easy steps:

root:~# apt-get install vnc4server vnc4-common

To start a program at boot we have to insert the command to run it in the /etc/rc.local file.

root:~#nano /etc/rc.local

and insert the following row before exit 0. (exit 0 must be always the last row)

su - user -c "/usr/bin/vnc4server :1 -geometry 1024x768 -depth 16 > /tmp/vncserver.log 2>&1 &" &

This command let start vncserver automatically at boot in usermode and on a Display different from the main display.
You have to substitute in that row USER with your user and you can customize the command vnc4server like it’s good for you.
If you would run other programs with VNC, you have only to add other rows in rc.local like the follow row

su - user -c "DISPLAY=:1 /usr/bin/gkrellm &" &

, , ,


WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login