[活動發起] OLPC Hack Meet-Up Day 1

13 views
Skip to first unread message

matli...@gmail.com

unread,
Jun 18, 2007, 3:56:24 PM6/18/07
to Hojia, OrzLab
= OLPC Hack Meet-Up Day 1 =

主網頁:http://wiki.tossug.org/OLPCHackMeetUp
討論區:http://groups.google.com/group/orzlab/

== 時間 ==

2007/6/28, Thu, 19:00~22:00

== 地點 ==
Mix Coffee & Tea, 台北市南昌路二段200號

== 發起人 ==
Mat <MatLinuxer2 at gmail dot com>

== 活動宗旨 ==

國際知名的 OLPC (One Latop Per Child,百元電腦)計劃正在進行,
硬體製造的業務也由國內的廣達代工。
然而國內社群對 OLPC 相關的知識並不多,軟體方面也參與的很少。
因此希望能藉著發起這個活動,引介自由軟體愛好者實際參與 OLPC 的軟體開發,
同時能互相交流軟體開發的經驗和心得,並以開放的方式回饋給 OLPC
計劃與自由軟體社群。

== 活動目標 ==

在目標的選定上,我們希望能以一個近程目標來秀出我們的特有的特色軟體。
於是我們選定開放的 BBS 軟體 PCMan 作為目標,
同時也希望能在實作過程中,找出 OLPC 的中文支援的方法。

* 將 PCManX 放進 OLPC 上執行,並符合Sugar OS 的應用程式風格。
* 實作 glibc locale + Fontconfig data + TTF + SCIM 以提供中文顯示、輸入環境。

== 活動流程 ==

19:00 - 19:40 介紹:兩個talk,每個talk約莫20~30分鐘
19:40 - 21:30 實作:熱血時間
21:30 - 22:00 展示:經驗分享時間

== 進行方式 ==

1. 實作以小組為單位
2. 一個小組可以作一個或多個主題
3. 每個小組盡量能有一個技術指導

=== 參加方式 ===
[http://wiki.tossug.org/MixCoffee%26Tea Mix Coffee & Tea]的最低消費自付。
參加討論的朋友,請先到下面的wiki報名頁最下面,填寫。
http://wiki.tossug.org/OLPCHackMeetUp
請[http://wiki.tossug.org/OLPCHackMeetUp?action=edit 按這裡編輯報名頁],以方便預留座位。
或可至 OrzLab 的[http://groups.google.com/group/orzlab/ 討論群組]:
http://groups.google.com/group/orzlab/
參與活動相關的討論。

== OLPC 現況介紹 ==

軟體結構:
1. Linux-based system.
2. X11-based, 以GTK+ 為主要的視窗程式架構
3. Python script env, 以 Python 為主的執行啟動環境

I18N環境:
1. 只有 i18n 基本架構的殼子
2. 缺乏字型
3. 缺乏輸入法環境

中文應用的整合方式:
在 i18n 的環境還不夠完整的情況下實作中文支援,
或許可以直接灌入 Fontconfig 的程式和檔案,並設置字型、SCIM輸入法相關的程式,
以達到簡易可用的中文顯示和輸入的功能。

== 主題 & Talk ==

1. 基本的 OLPC 軟體模擬環境 with QEMU
2. OLPC 的網路環境模擬設定
3. glibc locale + Fontconfig data + TTF 的中文顯示建置
4. SCIM 輸入法程式建置
5. PCManX with Sugar OS system ( Python-based )


== 參考網頁 ==

OLPC 的軟體開發設定:
http://wiki.laptop.org/go/os_images_for_emulation

OrzLab QEMU 讀書會討論串:
http://groups.google.com/group/orzlab/browse_thread/thread/7824c303f44e8136

Yuan Chao

unread,
Jun 19, 2007, 4:00:50 AM6/19/07
to Open RazzmatazZ Laboratory (OrzLab)
On Jun 18, 9:56 pm, matlinux...@gmail.com wrote:

> 中文應用的整合方式:
> 在 i18n 的環境還不夠完整的情況下實作中文支援,
小弟挺好奇的一點,OLPC的特殊螢幕顯示模式,對中文字型的顯示有甚麼影響?

> 或許可以直接灌入 Fontconfig 的程式和檔案,並設置字型、SCIM輸入法相關的程式,

用SCIM的話,之前有遇到這個問題,不曉得有沒有辦法順便修掉?小弟測試過GCIN跟OXIM都沒有這樣子的問題,
對於也是追求低耗電量的OLPC來說,應該也是相當重要的。

-----quoted mail-----

Delivered-To: yuan...@gmail.com
Received: by 10.100.6.19 with SMTP id 19cs127654anf;
Thu, 31 May 2007 05:23:02 -0700 (PDT)
Received: by 10.114.111.1 with SMTP id j1mr597245wac.1180614182228;
Thu, 31 May 2007 05:23:02 -0700 (PDT)
Received: by 10.115.58.15 with HTTP; Thu, 31 May 2007 05:23:02 -0700
(PDT)
Message-ID:
<273b91980705310523m6ca...@mail.gmail.com>
Date: Thu, 31 May 2007 14:23:02 +0200
From: "Benjamin Pineau" <ben.p...@gmail.com>
To: yuan...@gmail.com
Subject: Asking for help: PowerTOP and SCIM ressources usage
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_22099_23773259.1180614182191"

------=_Part_22099_23773259.1180614182191
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
I contact you since you are the PowerTOP zh translator, so I think
you may be using a Linux input method, maybe SCIM. Hope that's
ok for you.

I noticed that some SCIM core components (not languages IME engines
or plugins) are waking up the CPU 13 or 14 times per second :one
process,
scim-launcher, does a constant 10 wps, the other, scim-panel-gtk does
3 to 4 wps in my environment (Gnome on Ubuntu Feisty, with a Japanese
Input Method configured). So it drains a lot of battery, on laptops.

I've reported the problem on the scim-devel mailing-list, with no
reply
so far:
http://www.nabble.com/scim-launcher-select%28%29-shorts-timeouts-causes-too-much-CPU-wakeups-tf3821939s16577.html

But I want to investigate this problem further, since if it also
affects
others
(than mine) Linux setups, that should be an offender for many many
Asians
Linux users (SCIM being the default input method in Ubuntu and
Fedora, ...
I don't know for Red Flag/Asianux or United Linux).

So here is my question : do you see the same things on your (I guess,
Chinese ?) Linux setup ? If so, what is your environment (Linux
distribution
and scim configuration) ?
30,7% ( 10,0) scim-launcher : schedule_timeout (process_timeout)
11,0% ( 3,6) scim-panel-gtk : schedule_timeout
(process_timeout)

Thank you,
Benjamin Pineau

------=_Part_22099_23773259.1180614182191
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,<br>I contact you since you are the PowerTOP zh translator, so I
think <br>you may be using a Linux input method, maybe SCIM. Hope
that&#39;s<br>ok for you.<br><br>I noticed that some SCIM core
components (not languages IME engines
<br>or plugins) are waking up the CPU 13 or 14 times per second :one
process, <br>scim-launcher, does a constant 10 wps, the other, scim-
panel-gtk does <br>3 to 4 wps in my environment (Gnome on Ubuntu
Feisty, with a Japanese
<br>Input Method configured). So it drains a lot of battery, on
laptops.<br><br>
I&#39;ve reported the problem on the scim-devel mailing-list, with no
reply<br>
so far: <br>
<a href="http://www.nabble.com/scim-launcher-select%28%29-shorts-
timeouts-causes-too-much-CPU-wakeups-tf3821939s16577.html">http://
www.nabble.com/scim-launcher-select%28%29-shorts-timeouts-causes-too-much-CPU-wakeups-tf3821939s16577.html
</a><br><br>But I want to investigate this problem further, since if
it also affects others<br>(than mine) Linux setups, that should be an
offender for many many Asians <br>Linux users (SCIM being the default
input method in Ubuntu and Fedora, ...
<br>I don&#39;t know for Red Flag/Asianux or United Linux).<br><br>So
here is my question : do you see the same things on your (I
guess,<br>Chinese ?) Linux setup ? If so, what is your environment
(Linux distribution<br>and scim configuration) ?
<br>&nbsp; 30,7% ( 10,0)&nbsp;&nbsp;&nbsp;&nbsp; scim-launcher :
schedule_timeout (process_timeout)<br>&nbsp; 11,0% (&nbsp;
3,6)&nbsp;&nbsp;&nbsp;&nbsp; scim-panel-gtk : schedule_timeout
(process_timeout)<br><br>Thank you,<br>Benjamin Pineau<br>

------=_Part_22099_23773259.1180614182191--

Mat

unread,
Jun 19, 2007, 10:25:06 PM6/19/07
to Open RazzmatazZ Laboratory (OrzLab)
沒想到輸入法也會這樣子影響到省電的效率。
小小一個select被塞進while loop就會造成這樣的結果,
看來是個不錯的經驗,thanks.

移稙gcin, oxim到OLPC上聽起來也是不錯的點子說

On 6月19日, 下午4時00分, Yuan Chao <yuanc...@gmail.com> wrote:
> On Jun 18, 9:56 pm, matlinux...@gmail.com wrote:
>
> > 中文應用的整合方式:
> > 在 i18n 的環境還不夠完整的情況下實作中文支援,
>
> 小弟挺好奇的一點,OLPC的特殊螢幕顯示模式,對中文字型的顯示有甚麼影響?
>
> > 或許可以直接灌入 Fontconfig 的程式和檔案,並設置字型、SCIM輸入法相關的程式,
>
> 用SCIM的話,之前有遇到這個問題,不曉得有沒有辦法順便修掉?小弟測試過GCIN跟OXIM都沒有這樣子的問題,
> 對於也是追求低耗電量的OLPC來說,應該也是相當重要的。
>
> -----quoted mail-----
>

> Delivered-To: yuanc...@gmail.com


> Received: by 10.100.6.19 with SMTP id 19cs127654anf;
> Thu, 31 May 2007 05:23:02 -0700 (PDT)
> Received: by 10.114.111.1 with SMTP id j1mr597245wac.1180614182228;
> Thu, 31 May 2007 05:23:02 -0700 (PDT)
> Received: by 10.115.58.15 with HTTP; Thu, 31 May 2007 05:23:02 -0700
> (PDT)
> Message-ID:

> <273b91980705310523m6ca60995leb739f900290c...@mail.gmail.com>


> Date: Thu, 31 May 2007 14:23:02 +0200

> From: "Benjamin Pineau" <ben.pin...@gmail.com>
> To: yuanc...@gmail.com


> Subject: Asking for help: PowerTOP and SCIM ressources usage
> MIME-Version: 1.0
> Content-Type: multipart/alternative;
> boundary="----=_Part_22099_23773259.1180614182191"
>
> ------=_Part_22099_23773259.1180614182191
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> Hi,
> I contact you since you are the PowerTOP zh translator, so I think
> you may be using a Linux input method, maybe SCIM. Hope that's
> ok for you.
>
> I noticed that some SCIM core components (not languages IME engines
> or plugins) are waking up the CPU 13 or 14 times per second :one
> process,
> scim-launcher, does a constant 10 wps, the other, scim-panel-gtk does
> 3 to 4 wps in my environment (Gnome on Ubuntu Feisty, with a Japanese
> Input Method configured). So it drains a lot of battery, on laptops.
>
> I've reported the problem on the scim-devel mailing-list, with no
> reply

> so far:http://www.nabble.com/scim-launcher-select%28%29-shorts-timeouts-caus...

> timeouts-causes-too-much-CPU-wakeups-tf3821939s16577.html">http://www.nabble.com/scim-launcher-select%28%29-shorts-timeouts-causes-too-...

lxb

unread,
Jun 19, 2007, 11:22:09 PM6/19/07
to Open RazzmatazZ Laboratory (OrzLab)
由於沒辦法弄到 OLPC ﹐可否幫手試試 FireFox 加上 ajaxime 的可行性、耗能情況?

我所指的 ajaxime 分開兩個﹐一個是自家開發的繁體中文輸入系統 gownfull﹐測試頁在
http://ihome.cuhk.edu.hk/~s057485/old/

另一個是 JSVK ﹐有繁體中文以外大量語言的 keyboard layout ﹐測試頁在
http://debugger.ru/demo/projects/virtualkeyboard/demo_inline.html

jserv

unread,
Jun 19, 2007, 11:59:46 PM6/19/07
to Open RazzmatazZ Laboratory (OrzLab)
On 6月19日, 上午3時56分, matlinux...@gmail.com wrote:
> = OLPC Hack Meet-Up Day 1 =
>
> 主網頁:http://wiki.tossug.org/OLPCHackMeetUp
> 討論區:http://groups.google.com/group/orzlab/

以下整理稍早在 IRC 的討論。

在 Hack Meet-Up Day 之前,我們得準備好:
1. 相關的 package (source, data, font) mirror
2. glibc locale data & Xi18n hack (zh_TW ready)
3. OLPC src.rpm / svn repository
4. Development tool & reference manual
5. 參考的軟硬體組態 (需要與會者事先準備)

待解決的技術議題:
1. GTK+ IM module support for OLPC
2. CJKUnifont support for OLPC
3. Sugar UI integration

小弟認領的項目是 "GTK+ IM module support for OLPC" 與 SCIM/oxim porting,也請 Mat 稍
後整理一下 Task 分派。我們這些 hacking 應該可對 OLPC 帶予正面的價值,希望有機會能整合到 upstream。

Regards,
-jserv

matli...@gmail.com

unread,
Jun 20, 2007, 4:40:40 AM6/20/07
to orz...@googlegroups.com
On Wed, Jun 20, 2007 at 03:59:46AM -0000, jserv wrote:
> On 6月19日, 上午3時56分, matlinux...@gmail.com wrote:
> > = OLPC Hack Meet-Up Day 1 =
> >
> > 主網頁:http://wiki.tossug.org/OLPCHackMeetUp
> > 討論區:http://groups.google.com/group/orzlab/
>
> 以下整理稍早在 IRC 的討論。
>
> 在 Hack Meet-Up Day 之前,我們得準備好:
> 1. 相關的 package (source, data, font) mirror
> 2. glibc locale data & Xi18n hack (zh_TW ready)
> 3. OLPC src.rpm / svn repository
> 4. Development tool & reference manual
> 5. 參考的軟硬體組態 (需要與會者事先準備)
我今天晚上會把PCManX on OLPC with QEMU的作法放到網頁上。
然後再順便開一些相關的討論wiki頁面,累積相關的知識。

>
> 待解決的技術議題:
> 1. GTK+ IM module support for OLPC
> 2. CJKUnifont support for OLPC
> 3. Sugar UI integration
>
> 小弟認領的項目是 "GTK+ IM module support for OLPC" 與 SCIM/oxim porting,也請 Mat 稍
> 後整理一下 Task 分派。我們這些 hacking 應該可對 OLPC 帶予正面的價值,希望有機會能整合到 upstream。
>

小弟參加 Sugar UI integration的技術項目的協助。

歡迎有興趣的朋友提出相關的proposal和認領&參加各個主題。

> Regards,
> -jserv
>
> >

jserv

unread,
Jun 20, 2007, 5:52:38 AM6/20/07
to Open RazzmatazZ Laboratory (OrzLab)
On 6月20日, 下午4時40分, matlinux...@gmail.com wrote:
> On Wed, Jun 20, 2007 at 03:59:46AM -0000, jserv wrote:
> > 在 Hack Meet-Up Day 之前,我們得準備好:
[...]

> > 4. Development tool & reference manual
> > 5. 參考的軟硬體組態 (需要與會者事先準備)
>
> 我今天晚上會把PCManX on OLPC with QEMU的作法放到網頁上。
> 然後再順便開一些相關的討論wiki頁面,累積相關的知識。

Dear Mat,

Great! 我想需先確認 ssh/scp/sshfs 的運作情況,以及 NFS mount 的穩定性。另外,還要先打包 binary
development packages (Debian friendly preferable)。

Thanks,
-jserv

Mat

unread,
Jun 20, 2007, 4:44:32 PM6/20/07
to Open RazzmatazZ Laboratory (OrzLab)
Dear all:
我寫了一個簡單的範例介紹如何試用OLPC
http://orzlab.blogspot.com/2007/06/olpc-hello-world.html

另外開了一個wiki頁面,可以把討論好的結論整理一下。
http://wiki.tossug.org/OLPCHackingHowto

此外,我在報名頁面新增了討論小組。
參加的人可以選一個最有興趣的小組參加。

sincerely, Mat.

Mat

unread,
Jun 21, 2007, 5:53:25 AM6/21/07
to Open RazzmatazZ Laboratory (OrzLab)
賀,GCIN在OLPC上有不錯的進展

http://moto.debian.org.tw/viewtopic.php?p=55034#55034
http://cle.linux.org.tw/trac/wiki/GcinScreenOLPC

On 6月21日, 上午4時44分, Mat <MatLinux...@gmail.com> wrote:
> Dear all:
> 我寫了一個簡單的範例介紹如何試用OLPChttp://orzlab.blogspot.com/2007/06/olpc-hello-world.html

jserv

unread,
Jun 21, 2007, 11:23:55 AM6/21/07
to Open RazzmatazZ Laboratory (OrzLab)
On Jun 21, 5:53 pm, Mat <MatLinux...@gmail.com> wrote:
> 賀,GCIN在OLPC上有不錯的進展
>
> http://moto.debian.org.tw/viewtopic.php?p=55034
> http://cle.linux.org.tw/trac/wiki/GcinScreenOLPC

補充:
. Inputmethod without locale mini-HOWTO
http://cle.linux.org.tw/trac/wiki/GcinPurgeLocales

. OLPC 中文輸入輕鬆實現!
http://moto.debian.org.tw/viewtopic.php?p=55037

. 多國語言支援的圖形化kboot
http://orzlab.blogspot.com/2007/06/kboot_20.html

看來當天還有許多可 hack 的項目 :-)

Best Regards,
-jserv

Mat

unread,
Jun 25, 2007, 3:53:32 AM6/25/07
to Open RazzmatazZ Laboratory (OrzLab)
lxb:
sure, ajaxime很酷,一定會試一試。

http://debugger.ru/demo/projects/virtualkeyboard/demo_inline.html
這個連結是空的,網頁已經拿掉了嗎?
我是用firefox開的。

sincerely, Mat.

On 6月20日, 上午11時22分, lxb <benc...@gmail.com> wrote:
> 由於沒辦法弄到 OLPC ﹐可否幫手試試 FireFox 加上 ajaxime 的可行性、耗能情況?
>

> 我所指的 ajaxime 分開兩個﹐一個是自家開發的繁體中文輸入系統 gownfull﹐測試頁在http://ihome.cuhk.edu.hk/~s057485/old/
>
> 另一個是 JSVK ﹐有繁體中文以外大量語言的 keyboard layout ﹐測試頁在http://debugger.ru/demo/projects/virtualkeyboard/demo_inline.html

Mat

unread,
Jun 25, 2007, 6:34:38 AM6/25/07
to Open RazzmatazZ Laboratory (OrzLab)
註,
新增多項軟硬體參考資料至
http://wiki.tossug.org/OLPCHackingHowto

sincerely, Mat.

On 6月21日, 下午11時23分, jserv <jserv...@gmail.com> wrote:
> On Jun 21, 5:53 pm, Mat <MatLinux...@gmail.com> wrote:
>
> > 賀,GCIN在OLPC上有不錯的進展
>
> >http://moto.debian.org.tw/viewtopic.php?p=55034
> >http://cle.linux.org.tw/trac/wiki/GcinScreenOLPC
>
> 補充:

> . Inputmethod without locale mini-HOWTOhttp://cle.linux.org.tw/trac/wiki/GcinPurgeLocales


>
> . OLPC 中文輸入輕鬆實現!http://moto.debian.org.tw/viewtopic.php?p=55037
>

> . 多國語言支援的圖形化kboothttp://orzlab.blogspot.com/2007/06/kboot_20.html

lxb

unread,
Jun 25, 2007, 11:52:14 PM6/25/07
to Open RazzmatazZ Laboratory (OrzLab)
Mat﹐我猜是 Ilya 在俄國的伺服器有做 access control ﹐要是你的系統沒有某些 codepage 就不給你顯示出來。
我下載了 demo pack ﹐把 access control 解掉﹐你試試從我的 server 看看這個陽春版本 :

http://www.bencrox.info/test/vkdemo/demo_inline.html

matli...@gmail.com

unread,
Jun 25, 2007, 11:55:53 PM6/25/07
to orz...@googlegroups.com
沒錯,現在可以用了:-)

晚上來試試看!

Mat

unread,
Jun 26, 2007, 12:13:57 PM6/26/07
to Open RazzmatazZ Laboratory (OrzLab)
Andrew 建議我們盡快和 OLPC 聯絡,讓成果能夠推出去。

http://wiki.laptop.org/go/IRC

我已經先到FreeNode上的 #olpc, #sugar, #olpc-zh 逛逛。
發現#olpc-zh還沒有人在內,可見參與的人不多。
關於 OLPC 的朋友們,讓我們相約 #olpc-zh 吧~

Mat

unread,
Jun 26, 2007, 12:18:06 PM6/26/07
to Open RazzmatazZ Laboratory (OrzLab)
ajaxime可以用,內建的Browser就是gecko engine的。
只是沒有中文字型。

On 6月26日, 上午11時55分, matlinux...@gmail.com wrote:

jserv

unread,
Jun 29, 2007, 11:24:13 PM6/29/07
to Open RazzmatazZ Laboratory (OrzLab)
On 6月19日, 上午3時56分, matlinux...@gmail.com wrote:
> = OLPC Hack Meet-Up Day 1 =
>
> 主網頁:http://wiki.tossug.org/OLPCHackMeetUp
> 討論區:http://groups.google.com/group/orzlab/

Dear all,

Mat 整理了活動心得與花絮,請參考:
http://orzlab.blogspot.com/2007/06/olpc-hacking-meet-up.html

Thanks,
-jserv

Yuan Chao

unread,
Jul 22, 2007, 9:54:53 AM7/22/07
to Open RazzmatazZ Laboratory (OrzLab)
On Jun 30, 5:24 am, jserv <jserv...@gmail.com> wrote:

> Mat 整理了活動心得與花絮,請參考:
> http://orzlab.blogspot.com/2007/06/olpc-hacking-meet-up.html

最近也拿到XO BTest-4樣機。發現果然點陣字並不會比較好看。
http://wiki.tossug.org/OLPCinChinese
而且瀏覽器顯示中文奇慢無比,在猜不會又是用Cairo繪字的問題吧?


Regards,
Yuan Chao

Reply all
Reply to author
Forward
0 new messages