Rebased on top of the master branch of git://git.savannah.nongnu.org/qemu.git since last posting. Any advice on how to get these reviewed and merged or rejected greatly appreciated!
Greg Kroah-Hartman has been giving a talk titled "Write a Real, Working, Linux Driver" for the past four years at various conferences. This patch series enables qemu to emulate the Vernier Go!Temp USB thermometer used in that talk. This was motivated by experience from the FreedomHEC Taipei 2009 conference, where students complained that the gadget was too expensive while professional developers complained the limited number of devices Greg brought sold out too quickly. The emulation is complete enough for gregkh's sample driver and using the vendor supplied SDK through the in-kernel 'ldusb' module under Linux. No testing have yet been done with the vendor's fancier Windows software. Video, slides and code from gregkh's talk: http://www.kernel.org/pub/media/talks/gregkh/2008_driver_writing_tutorial_gregkh.avi http://www.archive.org/download/LinuxDriverTutorialFreedomhecTaipei2009_215/06-linux-driver-tutorial.ogg http://freedomhectaipei.pbworks.com/f/gregkh-driver-tutorial-freedomhectaipei.pdf http://freedomhectaipei.pbworks.com/f/usb_tutorial.tar.gz