On Wednesday 11 November 2009, Scott Tsai wrote: > I reworked the second patch in this series to add generic monitor commands > to change the temperature reported from thermometers. > Thermometer devices can now include "sensor.h" and call > 'qemu_add_therm_temp_handler' to register themselves.
This is just another HID device. As discussed previously in the context of the wacom tablet, duplicating this code is bad (IMO usb-wacom.c should ever have been committed). Instead you should be sharing the existing code. Paul