From: Greg KH <gregkh@suse.de>
To: Chris Verges <chrisv@cyberswitching.com>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Rob Owings <rowings@thermistor.com>
Subject: Re: [PATCH] linux-2.6.32-directemp
Date: Fri, 5 Feb 2010 09:16:59 -0800 [thread overview]
Message-ID: <20100205171659.GF14145@suse.de> (raw)
In-Reply-To: <68FBE0F3CE97264395875AC1C468F22C24A5BD@mail03.cyberswitching.local>
On Thu, Feb 04, 2010 at 08:47:05PM -0800, Chris Verges wrote:
> Hi Linux gurus,
>
> Attached is a patch for the QTI DirecTEMP USB thermometer &
> thermometer/hygrometer sensors. This patch is based on linux-2.6.32.
> Functionality has been verified against both hardware variants listed in
> the driver (0x0002 and 0x0006), as both monolithic and modular.
>
> When the QTI DirecTEMP sensor is connected to a system, the directemp
> driver adds appropriate sysfs entries for the sensor type(s) supported.
> Examples:
>
> # PID 0x0002 (temp only)
> /sys/bus/usb/devices/.../temp
>
> # PID 0x0006 (temp + relative humidity)
> /sys/bus/usb/devices/.../temp
> /sys/bus/usb/devices/.../rh
>
> Using a standard "cat" will display the value.
>
> An additional "raw" sysfs entry has been added to aid in debugging. If
> used, an "echo" will send the data specified in the string to the USB
> device, and print back the results. It is not recommended for customer
> use except by expert users.
Is a kernel driver really needed for this device? You could do this all
in userspace with libusb/usbfs and not need a driver, right?
That's what we do for other USB thermometers today.
thanks,
greg k-h
next prev parent reply other threads:[~2010-02-05 17:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-05 4:47 [PATCH] linux-2.6.32-directemp Chris Verges
2010-02-05 15:45 ` Alan Stern
2010-02-05 17:16 ` Greg KH [this message]
2010-02-05 17:32 ` Chris Verges
2010-02-05 20:40 ` Andrew Morton
2010-02-05 21:32 ` Chris Verges
2010-02-05 21:46 ` Andrew Morton
2010-02-05 23:58 ` Greg KH
2010-02-06 0:26 ` Chris Verges
2010-02-06 8:55 ` Greg KH
2010-02-06 9:42 ` Bruno Prémont
[not found] ` <68FBE0F3CE97264395875AC1C468F22C2445C2@mail03.cyberswitching.local>
2010-02-06 18:01 ` [lm-sensors] " Jean Delvare
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=20100205171659.GF14145@suse.de \
--to=gregkh@suse.de \
--cc=chrisv@cyberswitching.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=rowings@thermistor.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox