[Top][All Lists]

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

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

From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH V2 2/3] usb-gotemp: new module emulating a USB thermometer
Date: Wed, 11 Nov 2009 02:05:03 +0100

On 11.11.2009, at 01:57, Greg KH wrote:

On Wed, Nov 11, 2009 at 01:15:45AM +0100, Alexander Graf wrote:

On 11.11.2009, at 01:09, Anthony Liguori wrote:

Scott Tsai wrote:
On Wed, Nov 11, 2009 at 1:06 AM, Luiz Capitulino <address@hidden

I'd certainly like to make this code useful for something other
developer training.

What code?  Where is it at?

It's in this mail thread. It seems like gmane is behind a bit, but it's basically about:


How about a new monitor command "thermometer_set" that works like
"thermometer_set" would just set the temperature of the "first"
thermometer device it finds.

Couldn't the device be a parameter?

And I'd suggest usb_therm_set for the name.

Looking at the existing "mouse_set" and "mouse_move" monitor
they work on USB, PS/2 and other kinds of mice with "mouse_set"
the mouse device affected by  "mouse_move".
So how about a new command "therm_set" which selects the thermometer
affected by "therm_temp" ?

On a separate note, I understand that if a piece of code is not
useful enough
we don't want to merge it to add to the maintenance burden.
I still propose 'usb-gotemp' for merging because the fact that gregkh
could give his
driver tutorial several years in a roll to sizable audiences shows
that there are people out there
interested in getting into Linux driver development.
With this code merged, people could follow the video and slides of
his talk
without special hardware and this potentially grows the Linux
developer pool.

And if Greg decides to change the device he uses for the tutorial,
then in a few years it's not so useful anymore?

Well, why don't we ask him?

I don't understand the context here.

Scott implemented a qemu device emulator for the usb thermal device you're using in your presentation, so people could learn writing usb drivers with qemu.


reply via email to

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