Skip to contentSkip to conversation

usb-gotemp: USB thermometer emulation

PATCH Superseded Scott Tsai 1 participant 1 message Nov 3, 2009

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Scott Tsai

author
#0 lore raw

cover usb-gotemp: USB thermometer emulation

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 confernce, where students complained that the gadget was too expensive while 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