CubieBoard Forum

Cubieboard itself => Tips, Tricks and Guides => Topic started by: Jojo on April 03, 2014, 03:10:02 am

Title: A20 (A10?) Temperature logging script
Post by: Jojo on April 03, 2014, 03:10:02 am
Hi,

I have made a tiny script that lets you continously log the temperature of the TP controller in th A20. Due it is inside the same package you can use this information nearly as you CPU temperature ;) .


I have made a tiny script that lets you continously log the temperature of the AXP PMU IC on you CB2. Before the advice from ssvb (thx) I thought that it would be the sensor of the TP controller inside of the A20. That seems to be wrong. Sorry for that!

Feature overview:

Known issues:

Usage:
Call the scipt with default logging interval (1 second)
Code: [Select]
bash Temperature_Logger.sh

Call the scipt with another logging interval (5 seconds)
Code: [Select]
bash Temperature_Logger.sh 5

Output will look like this (screenshot will follow):
Code: [Select]
Temperature logging started in file "Temp_log_hh:mm:ss"...
hh:mm:ss TT.t°C <- changing continously

Logging stopped at hh:mm:ss

The log file will be created in the same directory of the script!

You can end the script by pressing any key ("Where is the 'any'-key?!")

I have decided to log the temperature without unit (no "°C" in file) because that makes it more easy to convert the data to another software (for making charts, for example).
I think it could be useful if you are running benchmarks or if you want to see the influence of the CPU speed to the temperature.

I don't know if the script works on the A10, because the temperature register is located at another address (A20: 0x20, A10: 0x1C). Please let me know if it works on the A10!

Due the CB1 and and CB2 have the same layout, the script should also work on the CB1. But I have no CB1, so I can not test it.  Please let me know if it works on the CB1!

Please let me know if you like it. And also if not ;) .

Greetings!
Title: Re: A20 (A10?) Temperature logging script
Post by: ssvb on April 03, 2014, 04:32:35 am
This is not the temperature of a TP controller exposed at /sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/temp1_input. It's the temperature of a PMU chip AXP209, which is located rather far from the A10/A20 SoC on the Cubieboard PCB.
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 03, 2014, 04:49:56 am
This is not the temperature of a TP controller exposed at /sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/temp1_input. It's the temperature of a PMU chip AXP209, which is located rather far from the A10/A20 SoC on the Cubieboard PCB.

Are you sure?
I have followed the information on these sites:
http://www.cubieforums.com/index.php?topic=2004.0 (http://www.cubieforums.com/index.php?topic=2004.0)
and
https://groups.google.com/forum/#!topic/linux-sunxi/2zoxTcepPVo

For me this sounds like the internal one. Please let me know, if this is wrong and why  :) .

