rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
gnufan_home has quit [Quit: Leaving.]
florian has quit [Remote host closed the connection]
Andy-D has quit [Ping timeout: 245 seconds]
Da_Coynul has joined #linux-sunxi
Andy-D has joined #linux-sunxi
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
pmpp is now known as pmp-p
cnxsoft has joined #linux-sunxi
megi has quit [Quit: WeeChat 2.6]
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 265 seconds]
dddddd has quit [Remote host closed the connection]
NeuroScr has quit [Quit: NeuroScr]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 268 seconds]
florian has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 265 seconds]
reinforce has joined #linux-sunxi
tdebrouw has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
gsz has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
yann has quit [Ping timeout: 240 seconds]
matthias_bgg has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
diego_r has joined #linux-sunxi
ldevulder has quit [Ping timeout: 240 seconds]
ldevulder_ is now known as ldevulder
nexgen has joined #linux-sunxi
airwind has joined #linux-sunxi
tnovotny has joined #linux-sunxi
selfbg has joined #linux-sunxi
hlauer has joined #linux-sunxi
msevo has joined #linux-sunxi
Andy-D has quit [Remote host closed the connection]
yann has joined #linux-sunxi
marekbelisko_ has joined #linux-sunxi
marekbelisko_ has quit [Quit: This computer has gone to sleep]
tlwoerner has quit [Quit: Leaving]
lerc has quit [Quit: No Ping reply in 180 seconds.]
lerc has joined #linux-sunxi
marekbelisko_ has joined #linux-sunxi
marekbelisko_ has quit [Client Quit]
tomeu has left #linux-sunxi [#linux-sunxi]
suprothunderbolt has quit [Ping timeout: 268 seconds]
tlwoerner has joined #linux-sunxi
TheSeven has quit [Remote host closed the connection]
marekbelisko_ has joined #linux-sunxi
marekbelisko_ has quit [Client Quit]
maz has joined #linux-sunxi
ganbold has quit [Remote host closed the connection]
Mangy_Dog has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
tomeu has joined #linux-sunxi
Da_Coynul has quit [Client Quit]
Da_Coynul has joined #linux-sunxi
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Da_Coynul has joined #linux-sunxi
Da_Coynul has quit [Client Quit]
gaston1980 has joined #linux-sunxi
selfbg has quit [Ping timeout: 240 seconds]
lurchi_ is now known as lurchi__
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-sunxi
lurchi__ is now known as lurchi_
selfbg has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX has quit [Ping timeout: 252 seconds]
AneoX has joined #linux-sunxi
megi has joined #linux-sunxi
AneoX has quit [Ping timeout: 245 seconds]
lurchi_ is now known as lurchi__
AneoX has joined #linux-sunxi
diego_r has quit [Ping timeout: 240 seconds]
dgp has quit [Remote host closed the connection]
dddddd has joined #linux-sunxi
jerbob92_ has left #linux-sunxi [#linux-sunxi]
jerbob92 has joined #linux-sunxi
airwind has quit [Quit: airwind]
hlauer has quit [Ping timeout: 265 seconds]
<wens> a lot of reverts... # 19deb7695e07 Revert "Revert "Revert "mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpmask""
<megi> :)
selfbg has quit [Remote host closed the connection]
<megi> I tried to test HDMI audio on 5.4-rc1 on H5, and it's funny :) When I switch to HDMI audio output in pulseuadio, it will start playing at twice the speed compared to the internal codec output
<megi> mpv seemingly speeds up its playback time output
<megi> maybe it's because some clocks are wrong on H5
<mru> on the bright side, you can now watch twice as much stuff in the same amount of time
<megi> ccu on H3 vs H5 is not identical, for example pll used for mmc clock is twice the speed in HW, but not described as such in ccu driver
<megi> that may be related
hlauer has joined #linux-sunxi
<megi> funny that according to the kernel, i2s2 is set to half the speed of other dais, yet the sound plays at twice the speed
<megi> the source clock, anyway
jstefanop has joined #linux-sunxi
<megi> no difference in the manuals that I can see, maybe it doesn't work on H3 either, I didn't test :)
<mru> maybe the manual is wrong
<mru> wouldn't be the first time
<megi> there were a lot of i2s changes in 5.4, so maybe the dust did not yet settle :)
JohnDoe_71Rus has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
ganbold has joined #linux-sunxi
cnxsoft1 has quit [Quit: cnxsoft1]
jstefanop has quit [Remote host closed the connection]
hlauer has quit [Ping timeout: 240 seconds]
jstefanop has joined #linux-sunxi
jstefano_ has joined #linux-sunxi
jstefanop has quit [Ping timeout: 268 seconds]
jstefano_ has quit [Read error: Connection reset by peer]
jstefanop has joined #linux-sunxi
nexgen has quit [Ping timeout: 268 seconds]
jstefanop has quit [Read error: Connection reset by peer]
jstefanop has joined #linux-sunxi
reinforce has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
<jernej> megi: you need few more patches for I2S for HDMI
<megi> jernej: which ones?
<jernej> it also contains multi-channel hack
<jernej> hopefully codekipper will find time to send them upstream
<megi> ahh, I didn't realize there's a dir with patches shared by all allwinner devices, I was only looking into H3/H6 dirs
<megi> thanks
<megi> btw, your GPU patch for H6 is outdated
<megi> here are a few newer ones https://megous.com/git/linux/log/?h=opi3-5.4
<jernej> not really, since it work for my use case
<jernej> for out-of-tree ARM kernel driver
<megi> they'll not with newer kernel versions
<megi> because clocks were renamed
<megi> ah
<megi> ok
<megi> I was testing with mesa
<jernej> there is a long way for t720 on mesa
<megi> probably
tuxillo has quit [Ping timeout: 245 seconds]
marekbelisko_ has joined #linux-sunxi
lkcl has quit [Ping timeout: 245 seconds]
marekbelisko_ has quit [Client Quit]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
tuxillo has joined #linux-sunxi
yann has quit [Ping timeout: 240 seconds]
gnufan_home has joined #linux-sunxi
tdebrouw has quit [Quit: Leaving.]
matthias_bgg has quit [Ping timeout: 245 seconds]
putti_ has quit [Changing host]
putti_ has joined #linux-sunxi
putti_ is now known as Putti
<megi> there's some creative use of A13 LCD interface on PocketBook e-book reader
<megi> basically they have all signals except pixel clock wired to LCD data pins on the SoC
<megi> and use it as a glorified DMA based bitbanging interface
<KotCzarny> lol
<megi> they load bit-banging pattern to ram and just shuffle it to LCD interface data pins as is
<megi> really kind of pointless, because you can just as well bit-bang from CPU
<megi> with the ammounts of bits you need to shuffle it doesn't take much time
<KotCzarny> maybe it makes it easier to progrem that way
<megi> I've seen the 6000 line driver
<megi> no
<megi> :D
<KotCzarny> :)
<megi> anyway, I'm really close :) I have everything reverse engineered, and it's just eInk driver and I'm done
<megi> I'll have complete mainline linux support for everything in the e-reader
<megi> it's kind of plug and play too, buy a broken e-reader for a few bucks on ebay + eink display on aliexpress, and the system can read waveforms from the flash chip that's soldered on the display's FFC cable
<megi> and vcom voltage can be measured too
<KotCzarny> yeah, plenty of those 'broken screen' stuff half free around
<megi> yeah
<KotCzarny> but why dont the displays on A13 read waveforms that way?
<KotCzarny> and rely on os loading
<megi> I don't know, but the BSP kernel also has a SPI driver enabled and configured
<megi> so maybe they do
<megi> and just read it from flash and store on the SD card
<megi> for faster loading
<megi> dunno
<megi> there's some special calibration mini-rootfs with some tools to calibrate the touchpanel and the eink display, so maybe it's there
<megi> and they just do it once in the factory
<KotCzarny> want rootfs of my device for comparison?
<megi> probly not :)
<KotCzarny> ;)
<KotCzarny> i suspect there is few different designs
<megi> i'm now just focused on figuring out the precise connections to the display
<megi> yeah, certainly
<megi> the display module on the one I have has fewer signal paths to the eink panel than the other more documented ones
<megi> I know older revision of the touch lux has display without the flash, and with more control pins to the source/gate drivers
freemangordon has quit [Ping timeout: 268 seconds]
<megi> the display I have is also used on some kindles
marekbelisko_ has joined #linux-sunxi
<KotCzarny> pearl or carta?
<megi> no idea, I just saw it mentioned as a replacement display for kidnles too
<KotCzarny> pearl is the older/muddy one
<megi> it's ed060xd4
<KotCzarny> carta has higher contrast
<megi> it's paperwhite
<megi> I got lucky, I found's some guy on youtube disassembling some digma device with the same display, and after pulling the display cable there were nicely ordered test pads with signal names marked on them along the display connector :D that helped a bit
<KotCzarny> nice, carta
<KotCzarny> lucky dog. :P
yann has joined #linux-sunxi
tllim has joined #linux-sunxi
marekbelisko_ has quit [Quit: This computer has gone to sleep]
<megi> yeah :D, the rest was just playing with GPIO pins on the SoC and multimeter and a FFC breakout board
<KotCzarny> nice site documenting what screen is used on different readers
<megi> I've seen that website
<megi> useful
<KotCzarny> now im jealous.
<megi> I'm documenting it here http://linux-sunxi.org/PocketBook_Touch_Lux_3
<megi> also helpful were a highres images of the ffc cable from both sides
<megi> you can derive function from the thickness of various wires
<KotCzarny> :)
<megi> or even position
<megi> on wire was routed between two bigger ground planes for a whole path
<megi> guess which one? :D
<megi> they put the fastest signal between two grounds
reinforce has quit [Quit: Leaving.]
<megi> I wonder if you can get grayscale by precisely timing the length of application of voltage for each pixel individually
<megi> instead of using the usual dithering
gnufan_home has quit [Quit: Leaving.]
<KotCzarny> isnt that what waveforms meant to do?
<megi> maybe, I haven't studied it in detail yet
<megi> this is gonna be a deep rabbit hole :D
<KotCzarny> make it work now, optimize later?
<megi> yeah :)
netlynx has quit [Quit: Ex-Chat]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
Ixnus has joined #linux-sunxi
<Ixnus> megi: great work!
<megi> :) looks like touch lux 3 has a different display from touch lux 2
<Ixnus> some time ago when i decided to get this device i have bookmarked this link I hope it helps you: https://community.nxp.com/thread/374542
<megi> the rest is probably the same
<Ixnus> I have "2" I'll be back in 10 days and straigh open it.
<megi> I already wrote a simple tp65185 driver ;)
<megi> I think the display on your device has datasheet available
<Ixnus> I'll check what is the display if you need anything hardware or software wise just let me know.
<megi> it's probably ed060sc something
<Ixnus> Maybe a common Pocketbook_626.dtsi for both ?
<megi> yeah, why not
<megi> but some things may be different
<megi> I don't know if your display has a SPI-NOR with waveform data
<Ixnus> pb_626.dtsi will be included in pb_touch_lux_2,dts and pb_touch_lux_3,dts for the diferrencee and google search :)
<megi> yup
<Ixnus> I promise to check the display 1st thing I get back home.
<Ixnus> Will send you photo.
<Ixnus> Is it visibale when you remove the back plate/panel ?
<megi> it's ED060XC3 according to https://e-ink-reader.ru/chg_dsp_en.php
<Ixnus> I'll verify and upload photos to the wiki.
<Ixnus> Fsck, just remembered that I don't know what I actually bough 2 or 3 :)
<Ixnus> I hope is "2" so we have both models.
<willmore> megi, sounds like some of those USB<>display adapters. There's one cheap brand that basically just streams data from the USB3 through some DACs and out the pins on the HD15 connector. People have used them to broadcast radio signals. :)
<megi> :D
<KotCzarny> waveforms, all the way down
<KotCzarny> ;)
<KotCzarny> i know, i know!
gsz has quit [Quit: Konversation terminated!]
<KotCzarny> they are controlling us via them!
Ixnus has quit [Remote host closed the connection]
<megi> omg! I found the datasheet for my display :)
<megi> it matches my reverse engineering perfectly, except for plenty of NC pins that are routed to SPI-NOR memory on my board
<KotCzarny> :)
<megi> Ixnus: I'll send it to you, as it's basically compatible with what you have
<megi> my driver will most probably work for you too, without changes
<megi> btw, pocketbook BSP writes this during powerdown: "Requesting powerdownses..." :)
<megi> someone's a fan of Tolkien
<megi> or it's chinglish
ed_peguillan has quit [Read error: Connection reset by peer]
NeuroScr has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
NeuroScr has quit [Client Quit]
NeuroScr has joined #linux-sunxi
fl_0 has quit [Ping timeout: 264 seconds]
<megi> wow, the panel can draw 2W during updates
<megi> hungry!
<KotCzarny> forget watching youtube/h.264 then
<megi> at 1fps? :D
<KotCzarny> ;)
fl_0 has joined #linux-sunxi
<megi> actually max refresh rate is 85Hz, not bad
arjanvanvught has joined #linux-sunxi
freemangordon has joined #linux-sunxi
arjanvanvught has quit [Remote host closed the connection]
jstefanop has quit [Remote host closed the connection]
arjanvanvught has joined #linux-sunxi
jstefanop has joined #linux-sunxi
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
arjanvanvught has quit [Ping timeout: 240 seconds]
jstefano_ has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
jstefanop has quit [Ping timeout: 265 seconds]
jstefano_ has quit [Ping timeout: 268 seconds]
juri_ has quit [Ping timeout: 240 seconds]
juri_ has joined #linux-sunxi
tdebrouw has joined #linux-sunxi
tdebrouw has quit [Client Quit]
fl_0 has quit [Ping timeout: 246 seconds]
nexgen has joined #linux-sunxi
nexgen has quit [Remote host closed the connection]
nexgen has joined #linux-sunxi
lurchi__ is now known as lurchi_
fl_0 has joined #linux-sunxi
nexgen has quit [Remote host closed the connection]
nexgen has joined #linux-sunxi
NeuroScr has quit [Ping timeout: 240 seconds]
nexgen has quit [Remote host closed the connection]
nexgen has joined #linux-sunxi
nexgen has quit [Ping timeout: 268 seconds]
gnufan_home has joined #linux-sunxi
random_yanek has quit [Ping timeout: 265 seconds]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 276 seconds]
lurchi__ has joined #linux-sunxi
tdebrouw has joined #linux-sunxi
tdebrouw has quit [Client Quit]
lurchi_ has quit [Ping timeout: 268 seconds]
random_yanek has joined #linux-sunxi
random_yanek has quit [Ping timeout: 240 seconds]
gnufan_home has quit [Quit: Leaving.]
random_yanek has joined #linux-sunxi
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-sunxi
DonkeyHotei has quit [Ping timeout: 276 seconds]
arjanvanvught has joined #linux-sunxi
arjanvanvught has quit [Ping timeout: 276 seconds]
AneoX has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 246 seconds]
jbrown has quit [Ping timeout: 276 seconds]
arjanvanvught has joined #linux-sunxi
arjanvanvught has quit [Ping timeout: 245 seconds]