public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
From: Glynn Clements <glynn@gclements.plus.com>
To: jhammond@external.fwmail.org
Cc: linux-usb@vger.kernel.org, linux-serial@vger.kernel.org,
	linux-c-programming@vger.kernel.org
Subject: Re: Accessing USB thermometer sensor
Date: Fri, 20 Jun 2008 17:44:29 +0100	[thread overview]
Message-ID: <18523.56941.116797.23150@cerise.gclements.plus.com> (raw)
In-Reply-To: <8b08c39f01286180748bbc0eeddc56cb.squirrel@webmail.vp44.net>


Josh Hammond wrote:

> Hello to everybody.
> I have recently purchased a USB thermometer from a chinese ebay store.
> The sensor has no brand whatsoever and just carries the "TEMPer" label.
> 
> I plugged it to my debian unstable box (with a vanilla 2.6.24.4 kernel)
> and it was detected as
> 
> 4348:5523 WinChipHead USB->RS 232 adapter with Prolifec PL 2303 chipset
> 
> I believe this means that it is, at least partly, accessible by a linux
> system (although it seems to do some weird USB-serial emulation).
> I am now trying to access the thermometer, and more specifically be able
> to read the data it provides.
> 
> I realize this is a very broad question, but could somebody point me in
> the right direction to be able to read the temperature from command
> line?
> The only serial experience I have is connecting to a switch's console and
> configuring it with putty/minicom.
> 
> I pasted the outputs from syslog and lsusb but I dont' really see how
> the latter relates to my problem.
> Thanks to everyone that will respond, since now I feel quite lost.

> usb 1-2.2: pl2303 converter now attached to ttyUSB0

Does "cat /dev/ttyUSB0" work?

-- 
Glynn Clements <glynn@gclements.plus.com>

  reply	other threads:[~2008-06-20 16:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20 13:28 Accessing USB thermometer sensor Josh Hammond
2008-06-20 16:44 ` Glynn Clements [this message]
     [not found]   ` <18523.56941.116797.23150-o3XtBhA/DwwNEGAfyhIZ+pATpRlcFRyyAL8bYrjMMd8@public.gmane.org>
2008-06-20 16:50     ` Josh Hammond
     [not found]       ` <1f60185ec2ee200f67d7a12ee6cbf2fb.squirrel-2RFepEojUI3piBo0p4lDPw@public.gmane.org>
2008-06-21  9:02         ` Glynn Clements
2008-06-20 21:32 ` Chris Doré
2008-06-23  7:20 ` Tosoni
  -- strict thread matches above, loose matches on Subject: below --
2008-06-24  7:18 Josh Hammond

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=18523.56941.116797.23150@cerise.gclements.plus.com \
    --to=glynn@gclements.plus.com \
    --cc=jhammond@external.fwmail.org \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /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