Thanks!
Title: Re: A20 (A10?) Temperature logging script
Post by: ssvb on April 03, 2014, 05:00:38 am
Depends on which kernel you are using. The following patch adds reporting of the AXP209 temperature to the linux-sunxi kernel: https://github.com/linux-sunxi/linux-sunxi/commit/fcec507519157765c689ab3473a9e72d8b6df453
And your script seems to be reading exactly this data.
Title: Re: A20 (A10?) Temperature logging script
Post by: ssvb on April 03, 2014, 05:08:19 am
And http://www.cubieforums.com/index.php?topic=2004.msg12920#msg12920 says that the TP temperature sensor should be exposed at /sys/devices/platform/a20-tp-hwmon/temp1_input if you apply the patch from the google groups link. We are just dealing with different temperature sensors here :)
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 03, 2014, 05:15:27 am
This confuses me alot  :-[ . In my first link, "Madozu" says:
Quote
Yes, CT has a temperature sensor ... or kind of ... built in to the touch pannel controller. There are two ways of accessing it:
  • Use Pats Kernel version 3.4.79. You find the sensor data at "/sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/temp1_input". Divide the value read by 1000 to get degrees Celsius.

This sounds to me as if this kernel uses the internal sensor  ??? . But I also was wondering, why there is something with "i2c" in the path...  ??? .

I sadly really don't understand much about kernel and driver programming. But for me is very confusing  :-[ .

What information is correct? Is there something I have to do to access the TP sensor? I am not in front of my CB" at the moment...
Title: Re: A20 (A10?) Temperature logging script
Post by: ssvb on April 03, 2014, 05:25:25 am
The TP controller is documented in the A20 manual: http://dl.linux-sunxi.org/A20/A20%20User%20Manual%202013-03-22.pdf
AXP20x is documented here (with some links to pdf files): http://linux-sunxi.org/AXP209

And if you look at the sources of the kernel patches in question, you can see that they are substantially different for these two. The only thing they have in common is the assumption that they are calibrated in the same way (the ADC values are in [0, 4095] range, which corresponds to [-144.7C, +264.8C] range of temperatures).
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 03, 2014, 05:36:33 am
Ok, I will have a look if I have access to the /sys/devices/platform/a20-tp-hwmon/temp1_input directory on my system. If yes, I will update the script.
If not: can you tell me what to do?

PS: I remember... aren't you one of the developer guys :) ? I think I've read your name somewhere under a kernel source code driver whatever file...  :D
Title: Re: A20 (A10?) Temperature logging script
Post by: ikeeki on April 03, 2014, 07:36:33 am
Fbturbo and others. Ingenieer.
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 03, 2014, 02:04:09 pm
And http://www.cubieforums.com/index.php?topic=2004.msg12920#msg12920 says that the TP temperature sensor should be exposed at /sys/devices/platform/a20-tp-hwmon/temp1_input if you apply the patch from the google groups link. We are just dealing with different temperature sensors here :)

Hi and thanks for the information so far  :-* !
Could you (ssvb) please explain me (or give me a hint) how I have to apply the patch to have access to the sensor? Do I have to recompile the kernel?
It would be really nice, if you'd take the time to push me in the right direction :) !

Greetings
Title: Re: A20 (A10?) Temperature logging script
Post by: ssvb on April 04, 2014, 12:33:21 am
Could you (ssvb) please explain me (or give me a hint) how I have to apply the patch to have access to the sensor? Do I have to recompile the kernel?
Yes, you (or somebody else) needs to apply that patch and compile the kernel. Also disabling touchscreen drivers would be necessary and enabling CONFIG_SENSORS_A20_TP_HWMON=y in the kernel config. However, as I can see from the comments, this was just he initial revision of the patch and it had some issues. Actually, the support for this temperature sensor (as part of the touchscreen driver) has been already submitted to the mainline kernel - https://www.mail-archive.com/linux-sunxi@googlegroups.com/msg00312.html

We might want to backport it to 3.4 too.

The old initial revision of the driver also works. And it indeed seems to report the right temperature for the A20 chip itself. This can be easily verified (I have done this already) by following these steps:
1. Run something heavy on the CPU, so that it heats up.
2. Watch the reported numbers from both temperature sensors and touch the A20 chip with your finger for a little bit. The reported temperature for the sensor corresponding to the A20 chip should instantly drop by something like ~5C.
3. Watch the reported numbers from both temperature sensors and touch the PMU chip with your finger for a little bit.. It is a small rectangular chip near the barrel shaped power plug on the cubieboard. The reported temperature for the sensor corresponding to the AXP209 chip should instantly drop by something like ~5C.

The temperatures of AXP209 and A20 are actually very similar and usually don't differ much from each other (if the CPU is using a lot of power, then the PMU chip temperature also goes up). But they are still not exactly the same.

In any case, we have temperature sensors for each of these two hottest chips on the board. All the bases are covered :)
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 04, 2014, 02:57:35 am
Could you (ssvb) please explain me (or give me a hint) how I have to apply the patch to have access to the sensor? Do I have to recompile the kernel?
Yes, you (or somebody else) needs to apply that patch and compile the kernel. Also disabling touchscreen drivers would be necessary and enabling CONFIG_SENSORS_A20_TP_HWMON=y in the kernel config. However, as I can see from the comments, this was just he initial revision of the patch and it had some issues. Actually, the support for this temperature sensor (as part of the touchscreen driver) has been already submitted to the mainline kernel - https://www.mail-archive.com/linux-sunxi@googlegroups.com/msg00312.html

