23 March 2012

Debian live USB persistent di HP Pavillion DV3 laptop

Laptop:
HP Pavilion dv3-2165ee
http://h10025.www1.hp.com/ewfrf/wc/product?lc=en&dlc=en&cc=us&document=&product=4029986&

A. Membuat Debian live USB flash:
Source:
http://chalsattack.blogspot.com/2011/03/creating-debian-live-usb-pendrive-with.html

1. Buka website http://live.debian.net/ dan download usb-hdd image dari sini:
http://cdimage.debian.org/cdimage/release/current-live/i386/usb-hdd/debian-live-6.0.3-i386-gnome-desktop.img

2. Colokkan usb fflash drive, periksa mount point dengan menjalankan perintah di terminal $mount

3. Copy image ke usb flash drive dengan printah:
$ dd if=debian-live-6.0.3-i386-gnome-desktop.img of=/dev/sdd
(Sesuaikan sdd dengan nama device kita)

4. Setelah proses copy selesai, siapkan partisi di sisa space yang ada di usb flash drive untuk keperluan menyimpan data hasil live persistent nantinya.

Jalankan perintah di terminal: $sudo gparted
Dari menu pilihan drive, pilih sdd
Kita harus unmount drivenya, klik kanan dan unmount
Klik kanan pilih: new - Primary partition - ext2 - label: live-rw - add - apply changes
Selesai.

5. Pada saat booting, klik escape dan ketik:
boot: live persistent


B. Enable mouseclick with touchpad


C. Sesuaikan repo untuk mengakifkan contrib non-free
deb http://ftp.debian.org/debian/ squeeze main contrib non-free


D. Kalau perlu, instal Nvidia driver:

VERSION=`uname -r`
apt-get install nvidia-kernel-$VERSION nvidia-glx
apt-get install nvidia-xconfig
nvidia-xconfig
apt-get nvidia-settings

Source:
http://www.unixmen.com/script-to-install-nividia-driver-in-debian-squeeze-with-one-click/


E. Instal flashplugins


F. Instal pulseaudio

sudo apt-get install pulseaudio paprefs pavucontrol pulseaudio-module-hal pulseaudio-module-x11 pulseaudio-utils libasound2-plugins paman pavumeter pulseaudio-esound-compat libpulse0 libsdl1.2debian-pulseaudio

Source:
http://crunchbanglinux.org/forums/post/111432/#p111432


G. Masalah: suara tidak keluar.
Untuk mengatasinya buat hidden file di home bernama .asoundrc dengan isi:

pcm.pulse {
type pulse
}

ctl.pulse {
type pulse
}

pcm.!default {
type pulse
}

ctl.!default {
type pulse
}

Source:
http://www.shcherbyna.com/?p=1059

====

Selesai

Note:
Debian live usb di laptop ini sangat cepat dan responsif.


24 April 2009

Debian Lenny - simple fix for Trident video card

My note for my old laptop which has Trident Cyberblade video card.

Reference:
http://www.edugeek.net/forums/nix/32431-omg-xorg-trident-video-4hours-wasted-time.html

https://answers.launchpad.net/ubuntu/+source/xorg/+question/49247

By default Debian Lenny and Ubuntus (even the latest 9.04 version) can only show 800x600 as the maximum resolution while the correct resolution should be 1024 x 768

To overcome the problem usually I copied the xorg.conf file from any other distros (mostly Mepis and Sidux).

Today I found the above references, and it turns out that the solution is really simple, just add 2 lines in the "Monitor" section of the default xorg.conf as follows:

HorizSync 28-96
VertRefresh 50-75

(The above values I took from sidux's xorg.conf).

Now from the System > Preferences > Screen Resolution menu, I can choose the refresh rate (60, 70 or 75 Hz).

Below is the complete xorg.conf

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 28-96
VertRefresh 50-75
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection

18 April 2009

Xorg.conf for my desktop

For my own reference, this xorg.conf is taken from Linux Mint Elyssa on my desktop, works also for Mepis 8.0 Gnome:


# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection

10 April 2009

Yamaha YMF-754 sound card problem on Debian Lenny, my easy workaround.

I have installed Debian Lenny on my old laptop and everything works nicely except one very important thing: the sound did not work.
The sound card is Yamaha Corporation YMF-754.

This is my workaround which works for me:

Go to sidux's online manual, click on the left menu link:
Graphic Cards, Monitors & miscellaneous Drivers > Hardware needing non-free drivers

Scroll down and find this line:

Yamaha YMF724/740/744/754 audio devices:
fetch the firmware from http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware-from-kernel.git
and place it under /lib/firmware/yamaha/.



I do not know what is "fetch" means, so I just click the above link and then click "snapshot" to download the firmware (the file is compressed in tar.gz).



Extract the file to get these three files:
ds1_ctrl.fw
ds1_dsp.fw
ds1e_ctrl.fw



Create a directory for the firmware:
# mkdir /lib/firmware/yamaha/

Copy those three files to that directory.

Restart the computer, and the sound card now works.


Problem solved.