New To Ubuntu

Saturday, March 13, 2010

9.10 Internal MIC on Sony FW

Did the following to make internal MIC work on my Sony FW

Edit the following line in /etc/modprobe.d/alsa-base.conf, added "model=auto"

options snd-hda-intel power_save=10 power_save_controller=N model=auto

Put the following commend as a start-up application. This will set internal MIC as recording input source.

amixer -q set 'Input Source',0 'Int Mic'

Saturday, March 07, 2009

Installed Linux Mint 6 for a change. The following changes are need to set up

1) Enable Scim.

http://dergrosseverraeter.blogspot.com/2008/09/linux-mint-scim.html

sudo apt-get install language-support-input-zh language-support-fonts-zh
sudo apt-get install scim-bridge-client-gtk
im-switch -z en_US.UTF-8 -s scim-bridge

2) Prevent wifi from dieing after resume from suspend

create a file /etc/pm/config.d/madwifi containing the single line:

SUSPEND_MODULES=ath_pci

3) Prevent nvidia card from dieing after resume from suspend, add the following to /etc/X11/xorg.conf, device section

Option "UseDisplayDevice" "DFP"

Option "NvAGP" "1"

Tuesday, November 25, 2008

More Option for Nvidia Driver

http://www.nvnews.net/vbulletin/showthread.php?t=115916

This gives a solution for slow performance. Add the following to xorg.conf

Option "OnDemandVBlankInterrupts" "True"

Saturday, November 01, 2008

8.10

Upgrade to 8.10 caused wireless network to fail after resume from standby. The following link gives a solution

http://ubuntuforums.org/showthread.php?p=6077149

"Wireless doesn't work after suspend with ath_pci driver



Wireless devices that use the ath_pci kernel driver, such as the
Atheros AR5212 wireless card, will be unable to connect to the network
after using suspend and resume. To work around this issue, users can
create a file /etc/pm/config.d/madwifi containing the single line:



SUSPEND_MODULES=ath_pci



This will cause the module to be unloaded before suspend and reloaded on resume. "

Sunday, April 27, 2008

Add Cpan's Finance::Quote


First install Cpan:

These apt-get commands were required
  • sudo apt-get install libssl-dev #this package is required by Crypt::SSLeay
  • sudo apt-get install lynx
  • sudo apt-get install ncftp
Then you just run
  • cpan
To install Finance::Quote just type

install Finance::Quote

Monday, April 21, 2008

I decided to wipe my hard drive clean and install Ubuntu 8.04.

My first installed Ubuntu 6.10 on my notebook on Nov 2006. It replaced my Gentoo linux, which was just a toy for me at that time. It was duel boot with Windows XP.

I upgraded from 6.10 to 7.04. When 7.10 came out, I wiped out Windows XP, and Ubuntu became the only OS for me.

The 8.04 installation is not as smooth as I expected. It took a long time for the live CD to boot up. It seems it waited a long time to read floppy drive, which does not exist. The first try of disk partition failed, I had to reboot the computer to do it again.

On the good side, my SD card reader start to work again. It was functional on 6.10, stopped working for 7.04 and 7.10.

It also correctly found the legacy driver for my aging Nvidia graphic card. However, some tweaking are still needed 1) to prevent the black screen, and 2) to make it possible to resume from suspend/hibernation. That is, add the following to /etc/X11/xorg.conf:

Option "NvAG" "1" # add this to make it possible to resume from suspend/hibernation
Option "UseDisplayDevice" "DFP" #add this to prevent black screen

So the Device section of xorg.conf is like this:

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"


Busid "PCI:1:0:0"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "UseDisplayDevice" "DFP"

Option "NvAGP" "1"

EndSection

8.04 requires much less tweaking than previous versions. SCIM just works. I didn't do any thing to make Chinese web pages to look right.

Labels:

Saturday, October 27, 2007

Black Screen for Nvidia GeForce 420

According this post http://ubuntuforums.org/showthread.php?t=417188
Add the following to /etc/X11/xorg.conf

Option "UseDisplayDevice" "DFP" or
Option "UseDisplayDevice" "DFP-0"

Mine looks like this after editing:

Section "Device"
Identifier "nVidia Corporation NV17 [GeForce4 420 Go]"
Driver "nvidia"
# Driver "nv"
Busid "PCI:1:0:0"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "UseDisplayDevice" "DFP"
Option "NoLogo" "True"
EndSection