星期四 十二月 25, 2008

How to do screencast in OpenSolaris


I always want to show some cool stuff to my friends in OpenSolaris, so I need badly to record the screen.


Check out here : http://code.google.com/p/recordmysolaris/


This tool can help you to record the screen. But it doesn't have the " Finish" Button, I work around this with command " pfexec pkill recordmysolaris " .

Another problems is that this tool requires OSS audio driver. So you need to remove the original driver and install OSS.


使用这个工具可以方便的在OpenSolaris进行屏幕录制。唯一的缺陷是没有停止的按钮或快捷键,至少我没找到。所以每次我都使用如下命令进行停止: pkill recordmysolaris。这个工具有个毛病,它需要用 OSS声卡驱动。所以必须先卸载原有的驱动,装上OSS.

星期三 十一月 05, 2008

Music Player in OpenSolaris

Due to liscense issue,Rhythmbox doesn't work very well in OpenSolaris,it can not play .mp3 defaultly.
You just need a library for it. Here is how I fix it.
1. download the library : https://shop.fluendo.com/

2. copy the library to another folder.
-----------------------------------------
cp libgstflump3dec.so /usr/lib/gstreamer-0.10/
-------------------------------------------------
3. Test if it works now. enjoy

How to fix the Audio Driver Problem in OpenSolaris

After I install the latest OpenSolaris snv_100, my audio doesn't work,although it appears that it has a driver.But it doesn't work!!!!!!!!!
Here is how I fix this problem.
1. Download the OSS package (http://www.opensound.com/solaris.html)
2. Remove the original audio driver:
-------------------------------------------------
root@sun_ricky:~# modinfo | grep aud
168 fffffffff80f4ca0  29b18 261   1  hdaudio (OSS 4.0 (b1016/200806171344))
216 fffffffff8364000   3a18 242   1  lx_audio (linux audio driver)
225 fffffffff855d000   3988   -   1  audiosup (Audio Device Support %I%)
---------------------------------------------------
Suppose your audio driver name  is " hdaudio "
Input the following command to remove it.
-----------------------------------------------
root@sun_ricky:~# rem_drv hdaudio
-------------------------------------
3. Reboot
4. install OSS package.
--------------------------------
pkgadd -d ./oss-solaris-v4.0-1016-i386.pkg
----------------------------------
5. Test it! Enjoy your music

星期四 十月 16, 2008

Where is ZFS snapshot in OpenSolaris snv_99

When I upgrade my OpenSolaris(Actually,I reinstall it) to svn_99,I found that the command : " zfs list" doens't show the snapshots .
----------------------------------------------------------
root@opensolaris:~# zfs list
NAME                      USED  AVAIL  REFER  MOUNTPOINT
rpool                    12.2G  49.3G  46.5K  /rpool
rpool/ROOT               10.2G  49.3G    18K  legacy
rpool/ROOT/opensolaris   10.2G  49.3G  9.74G  /
rpool/dump               1022M  49.3G  1022M  -
rpool/export              505K  49.3G    19K  /export
rpool/export/home         486K  49.3G    19K  /export/home
rpool/export/home/ricky   467K  49.3G   467K  /export/home/ricky
rpool/swap               1022M  50.3G    16K  -
-------------------------------------------------------------
You should use this one instead.
----------------------------------------------
root@opensolaris:~# zfs list -t snapshot
NAME                                     USED  AVAIL  REFER  MOUNTPOINT
rpool/ROOT/opensolaris@install           121M      -  2.74G  -
rpool/ROOT/opensolaris@08-10-16install   375M      -  5.58G  -
root@opensolaris:~#
----------------------------------------------------------
Enjoy,OpenSolaris sometime supprises you a little bit

星期五 八月 29, 2008

OpenSolaris下如何禁用触摸板(touchpad)

对于笔记本用户,OpenSolaris下正规的禁用触摸板(touchpad)方式,我还不知道。
前几天 Fang说,她在写邮件时,光标老是跳行,主要的原因是手总不小心会碰到触摸屏。
所以,问题解决方法就是把它给禁用。

方式如下:
第一步,查找 touchpad的模块加载信息,如下 。
bash-3.2# modinfo | grep mou
 60 fffffffff7970000   2e58  15   1  mntfs (mount information file system)
102 fffffffff7b1f4e0    c50 116   1  mouse8042 (PS/2 Mouse 1.48, 05/10/25)
103 fffffffff802e000   2408   -   1  vuid3ps2 (mouse events to vuid events)
120 fffffffff8072000   2e08   -   1  usbms (USB mouse streams 1.26)

这个是在查找内核模块的信息,其中第二行即为触摸屏的信息。其ID号为 102

第二步, 卸载 touchpad的模块,用 modunload命令(放心,是安全的,重新启动后,该模块又会自动加载)。如下

bash-3.2# modunload -i 102

如果想再启用 touchpad,只需重启就可以了。
如果万一系统没有自动加载该模块,放心,自己来。
bash-3.2# modload -p drv/mouse8042

About

Chengzu Zhou (Ricky), University Program Manager , OpenSolaris Community&Adoption Team

Search

Archives
« 四月 2014
星期日星期一星期二星期三星期四星期五星期六
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
今天