Current Server Time: 06:21 (Central Europe)

#apertus IRC Channel Logs

2020/03/19

Timezone: UTC


23:36
futarisIRCcloud
joined the channel
01:44
davidak
left the channel
03:30
davidak
joined the channel
04:45
Bertl_oO
off to bed now ... have a good one everyone!
04:45
Bertl_oO
changed nick to: Bertl_zZ
04:53
davidak
left the channel
06:56
pratyush
joined the channel
06:57
pratyush
left the channel
07:00
pratyush
joined the channel
07:08
apoorva_arora
left the channel
07:08
_florent_
left the channel
07:08
rahul_
left the channel
07:08
apoorva_arora
joined the channel
07:09
pdp7
left the channel
07:09
_florent_
joined the channel
07:09
rahul_
joined the channel
07:10
pdp7
joined the channel
07:12
pratyush
left the channel
07:46
pratyush
joined the channel
08:09
metal_dent[m]
BAndiT1983: so do we need the concerning h/w for the development of BL?
08:15
futarisIRCcloud
left the channel
08:35
RexOrCine1
left the channel
08:39
RexOrCine
joined the channel
09:36
pratyush
left the channel
10:03
futarisIRCcloud
joined the channel
10:20
BAndiT1983|away
changed nick to: BAndiT1983
10:21
BAndiT1983
metal_dent[m]: also for firmware task the hardware would be required, Bertl has created a new PCB to control the board from outside, it replicates button and knob signals
10:25
Bertl_zZ
changed nick to: Bertl
10:26
Bertl
morning folks!
10:26
BAndiT1983
hi
10:28
BAndiT1983
Bertl: can you describe the new PCB for the axiom remote control a bit?
10:29
Bertl
what would you like to know?
10:30
BAndiT1983
just a small info, how it would be connected and what it does? so students know how they would test their cahnges
10:30
BAndiT1983
*changes
10:30
Bertl
the main PCB is basically the current state of the remote prototype with all the changes we did manually
10:31
BAndiT1983
and pin state changes would tell the axiom remote what was pressed?
10:32
Bertl
the connect board is more or less wiring to attach the pads strategically placed on the remote PCB to an IO shield on an AXIOM Beta
10:32
Bertl
https://644db4de3505c40a0444-327723bce298e3ff5813fb42baeefbaa.ssl.cf1.rackcdn.com/14f6c1cd7544f7783f6c796cabbf7fdd.png
10:33
Bertl
the IO shield has the necessary transistors to act as remote controllable switches
10:33
pratyush
joined the channel
10:33
Bertl
https://644db4de3505c40a0444-327723bce298e3ff5813fb42baeefbaa.ssl.cf1.rackcdn.com/1ff5e963a8839691c0ddb598e35687d9.png
10:33
BAndiT1983
nice
10:33
Bertl
the rest is software on the partial remote beta
10:34
BAndiT1983
knob emulation would require 2 or 3 pins for diff signal?
10:34
Bertl
if you are referring to the rotary encoders as 'knob' yes, they have three transistors, two for direction and one for button press
10:36
BAndiT1983
alright, should be all the info which is important at the moment, many thanks
10:36
Bertl
you're welcome!
10:36
BAndiT1983
do you have an estimation when first tests can be done?
10:37
Bertl
I should get to the hardware on the weekend, at least for one prototype setup
10:37
BAndiT1983
nice, looking forward to it
10:37
Bertl
shouldn't be too hard to make that available remotely if you are keen on testing/working on it
10:38
BAndiT1983
there is no urge at the moment, as i have real hardware here and am more interested in next iteration, but would like to test before gsoc and there is quite some time left, so no need to rush
10:40
Bertl
okay
10:56
pratyush
Bertl: I have updated my source code
10:56
pratyush
https://github.com/gr8geek/apertus-challenge
11:05
Bertl
okay, let's go over the code and check with the task description, shall we?
11:06
BAndiT1983
don't know what kernel guidelines are saying, but the main() has different brace position nad also some empty lines won't be bad for easier reading
11:07
BAndiT1983
same empty line comment also for other code
11:08
Bertl
pratyush: I take it you chose Task 1 of T884, correct?
11:08
pratyush
yes
11:09
Bertl
so, let's look at the code: https://raw.githubusercontent.com/gr8geek/apertus-challenge/master/proctest/simproc3.c
11:10
Bertl
what doesn't follow the Linux Kernel coding style here?
11:10
pratyush
let me see
11:13
pratyush
There is a empty line on line 7
11:13
Bertl
and that's against the Linux Kernel coding style?
11:14
pratyush
and i have also not decleared the function signatures at the begining
11:14
pratyush
The for loop
11:16
pratyush
Bertl: I am confused
11:16
Bertl
it looks like, yes
11:16
pratyush
Bertl: Please tell me where I am wrong
11:17
Bertl
it is hard to pinpoint a specific place because it is all a mess
11:17
Bertl
you do not do proper white space at all ...
11:18
Bertl
you ignore most of the coding style guides
11:18
Bertl
and what the code actually does looks rather weird, but let's start there ... what is the basic design of your module?
11:19
Bertl
i.e. what is the idea behind the design?
11:19
Bertl
(please try to sell it to me :)
11:19
pratyush
Yes
11:20
pratyush
First i will start with checksum calculation
11:20
pratyush
checksum=(checksum*checksum)^buf2[i];
11:21
pratyush
i have squared the checksum and the xored it becauause it is sensitive to character position
11:21
pratyush
Example:
11:22
pratyush
checksum of PRATYUSH is suppouse 209482908509485
11:22
pratyush
checksum of PARTUYSH is 976459485908
11:22
pratyush
I have interchange R with A
11:23
Bertl
okay
11:23
pratyush
So the checksum has also changed
11:24
Bertl
good
11:25
Bertl
how would that like look with proper spacing?
11:25
pratyush
means we pass multiple arguments to the driver seperated by a space
11:26
Bertl
I'm just talking about the formatting of the code here
11:27
pratyush
it will look good :)
11:27
Bertl
yeah, but currently it doesn't :)
11:27
BAndiT1983
ehm, of course, that's what formatting is for
11:29
pratyush
moving on to the idea behind the code
11:30
Bertl
okay
11:30
metal_dent[m]
So whatever changes we make remotely can be checked by Bertl on the actual hardware?
11:31
Bertl
metal_dent[m]: we can do better, I will hook up a webcam :)
11:31
Bertl
ultimately this setup will be installed at the hub
11:31
BAndiT1983
metal_dent[m]: no, you would control it through SSH
11:32
pratyush
left the channel
11:32
BAndiT1983
either webcam or we could try to send the framebuffer data through USB back to host
11:32
BAndiT1983
latter is just a nice feature to learn the hardware for me
11:33
BAndiT1983
as USB is a bit difficult topic
11:34
Bertl
or simply have both :)
11:34
BAndiT1983
or both, you are greedy lately :D
11:34
Bertl
I want it all and I want it now!
11:35
BAndiT1983
ha, nice, do you know the cover by hämatom with hansi kürsch from blind guardian?
11:35
pratyush
joined the channel
11:35
pratyush
moving on to the code idea
11:36
Bertl
BAndiT1983: I have no idea what you are talking about ;)
11:37
Bertl
btw, Sultans of Swing cover by Leo Moracchioli and Mary Spender is nice too
11:40
pratyush
Bertl: I have 2 char type arrays buf and buf2 which are used seperately for input and output to avoid confusion and problems
11:41
pratyush
Bertl: When the user writes to the driver mywrite() is called
11:43
Bertl
how does the user 'write to the driver'?
11:46
pratyush
i mean to say when mywrite is invoked
11:47
pratyush
User makes system call is more appropriate
11:47
bluez_[m]
Bertl: I realized I have been just using the procfs file to read and write data to the driver... I did not actually register and create a character device file ':D I see ioctl and procfs are just debugging methods for our driver. So I am currently changing the code to do all this.
11:47
Bertl
pratyush: so how does the user 'invoke' mywrite
11:48
Bertl
bluez_[m]: sounds good, double check formatting and code style :)
11:49
pratyush
thats invoked from test.c
11:49
karna98
joined the channel
11:49
Bertl
pratyush: which line?
11:49
bluez_[m]
Bertl: I have a doubt though, what must actually reading the character device return (and not reading the procfs entry) ? Should it return the same data we wrote or should it return the checksum like the procfs entry?
11:50
BAndiT1983
guys, slow down, Bertl is only one person
11:50
BAndiT1983
;)
11:50
Bertl
bluez_[m]: you have a question :)
11:50
bluez_[m]
> bluez_: sounds good, double check formatting and code style :)
11:50
bluez_[m]
Yes I will. Thanks!
11:50
pratyush
write(fd, buf, sizeof(buf));
11:50
Bertl
BAndiT1983: no problem, I'm used to talking to several people at once
11:51
karna98
left the channel
11:51
bluez_[m]
> guys, slow down, Bertl is only one person
11:51
bluez_[m]
No rush absolutely ':D
11:52
Bertl
regarding your question: what does the task description say about that?
11:54
Bertl
or more precisely: what does the task description say about reading from the character device?
11:55
bluez_[m]
I guess it says returns the checksum... just wanted to make sure ':D
11:55
Bertl
no need to 'guess', just check with the task :)
11:56
pratyush
Bertl: We will make three seperate kernel modules one for character device other for proc file checksum and other for ioctl
11:56
bluez_[m]
Ok ok... will get to work... thanks!
11:56
Bertl
pratyush: who is we?
11:56
pratyush
Bertl: We is I
11:57
Bertl
I see ...
11:58
pratyush
Bertl: I am from Bihar so we becomes sometimes I
11:58
Bertl
We can live with that :)
11:59
Bertl
(not so much with the bad code formatting though)
11:59
pratyush
I will work on that
12:00
pratyush
And do we have to create three seperate kernel modules
12:00
Bertl
Again, what does the Task say about that?
12:01
Bertl
Come on folks, the task description is literally three lines
12:01
Bertl
It is not that hard to understand
12:01
metal_dent[m]
> either webcam or we could try to send the framebuffer data through USB back to host
12:01
metal_dent[m]
Oh...kay!
12:12
BAndiT1983
metal_dent[m]: it's not that difficult, you just have to divide the tasks in smaller sub-tasks -> "divide and conquer"
12:12
pratyush
left the channel
12:15
BAndiT1983
someone uses probably the web client
12:17
Bertl
off for now ... bbl (do not hesitate to drop questions here on the channel though :)
12:18
Bertl
changed nick to: Bertl_oO
12:47
bluez_[m]
> off for now ... bbl (do not hesitate to drop questions here on the channel though :)
12:47
bluez_[m]
Sure we will! Sorry for the silly question though ':D
13:08
metal_dent[m]
> metal_dent: it's not that difficult, you just have to divide the tasks in smaller sub-tasks -> "divide and conquer"
13:08
metal_dent[m]
Yes, that's what am trying for the proposal ð
13:09
metal_dent[m]
> someone uses probably the web client
13:09
metal_dent[m]
Me?
13:09
BAndiT1983
nah, someone else ;) you seem to use matrix
13:13
metal_dent[m]
Yes, am using riot :)
13:16
BAndiT1983
will finish my work in 15 minutes or so, if the build will stop making problems on jenkins, then i will continue to work on firmware
13:16
BAndiT1983
do you have questions at the moment or need anything?
13:36
metal_dent[m]
Not right now, hope it's okay if I keep asking while drafting the proposal :)
13:38
BAndiT1983
of course, just write here or sent an email, whatever is more comfortable for you
13:52
pratyush_harsh[m
joined the channel
13:59
pratyush_harsh[m
changed nick to: pratyush[m]
14:34
metal_dent[m]
> of course, just write here or sent an email, whatever is more comfortable for you
14:34
metal_dent[m]
cool!
14:42
comradekingu
left the channel
15:28
comradekingu
joined the channel
16:35
shashwat
joined the channel
16:44
BAndiT1983
changed nick to: BAndiT1983|away
16:47
illwieckz
left the channel
16:52
davidak
joined the channel
17:00
illwieckz
joined the channel
17:17
omar31
joined the channel
17:33
BAndiT1983|away
changed nick to: BAndiT1983
17:34
Bertl_oO
Hello omar31! how's it going?
17:36
omar31
left the channel
17:36
omar31
joined the channel
17:37
omar31
Hello Bertl
17:38
omar31
Having some difficulties in installing Vivado
17:40
Bertl_oO
how so?
17:41
omar31
I was using an older version (2015) but wanted to upgrade but unfortunately Xilinx tools are forbidden here in Egypt
17:42
Bertl_oO
then better not use them :)
17:45
omar31
I think I saw someone with a similar problem while looking into last year logs.
17:45
omar31
What did he do about it?
17:45
Bertl_oO
yeah, managed to 'work around it'
17:47
omar31
Ok, will see what I can do
18:17
shashwat
left the channel
19:19
shashwat
joined the channel
19:26
aombk
left the channel
19:28
aombk
joined the channel
19:37
shashwat
left the channel
20:18
BAndiT198383
joined the channel
20:20
BAndiT198383
Hello there, I am Pragya Angra. I had been told to talk to you as I wanted to contribute the organisation through my skills in C and C++ and you deal with the languages I specified.
20:21
BAndiT198383
left the channel
20:36
BAndiT1983
do i have a clone now?
20:37
Bertl_oO
looks like it :)
20:37
BAndiT1983
crazy times, probably corona consequence
20:39
Bertl_oO
now with the clone, you can easily handle twice the workload!
20:40
BAndiT1983
hm, good idea, come back clone, framebuffer is not outputting to USB yet
21:10
BAndiT1983
changed nick to: BAndiT1983|away
21:14
BAndiT1983|away
changed nick to: BAndiT1983
21:14
max_bxl
joined the channel
21:14
max_bxl
hello everyone!
21:14
BAndiT1983
hi
21:15
max_bxl
I was wondering if, with firmware 2.0, we still need to use --swap-lines in the darkframe calibration process
21:15
max_bxl
raw2dng --swap-lines --no-blackcol --calc-darkframe dark-x1-10ms-*.raw12
21:15
max_bxl
ref : https://wiki.apertus.org/index.php/Factory_Calibration
21:16
BAndiT1983
if fixes were done, then no, but some versions were broken
21:16
BAndiT1983
maybe se6ast1an knows the latest state
21:18
se6ast1an
hi maxime!
21:18
max_bxl
hello!
21:19
se6ast1an
firmware 2.0 has cmv_snap3 or axiom-snap v1.11 so no swapping is required anymore
21:19
se6ast1an
please adapt the wiki where this is mentioned
21:21
max_bxl
will do
21:21
se6ast1an
thanks!
21:21
se6ast1an
heading off to bed now
21:22
se6ast1an
let us know how it goes or if you discover anything that needs to be fixed/updated
21:22
se6ast1an
good night
21:22
max_bxl
yep!
21:22
max_bxl
good night!
21:28
omar31_
joined the channel
21:28
omar31
left the channel
21:29
omar31_
changed nick to: omar31
21:33
intrac
left the channel
21:34
intracube
joined the channel
21:38
max_bxl
wiki updated
21:39
BAndiT1983
great, thanks
22:00
omar31
left the channel
22:13
max_bxl
I was also wondering which method among the three described in the wiki shoud be used for "RCN calibration" validation ?
22:22
BAndiT1983
if i see it correctly, then you can choose whatever suits you
22:23
BAndiT1983
method 2 uses only one script, maybe you can try that first
22:24
BAndiT1983
first one is also simple, but am not direct camera user, so can't say much about it
22:24
BAndiT1983
off for today, good night
22:24
BAndiT1983
changed nick to: BAndiT1983|away
22:35
max_bxl
thanks and bye !