Current Server Time: 14:53 (Central Europe)

#apertus IRC Channel Logs

2020/03/19

Timezone: UTC


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