We might want to backport it to 3.4 too.

The old initial revision of the driver also works. And it indeed seems to report the right temperature for the A20 chip itself. This can be easily verified (I have done this already) by following these steps:
1. Run something heavy on the CPU, so that it heats up.
2. Watch the reported numbers from both temperature sensors and touch the A20 chip with your finger for a little bit. The reported temperature for the sensor corresponding to the A20 chip should instantly drop by something like ~5C.
3. Watch the reported numbers from both temperature sensors and touch the PMU chip with your finger for a little bit.. It is a small rectangular chip near the barrel shaped power plug on the cubieboard. The reported temperature for the sensor corresponding to the AXP209 chip should instantly drop by something like ~5C.

The temperatures of AXP209 and A20 are actually very similar and usually don't differ much from each other (if the CPU is using a lot of power, then the PMU chip temperature also goes up). But they are still not exactly the same.

In any case, we have temperature sensors for each of these two hottest chips on the board. All the bases are covered :)

Thanks a lot for these information! For me all this sounds very complicated  :-[ .
What is your suggestion?

I think the better solution is to add the driver for having TP support AND access to the sensor. Do you agree?
If yes, how is this managed? What does "backport" mean in this case? Is here somebody who can do that? Can I help in any way?

Greetings
Title: Re: A20 (A10?) Temperature logging script
Post by: ssvb on April 04, 2014, 08:16:52 am
Thanks a lot for these information! For me all this sounds very complicated  :-[ .
Well, all the complexity is just downloading the patch, applying it and compiling the kernel. Do you want somebody to provide a kernel binary for you? ;)

Anyway, for your convenience, I prepared a test branch for the kernel with all the needed patches: https://github.com/ssvb/linux-sunxi/commits/20140404-cpu-temperature-monitoring-test

Example output of the 'sensors' tool on my Cubietruck (running idle):
Code: [Select]
axp20_mfd-i2c-0-34
Adapter: sunxi-i2c.0
ACIN voltage:        +5.14 V  (avg =  +5.13 V)
VBUS voltage:        +0.01 V  (avg =  +0.01 V)
AXP20X temperature:  +30.9 C  (low  = -144.7 C, high = +264.8 C)
ACIN+VBUS power:      1.02 W  (avg =   1.05 W)
ACIN current:        +0.20 A  (avg =  +0.20 A)
VBUS current:        +0.00 A  (avg =  +0.00 A)

a20_tp-isa-0000
Adapter: ISA adapter
temp1:        +34.8 C  (low  = -144.7 C, high = +264.8 C)

The actual numbers from the AXP and from the TP (CPU) temperature sensors are usually not very far apart. Both of these chips heat up under load and both are reasonably cool when the system is idle.

Note that on Allwiner A10, the TP temperature sensor shows the temperature around 100C, which is obviously bogus. The sensor works, because this reported temperature increases under load. But the calibration is apparently very much different on A10 and we can't use the same formula as on A20.
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 04, 2014, 05:55:41 pm
Thanks a lot for these information! For me all this sounds very complicated  :-[ .
Well, all the complexity is just downloading the patch, applying it and compiling the kernel. Do you want somebody to provide a kernel binary for you? ;)
No, I don't want anybody doing anything for me  :-[ . I'd like to do as much as I can on my own. But my Linux skills are still very limited. To get the kernel source is no problem (download link somwhere here in the forum). But about the patch... I think I am just blind! I have found no "button" or something like that to download it  ??? ::) :o ! I already imagined that I would have to copy-paste the source code lines into the files of the kernel manually. But this is not the way to do it, right?
Thats why I asked for some hints. I just needed a push in the right direction to help myself.

But anyway, thanks for your help so far. I will try if I am also able to modify the kernel in that way. All hail to OS on SD card ;)  ;D !

