Re: Accessing USB thermometer sensor

Glynn Clements <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming,org.kernel.vger.linux-serial
Message-ID <[email protected]>
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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.