Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Thursday, 13 December 2007

Ubuntu 7.10 64 bit on a Toshiba Satellite u300-12g

Correct 1280x800 resolution:

Modify your /etc/X11/xorg.conf like this:

Section "Device"
Identifier "Generic Video Card"
Driver "intel"
BusID "PCI:0:2:0"
Option "monitor-TV" "TVOutput"
...

Section "Monitor"
Identifier "TVOutput"
Option "Disable" "true"
EndSection

usplash 1280x800 (avoid usplash trying other resolutions):
http://doc.ubuntu-fr.org/problemes_usplash



SOUND:

Install latest alsa-driver, alsa-lib, alsa-utils from sources as decribed here:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/94373/comments/33

Perform the following to place the compiled module at the right place (if needed):
Code:
rm /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko
ln -s /lib/modules/2.6.22-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko /lib/modules/2.6.22-14-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko

source: http://ubuntuforums.org/showpost.php?p=3475485&postcount=235



Desktop Effects

Comment the blacklist entry of the card in /usr/bin/compiz:
#T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965

Advanced Desktop Effects Settings utility:
sudo aptitude install compizconfig-settings-manager



Webcam Chicony:

lsusb:
Bus 007 Device 002: ID 04f2:b008 Chicony Electronics Co., Ltd
...

Get uvcvideo driver (better via package manager, or build it):
http://packages.debian.org/sid/amd64/linux-uvc-tools/download
or for 32 bit (http://packages.debian.org/sid/i386/linux-uvc-tools/download)

Add uvcvideo at the end of your /etc/modules file.

Reboot (or perform sudo modprobe uvcvideo to load the module), and test it with:





Flash for 64 bit:

Use this package (works, at your own risk, not official):
flashplugin-nonfree_9.0.115.0ubuntu2_amd64.deb
Or build it:
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/9.0.115.0ubuntu2
Bug report:
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/173890




Bluetooth

Need the omnibook kernel module build or get here as described here:

http://www.itopen.it/2007/11/22/ubuntu-linux-toshiba-satellite-u300/



Tweaking

Avoid at startup (only for 64bit):
Loading, pease wait...
kinit: name_to_dev_t...
kinit: trying to resume from ...

kinit: No resume image, doing normal boot...
  1. Optain the UUID of your swap partition
    cat /etc/fstab | grep swap
  2. place the UUID in /etc/initramfs-tools/conf.d/resume after resume=
  3. sudo update-initramfs -u or sudo update-initramfs -u -k `uname -r`
Source

Sunday, 15 April 2007

Backup Script for Ubuntu/Debian

#
# Backup script
#
# Use this script at your own risk !!!
#
# author: zeekox
# license: free
#

if [ `whoami` != 'root' ]
then
echo ''
echo 'You must be root to execute this script.'
exit
fi

cd ~/recovery/

dir=`date +%d%b%y`

mkdir $dir

cd $dir

echo 'Make sure debconf-utils is installed...'
apt-get install debconf-utils
echo 'OK'

echo 'Optain package selections...'
dpkg --get-selections > pkgSel
echo 'OK'

echo 'Optain debconf selections...'
debconf-get-selections > debconfSel
echo 'OK'

echo 'Copying source listes...'
cp -r /etc/apt/sources.list* .
echo 'OK'

echo ''
echo 'Backup completed in '`pwd`