Current Server Time: 18:10 (Central Europe)

#apertus IRC Channel Logs

2019/05/15

Timezone: UTC


00:21
futarisIRCcloud
joined the channel
01:16
Spirit532
left the channel
01:16
Spirit532
joined the channel
03:15
Y_G
joined the channel
04:38
Y_G
left the channel
04:40
futarisIRCcloud
left the channel
05:08
BAndiT1983|away
changed nick to: BAndiT1983
05:15
futarisIRCcloud
joined the channel
05:15
BAndiT1983
changed nick to: BAndiT1983|away
06:20
niemand
joined the channel
06:56
niemand
left the channel
06:57
Nira|away
changed nick to: Nira
07:02
Y_G
joined the channel
07:29
Bertl_zZ
changed nick to: Bertl
07:30
Bertl
morning folks!
07:42
Y_G
left the channel
07:42
Y_G
joined the channel
08:18
Y_G
left the channel
08:35
Nira
changed nick to: Nira|away
09:10
Nira|away
changed nick to: Nira
12:31
se6astian|away
changed nick to: se6astian
12:47
Nira
changed nick to: Nira|away
14:06
Nira|away
changed nick to: Nira
14:54
Y_G
joined the channel
15:31
BAndiT1983|away
changed nick to: BAndiT1983
15:48
Nira
changed nick to: Nira|away
15:50
futarisIRCcloud
left the channel
15:54
Y_G
Hi BAndiT1983, could you help me with how to interact with beta booted inside qemu via DaemonCLI
15:54
BAndiT1983
Y_G, hi again
15:54
BAndiT1983
are the net interfaces exposed in qemu?
15:55
BAndiT1983
ah, forget it, DaemonCLI is only allowed to be used locally on the camera
15:55
BAndiT1983
it communicates through Unix Domain Socket with daemon
15:57
Y_G
So how do I test any code that I added ,I was basically trying to read the values in defined in zynq_info.sh through C program
15:57
BAndiT1983
if you have added the code in qemu and built it there, then you can just test it
15:57
Y_G
It works fine ,but I was trying to send this command via CLI
15:57
BAndiT1983
do you have some code to show already?
15:58
BAndiT1983
generally you need to implement sysfs adapter, as it was not done yet
15:58
Y_G
Just started today with some test programs to see how it works,nothing significant
15:59
BAndiT1983
let me open daemon code to check
15:59
Y_G
I simply tried reading these files "/sys/devices/soc0/amba/*.adc/iio*/in_temp0_offset"
16:00
BAndiT1983
you can start on your own computer, is much simpler than to start on the camera
16:00
BAndiT1983
or the firmware
16:00
BAndiT1983
like reading /proc/cpuinfo
16:02
Y_G
what is the sysfs adapter actually required for, I simply read these files to a buffer and displayed the values
16:02
Y_G
I might be missing something here
16:03
BAndiT1983
yes, you simply read the values of voltage or temperature from this values, nothing difficult
16:05
Y_G
from what I have understood we don't actually need to bring these values to userspace ,the drivers does this job and we read simply read from these files
16:05
Y_G
Is this correct ?
16:06
BAndiT1983
haven't looked that deep at what is stored there, but seems to be so, that sysfs provides values in user space there
16:12
Y_G
So sys adapter would be something that simply implements these read operation ,with development/standards similar to the CMV12000Adapter
16:13
BAndiT1983
yes
16:13
BAndiT1983
you just need to map the values correctly, so if CLI or web UI requests main_voltage
16:19
Y_G
ok,will get to back to you on this
16:21
vup
Y_G: the control daemon would probably not expose the content of in_temp0_offset directly, but instead use in_temp0_{offset,raw,scale} to produce a temperature in degrees celsius and expose that
16:21
Y_G
Also I am lacking steps on how to connect to WSServer using WebUI,could you please help me on this
16:23
BAndiT1983
the temperature should have some final value with adjustments
16:24
BAndiT1983
like celsius and so on, we can think later of switches for users who prefer fahrenheit
16:24
Y_G
@vup ,Yes I understand
16:24
BAndiT1983
Y_G, where do you start the WSServer? on your computer? or in qemu?
16:25
Y_G
Is there any fixed equations for these adjustments ?
16:25
Y_G
WSServer on my computer ,tried on qemu too but could'nt even connect with CLI there
16:27
BAndiT1983
like i said, if it doesn't expose it's net interfaces for access, then it won't work
16:27
BAndiT1983
start daemon, then WSServer, check if daemon shows that some client connected
16:28
BAndiT1983
afterwards you can open the web UI page, also open dev tools in the browser to see the console output there
16:28
BAndiT1983
it should throw some errors, but usually because when it connects it gets "Hello world" back and not JSON data
16:28
BAndiT1983
if WSServer is not there, then it would complain about missing connection to port 7070
16:30
Y_G
what is the web UI page ?
16:31
BAndiT1983
have you built the web ui?
16:33
Y_G
yes
16:33
BAndiT1983
which files are present in the root folder of the build?
16:37
vup
BAndiT1983: is the web ui actually working with the current control daemon?
16:39
BAndiT1983
haven't got time to test it, job is requiring a lot of attention, but will try to test it today or at latest tomorrow on the train to berlib
16:39
BAndiT1983
*Berlin
16:39
vup
ok, i think it is not actually working with the control daemon
16:39
vup
it still tries to use `{"sender":"web_ui","module":"system","type":"available_parameters"}`
16:39
vup
to get the available parameters
16:40
vup
instead of ./DaemonCLI general get available_parameters
16:40
vup
*instead of the ... scheme
16:41
BAndiT1983
yep, seen that while trying it last time, have to get an overview there, as i haven't contributed to the web UI yet, besides infrastructure of nodejs
16:45
johnathan
joined the channel
16:49
johnathan
left the channel
16:50
johnathan
joined the channel
16:54
johnathan
left the channel
16:54
johnathan
joined the channel
16:58
johnathan
left the channel
17:02
johnathan
joined the channel
17:03
se6astian
changed nick to: se6astian|away
17:07
johnathan
left the channel
17:11
johnathan
joined the channel
17:15
johnatha_
joined the channel
17:16
johnathan
left the channel
17:18
johnathan
joined the channel
17:19
johnatha_
left the channel
17:22
Nira|away
changed nick to: Nira
17:23
BAndiT1983
off for now, will try to come online later
17:23
johnathan
left the channel
17:23
BAndiT1983
changed nick to: BAndiT1983|away
17:28
johnathan
joined the channel
17:33
johnathan
left the channel
17:34
johnathan
joined the channel
17:38
johnathan
left the channel
18:41
cryteno[m]
left the channel
18:49
se6astian|away
changed nick to: se6astian
19:03
WalterZimmermann
left the channel
19:19
Nira
changed nick to: Nira|away
19:26
Nira|away
changed nick to: Nira
20:19
johnathan
joined the channel
20:29
johnathan
left the channel
20:35
Nira
changed nick to: Nira|away
20:40
Y_G
left the channel
20:43
Y_G
joined the channel
20:45
Nira|away
changed nick to: Nira
20:47
Y_G
left the channel
20:48
johnathan
joined the channel
20:49
Y_G
joined the channel
20:52
johnathan
left the channel
20:54
se6astian
changed nick to: se6astian|away
21:50
johnathan
joined the channel
21:54
johnathan
left the channel
21:56
johnath__
joined the channel
22:00
johnath__
left the channel
22:01
johnathan
joined the channel
22:06
Nira
changed nick to: Nira|away
22:09
thiblahute
left the channel
22:10
thiblahute
joined the channel
22:36
Bertl
off to bed now ... have a good one everyone!
22:36
Bertl
changed nick to: Bertl_zZ
23:22
futarisIRCcloud
joined the channel