Current Server Time: 19:53 (Central Europe)

#apertus IRC Channel Logs

2019/05/15

Timezone: UTC


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