【硬體】Port 80 card


PCIe debug card(port 80),台灣很難找到,不過對岸倒是看到一家

圓點博士 http://www.etootle.com/product/debug-card.html

三泰也有出,不過不確定是不是用 usb 去拉的。如果不能在DOS下使用那可能也沒用。

ECS1400 http://www.sunix.com.tw/cc/ch/class_b.php?class_a_id=36&class_b_id=96

【軟體】NetHogs


相對於 iftop,這一套軟體是用來監控每個程序所用的頻寬。還沒用過,收起來先。

NetHogs http://nethogs.sourceforge.net/

【英文】When/While/As 差別


參考下面文章,所以When常用在問句。 As和While的差別還要再研究。

英文專題討論:When, While, As 三者有何差別?(觀念篇)
http://english.ecominfozone.net/archives/1204

【英語】ERA News 20091111


  1. register
    The car was registered in Taipei.
  2. rage
    He went purple with rage.
  3. self help association
    Protesters formed a self help association.
  4. shredded pork
    Snail eggs taste like sharedded pork.
  5. tote bag; clutch bag(手拿包)
  6. offer a hand/assist
    She is willing to offer a hand.
    She is willing to assist.

【工具】短網址服務


把超長的連結變成短網址,現在年輕人很愛用。

http://0rz.tw/

【軟體】nginx


nginx 是一套輕巧型的 webserver。有空可以和lighttpd比對看看。

【官網】

【英語】ERA News 20091110


  1. vaccine/vaccinate
    He was vaccinated.
  2. custard apple/fruit Shakya/Budda’s Head
  3. year-end dinner party/year-end banquet for employees
  4. caprice
  5. motiration
    What’s his motiration for this bussiness?

【美食】Tajine


一個朋友最近要去摩洛哥。記得之前看Discover有看過他們有一套傳統料理/容器叫Tajine。看的我口水直流,所以請他吃看看好不好吃。

【參考】

【硬體】EETI Touch Screen


【目的】
  • 驅動 EETI Touch Screen。
【原理】
  • 連接方式:透過Usb連接,傳入x,y position給 controller。
  • 傳輸方式:Usb共有四種傳輸方式(Bulk/Control/Interrupt/Iso)。這個裝置和滑鼠鍵盤一樣是利用中斷(Interrupt)方式。
【相關資料】
  • 元件的VID/PID:0eef/4800
【Linux下面的資料】
    T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
    D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
    P: Vendor=0eef ProdID=4800 Rev= 2.00
    S: Manufacturer=eGalax Inc.
    S: Product=USB TouchController
    C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
    I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
    E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
 
【傳回資料 MSB,LSB】
  • x position: buf[3,2]
  • y position: buf[5,4]
  • (x,y * pixel deep)/ 0xfff
【參考】
  • Linux2.6.25/drivers/input/touchscreen/usbtouchscreen.c/usbtouch_process_pkt()
【Linux下面的驅動方式參考]
【多點觸控】
  • 廠商有提供在Linux下的soluction。
  • 還需研究,目前只有廠商的.a(static library)檔,沒有source code for porting。或許可以參考Linux kernel function/usbtouch_process_multi()。
【參考】
Multi-Point Touch Panel Driver

【C】function point


有的code會把function point放在 struct裡面。

【宣告方式】
參考 usbtouch_device_info,其中的 read_date 和 init 就是使用 function point。

【更多資料】

 

Ed32. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com