All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent@Vivier.EU>
To: avi@redhat.com, scottt.tw@gmail.com
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH V2 2/3] usb-gotemp: new module emulating a USB thermometer
Date: Tue, 10 Nov 2009 16:22:37 +0100	[thread overview]
Message-ID: <32190714.3251257866557624.JavaMail.servlet@kundenserver> (raw)

>>> +    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.
>

Perhaps you could read temperature samples from a file...

Regards,
Laurent

-- 
--------------------- Laurent@vivier.eu  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

             reply	other threads:[~2009-11-10 15:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-10 15:22 Laurent Vivier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-11-10  9:37 [Qemu-devel] [PATCH V2 0/3] usb-gotemp: USB thermometer emulation Scott Tsai
2009-11-10  9:37 ` [Qemu-devel] [PATCH V2 1/3] usb: move HID request defines to hw/usb.h Scott Tsai
2009-11-10  9:37   ` [Qemu-devel] [PATCH V2 2/3] usb-gotemp: new module emulating a USB thermometer Scott Tsai
2009-11-10 14:48     ` Avi Kivity
2009-11-10 15:14       ` Scott Tsai
2009-11-10 15:33         ` Alexander Graf
2009-11-10 15:55           ` Scott Tsai
2009-11-10 17:06             ` Luiz Capitulino
2009-11-10 17:52               ` Scott Tsai
2009-11-10 20:52                 ` Luiz Capitulino
2009-11-11  0:09                 ` Anthony Liguori
2009-11-11  0:15                   ` Alexander Graf
2009-11-11  0:57                     ` Greg KH
2009-11-11  1:05                       ` Alexander Graf
2009-11-11  1:06                       ` Scott Tsai
2009-12-04  5:28                         ` Greg KH
2009-11-11  2:10                   ` Scott Tsai
2009-11-10 16:50           ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32190714.3251257866557624.JavaMail.servlet@kundenserver \
    --to=laurent@vivier.eu \
    --cc=avi@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=scottt.tw@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.