2022-05-22.log

bluerisecinap_lenrek: I think mntre-disp is a better than disp2. I did some stuff in disp2 that maybe aren't that nice,  you should check the diff00:05
blueriseI think I went from dcss to the other one in disp2, not sure00:05
blueriseit's been some time00:05
minutethis is becoming the hardest problem in computer science ^^00:09
minutean open source software demonstrates how to solve a problem, still, noone can understand how it does that nor reproduce it00:10
cinap_lenrekhttp://okturing.com/src/13653/body00:14
cinap_lenrek^- how *NOT* to turn on the backlight00:14
cinap_lenrek(it does not work)00:14
minutepeeks and pokes00:15
minutei can't see from the pokes if you set it to 100% or 0%00:16
cinap_lenreki'm not sure on the theory of operation of the pwm yet00:16
cinap_lenrekso i'm just changing the sample register00:17
cinap_lenrekthe first SAR is 000:17
cinap_lenreklater 0xFFFF00:17
minutethe frequency should stay the same (like 10 khz) and the duty cycle determines the brightness IIRC00:17
cinap_lenrek10khz.... hmmmm00:18
cinap_lenrekok00:18
minutenot sure right now if a duty cycle of 0 or 100 turns it fully on00:18
minute% that is00:18
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)00:26
- S0rin (QUIT: Ping timeout: 248 seconds) (~S0rin@user/s0rin)00:47
+ S0rin (~S0rin@user/s0rin)00:49
mtm roon00:51
mtmoops, wrong window00:51
- chomwitt (QUIT: Ping timeout: 260 seconds) (~chomwitt@athe730-c-multi-500.home.otenet.gr)00:53
- mjw (QUIT: Quit: Leaving) (~mark@gnu.wildebeest.org)00:55
cinap_lenrekthe devicetree arguments is pwms = <&pwm2 0 10000>00:59
cinap_lenrekfirst is the channel, second is the period in *NANOSECONDS*00:59
cinap_lenrekso 10000ns is 100khz not 10khz00:59
cinap_lenrekok01:11
cinap_lenreklets check the counter01:11
cinap_lenrekin case the clock is fucked01:11
cinap_lenrekotherwise, is here some gpio usable for output that is easy to check?01:12
cinap_lenreklike some led on the board?01:12
cinap_lenrekmaybe my assumption is just wrong and we have to bring up the edp bridge before we can turn on the backlight?01:13
cinap_lenrekthats a signal going into the panel directly?01:13
cinap_lenrekha01:14
cinap_lenreki'll just try the usb port rest :)01:14
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-37.cust.tzulo.com)01:22
+ bkeys (~Thunderbi@static-198-54-135-37.cust.tzulo.com)01:22
cinap_lenrekgpio1.14?01:24
cinap_lenrekhere we go01:25
minutecinap_lenrek: 100khz will work too, i used 10khz in the past01:36
minutecinap_lenrek: the pwm goes directly to the panel, and it will light up completely independently from any edp stuff01:36
cinap_lenrekhm, ok01:37
minutei brought up the panel with the fpga module too01:37
minutethe backlight i mean (and some colorbars from the edp chip)01:37
minute(it has a color bars test mode register)01:37
minutecinap_lenrek: what kinda duty cycles did you try?01:38
cinap_lenrekhalf the period01:40
cinap_lenrekand the period being 25Mhz/100000 == 25001:41
cinap_lenrekah!01:43
cinap_lenreki found something01:43
cinap_lenrekpinctrl_pwm2: pwm2grp {01:43
cinap_lenrekfsl,pins = < MX8MQ_IOMUX_SPDIF_RX_PWN2_OUT 0x16 >; }01:44
cinap_lenreklemme make sure the pwm output is actually muxed out01:44
cinap_lenrekLIGHTS ON!01:48
cinap_lenrekhere we gooo01:48
cinap_lenrekminute: everything works now!01:50
cinap_lenrekthanks again! :)01:51
minutegreat!01:51
cinap_lenreknext: i2c controller driver and make the color strips on01:51
minutecool01:51
cinap_lenrekspend the whole day mostly with the clock forrest01:51
minutethere was a community post about how to get to color bars with pokes, have you seen that?01:52
cinap_lenrekyes01:52
minuteok cool01:54
- mtm (QUIT: Ping timeout: 276 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)02:04
- Christoph_ (QUIT: Remote host closed the connection) (~Christoph@p54bf6a01.dip0.t-ipconnect.de)03:19
+ qbit (~qbit@h.suah.dev)03:45
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)04:09
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-37.cust.tzulo.com)04:42
+ bkeys (~Thunderbi@static-198-54-135-37.cust.tzulo.com)04:42
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)05:01
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)10:18
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)10:52
+ chomwitt (~chomwitt@2a02:587:dc1e:cc00:630a:df82:afd2:eb70)10:59
+ MajorBiscuit (~MajorBisc@86-88-79-148.fixed.kpn.net)11:19
- MajorBiscuit (QUIT: Ping timeout: 240 seconds) (~MajorBisc@86-88-79-148.fixed.kpn.net)11:39
+ MajorBiscuit (~MajorBisc@86-88-79-148.fixed.kpn.net)11:52
- MajorBiscuit (QUIT: Ping timeout: 240 seconds) (~MajorBisc@86-88-79-148.fixed.kpn.net)12:07
+ Christoph_ (~Christoph@p54bf6ee9.dip0.t-ipconnect.de)12:34
- GNUmoon (QUIT: Ping timeout: 240 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)12:44
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)12:48
- mtm (QUIT: Ping timeout: 244 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)14:02
- S0rin (QUIT: Ping timeout: 244 seconds) (~S0rin@user/s0rin)14:57
+ S0rin (~S0rin@user/s0rin)15:11
+ mjw (~mark@gnu.wildebeest.org)15:38
- S0rin (QUIT: Read error: Connection reset by peer) (~S0rin@user/s0rin)15:39
+ S0rin (~S0rin@user/s0rin)15:45
- S0rin (QUIT: Quit: WeeChat 3.0) (~S0rin@user/s0rin)15:58
+ S0rin (~S0rin@user/s0rin)16:01
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)16:08
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-37.cust.tzulo.com)16:35
+ bkeys (~Thunderbi@static-198-54-135-37.cust.tzulo.com)16:35
- Ar|stote|is (QUIT: Ping timeout: 244 seconds) (~linx@149-210-16-241.mobile.nym.cosmote.net)16:51
+ Ar|stote|is (~linx@149-210-28-106.mobile.nym.cosmote.net)16:56
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)18:26
- flowy (QUIT: Ping timeout: 248 seconds) (~flowy@2a01:4f8:c0c:1a8f::1)19:54
- ndufresne (QUIT: Ping timeout: 276 seconds) (~ndufresne@gyros.collabora.co.uk)19:55
+ ndufresne (~ndufresne@gyros.collabora.co.uk)20:10
+ flowy (~flowy@2a01:4f8:c0c:1a8f::1)20:16
- S0rin (QUIT: Quit: WeeChat 3.0) (~S0rin@user/s0rin)22:53
+ MajorBiscuit (~MajorBisc@80.146.187.107)22:55
- MajorBiscuit (QUIT: Quit: WeeChat 3.4) (~MajorBisc@80.146.187.107)23:02
+ MajorBiscuit (~MajorBisc@80.146.187.107)23:08
+ S0rin (~S0rin@user/s0rin)23:37

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!