qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH V2 2/3] usb-gotemp: new module emulating a USB t


From: Juan Quintela
Subject: [Qemu-devel] Re: [PATCH V2 2/3] usb-gotemp: new module emulating a USB thermometer
Date: Tue, 10 Nov 2009 16:39:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Scott Tsai <address@hidden> wrote:
>>> +    s->temperature++;
>>>
>> You're going to overheat very quickly.
>> Apart from making the driver work, is this actually useful?
>
> I wanted the temperature to change with time to give a sense of
> "something is happening" ^_^
>
> The main user I had in mind was someone new to USB and Linux driver 
> development
> following gregkh's driver tutorial:
> http://www.kroah.com/linux/talks/ols_2005_driver_tutorial/
> My thinking was that if the temperature never changes, all the USB
> packets generated in the 'read_int_callback"
> part of the driver would seem like a waste of effort.

Change them in the middle of one interval?
once then arrived same limit, 40° or so go back to 20°?

Later, JUan.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]