1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-discuss] One-Wire Home Temperature Network with Linux
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20One-Wire%20Home%20Temperature%20Network%20with%20Linux&In-Reply-To=%3C5002D1D2.30208%40unige.ch%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008270.html">
<LINK REL="Next" HREF="008272.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-discuss] One-Wire Home Temperature Network with Linux</H1>
<B>Juergen Harms</B>
<A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20One-Wire%20Home%20Temperature%20Network%20with%20Linux&In-Reply-To=%3C5002D1D2.30208%40unige.ch%3E"
TITLE="[Mageia-discuss] One-Wire Home Temperature Network with Linux">Juergen.Harms at unige.ch
</A><BR>
<I>Sun Jul 15 16:21:06 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="008270.html">[Mageia-discuss] One-Wire Home Temperature Network with Linux
</A></li>
<LI>Next message: <A HREF="008272.html">[Mageia-discuss] One-Wire Home Temperature Network with Linux
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8271">[ date ]</a>
<a href="thread.html#8271">[ thread ]</a>
<a href="subject.html#8271">[ subject ]</a>
<a href="author.html#8271">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 07/15/2012 03:13 PM, Doug Lytle wrote:
><i> I've just started to play with a 1 wire temperature sensor, under Mageia
</I>><i> 1. I've been following a couple of blog on how to get things setup (1 & 2).
</I>><i>
</I>><i> I've installed the digitemp software (2) via urpmi and can actually see
</I>><i> the USB dongle (DS9490R) and my temp sensor (DS18B20).
</I>><i>
</I>><i> The problem being that when running the command digitemp_DS2490 -a -i
</I>><i> -q, it is supposed to write out it's configure file (.digitemprc) to the
</I>><i> profile directory, which for me running the command as root, should be
</I>><i> /root/.digitemprc, but it doesn't.
</I>><i>
</I>><i> Has anybody played around with temperature sensors under Mageia? If so,
</I>><i> were you able to get it to write out the file?
</I>><i>
</I>><i> Doug
</I>><i>
</I>><i> (1)
</I>><i> <A HREF="http://bitsup.blogspot.com/2008/11/one-wire-home-temperature-network-with.html">http://bitsup.blogspot.com/2008/11/one-wire-home-temperature-network-with.html</A>
</I>><i>
</I>><i> (2) <A HREF="http://www.nslu2-linux.org/wiki/HowTo/AddUSBOneWireAdapter">http://www.nslu2-linux.org/wiki/HowTo/AddUSBOneWireAdapter</A>
</I>><i> (3) <A HREF="http://digitemp.com">http://digitemp.com</A>
</I>><i>
</I>
I have DS18B20 sensors running, but not on Mageia - my sensors are
connected to an AVR microprocessors (which is controlled by a C
programme, downloaded from my Mageia PC).
I have doubts whether it is possible to reliably operate 1-wire devices
directly connected to a PC that is simultaneously used to do "ordinary
stuff": the 1-wire protocol has quite strict bit-timing requirements
(the pin on the I/O port on your PC which drives the 1-wire bus must
create pulses with well-defined lengths and intervals), not evident to
implement on a time-shared PC - could also have negative impact on non
real-time applications that run on the PC. You might need to more or
less dedicate your PC to run your 1-wire application.
In case you cannot make it work directly on Mageia, the microprocessor
approach is certainly a valid (even better?) alternative since the
microprocessor can print the result to a serial port and hence to a PC.
In case this approach is of interest to you, we should discuss this by
PM (no problem to let you have my hard- and software)
Juergen
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008270.html">[Mageia-discuss] One-Wire Home Temperature Network with Linux
</A></li>
<LI>Next message: <A HREF="008272.html">[Mageia-discuss] One-Wire Home Temperature Network with Linux
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8271">[ date ]</a>
<a href="thread.html#8271">[ thread ]</a>
<a href="subject.html#8271">[ subject ]</a>
<a href="author.html#8271">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>
|