發表文章

目前顯示的是 4月, 2009的文章

Power cycling tool for suspend/hibernation/reboot

There are some tools for myself to doing the work and I do believe those tools are very helpful for you guys doing power cycling either suspend/hibernate/reboot. To obtain the tool on ubuntu: Download link is hosted on Launchpad: https://edge.launchpad.net/~jouston-huang/+archive/ppa/+files/fae-tools_0.9-2ubuntu1_lpia.deb Following also a way you can do to add my PPA: * Create a file in /etc/apt/sources.list.d/ call jouston-PPA * Put below two lines into it: deb http://ppa.launchpad.net/jouston-huang/ppa/ubuntu hardy main deb-src http://ppa.launchpad.net/jouston-huang/ppa/ubuntu hardy main * sudo apt-key adv --recv-keys BCE861C1 --keyserver keyserver.ubuntu.com * sudo aptitude update * sudo aptitude install fae-tools In this version of s5_reboot you will need to make the system start run my script by doing this in the target unit: * cp /usr/local/doc/s5_reboot.desktop Please logout and login again to start the reboot testing. So far, the BIOS 1.20 passed 300 cycle and 1.20.1 is running

Show off: Happy Hacking Keyboard Professional 2 + Pcally Q-Ball

圖片
這次去日本國,理所當然的跑了一趟秋葉原(Akihabara),這是一個比起光華商場更先進10年而且規模超龐大的地方。 我心目中全世界最好的鍵盤,就只有這裡可以實際試試看它的手感,撫摸它。然後帶它回家。 結果就是,除了夢幻逸品PCally QBall,我的桌面上現在多了一隻HHKB pro2。 如果你還不知道這隻鍵盤,請參考以下說明: 新PD-KB400B(黑體同刻印,英文印刷),日本售價24800日圓。 對,我想你沒有看錯。這是一把很高貴、很高貴的逸品級鍵盤。鍵盤玩家心目中逸品中的逸品,2006年底已經停產,限定日本販售,除非你現在飛去日本或是請日本親友購買,未來再也買不到。 這隻鍵盤採用靜電無接點的鍵,剛好45克的敲擊壓力允許你長時間使用鍵盤卻不會疲勞,而且它極為耐久,可以耐敲擊3000萬次以上。鍵帽也提供極高的質感。 鍵盤的高度有三段式調整,可以適應絕大部分的使用模式。內建usb hub允許你接取指標裝置或是另外的usb裝置。採用Sun Type3鍵盤排列加上極小化的Layout(60key)達成只有A4一半的桌面體積,重量也只有530克。可以客製化部份按鍵,可以適應你的習慣。 支援Linux, Windows, Dos和Mac OSX。 PFU提供6個月保固,含購買原發票,鍵盤有問題你可以隨時送回去修理。PFU為Fujitsu的子公司,提供極高品質的日式售後服務。 這絕對不是一隻電競鍵盤,它是一隻programmer的超高品質鍵盤。如果你有大量輸入數字的需求,建議配合外接數字鍵盤使用。 原廠網站(網站目前只有販賣採用薄膜設計的Lite2了。) http://www.pfusystems.com/hhkeyboard/hhkeyboard.html FAQ: http://www.pfusystems.com/hhkeyboard/support.html 照片可參考友站: http://www.mobile01.com/topicdet ... 10&last=7868978 日本販售價格參考: http://www.geekstuff4u.com/happy-hacking-keyboard-pro-2.html Happy Hacking Keyboard系列: http://en.wikipedia.org/wiki/Happy_Hacking_

X200 WWAN ready

圖片
裝上Ubuntu Jaunty 9.04的ThinkPad X200要怎麼連上HSDPA(3.5G)網路呢? 啊就是裝上Ericsson 3507G,升級WWAN firmware之後就可以自然而然連上HSDPA network了。 有沒有這麼簡單啊?(最好是就這麼簡單...) 有興趣裝起來用的各位,還是認命的繼續看下去吧... 第一件事,我想要定義 Fn+F6 就是WAN的開關: 1. 在 /etc/acpi/events/ 裡面新增 ibm-wan 內容如下: # /etc/acpi/events/ibmwireless # This is called when the user presses the wireless button and calls # /etc/acpi/wireless.sh for further processing. event=ibm/hotkey HKEY 00000080 00001006 action=/etc/acpi/ibm-wan.sh 2. 在 /etc/acpi/ 新增 ibm-wan.sh #!/bin/sh test -f /usr/share/acpi-support/state-funcs || exit 0 # Find and toggle wireless of bluetooth devices on ThinkPads . /usr/share/acpi-support/state-funcs WAN=/proc/acpi/ibm/wan CONTROL_DEVICE=/dev/ttyACM1 GPS_DEVICE=/dev/ttyACM2 if [ -r $WAN ]; then grep -q disabled $WAN wan_state=$? fi # Note that this always alters the state of the wireless! toggleAllWirelessStates; # Sequence is Both on, Bluetooth only, Wireless only, Both off if ! isAnyWirelessPoweredOn; then # Wireless was turned off