Greetings
Title: Re: A20 (A10?) Temperature logging script
Post by: ssvb on April 05, 2014, 09:48:51 am
But about the patch... I think I am just blind! I have found no "button" or something like that to download it  ??? ::)
You go to the right side of the screen in the google groups and select "show original" in the drop-down menu. Then press the "Show only message" button and get to https://groups.google.com/forum/message/raw?msg=linux-sunxi/2zoxTcepPVo/q4f3D1ZEm8cJ

For compiling your own kernel, there is a guide at http://linux-sunxi.org/Linux_Kernel#Compilation

If you have already cloned your kernel sources from git, then you can download and apply the cpu temperature sensor patch by running the following commands:
Code: [Select]
wget -O cpu-thermal-sensor.path https://groups.google.com/forum/message/raw?msg=linux-sunxi/2zoxTcepPVo/q4f3D1ZEm8cJ
git am cpu-thermal-sensor.path

Hope this helps. And one more warning again: this patch is not production quality and has some issues. Good enough for testing though.
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 06, 2014, 11:52:12 am
Hi ssvb,

Thanks a lot for that description  :D ! I will give it a try and report my experiances.

About the issues:
ok, understood. I think for me it will be ok anyway. Thats why I asked for the more preferable way: applying the patch or backport the main driver with sensor support to the 3.4  kernel. What is neccessary for such a backport?
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 22, 2014, 03:11:33 pm
Hi ssvb,

I tried to follow your instructions. I think I succsessfully cloned the kernel source and applied the patch.

Then I tried to configure and compile the kernel. I followed the tutorial in your link. I think this was not successful, but I don't know why and how to fix it. Can you help me?

Configuring gives this output:
Code: [Select]
linaro@linaro-ubuntu-desktop:/media/Toshiba_1000GB/Jojo/Rumpel/Projekte/Cubieboard/Kernel_3.4.75+/linux-sunxi$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sun7i_defconfig
drivers/net/wireless/bcmdhd/Kconfig:42:warning: defaults for choice values not supported
#
# configuration written to .config
#

Compiling gives this output:
Code: [Select]
linaro@linaro-ubuntu-desktop:/media/Toshiba_1000GB/Jojo/Rumpel/Projekte/Cubieboard/Kernel_3.4.75+/linux-sunxi$ make -j2 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage modules
  CHK     include/linux/version.h
  CC      scripts/mod/empty.o
/bin/sh: 1: arm-linux-gnueabihf-objdump: not found
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  CHK     include/generated/utsrelease.h
make[1]: »include/generated/mach-types.h« is up to date.
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/arm/kernel/asm-offsets.s
  GEN     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  AS      usr/initramfs_data.o
  LD      usr/built-in.o
/bin/sh: 1: arm-linux-gnueabihf-ld: not found
make[1]: *** [usr/built-in.o] Error 127
make: *** [usr] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
  CC      init/main.o
  CHK     include/generated/compile.h
  SKIPPED include/generated/compile.h
  CC      init/do_mounts.o
/bin/sh: 1: arm-linux-gnueabihf-objdump: not found
  CC      init/do_mounts_rd.o
/bin/sh: 1: arm-linux-gnueabihf-objdump: not found
  CC      init/do_mounts_initrd.o
/bin/sh: 1: arm-linux-gnueabihf-objdump: not found
/bin/sh: 1: arm-linux-gnueabihf-objdump: not found
  CC      init/initramfs.o
  CC      init/calibrate.o
/bin/sh: 1: arm-linux-gnueabihf-objdump: not found
  CC      init/version.o
/bin/sh: 1: arm-linux-gnueabihf-objdump: not found
  LD      init/mounts.o
/bin/sh: 1: arm-linux-gnueabihf-ld: not found
make[1]: *** [init/mounts.o] Error 127
make[1]: *** Waiting for processes to be finished...
/bin/sh: 1: arm-linux-gnueabihf-objdump: not found
make: *** [init] Error 2

Thanks a lot in advance,
Jojo
Title: Re: A20 (A10?) Temperature logging script
Post by: ssvb on April 22, 2014, 03:32:53 pm
Maybe you have skipped the http://linux-sunxi.org/Linux_Kernel#Get_a_toolchain step?
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 23, 2014, 07:06:46 am
Maybe you have skipped the http://linux-sunxi.org/Linux_Kernel#Get_a_toolchain step?

