Turl 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
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 260 seconds]
libv has quit [Ping timeout: 260 seconds]
vagrantc has quit [Quit: leaving]
fugitive has quit [Ping timeout: 248 seconds]
skiboy has quit [Ping timeout: 240 seconds]
ninolein has quit [Ping timeout: 258 seconds]
ninolein_ has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 264 seconds]
jbrown has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 240 seconds]
libv has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
<ullbeking> is the an orange pi that has two ethernet interfaces?
<ullbeking> real ones
<ullbeking> not like one eth interface and another usb one that you have to put a dongle onto
<smaeul> there is one with two rj-45 connectors soldered on the board... but one is USB
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
TheSeven has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
souther has quit [Ping timeout: 240 seconds]
libv has joined #linux-sunxi
rtp_ has quit [Ping timeout: 248 seconds]
rtp has joined #linux-sunxi
souther has joined #linux-sunxi
kelvan has quit [Remote host closed the connection]
kelvan has joined #linux-sunxi
TheSeven has quit [Ping timeout: 258 seconds]
[7] has joined #linux-sunxi
awais has joined #linux-sunxi
IgorPec has joined #linux-sunxi
guest_ has joined #linux-sunxi
<guest_> Hi
guest_ has left #linux-sunxi [#linux-sunxi]
jelly-home has joined #linux-sunxi
jelly-home has quit [Changing host]
jelly-home has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
jelly-home has quit [Read error: Connection reset by peer]
jelly-home has joined #linux-sunxi
jelly-home has quit [Ping timeout: 255 seconds]
lkcl has quit [Ping timeout: 240 seconds]
tkaiser has joined #linux-sunxi
tkaiser has quit [Client Quit]
jelly-home has joined #linux-sunxi
a|3x has quit [Ping timeout: 260 seconds]
jelly-home has quit [Ping timeout: 246 seconds]
Mr__Anderson has joined #linux-sunxi
freemangordon1 has joined #linux-sunxi
freemangordon has quit [Read error: Connection reset by peer]
freemangordon1 has quit [Client Quit]
freemangordon has joined #linux-sunxi
jelly-home has joined #linux-sunxi
lkcl has joined #linux-sunxi
jelly-home has quit [Read error: Connection reset by peer]
jelly-home has joined #linux-sunxi
jelly-home has quit [Read error: Connection reset by peer]
jelly has joined #linux-sunxi
sunxi_fan has left #linux-sunxi [#linux-sunxi]
Gerwin_J has joined #linux-sunxi
fugitive has joined #linux-sunxi
jelly has quit [Read error: Connection reset by peer]
jelly-home has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 240 seconds]
cnxsoft1 is now known as cnxsoft
diego_r has joined #linux-sunxi
smaeul has quit [Ping timeout: 252 seconds]
smaeul has joined #linux-sunxi
dizzuhen has joined #linux-sunxi
dizzuhen has quit [Client Quit]
anarsoul has quit [Ping timeout: 240 seconds]
popolon has joined #linux-sunxi
leviathanch has joined #linux-sunxi
anarsoul has joined #linux-sunxi
sunxi_fan has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 246 seconds]
anarsoul has quit [Ping timeout: 246 seconds]
anarsoul has joined #linux-sunxi
Worf has joined #linux-sunxi
fkluknav has joined #linux-sunxi
foxx_ has joined #linux-sunxi
LargePrime has quit [Ping timeout: 240 seconds]
foxx_ has quit [Ping timeout: 240 seconds]
foxx_ has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
LargePrime has joined #linux-sunxi
popolon has quit [Ping timeout: 255 seconds]
popolon has joined #linux-sunxi
foxx_ has quit [Ping timeout: 258 seconds]
Hao has joined #linux-sunxi
Leepty has joined #linux-sunxi
Putti has joined #linux-sunxi
chlorin__ has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 255 seconds]
chlorin__ has quit [Read error: Connection reset by peer]
chlorine_ has joined #linux-sunxi
Worf has quit [Quit: Konversation terminated!]
foxx_ has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 258 seconds]
reinforce has joined #linux-sunxi
msimpson has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
yann has joined #linux-sunxi
popolon has quit [Ping timeout: 258 seconds]
popolon has joined #linux-sunxi
tom_nov has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
chlorine has joined #linux-sunxi
muvlon has joined #linux-sunxi
chomwitt has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 258 seconds]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
Gerwin_J has joined #linux-sunxi
chlorine has quit [Ping timeout: 258 seconds]
chlorine_ has quit [Read error: Connection reset by peer]
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
afaerber has joined #linux-sunxi
chlorine has quit [Ping timeout: 258 seconds]
Gerwin_J has quit [Ping timeout: 258 seconds]
longsleep_ is now known as longsleep
yann-kaelig has quit [Quit: Leaving]
ganbold has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 240 seconds]
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 255 seconds]
mhlavink has quit [Ping timeout: 258 seconds]
matthias_bgg has quit [Ping timeout: 260 seconds]
jbrown has joined #linux-sunxi
muvlon has quit [Quit: Leaving]
martinayotte has quit [Remote host closed the connection]
lemonzest has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
Ntemis has joined #linux-sunxi
<KotCzarny> ho hum, is it me or..
<KotCzarny> cat /sys/devices/platform/sunxi-arisc/rsb_read_block_data
<KotCzarny> [112357.770400] [ARISC WARING] :invalid paras, devaddr:0x0, regaddr:0x0, datatype:0x0
<KotCzarny> [112357.778861] [ARISC WARING] :echo like: echo devaddr regaddr datatype > rsb_read_block_data
<KotCzarny> would allow reading arbitrary memory?
<KotCzarny> :)
<KotCzarny> there is rsb_write_block_data too ;)
SP7RT has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
IgorPec has quit [Ping timeout: 248 seconds]
libv has joined #linux-sunxi
fugitive_ has joined #linux-sunxi
<smaeul> (I don't have any legacy kernels running ATM, but I think it's in /sys/class/misc or something)
<KotCzarny> not in 3.4
fugitive has quit [Ping timeout: 240 seconds]
<MoeIcenowy> I think it
<MoeIcenowy> it's sunxi_dump ?
<KotCzarny> not in 3.4
<MoeIcenowy> should be /sys/class/sunxi_dump
<KotCzarny> righ
<MoeIcenowy> check it?
<KotCzarny> right. it's there
<KotCzarny> anyway, trying to make arisc turn off the soc
<MoeIcenowy> AW has tons of debugging reserves ;-)
<pmpp> creepy :p
<KotCzarny> void arisc_fake_power_off(void)
<KotCzarny> hah
<pmpp> at least it is a real fake :p
miasma has quit [Ping timeout: 248 seconds]
miasma has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
guest2 has joined #linux-sunxi
<guest2> Hi
awais has quit [Ping timeout: 240 seconds]
SP7RT has quit [Ping timeout: 258 seconds]
<guest2> I'm looking for sources of the u-boot from Raspbian. Anyone knows where I can get them from?
<KotCzarny> raspbian repo?
<ElBarto> MoeIcenowy: is ccu-r documented somewhere ? (somewhere else than sources)
<guest2> I didn't look for it there yet. ok, I'll take a look
<guest2> Second question - what can be the reason to don't run given kernel from one uboot but on second uboot it is working fine?
<guest2> I know there may be a lot of reasons
<guest2> but maybe some pointers where can I look for soution?
<KotCzarny> guest2: run mainline uboot and mainline if you can
<KotCzarny> guest2: run mainline uboot and mainline kernel if you can
<guest2> but I've got R40 and I'm not sure if it supported in mainline uboot
<guest2> R40= bananapi m2-ultra
<KotCzarny> oh well, wait for someone knowing more about r40 situation then
<guest2> to be honest I've got some sources of uboot and it starts, but i cannot run any kernel from it
<guest2> even the same kernel which is working from raspbian uboot
<guest2> ok, looking for raspbina repo
<guest2> another question: how to check if given kernel file consists of DTB?
<MoeIcenowy> ElBarto: linux-sunxi.org/PRCM and A83T/A80 usermanual PRCM part
<ElBarto> ah thanks I didn't look in the A83T manual
<ElBarto> I guess that the one in the H3 differs a bit ?
<sunxi_fan> Net147: whoaa!! ..finally (after the merge of drm-misc-next branch and some DTS tweaking..), i have the mirror mode working using 'kmstest': output of colored bars https://paste.debian.net/989015/
<sunxi_fan> the funny thing is that i do not understand if i'm already in "dual screen mode" or in "mirror mode" because i have two same test cards but at different resolution..
<sunxi_fan> as i don't think, the current driver is using the "HW scaler" on A20 (or are we?), i lean for the former.. but any hint would be helpful..
<sunxi_fan> i'm gonna post the DTS on pastebin for a review, if interested..
jernej has joined #linux-sunxi
Keziolio has joined #linux-sunxi
Keziolio has joined #linux-sunxi
Keziolio has quit [Changing host]
<guest2> anyone knows what is Falcon mode in U-boot?
<beeble> boot kernel directly from spl instead of u-boot proper
<beeble> so spl loads kernel and executes it
<guest2> what is the difference between spl and u-boot?
<wens> spl only does minimal hardware setup, like DRAM, core clocks and PMIC, then loads u-boot to do the rest (if needed)
<wens> I don't think falcon is going to work for sunxi out of the box right now
<guest2> ok, thanks
anarsoul|2 has joined #linux-sunxi
<wens> u-boot does among other things, provide a working PSCI implementation for SMP, and fixes up the DT for PSCI, memory size, serial number, and generated Ethernet MAC addresses
<guest2> so spl is some kind of first boot loader which runs uboot as default
<wens> yes
<guest2> as default application
<guest2> i see
<wens> the first boot loader is the BROM
<wens> SPL is "secondary program loader"
<guest2> ok
<guest2> and as i understand the whole spl must fit the sram?
<guest2> i mean it cannot be largere than sram?
maz has quit [Remote host closed the connection]
<beeble> right
<guest2> ok, i've just exceeded sram while I'm compiling u-boot
yann has quit [Ping timeout: 246 seconds]
<sunxi_fan> so, WRT DRM on A20, here's the DTS https://pastebin.com/xpTbVrBW , now for the A20 DTSI, with the cross between Tcon{0|1} and Be{0|1}, https://pastebin.com/tipe2J6Q
<beeble> guest2: what compiler version are you using? old compiler tend to generate code thats too big
<guest2> 5.2.0
<guest2> arm-none-eabi-gcc-5.2.0
chlorine has joined #linux-sunxi
<guest2> so should I use newer one?
<beeble> that one is more than 2 years old :)
<beeble> give a newer one a try
chlorin__ has joined #linux-sunxi
<guest2> :) i'll try
chlorine_ has quit [Ping timeout: 255 seconds]
anarsoul|2 has quit [Ping timeout: 260 seconds]
<guest2> I used 5.2.0 because some other parts of soft couldn't be compiled and it was the only version which do it properly
chlorine has quit [Ping timeout: 240 seconds]
chlorin__ has quit [Ping timeout: 240 seconds]
Pe3ucTop_ is now known as Pe3ucTop
chlorine has joined #linux-sunxi
chlorine has quit [Read error: Connection reset by peer]
chlorine has joined #linux-sunxi
maz has joined #linux-sunxi
aalm has quit [Ping timeout: 246 seconds]
chlorine_ has joined #linux-sunxi
Andy-D has joined #linux-sunxi
chlorine has quit [Ping timeout: 248 seconds]
<Pe3ucTop> Hello to all, anybody could comment on placing bootloader on NAND ?
leviathanch has quit [Read error: Connection reset by peer]
leviathanch has joined #linux-sunxi
<marble_visions> Pe3ucTop: I'm playing around with spl and uboot on nand on the olinuxino board
<marble_visions> what are your troubles?
<Pe3ucTop> I have many question, because of I'm using SPI-NAND , I got kernel detect it and have it as block device ..
<Pe3ucTop> So I'm looking the way to place bootloader there.. And if needed MBR/Partition table or...
<Pe3ucTop> Curently I see utility "nand-part" , does it work with standart block device based on nand, or it need special driver?
<marble_visions> from what i understand, spl needs to know the address of uboot since raw flash does not contain partition information in itself
<Pe3ucTop> I know that my board have posibility to boot from SPI-NAND , over logic analyser I see it tries to read it as standard NAND at boot time.
<Pe3ucTop> It reads 1k from address 0x0 , then from other location , similary as decribed in NAND instalation on linux-sunxi.org
a|3x has joined #linux-sunxi
<marble_visions> olinuxino has fel support, so i can't really tell what it's doing when i supply the spl image
<marble_visions> i do sunxi-fel spl PATH_TO_SPL_IMAGE
<marble_visions> sorry, if it's the case of how to get your SPL to the SPI-NAND, can't help then
hipboi has joined #linux-sunxi
<Pe3ucTop> Ok, anyway thanks for help.
hipboi_ has joined #linux-sunxi
<marble_visions> but be aware that nands are not block devices and you need to take care not to treat them as such.. this may be handled in some kernel layer down the line, but it maybe not
<Pe3ucTop> marble_visions: but do you have your SPL on board or boot over USB like you show ?
<marble_visions> yes, i've gotten the setup to a point where i have the spl and uboot on nand
<Pe3ucTop> marble_visions: did you use nand-part for that or ??
msimpson has quit [Quit: Leaving]
<marble_visions> no, i generate the spl and uboot images, and then this https://github.com/NextThingCo/CHIP-tools/blob/chip/stable/chip-create-nand-images.sh to turn them into binaries that go over sunxi-fel
<marble_visions> iirc it's a copy paste for the uboot image+padding, but the spl image is copied many times in the page it occupies
scream has joined #linux-sunxi
<Pe3ucTop> Thanks, I will go throug this script to find way how they do it..
<marble_visions> my workflow is: do sunxi-fel spl PATH_TO_SPL (to load spl to nand), load uboot to ram, erase flash, write uboot and env to flash
<marble_visions> you're welcome, hope this helps
IgorPec has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
hipboi_ has quit [Quit: Leaving]
hipboi has quit [Read error: Connection reset by peer]
Andy-D has quit [Ping timeout: 248 seconds]
guest2 has quit [Quit: Page closed]
anarsoul|2 has joined #linux-sunxi
SP7RT has joined #linux-sunxi
chlorine_ has quit [Read error: Connection reset by peer]
chlorine has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
diego_r has quit [Ping timeout: 240 seconds]
afaerber has quit [Quit: Leaving]
matthias_bgg has quit [Ping timeout: 246 seconds]
chlorine has quit [Ping timeout: 240 seconds]
fugitive_ has quit [Ping timeout: 240 seconds]
fugitive_ has joined #linux-sunxi
Putti has quit [Read error: Connection reset by peer]
Putti has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
yann has joined #linux-sunxi
SP7RT has quit [Ping timeout: 246 seconds]
SP7RT has joined #linux-sunxi
tkaiser has joined #linux-sunxi
fugitive_ has quit [Ping timeout: 258 seconds]
tom_nov has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
fugitive_ has joined #linux-sunxi
fdcx__ has quit [Remote host closed the connection]
<Putti> I've been trying to look the pinctrl, gpio and led binding documentation in addition to driver code but cannot figure out where does the 7 and 6 in "gpio = <&pio 7 6 GPIO_ACTIVE_HIGH>;" come from. Is there some documentation somewhere?
yann-kaelig has joined #linux-sunxi
<Putti> the number 6 seems to be the pin number but what is 7?
<beeble> gpioblock
<beeble> GPIOA = 0
<beeble> GPIOH = 7
fdcx has joined #linux-sunxi
<beeble> just the position in the alphabet starting at 0 for A
<Putti> beeble, thanks, can you give me a pointer to source code or documentation also?
<Putti> oh, I was reading that documentation multiple times but it just didn't somehow get it, and now I see it is explained there!
fugitive_ has quit [Ping timeout: 260 seconds]
<beeble> and i was using the wrong names. allwinner banks are named Px. so PH6 is pio 7 6
yann-kaelig has quit [Quit: Leaving]
fugitive_ has joined #linux-sunxi
SP7RT_ has joined #linux-sunxi
SP7RT has quit [Ping timeout: 248 seconds]
<miasma> that convention is actually explained in the wiki, but can't remember which page
TEKrantz has quit [Ping timeout: 258 seconds]
TEKrantz has joined #linux-sunxi
<Putti> miasma, this: http://linux-sunxi.org/index.php?title=Category:PIO&action=edit&redlink=1 ?
<Putti> or probably this http://linux-sunxi.org/GPIO
<miasma> yes that one
<miasma> but it might be mentioned somewhere else too
Putti has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
aalm has joined #linux-sunxi
freemangordon has quit [Excess Flood]
freemangordon has joined #linux-sunxi
reinforce has joined #linux-sunxi
buZz has quit [Quit: Lost terminal]
buZz has joined #linux-sunxi
fugitive_ has quit [Ping timeout: 240 seconds]
Keziolio has joined #linux-sunxi
Keziolio has quit [Changing host]
Keziolio has joined #linux-sunxi
Seppoz has joined #linux-sunxi
JBrooksBSI has joined #linux-sunxi
<Seppoz> hey guys, im trying to turn of a HDMI attached touchscreen display
<Seppoz> and im wondering how i would do that
<Seppoz> im on A20 with 3.4 kernel
fugitive has joined #linux-sunxi
<Putti> does pmx in the function name "sunxi_pmx_set_mux()" stand for pin mux or something else?
<Putti> (looking at the pinctrl-sunxi.c code)
<beeble> Putti: yes pin mux
<Putti> beeble, thanks again :)
<JBrooksBSI> Is this the right place to discuss Allwinner H5 linux driver bugs and hardware errata not mentioned in the Datasheet/TRM?
<beeble> Seppoz: take a look at your fex file if one of that parameters is on. if the touch is just a hdi usb device you will have to do it differently (check lsusb output for that or take a look at the dmesg output if you see hid devices)
<freemangordon> Wizzup: I have some vague memories that PIO only mode ahould be enabled and DMA mode disabled, but not really sure
<Wizzup> yes, I think that was the case before at least
<beeble> JBrooksBSI: best to just ask and see if someone has an answer. but probably yes
<freemangordon> MoeIcenowy: hi! do you have any clue if USB DMA mode should be disabled on A33 in order USB OTG to function?
<KotCzarny> i think you have to load any g_* module to enable usb otg
<JBrooksBSI> k. Linux driver bug is in https://github.com/torvalds/linux/blob/master/drivers/dma/sun6i-dma.c line #48. SUN8I_DMA_GATE reg is 0x28 on H5 (and probably H3 too).
<freemangordon> KotCzarny: what about PIO only mode? is it still necessary?
<JBrooksBSI> 0x20 is the secure DMA reg
<KotCzarny> fmg: never had to worry about pio/dma. but i've only tried it on A20
<JBrooksBSI> Doing custom drivers for H5, I
<freemangordon> KotCzarny: ok. luckily I have a working config for 4.8
<JBrooksBSI> I've come across two hardware errata not in TRM, one in SPI, another in DMA
<JBrooksBSI> Not sure where to document these errata issues for other devs
<beeble> best case with a patch for sun6i-dma.c :) otherwise someone will read it here later
SP7RT_ has quit [Ping timeout: 240 seconds]
SP7RT has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
<Seppoz> beeble: so the touch controls the backlight
<Seppoz> i doubt that
Putti has joined #linux-sunxi
<Seppoz> beeble: i want to disable the lcd backlight
<Seppoz> sorry maybe i want too clear
<Seppoz> *wasnt
<Seppoz> i have a display attached via hdmi
<Seppoz> and i want to disable the backlight of the panel
nvz has quit [Ping timeout: 248 seconds]
muvlon has joined #linux-sunxi
<beeble> Seppoz: you know how it's controlled. there are different ways to do that
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
<beeble> Seppoz: look for a backlight entry in the fex file. it could be a pwm controlled
<Seppoz> no it cant
<Seppoz> there is no pwm lane via hdmi
<pmpp> yes it is i2c
<Seppoz> yes so the question is how can i use it?
<Seppoz> is that what cec is?
<Seppoz> hdmi CEC
<pmpp> no cec is for TV
<Seppoz> and if so how do i utillize it?
<Seppoz> ah ok
<beeble> it is only connected hdmi?
<Seppoz> yes
<pmpp> i2c is ddc control channel, best to ask jernej
<Seppoz> jernej: ping :) <3
<Seppoz> 3.685068] I2C: i2c-3: HDMI I2C adapter
<pmpp> yeah this one
<pmpp> not exposed on legacy
<Seppoz> what do you mean?
<pmpp> nvm, look there maybe https://github.com/kfix/ddcctl
<pmpp> or some linux tool called ddcctrl iirc
Ntemis has quit [Remote host closed the connection]
<beeble> you may try to see whats in the bus if you can access i2c-3 directly
<beeble> try i2cdetect -y 3
<pmpp> best case the linux ddc tool will list screen caps
<pmpp> wort only edid
<pmpp> worst*
<Seppoz> there is a device attached to address 50
<Seppoz> i see it with i2cdetect but i dont know what it is
<Seppoz> i hate propriotery shit
<beeble> then you have to go with the ddc tool and hope for the best
<aalm> cheap lcd?
<Seppoz> was like 60 bucks
<Seppoz> so not that cheap
<pmpp> Seppoz: it is quite standard in fact for lumen and volume http://boichat.ch/nicolas/ddcci/index-old.html
<beeble> 50 is just the default address for the edid eeprom
<beeble> see what pmpp said
<Putti> beeble, I mean basically something what you told me
nvz has joined #linux-sunxi
<Seppoz> so i need ddccontrol ?
<pmpp> at least
<Seppoz> this the one?
<jernej> pong
<Seppoz> jernej: <3
<beeble> Putti: the text in the last paragraph does tell you everything. maybe not in the most accessible way so a patch may be accepted
<jernej> ?
<Seppoz> jernej: you mind helping with controlling an HDMI attached LCD
<Seppoz> i want to turn off the backlight
<pmpp> he wants to know if ddc channel is accessible through i2c 3
<aalm> i've used ddcutil to switch input from display via ddc(i2c), might do backlights too
<Putti> beeble, but how does one know what bank number corresponds to which bank (unless one reads the code)?
<jernej> I never put too much effort in ddc
<Seppoz> is there another way to disable the screen?
<Putti> beeble, I don't think the allwinner manual uses anything other than the PX format which does not tell you what is the underlying number for it
anarsoul has quit [Ping timeout: 260 seconds]
<jernej> let me check
<beeble> Putti: thats standard linux numbering scheme. but yes more documentation is always good. but i can't except patches. so best to just send a patch and see what mripard will say tonit
<Putti> beeble, alright
muvlon has quit [Quit: Leaving]
<jernej> Seppoz: Try echo 1 > /sys/class/graphics/fb0/blank
anarsoul has joined #linux-sunxi
<jernej> although I'm not sure if it will work
<Seppoz> that doesnt turn off the backlight
<jernej> ah, backlight
<jernej> sorry, that's out of scope of my knowledge
<Seppoz> ok
<Seppoz> https://github.com/rockowitz/ddcutil has a shitload of dependencys
<Seppoz> isnt there something more lightweight
<jernej> I just checked and DDC is exposed as I2C device
<Seppoz> ok
<Seppoz> so ddc shall work?
<jernej> Seppoz: Does your hdmi monitor support MCCS?
<Seppoz> how would i know
<jernej> yes, ddc works
<pmpp> Seppoz: if you are lucky to have good chipset in it it will handle most of the menu
<aalm> the osd menu
<Seppoz> now i only need a programm i can actuall ybuild
<aalm> if it has one
<pmpp> even my crappy innolux has one :p
<Seppoz> that has nothing to do with the lccd has it?
<Seppoz> the hdmi chipset must support it
<pmpp> don't buy those they eat 3A/12v
<pmpp> Seppoz: yeah it is lvds driver board that handle all that
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
<Seppoz> fuck my life all of those tools need like a million things
<Seppoz> any lightwight cli one?
<pmpp> ddccontrol 0.4.2
<beeble> Seppoz: if you already have the i2c-tools you could try to use i2cset directly
<pmpp> but please note the red warning ^^
<pmpp> ddccontrol did not blow my screen https://pastebin.com/raw/sKdF29R3
<aalm> Seppoz, does it run X?
<pmpp> what you want is most likely [DPMS Control - On]
<Seppoz> no
<aalm> k
<Seppoz> even ddcontrol needs like a ton of shit
<pmpp> xml for db yeah
<Seppoz> compiling...
<aalm> is cross-compiling hard on linux or something?
lurchi_ has joined #linux-sunxi
<Seppoz> <-- lazy ass
<Seppoz> libxml2 needs python?
jonkerj has quit [Remote host closed the connection]
jonkerj has joined #linux-sunxi
BenG83 has quit [Read error: Connection reset by peer]
SP7RT has quit [Ping timeout: 240 seconds]
SP7RT has joined #linux-sunxi
BigFellow has joined #linux-sunxi
BigFellow has quit [Client Quit]
<Seppoz> allrigth ddcontroll running now how do i use it?
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
<Seppoz> ofcouse you allso need ddccontrol-db
<Seppoz> would be boring if one package just has all you need
<pmpp> no need for db on standard ops
<pmpp> avoid unknown fields you may break something
lurchi_ is now known as lurchi__
foxx_ has quit [Ping timeout: 248 seconds]
<Seppoz> what options do i use?
<Seppoz> Reading EDID and initializing DDC/CI at bus /dev/i2c-3...
<Seppoz> Invalid filename (/dev/i2c-3).
<Seppoz> with bin/ddccontrol /dev/i2c-3
<pmpp> maybe: ddccontrol 'dev:/dev/i2c-3'
Andy-D has joined #linux-sunxi
<Seppoz> + system crashed
<pmpp> yeah probably need some hours to port that on arm or just your screen does not agree
<pmpp> better luck next time !
<pmpp> if you find something please feedback it is usefull stuff
dave0x6d has joined #linux-sunxi
ykchavan has joined #linux-sunxi
ykchavan has quit [Remote host closed the connection]
<Seppoz> i love how the system crashes if i read the EDID
ykchavan has joined #linux-sunxi
<Seppoz> does the fact that i find a device on bus 3 with address 50 that the screen generally has dcc and that there is a working i2c communication with it?
<Seppoz> or is the edid provided by the cpu
<pmpp> probablt edid is intended to be provided *before* starting screen not while running
<pmpp> could be used for something else to lower costs or whatever
<Seppoz> this is the ehx dump of my eidi
Hao has quit [Ping timeout: 255 seconds]
<pmpp> my paste comes from an iiyama 27" not a cheap lcd and my edid does not look like garbage ... it has model name in it can't say much more
fugitive has quit [Ping timeout: 240 seconds]
<pmpp> don't you have serious screen around for testing ?
<Seppoz> all my screens have display port
<Seppoz> just checked
<Seppoz> ok my gx240 has hdmi sec
<pmpp> or test the cheap screen on a linux workstation with a well supported gpu
Andy-D has quit [Ping timeout: 248 seconds]
<Seppoz> same
<Seppoz> with ddcontrol
<Seppoz> here is the eidi of the eizo GX240
<pmpp> looks good
<pmpp> sn/pn are there
<Seppoz> root@vertex:/tmp$ ddccontrol 'dev:/dev/i2c-3'
<Seppoz> Reading EDID and initializing DDC/CI at bus dev:/dev/i2c-3...
<Seppoz> Corrupted EDID at 0x50.
<pmpp> so ddccontrol is not good for arm
<Seppoz> aparently
<pmpp> try the others
Mr__Anderson has quit [Quit: Leaving.]
<Seppoz> which?
<pmpp> aalm said https://github.com/rockowitz/ddcutil has worked for him
lurchi__ is now known as lurchi_
<pmpp> afk
Andy-D has joined #linux-sunxi
scream has quit [Remote host closed the connection]
<willmore> Does 'setterm' not work?
fugitive has joined #linux-sunxi
anarsoul has quit [Ping timeout: 248 seconds]
chomwitt has quit [Ping timeout: 246 seconds]
anarsoul has joined #linux-sunxi
lurchi_ is now known as lurchi__
jernej has quit [Ping timeout: 248 seconds]
<Seppoz> ddcztils wont happen
<Seppoz> it requires the whole x11 libs to compile
<Seppoz> no idea why ppl make that stupid shit
<Seppoz> i mean its just fucking screen control
lemonzest has quit [Quit: Quitting]
SP7RT has quit [Ping timeout: 258 seconds]
ykchavan has quit [Read error: Connection reset by peer]
IgorPec has quit [Ping timeout: 240 seconds]
ykchavan has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
phipli has joined #linux-sunxi
fkluknav has quit [Ping timeout: 260 seconds]
<ullbeking> hey all, finally my orange pi boards arrived, yay!
ykchavan has quit [Quit: Leaving]
<ullbeking> 3 x pi zero, 2 x pi r1, 1 x zero plus 2, and pi pc2
<ullbeking> i also ordered one of those plastic boxes for the pc2. not sure whether it's faulty manufacturing or just a tight squeeze, but i can't for the life of me seem to get the pc2 to fit inside that box with the port in the right places, etc. i feel like i'm about to break the board!!
<ullbeking> anybody else have this sort of problem?
<Seppoz> i got opi zero
jstein has quit [Read error: Connection reset by peer]
<ullbeking> i wonder how it _really_ performs as a NAS
dev1990 has quit [Quit: Konversation terminated!]
<ullbeking> there's an msata interface, a regular sata interface, and two usb interfaces. it doesn't seem like you can do much redundancy, etc, with this board..?
ganbold has quit [Ping timeout: 240 seconds]
<ullbeking> i'm not even sure if the msata and regular sata are real sata; perhaps they are just interfaces to a usb hub, that the two usb ports access too
<ullbeking> i'm going to try to find schematics for this board
<ullbeking> in other words, i just don't understand how this is supposed to be used
reinforce has quit [Quit: Leaving.]
nemunaire has quit [Quit: quit]
phipli has quit [Quit: Leaving]
popolon has quit [Quit: WeeChat 1.9.1]
<Net147> sunxi_fan: kmstest is creating a framebuffer for each screen so it is not mirror. the framebuffer console is mirrored on both displays.
fugitive has quit [Ping timeout: 240 seconds]
fugitive has joined #linux-sunxi
popolon has joined #linux-sunxi
<JBrooksBSI> @ullbeking: Yes, Orange Pi Zero 13-pin hdr has only 2x USB 2 ports for I/O, so NAS expansion will not have much bandwidth
<ullbeking> JBrooksBSI: it seems like a very silly board
<ullbeking> i'm very suspicious of using these small sbcs for accessing more than one disk at a time
<ullbeking> sometimes the sata is not real sata for example
<JBrooksBSI> Yeah, going for cheap & easy NAS, not quality or performant
<ullbeking> it's just an adapter to the usb
<ullbeking> these small cheap sbcs, most of them seems to usb hubs with all sorts of converters hanging off them
<JBrooksBSI> Right. If they were using the 26-pin GPIO, they could do higher bandwidth, but drivers are more complex
<ullbeking> i think it's important to look at the schematics
<ullbeking> and also
<ullbeking> i think this is why opi +2e has the best system architecture
<JBrooksBSI> There are probably lots of use-cases where device compatibility is more important than performance or reliability
<ullbeking> but how does compatability figure in here?
<ullbeking> opi is barely even merged into linux kernel upstream
nemunaire has joined #linux-sunxi
<JBrooksBSI> Allow user convenience of plugging in a SATA or mSATA HD.
<JBrooksBSI> Agreed, OPI leads on budget hardware, trails on software
<willmore> ullbeking, I printed a case for my PC2 and it was hard to get in in there. It's a friction fit design. Find the port that sticks out the most and get that wedged through the proper opening and then try to bend the case a little bit so that the other side fits in.
<willmore> The PC2 is a really nice board.
<ullbeking> i hope i can get it working with the cheap plastic case that came with the kit
<willmore> ullbeking, got access to a 3d printer?
<ullbeking> nope :-(
<willmore> Okay, that rules out my solution. :(
<willmore> Maybe trim away a little plastic where the board hits the case?