Tuesday, November 30, 2010

This is is a memorandum for installing ubuntu 10.04 to my new sony vpcs13s9c laptop

1. Sony笔记本安装过程黑屏问题

SONY VPCS一台,ubuntu安装ISO,液晶显示器一部

1). 笔记本连上液晶显示器,安装ubuntu至成功

2). 进入ubuntu,安装nvidia驱动,可以通过system/Administration/Hardware Drivers直接找驱动安装(安装完毕会在/etc/X11下生成xorg.conf文件)

3). 笔记本进入win7系统,下载软件 Phoenix EDID Designer (http://www.tucows.com/preview/329441), 运行后选择菜单(tools->extract....), 选择 sny开头的那个,确定后显示相关信息,选择file->export-> 保存为SNY .raw(名字任意,下面xorg.conf保持一致).

4). 进入ubuntu系统,把SNY.raw拷贝到 /etc/X11/ 下

5). sudo gedit /etc/X11/xorg.conf

在“Device”字段中添加如下两行:

Option "ConnectedMonitor" "DFP-0"

Option "CustomEDID" "DFP-0:/etc/X11/SNY.raw"

6). 重启ubuntu,进入后正常,不过开机画面很难看!

2. 声音的问题

需要升级Alsa 到1.0.23版本,(10.04 默认为alsa 1.0.21版本)

To do this, we must begin by determining our version of alsa as follows :

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.


To avoid problems during the upgrade of Alsa-utils, we need to stop it with the following command :

sudo /sbin/alsa-utils stop

We must then install the necessary tools to compile along with the kernel headers :
sudo apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev
sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev


Then, we go in our personal folder and download alsa-driver, alsa-lib and alsa-utils :

cd ~
rm -rf ~/alsa* ~/.pulse*
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.tar.bz2


After that, we create a new folder for the compilation and installation of the 3 files. Then, we move the 3 tar files that we just downloaded in this folder :

sudo rm -rf /usr/src/alsa
sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/alsa* .


Unpack the 3 tar files :

sudo tar xjf alsa-driver*
sudo tar xjf alsa-lib*
sudo tar xjf alsa-utils*


We compile and install alsa-driver :

cd alsa-driver*
sudo ./configure
sudo make
sudo make install


We compile and install alsa-lib :

cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install


We compile and install alsa-utils :

cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install


Then, we remove the 3 tar files in our personal folder that are not anymore necessary :

rm -f ~/alsa-driver*
rm -f ~/alsa-lib*
rm -f ~/alsa-utils*


Then, just restart your computer and your alsa version should be 1.0.23!
You can verify that you have now indeed have this version of alsa :

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 2 2010 for kernel 2.6.32-21-generic (SMP).


Just to be sure everything is well configured, execute this command :

sudo alsaconf

and reboot again!

Reboot之后声卡表示满意,发出美妙的声音:).


3. 触摸板的问题

sudo gedit /etc/default/grub

添加 i8042.reset i8042.nomux i8042.nopnp i8042.noloop 到 GRUB_CMDLINE_LINUX="",添加完后应该是GRUB_CMDLINE_LINUX="i8042.reset i8042.nomux i8042.nopnp i8042.noloop"

sudo update-grub

Reboot

改动后触摸板表示满意,鼠标乱动了.

Sunday, January 10, 2010

Research groups and companies in silicon photonics

Companies

Companies R&D

Universities and institutes:

Europe
North America
Asia

Saturday, January 9, 2010

记事几则

1. 犹豫很长时间,终于出手DSLR。
2. 开学了
3. 看了Avatar,之后跟很多人推荐过
4. 作出来一道让自己比较满意的菜:白菜+豆腐皮炒肉丝
5. Hamilton终于下雪了,很有东北的感觉。

十年

很想写点什么纪念逝去的10年,但是又不知道从何说起。
2000年,新世纪的第一年,多有纪念意义的一年,完成了国内残酷的高考,从满怀希望踌躇满志到失落无助,那时的心境,现在还依稀记得。那个夏天,伴随着中国女足点球梦断洛杉矶,我的梦也断了。一本展开的《傲慢与偏见》见证了我当时的颓唐,直到现在,我对这段爱情故事的了解也停留在当初展开的那页。
2010年,新世纪的十年刚刚逝去,我窝在北美租住的house中,计划下周去public library借一本《傲慢与偏见》,不是为了知道故事的结局,而是想在专业之外,增加些英语词汇量。
2000年9月,我接受了事实,背上了行李,带着老爸老妈四处借来的几千块钱,一个人坐上西去的火车,奔向1000多公里之外的城市。长途火车让我兴奋,窗外的景色让我着迷。