看板Programming
标 题【01/19 TOSSUG 心得分享】Scott Tsai 蔡彰人 - QEMU USB Device Emulation
发信站SayYA 资讯站 (Wed Jan 13 00:54:23 2010)
转信站ptt!news.ntu!news.ncu!News.Math.NCTU!SayYa
[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 thermo-
meter with TWD 1500. Scott will introduce his work on emulating that USB therm-
ometer 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
--
※ Origin: SayYA 资讯站 <bbs.sayya.org>
◆ From: 59-104-129-145.adsl.dynamic.seed.net.tw
1F:推 zha0:感觉不错也 XD220.135.160.177 01/14 13:07