I've been trying to get some DS1820 sensors to work on a recently built CentOS box.
I'm using a Prolific USB-to-serial converter cable and a breadboarded sensor. I'm
getting:
[root@zamilovana nagios]# digitemp-3.6.0/digitemp_DS9097U -v -i -s /dev/ttyUSB0
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 -
http://www.digitemp.comError 5: DS2480B Adapter Not Detected
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Error 10: Read COM Failed
Digitemp version is 3.6 (even though it says 3.5). I tried the fix at:
http://tech.akom.net/archives/60-Fixing-digitemp-with-LinkUSB-on-kernels-after-2.6.32-24.htmlNo joy. Tried different USB adaptors (same chipset). No joy (i.e., same symptoms). I'm using
a very old (and hopefully reliable) circuit shown below:
![](https://groups.google.com/group/digitemp/attach/95aa6e27f32d2/Auto%20Generated%20Inline%20Image%201?part=0.1)
The "lsusb" utility sees the adaptor.
Bus 004 Device 052: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
The device file is there, and definitely can be written to by anybody. I use root so I can
swat the fly with a sledgehammer.
[root@zamilovana nagios]# ls -l /dev/ttyUSB0
crwxrwxrwx 1 root dialout 188, 0 Dec 5 09:09 /dev/ttyUSB0
Linux version: Centos 6, or specifically:
Linux zamilovana 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
I even rebuilt a second breadboard with fresh components. No change. Tried a second
Prolific adaptor cable. No change.
I tied LEDs from the RXD and TXD data lines to pin 5 to observe the state changes.
I can "see" digitemp talking to the sensor, and it appears to answer.
I'm pulling my hair out over this one. I have a lot of hair to spare, but I'd rather hold on
to it, so any suggestions would be welcome at this point.
Thanks!
![](https://ci5.googleusercontent.com/proxy/5E33-weq4WhSxl8Bxgtc_uIECe_CDyeFTmJLQB2jwmmDVnJbbGxP6JeoLgXCWQRnc0MTL0iI8rAfSgVccPikOS5bX5GQDaGwYULyAM7sZfojpkDFnqJzi10idnH923s6xfLd7Zyb6yD8cQ=s0-d-e1-ft#https://s-media-cache-ak0.pinimg.com/736x/bb/ab/17/bbab17f6550cfcb28c112a8ebdc9e6e9.jpg)