Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DS1820 - can't read sensors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Oniryczny
Guru
Guru


Joined: 01 Dec 2011
Posts: 419
Location: Poland

PostPosted: Sat Dec 07, 2013 6:57 pm    Post subject: DS1820 - can't read sensors Reply with quote

I'm havinbg troubles to read temperatures from Dallas 1820
neither digitemp nor owfs work

Any help please?
_________________
cogito ergo sum
Back to top
View user's profile Send private message
t1n
n00b
n00b


Joined: 08 Dec 2013
Posts: 4

PostPosted: Sun Dec 08, 2013 10:54 am    Post subject: Reply with quote

You didnt supply any anyformation on what setup you have, what wiring, anything. I got this temp sensor working on my raspberry pi interface trough a gpio. It just worked pretty much right after connecting.
I do reading by
Code:
cat /sys/bus/w1/devices/10-00080234149b/w1_slave
where the number is the 1-wire address.

this might be of help http://webshed.org/wiki/RaspberryPI_DS1820 although you provided no details of your situation, so dont expect anything to be helpful.
Back to top
View user's profile Send private message
Oniryczny
Guru
Guru


Joined: 01 Dec 2011
Posts: 419
Location: Poland

PostPosted: Sun Dec 08, 2013 12:57 pm    Post subject: Reply with quote

I didn't post any iformation because I don't know what is needed.
Code:

# digitemp -i -s /dev/ttyS0 -a
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers

Searching the 1-Wire LAN
#

and nothing is happening...
Code:

# eix digitemp
[I] app-misc/digitemp
     Available versions:  3.5.0-r1 {ds2490 ds9097 ds9097u}
     Installed versions:  3.5.0-r1(09:44:55 04.12.2013)(ds9097 -ds2490 -ds9097u)
Code:

# owfs -d /dev/ttyS0 -m /mnt/1wire/
DEFAULT: owlib.c:SetupInboundConnections(121) Cannot detect DS9097 (passive) interface on /dev/ttyS0.
#
Code:

# eix owfs
[I] sys-fs/owfs
     Available versions:  (~)2.7_p21 (~)2.7_p21-r1 {debug ftpd fuse httpd parport perl php python server tcl usb zeroconf}
     Installed versions:  2.7_p21-r1(20:01:00 07.12.2013)(debug ftpd fuse httpd parport server tcl usb zeroconf -perl -php -python)

kernel 3.10.7-x86_64
_________________
cogito ergo sum
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum