Ergebnis 1 bis 10 von 12
-
07.05.2018, 18:24 #1
-
Advertising
-
07.05.2018, 19:00 #2
- Registriert seit
- 05.04.2013
- Beiträge
- 481
- Thanks (gegeben)
- 1409
- Thanks (bekommen)
- 3257
- Total Downloaded
- 295,50 MB
- Total Downloaded
- 295,50 MB
Box 1:AX HD51this is a po problem. try this file.
Du kannst niemals alle mit deinem Tun begeistern. Selbst wenn du übers Wasser laufen kannst, kommt einer daher und fragt, ob du zu blöd zum Schwimmen bist.[/CENTER]
-
Danke - 1 ThanksMarchella bedankten sich
-
07.05.2018, 19:14 #3
- Registriert seit
- 15.04.2017
- Ort
- Uzbekistan
- Beiträge
- 124
- Thanks (gegeben)
- 144
- Thanks (bekommen)
- 14
- Total Downloaded
- 124,9 KB
- Total Downloaded
- 124,9 KB
ThemenstarterBox 1:Zgemma H10 Combo 4KBox 2:Zgemma H9 Combo 4KBox 3:Zgemma H9 Twin 4K UHDmadie excuse me for my English...
I need to know from where information temperature comes?
I was told to look for here, but I haven't found it
Code:if os.path.isfile('/proc/stb/fp/temp_sensor_avs'): temperature = open("/proc/stb/fp/temp_sensor_avs").readline().replace('\n','') elif os.path.isfile('/proc/stb/power/avs'): temperature = open("/proc/stb/power/avs").readline().replace('\n','') elif os.path.isfile("/sys/devices/virtual/thermal/thermal_zone0/temp"): try: temperature = int(open("/sys/devices/virtual/thermal/thermal_zone0/temp").read().strip())/1000 except:
-
07.05.2018, 19:22 #4
- Registriert seit
- 05.04.2013
- Beiträge
- 481
- Thanks (gegeben)
- 1409
- Thanks (bekommen)
- 3257
- Total Downloaded
- 295,50 MB
- Total Downloaded
- 295,50 MB
Box 1:AX HD51enigma2/About.py at 6.1 * openatv/enigma2 * GitHub
Code:tempinfo = "" if path.exists('/proc/stb/fp/temp_sensor_avs'): f = open('/proc/stb/fp/temp_sensor_avs', 'r') tempinfo = f.read() f.close() elif path.exists('/sys/devices/virtual/thermal/thermal_zone0/temp'): try: f = open('/sys/devices/virtual/thermal/thermal_zone0/temp', 'r') tempinfo = f.read() tempinfo = tempinfo[:-4] f.close() except: tempinfo = "" if tempinfo and int(tempinfo.replace('\n', '')) > 0: mark = str('\xc2\xb0') AboutText += _("Processor temperature:\t%s") % tempinfo.replace('\n', '').replace(' ','') + mark + "C\n"
Du kannst niemals alle mit deinem Tun begeistern. Selbst wenn du übers Wasser laufen kannst, kommt einer daher und fragt, ob du zu blöd zum Schwimmen bist.[/CENTER]
-
Danke - 1 ThanksMarchella bedankten sich
-
07.05.2018, 19:34 #5
-
07.05.2018, 19:49 #6
- Registriert seit
- 05.04.2013
- Beiträge
- 481
- Thanks (gegeben)
- 1409
- Thanks (bekommen)
- 3257
- Total Downloaded
- 295,50 MB
- Total Downloaded
- 295,50 MB
Box 1:AX HD51is that the system temp?
Code:tempinfo = "" if path.exists('/proc/stb/sensors/temp0/value'): f = open('/proc/stb/sensors/temp0/value', 'r') tempinfo = f.read() f.close() elif path.exists('/proc/stb/fp/temp_sensor'): f = open('/proc/stb/fp/temp_sensor', 'r') tempinfo = f.read() f.close() elif path.exists('/proc/stb/sensors/temp/value'): f = open('/proc/stb/sensors/temp/value', 'r') tempinfo = f.read() f.close() if tempinfo and int(tempinfo.replace('\n', '')) > 0: mark = str('\xc2\xb0') AboutText += _("System temperature:\t%s") % tempinfo.replace('\n', '').replace(' ','') + mark + "C\n"
Du kannst niemals alle mit deinem Tun begeistern. Selbst wenn du übers Wasser laufen kannst, kommt einer daher und fragt, ob du zu blöd zum Schwimmen bist.[/CENTER]
-
07.05.2018, 19:59 #7
- Registriert seit
- 15.04.2017
- Ort
- Uzbekistan
- Beiträge
- 124
- Thanks (gegeben)
- 144
- Thanks (bekommen)
- 14
- Total Downloaded
- 124,9 KB
- Total Downloaded
- 124,9 KB
ThemenstarterBox 1:Zgemma H10 Combo 4KBox 2:Zgemma H9 Combo 4KBox 3:Zgemma H9 Twin 4K UHDmadie, yes, if in a telnet I gather any of these teams
Code:cat /proc/stb/sensors/temp0/value cat /proc/stb/fp/temp_sensor cat /proc/stb/sensors/temp/value cat /proc/stb/fp/temp_sensor_avs cat /sys/devices/virtual/thermal/thermal_zone0/temp
Geändert von Marchella (08.05.2018 um 03:41 Uhr)
-
07.05.2018, 20:58 #8
- Registriert seit
- 29.08.2014
- Beiträge
- 5.344
- Thanks (gegeben)
- 2010
- Thanks (bekommen)
- 2281
- Total Downloaded
- 51,35 MB
- Total Downloaded
- 51,35 MB
Box 1:OSmio+4K @ 7.3Box 2:OSmio4K @ 7.3Box 3:OSmini4K @ 7.3Box 4:SF8008 @ 7.3Can you make a screenshot with english language ..
and which language do you use?Gruss HD75hd
OS mio+ 4K / OpenATV 7.3
Unicable DurLine UK 124
Wer kein Fullbackup hat, hat selber Schuld
-
08.05.2018, 05:04 #9
- Registriert seit
- 15.04.2017
- Ort
- Uzbekistan
- Beiträge
- 124
- Thanks (gegeben)
- 144
- Thanks (bekommen)
- 14
- Total Downloaded
- 124,9 KB
- Total Downloaded
- 124,9 KB
ThemenstarterBox 1:Zgemma H10 Combo 4KBox 2:Zgemma H9 Combo 4KBox 3:Zgemma H9 Twin 4K UHDHD75hd at what here language, I just want to know the correct team in a conclusion telnet temperature of the processor or system...
Code:tempinfo = "" if path.exists('/proc/stb/fp/temp_sensor_avs'): f = open('/proc/stb/fp/temp_sensor_avs', 'r') tempinfo = f.read() f.close() elif path.exists('/sys/devices/virtual/thermal/thermal_zone0/temp'): try: f = open('/sys/devices/virtual/thermal/thermal_zone0/temp', 'r') tempinfo = f.read() tempinfo = tempinfo[:-4] f.close() except: tempinfo = "" if tempinfo and int(tempinfo.replace('\n', '')) > 0: mark = str('\xc2\xb0') AboutText += _("Processor temperature:\t%s") % tempinfo.replace('\n', '').replace(' ','') + mark + "C\n" AboutLcdText = AboutText.replace('\t', ' ')
Code:cat /proc/stb/fp/temp_sensor_avs cat /sys/devices/virtual/thermal/thermal_zone0/temp
Geändert von Marchella (08.05.2018 um 05:53 Uhr)
-
08.05.2018, 08:16 #10
- Registriert seit
- 03.04.2013
- Beiträge
- 14.861
- Thanks (gegeben)
- 763
- Thanks (bekommen)
- 21090
- Total Downloaded
- 162,47 MB
- Total Downloaded
- 162,47 MB
grep -r "" /proc/stb/ > /tmp/procfs.txt
and send the txt file
openATV we are open Source
Boykott GPL violator
-
Danke - 1 ThanksMarchella bedankten sich
Lesezeichen