[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V3 0/3] usb-gotemp: USB thermometer emulation
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH V3 0/3] usb-gotemp: USB thermometer emulation |
Date: |
Wed, 11 Nov 2009 04:25:00 +0000 |
User-agent: |
KMail/1.12.2 (Linux/2.6.30-2-amd64; KDE/4.3.2; x86_64; ; ) |
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