Hm, I am not sure if I did it right. I was on the toolchain site. I did the first steps (for Ubuntu 10.04) successfully. But the link for the linaro thing was dead yesterday. I will try again today (the link seems to work now).
Does something on my terminal output indicate a toolchain error? I want to learn to help myself ;) .

Greetings
Title: Re: A20 (A10?) Temperature logging script
Post by: ssvb on April 23, 2014, 07:19:57 am
Does something on my terminal output indicate a toolchain error? I want to learn to help myself ;)
The "arm-linux-gnueabihf-objdump: not found" message implies that you apparently don't have the arm-linux-gnueabihf-objdump program, which is a part of toolchain.
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 23, 2014, 07:59:56 am
Ok, thank you!

I hope my process so far was really correct. But I will see and let you know :) !
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 30, 2014, 04:27:46 am
Hi again,

until now I have not been able to successfully recompile my kernel with the applied patch  :'( . I am right before the point to bury this whole idea deep deep inside an internal abyss of neverending darkness  >:( ! But I will give it one more try. Please have a look at my procedure to see what might be wrong.

These will be my steps:
1. downloading the kernel source from https://github.com/patrickhwood/linux-sunxi (https://github.com/patrickhwood/linux-sunxi)

2. "cd" into the linux-sunxi directory

3. download and apply the patch with
Code: [Select]
wget -O cpu-thermal-sensor.path https://groups.google.com/forum/message/raw?msg=linux-sunxi/2zoxTcepPVo/q4f3D1ZEm8cJ
git am cpu-thermal-sensor.path
(using exactly these commands when inside my kernel directory)

4. download the 4.7-toolchain from https://launchpad.net/linaro-toolchain-binaries/+download (https://launchpad.net/linaro-toolchain-binaries/+download)

5. add the toolchain to my environment with
Code: [Select]
export PATH="$PATH":/path_to_my_toolchain/gcc-linaro-arm-linux-gnueabihf-*_linux/bin/
(I will insert the exact version number instead of the *. So export PATH="$PATH": will stay as it is, right?)

6. "cd" into the linux-sunxi directory (kernel)

7. do this:
Code: [Select]
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sun7i_defconfig
(do I have to deactivate the TP driver at/before this point?)

8. do this:
Code: [Select]
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j2 uImage
(using -j2 because of two CPU cores)

These are the internet references I am using:

Note: I am compiling directly on my CB2.

Where might be some kind of traps? Are there any errors or critical steps?

Thanks and greetings!
Title: Re: A20 (A10?) Temperature logging script
Post by: lampra on April 30, 2014, 07:16:41 am
Hi, i am not an expert but if you compile the kernel on CB2 or CT, then i believe you do not need a toolchain for cross compilation. Just compile the kernel without cross compilation.
You would need toolchain for cross compilation if you were to compile the kernel on another machine using another arch (eg. x86_64)

This might help you a bit:
Code: [Select]
https://github.com/igorpecovnik/Cubietruck-Debian/blob/master/build.sh
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on April 30, 2014, 10:07:42 am
Hi,

ok, thanks for the answer  :) ! But then I think the compilation on the CB2 should have worked w/o any changes in the toolchain  :o ?!

Anyway, I will try my steps from above on another Linux machine at home. This should also be much faster ;) ...

Any hints about doing that on the CB directly?

Cheers
Title: Re: A20 (A10?) Temperature logging script
Post by: lampra on April 30, 2014, 06:27:00 pm
Well, I didn't compile any kernel on CB directly so no hints.
I expect that general compilation instructions would apply.
Code: [Select]
http://www.linux.org/threads/the-linux-kernel-compiling-and-installing.5208/
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on May 05, 2014, 03:49:54 am
Hi,
thanks for the link. I will read it carefully and maybe I will try it once more next week, when I am sober again  ;D .
About my previous try: I epically failed  :'( >:( :'( !!!

I still think the better soöution would be to backport the original and full-functional TP driver to our kernel. Then we have access to the sensor and can still use the TP...

Greetings
Title: Re: A20 (A10?) Temperature logging script
Post by: hds on May 15, 2014, 03:59:31 am
you may check the sunxi_dbgreg.ko module and how to use it.

http://www.cubieforums.com/index.php?topic=2493.0

Regards
Heiko
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on June 26, 2014, 04:30:07 am
Hello again,

I want to give an update/feedback about the last tests.

@Heiko:
thank you for that link. I like the idea to have direct access to processor registers. Even if that requires a lot of reading datasheets, to be sure about what you are doind :) .

