[English below]
我們很高興邀請到在消費性電子業界打滾多年的 Linux Hacker: Scott Tsai (蔡彰人)[1]
他是 FreedomHEC Taipei 2009 [2] 活動的籌辦人之一,本身也是硬底子的軟體工程師,平時多與國外的開發者直接交流,專長為 Device Drivers, Linux Kernel, ISO 13818, DVB, Set-Top Box, TV,如果有參加過 FreedomHEC Taipei 2009 的話就會知道那兩天之中來了許多國外重量級的 Linux Kernel 開發者,其中一天 Linux 的重量級開發者 Greg KH [3] 介紹了如何寫一個 USB 溫度計的驅動程式,有些與會者甚花了 TWD 1500 買了那隻 USB 溫度計,而 Scott 將在這次的心得分享當中,介紹如何用軟體去模擬那隻硬體的 USB 溫度計。
演講內容:
修改 QEMU 原始碼使其可以模擬 USB device 端,而非 USB host 端的 controller 硬體。例如當我們將手機透過 USB 接到電腦時,電腦是 USB host,手機是 USB device。做完此工作的用處是可以用模擬器,而不必用實際硬體進行 USB device protocol 開發。手機常支援但 Linux kernel 內 USB gadget driver 目前沒有實作的 device class 包括:
* 數位相機用的 media transfer protocol
* Android 自訂的存取 shell 與拷貝檔案用的 adb protocol
演講大綱:
* The QEMU emulator and its target market
* USB host and device support in QEMU
* Previous attempts at extending USB device support in QEMU
* The USB/IP project and protocol
* USB device controller hardware interface
* Connecting it all together
* What it takes to productize this work and merge it upstream
----------------------------------------------------------------------
報名網頁:http://registrano.com/events/455ec3
時間: 2010/01/19 星期二,分享時間 7:30pm 開始,6:30pm 開始入場
主題: QEMU USB Device Emulation Through USB/IP
主講人: Scott Tsai (蔡彰人)[1]
語言: 中文
地點: Mix Coffee & Tea ( http://www.tossug.org/mix-coffee-tea )
消費: 200元,含晚餐一份,到場付費,6:30pm 開始入場用餐、閒聊、認識新朋友,有名片的朋友記得帶到。
注意事項:有免費的無線上網,請別把 notebook 忘在家裡。
----------------------------------------------------------------------
[1] http://scottt.tw
[2] http://freedomhectaipei.pbworks.com
[3] http://en.wikipedia.org/wiki/Greg_Kroah-Hartman
...............................................................................
Hi,
We're happy to invite Scott Tsai [1] for the next experience sharing.
Scott is a Linux hacker who has been working in consumer electronics for many years. He is very knowledgeable when it comes to hardware and related software. His expertise is in device drivers, Linux kernel, ISO 13818, DVB, Set-Top box, and TV. He participates in related mailing lists and knows many developers outside Taiwan. He is one of the organizers of the FreedomHEC Taipei 2009 [2] where many Linux kernel developers from abroad attended.
Linux developer Greg KH [3] introduced how to write the device driver for a USB thermometer in FreedomHEC Taipei 2009, and some participants bought the thermometer with TWD 1500. Scott will introduce his work on emulating that USB thermometer with software in QEMU.
----------------------------------------------------------------------
Registration: http://registrano.com/events/455ec3
Time: 2010/1/19 (Tuesday), 7:30pm - 9:00pm, dinner starts at 6:30pm
Topic: QEMU USB Device Emulation Through USB/IP
Speaker: Scott Tsai [1]
Language: Chinese
Place: 2F of Mix Coffee & Tea (http://wiki.tossug.org/MixCoffee&Tea )
Fee: NT$200 which covers dinner. Pay when you arrive.
Notice: Free WiFi is available.
----------------------------------------------------------------------
Abstract of the talk:
I'll introduce modification of QEMU source codes to emulate USB device instead of controller hardware on the USB host side. In case you are not familiar with USB, the USB host on a computer to cell phone USB connection is the computer, and the USB device is the cell phone. With the emulator equipped with the USB device emulation, you can develop and test your USB device protocol without using hardware. The device classes that cell phones often support but the USB gadget driver of Linux kernel doesn't implement includes:
* the media transfer protocol of digital cameras
* the adb protocol defined by Android for shell access and file copy
Outline:
* The QEMU emulator and its target market
* USB host and device support in QEMU
* Previous attempts at extending USB device support in QEMU
* The USB/IP project and protocol
* USB device controller hardware interface
* Connecting it all together
* What it takes to productize this work and merge it upstream
[1] http://scottt.tw
[2] http://freedomhectaipei.pbworks.com
[3] http://en.wikipedia.org/wiki/Greg_Kroah-Hartman