About the patch: I have been able to apply the stand-alone patch to some of my test-kernels. It worked like a charm! The previous problems were somewhere deep inside my old Linux Mint OS. I reinstalled it and compilation worked without any problems.

I have also found an updated version of the TP driver, which adds support for the temperature sensor. Found here:
https://groups.google.com/forum/#!searchin/linux-sunxi/touch/linux-sunxi/296dOr2MWM4/SIr2JijWhjUJ (https://groups.google.com/forum/#!searchin/linux-sunxi/touch/linux-sunxi/296dOr2MWM4/SIr2JijWhjUJ)
 I tried to apply that patch in the same way as SSVB has described it a few posts ago, but that did not work. Sadly, I can not remember the error messages from the terminal at the moment. And the were in german  :-\ .
I think the problem could be, that the driver seems to be written for A10 devices. But how does the patch know, that I am running an A20  :o ?! Or is there another way to get the updated version of the driver working?

Greetings
Title: Re: A20 (A10?) Temperature logging script
Post by: cabji on January 08, 2015, 02:20:13 pm
Hi Jojo,

When I run this script it gives me this output:

catfish@cubie:~/incoming$ ./templog.sh
Temperature logging started in file "Temp_log_05:13:35.txt"...
./templog.sh: line 29: ./Temp_log_05:13:35.txt: Invalid argument
./templog.sh: line 29: ./Temp_log_05:13:35.txt: Invalid argument
./templog.sh: line 29: ./Temp_log_05:13:35.txt: Invalid argument

I'm not very good with bash scripts but I had a look and couldn't really find anything I thought is wrong. Am I missing a package that is used by the script perhaps? (Checked and I have: dirname tput, cat, bc so I can't see it being that either.)

Edit: I found the problem was with the colons in the log filename. I changed lines 18 and 29 to get the following (strips colons from filename)

Code: [Select]
#!/bin/bash
 
 
logging_start_time=$(date +%T)
script_dir=$(dirname $0)
delay=$1
 
if [ "$delay" = "0" ]
then
        delay=1
fi
 
if [ "$delay" = "" ]
then
        delay=1
fi
 
echo "Temperature logging started in file \"Temp_log_"${logging_start_time//:}".txt\"..."
 
tput civis
read -n 1 -t 1 -s
 
while [ $? -ne 0 ]
do
        T_actual=$(cat /sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/temp1_input)
        T_actual=`echo "scale=1 ; ${T_actual}/1000" | bc`
        time_stamp=$(date +%T)
        echo -n $time_stamp$'\t'$T_actual"°C "$'\r'
        echo $time_stamp$'\t'$T_actual >> "$script_dir/Temp_log_"${logging_start_time//:}".txt"
        read -n 1 -t $delay -s
done
 
echo $'\n'
 
tput cnorm
 
echo "Logging stopped at $(date +%T)"
 
Title: Re: A20 (A10?) Temperature logging script
Post by: Jojo on January 15, 2015, 10:20:06 am
Hi and sorry for my late response!

Glad to hear that you have managed to fix it :) . I am wondering, why this problem did not occure during my tests. You know... I would not have released it, if the fundamental functionality would not have worked :P ;) !

If other problems occury: don't hesitate to ask.

Cheers!
Title: A20 A10 Temperature logging script
Post by: Pokmokbavk on September 30, 2016, 12:17:16 pm
Nice to see this script is still in use

Although you disabled the verification of the GPG signature and I dont see where the integrity of the downloaded sources is verified.

__________________
MyAdmissionsEssay (http://myadmissionsessay.com/?pid=4334) - buy an essay cheap.