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
Guest3896 has quit [Quit: Konversation terminated!]
Guest3896 has joined #linux-sunxi
Guest3896 has quit [Client Quit]
[Awaxx] has joined #linux-sunxi
lurchi__ is now known as lurchi_
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
ninolein has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 252 seconds]
ninolein_ has quit [Ping timeout: 260 seconds]
cnxsoft has joined #linux-sunxi
victhor has quit [Ping timeout: 252 seconds]
pg12 has quit [Ping timeout: 258 seconds]
pg12 has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
chomwitt2 has quit [Ping timeout: 246 seconds]
Putti has quit [Ping timeout: 248 seconds]
afaerber has joined #linux-sunxi
lkcl has joined #linux-sunxi
Putti has joined #linux-sunxi
lennyraposo has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
_whitelogger has joined #linux-sunxi
IgorPec has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
f0xx has joined #linux-sunxi
<KotCzarny> hmm, does dpms work on hdmi? (mainlione, a20)
<KotCzarny> when i use xset dpms force off it blanks the screen, but monitor doesnt turn off
terra854 has joined #linux-sunxi
jernej has joined #linux-sunxi
<pmpp> KotCzarny: try "xset s reset" then try again "xset dpms force on"
<pmpp> that's i use on H3+dvi
<KotCzarny> i want to turn OFF the monitor
<pmpp> off* :p
<KotCzarny> same as above, didnt work
<KotCzarny> it blanked, but didnt actually turn off the monitor
<pmpp> hmm my script is "xset s reset;xset dpms force on;xset dpms force off"
<pmpp> without the "on" screen comes on again instantly
<pmpp> weird
quard has joined #linux-sunxi
afaerber has quit [Ping timeout: 260 seconds]
<KotCzarny> but does it actually turn it off or just blanks?
<KotCzarny> my monitor changes power led color when it gets powered down
<KotCzarny> not on a20 though
<pmpp> i need to turn off the light to check stupid led always on
<pmpp> damn it's blanked
<pmpp> and same for hdmi=>vga adaptor
<pmpp> didn't notice that because mostly use pm-suspend
<KotCzarny> it would be nice to get it working, 20W of difference
<KotCzarny> dont know if hdmi standard supports such thing, but i would be surprised if it didnt
<pmpp> yeah and more than that for me i use dvi with good old fluo light :(
<KotCzarny> also, when powered down it could save some power on a20 itself (otherwise hdmi clock keeps ticking)
<pmpp> sure even hdmivga is probably still powered
<pmpp> that thing eats a lot
<KotCzarny> :) on mine its almost double with hdmi cable connected 300mA -> 650mA
jernej has quit [Ping timeout: 255 seconds]
<pmpp> so that's why gpio and relays are usefull sometimes where is the hdmi power line ? XD
<KotCzarny> i need two more features to make my dream graphics terminal, dpms to work and hw video decoding
<KotCzarny> right now it's almost usable (with enough patience even firefox works)
<KotCzarny> it has microamp built in with speakers connected directly to it, battery backup (18650 cell) and metal case
Putti has quit [Ping timeout: 248 seconds]
<pmpp> is it industrial rugged ?
<KotCzarny> nah, just candy case
Putti has joined #linux-sunxi
<KotCzarny> i could seal the holes and add thermal pad though ;0
<pmpp> i am currently making an industrial portable terminal with esp8266 and 2" lcd resistive touch :p
<KotCzarny> mine is portable, and i could slap on lcd too if i wanted
<KotCzarny> some older photos: http://imgur.com/a/jFygV
<KotCzarny> there was no battery yet
<pmpp> mine will we probably PS molded, and PU-uv protection, problem is battery casing
<pmpp> lithium can't stand high température
<KotCzarny> yeah, i was thinking about glueing heatsink on the back
<KotCzarny> perks of using all metal case is much better thermal dissipation
komunista has joined #linux-sunxi
afaerber has joined #linux-sunxi
BenG83_ has quit [Quit: Leaving]
<KotCzarny> moeicenowy: any chance to add FB_BLANK_* ioctls to simplefb?
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
BenG83 has quit [Quit: Leaving]
perr has quit [Ping timeout: 240 seconds]
fkluknav has joined #linux-sunxi
<MoeIcenowy> KotCzarny: I think no...
<MoeIcenowy> as there's no real blank for simplefb
<KotCzarny> MoeIcenowy: then maybe do you know how to blank hdmi?
<MoeIcenowy> what means "blank HDMI" ?
<KotCzarny> adding blank to simplefb would be as simple as defining function in fb_ops
<KotCzarny> MoeIcenowy: turn off clocks, make it inactive?
<MoeIcenowy> but how do we deal with blank?
<MoeIcenowy> KotCzarny: nope you cannot turn off clocks of simplefb
<KotCzarny> nono, not simplefb, in general
<KotCzarny> i will do it as my personal patch, just need to know how/where
<MoeIcenowy> I think the controller may be able to do blanking
<MoeIcenowy> P.S. BPI sent me a set of several BPis
<MoeIcenowy> M1+, M2+, M2U, M3, M64
perr has joined #linux-sunxi
<KotCzarny> hrm (bsp code)
<KotCzarny> and it seems to do what i presumed, just turning off/on clocks
<KotCzarny> (and setting status variable to keep the state)
<MoeIcenowy> nope
<MoeIcenowy> it re-initialized hardware after re turning on clocks
<KotCzarny> nah, it calls it with param (3,3)
<KotCzarny> so it doesnt do those _close/_open calls
<KotCzarny> or maybe you are right, it does some mor things in dev_fb.c
Char0n has left #linux-sunxi ["Leaving"]
dave0x6d has quit [Quit: Connection closed for inactivity]
Char0n has joined #linux-sunxi
reinforce has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
IgorPec has quit [Ping timeout: 260 seconds]
scream has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
f0xx has quit [Ping timeout: 260 seconds]
fkluknav has joined #linux-sunxi
fkluknav has quit [Ping timeout: 255 seconds]
<KotCzarny> moeicenowy: i wonder, since it's simplefb, maybe it would make sense to make userland tool to disable/enable hdmi?
<KotCzarny> kind of dump regs/restore regs
<KotCzarny> because simplefb wouldnt be disturbed, but user could setup blanking himself (some screen saver apps support that)
horstbaerbel has joined #linux-sunxi
yann-kaelig has quit [Quit: Leaving]
<horstbaerbel> seems pretty dead here...
<KotCzarny> you are new to irc, aren't you?
<horstbaerbel> yes.
<KotCzarny> then please read netiquette, then topic
jernej has joined #linux-sunxi
<horstbaerbel> So. Hello all. I was here yesterday with nick "Guest3896" and asked an USB kernel question (which I suppose is "on topic"). I've already looked at the wiki. Would be delighted if anyone had any hints. I'll just hang around here...
Mr__Anderson has joined #linux-sunxi
<KotCzarny> maybe you have missed some options in kernel
<KotCzarny> or using some weird input config
<KotCzarny> does lsusb show anything?
<KotCzarny> oh, it's a tablet? then you might have missed otg options
<horstbaerbel> I does not seem to work wit or w/o OTG
Char0n has quit [Changing host]
Char0n has joined #linux-sunxi
<horstbaerbel> The controller is currently set to host
<KotCzarny> org enables you to turn on otg controller driver
<KotCzarny> *otg
<KotCzarny> do you use legacy or mainline kernel?
<horstbaerbel> mainline
<horstbaerbel> Shouldn't it work with the controller set to host?! (fixed mode)
<KotCzarny> but did you enable the controller driver? at least that's what i have to do on a20
<horstbaerbel> which option is that?
<KotCzarny> at least CONFIG_USB_MUSB_SUNXI
<horstbaerbel> i have CONFIG_USB_MUSB_SUNXI=y and CONFIG_USB_MUSB_HOST=y
yann-kaelig has joined #linux-sunxi
BenG83 has joined #linux-sunxi
<KotCzarny> can you run dmesg or lsusb?
<horstbaerbel> EHCI and UHCI are on
<horstbaerbel> sadly no, because I don't have a UART... :/
BenG83 has quit [Remote host closed the connection]
<horstbaerbel> I tried enabling loglevel=6, but messages are too fast. enabling a printk-delay (boot_delay=200 in kernel boot command) didn't work for me
<horstbaerbel> again: Is OTG really needed or should I be fine with host-only-mode?
<horstbaerbel> CONFIG_HID_GENERIC=y too
<KotCzarny> nah, i meant otg support which enable selecting host/device mode
<horstbaerbel> USB_HID=y too
<horstbaerbel> So you mean MUSB mode to "dual role"?
<KotCzarny> host mode will be enough
<horstbaerbel> as-in USB_MUSB_HDRC=y?
<horstbaerbel> ok
<horstbaerbel> I went host only to be sure the OTG host/client switching was not screwing up...
<MoeIcenowy> horstbaerbel: what SoC tablet?
<KotCzarny> a33 apparently
<horstbaerbel> A33
<MoeIcenowy> maybe you need to enable OTG mode
<MoeIcenowy> and load a g_* module to activate the MUSB controller (otherwise it won't work)
<horstbaerbel> a tablet marked "Q8-2.4G 20140918". It came from a company called Trimeo and is simply called 7". It contains an APX223 power controller, RTL8189ETV WiFi controller, 2x Nanya NT5CB128M15FP-DY DRAM chips (2x256MB), a Hynix H27UCG8T2BTR-BC NAND-flash chip and a Goodix GT818 touch controller. Display resolution is 1024x600.
<horstbaerbel> will try with OTG (needs gadget support)
<KotCzarny> and definitely get uart cable, it's very helpful
<MoeIcenowy> KotCzarny: A33 tablets are usually very difficult to get UART.
<KotCzarny> that's sad
<KotCzarny> horstbaerbel: to make sure, you are using kernel 4.8 or newer?
<jernej> MoeIcenowy: A bit off topic, has your waveshare screen some kind of a warm up period after power on?
<MoeIcenowy> seems no
<KotCzarny> more offtopic, i'm starting to like my a20 desktop setup
<MoeIcenowy> maybe I should someday continue my A33 tablet hacking guide
<jernej> it always shows white screen after it is unplugged for long period of time and after a minute or so, it shows proper image until it is powered off for a long time again
<MoeIcenowy> mysterious...
<KotCzarny> some lingering misconfiguration remaining in ram?
<jernej> Maybe dw hdmi driver in U-Boot misses some option, since the screen on laptop seems to be working well
<jernej> MoeIcenowy: Here are long promised dvi fixes for U-Boot https://github.com/jernejsk/u-boot/tree/hdmi_fixes
<KotCzarny> reset maybe?
<jernej> I have to test it on hdmi capable screen, but it works fine with waveshare screen
<jernej> KotCzarny: I'm not sure, since also with Linux dw hdmi driver it behaves similary
<horstbaerbel> KoCzarny: I'm using
<horstbaerbel> Kernel 4.11
<KotCzarny> horstbaerbel: you might debug things slowly by creating a script (with some sleeps inside), and running in place of login console
<KotCzarny> ie. things like lsusb, dmesg|grep -i usb etc
<KotCzarny> or just log to some file and check offline
<KotCzarny> yeah, you can check dmesg in /var/log/
<horstbaerbel> does not work with OTG enabled either... :(
<horstbaerbel> KotCzarny: Will try with the script you mentioned or slower boot messages
<KotCzarny> check /var/log/
<KotCzarny> if you can access filesystem offline somehow
<horstbaerbel> all files in /var/lig are empty
<horstbaerbel> in /var/log
<KotCzarny> then just make own startup script with all command you would like to check
<horstbaerbel> where do I put that /etc/rc.local? will try when i have time again. need to go now... massive thanks for the help!
kristina has quit [Remote host closed the connection]
<KotCzarny> i'm using this one: https://pastebin.com/raw/vu5JqbH2
<KotCzarny> as /etc/init.d/rc.local
<KotCzarny> it calls /etc/rc.local which can be anything
<horstbaerbel> thanks mate!
<KotCzarny> dont forget to make both executable
<KotCzarny> but i'm also using sysvinit scripts, it might be different if you didnt remove systemd
<horstbaerbel> that exact script is already in /etc/init.d/rc.local
<horstbaerbel> I'm using the Linaro alip rootfs
<KotCzarny> then all you need is /etc/rc.local probably
<horstbaerbel> aka dabian jessie
<horstbaerbel> ok. will try. need to go. thanks!
horstbaerbel has quit [Quit: Konversation terminated!]
scream has quit [Remote host closed the connection]
tkaiser has joined #linux-sunxi
<MoeIcenowy> ssvb: should I add version 2 SPL support to sunxi-fel ?
<MoeIcenowy> version 2 SPL patch is included in apritzel's patchset
<ssvb> MoeIcenowy: anyone can do this, as soon as the patch lands
<ssvb> we are waiting for this since a long time ago
<ssvb> we also need FEL boot support for 64-bit boards, and nobody has done anything yet
<ssvb> this depends on a more complete FIT container support, which has to be extended a bit to allow FEL boot
victhor has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
phil42 has quit [Ping timeout: 268 seconds]
lurchi_ has joined #linux-sunxi
<KotCzarny> drat, my google skills fail me again. anyone got a patch for mali on mainline?
kristina has joined #linux-sunxi
<MoeIcenowy> KotCzarny: what do you really want?
<KotCzarny> have a box with hw decoding and 3d accel
<KotCzarny> preferably with mainline
<MoeIcenowy> a box? then currently you can get neither on sunxi mainline
<KotCzarny> with some powersaving features too
<MoeIcenowy> mainline mali currently needs DRM-based display driver
<KotCzarny> there were some patches (unmainlineable though), cant find them though
<KotCzarny> oh
<MoeIcenowy> but there's no such display drivers now for HDMI
<MoeIcenowy> except the highly WIP dw-hdmi-sunxi (which needs two patchsets to activate: my DE2 patchset and my H3 TVE patchset
<KotCzarny> i guess i will go back to legacy for a few weeks then
lurchi_ has quit [Ping timeout: 240 seconds]
Andy-D_ has joined #linux-sunxi
phil42 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
jernej has quit [Ping timeout: 258 seconds]
phipli has joined #linux-sunxi
goofie has quit [Ping timeout: 260 seconds]
<MoeIcenowy> wens: will you continue to update your A83T CCU patchset?
dave0x6d has joined #linux-sunxi
lemonzest has joined #linux-sunxi
goofie has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
Ntemis has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
rexxster has quit [Remote host closed the connection]
jstein_ has joined #linux-sunxi
rexxster has joined #linux-sunxi
jstein_ is now known as jstein
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
paulk-elm has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec has quit [Client Quit]
IgorPec has joined #linux-sunxi
perr has quit [Quit: Leaving]
jstein has quit [Remote host closed the connection]
f0xx has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 255 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
<MoeIcenowy> mripard: do you still accept device tree patches? I think I should get Banana Pi M64 USB to work
phipli has quit [Quit: Leaving]
<mripard> MoeIcenowy: not for 4.12
<MoeIcenowy> oh
f0xx has quit [Ping timeout: 260 seconds]
reinforce has joined #linux-sunxi
scream has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
<wens> MoeIcenowy: yes, they are ready, just have to send them
<MoeIcenowy> A83T CCU v2?
<MoeIcenowy> is it the a83t-ccu-mmc-usb branch on your github?
<wens> yes
phil42 has quit [Ping timeout: 260 seconds]
phil42 has joined #linux-sunxi
jernej has joined #linux-sunxi
|Jeroen| has joined #linux-sunxi
phil42 has quit [Ping timeout: 240 seconds]
Andy-D_ is now known as Andy-D
lennyraposo has quit [Quit: Leaving.]
phil42 has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
quard has quit [Quit: Leaving]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
Ntemis has quit [Ping timeout: 240 seconds]
lurchi_ is now known as lurchi__
mudzot has joined #linux-sunxi
arete74 has quit [Ping timeout: 258 seconds]
Ntemis has joined #linux-sunxi
GrimKriegor has quit [Quit: oh bai bai bai]
GrimKriegor has joined #linux-sunxi
lurchi__ is now known as lurchi_
f0xx has joined #linux-sunxi
scream has quit [Remote host closed the connection]
paulk-elm has quit [Remote host closed the connection]
[7] has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
phil42 has quit [Ping timeout: 260 seconds]
IgorPec has joined #linux-sunxi
komunista has left #linux-sunxi ["JOIN #raspberrypi"]
<KotCzarny> ~~hello legacy my old friend~~
mudzot has quit [Quit: Konversation terminated!]
_whitelogger has joined #linux-sunxi
<KotCzarny> oh wow, fullscreen video plays at 30fps without skipping
<KotCzarny> working xv helps a lot :/
<KotCzarny> now i have only to fix audio device and cry why mainline isnt at this point yet
lkcl has quit [Read error: Connection reset by peer]
<KotCzarny> and the board runs a whopping 10C cooler
Ntemis_ has joined #linux-sunxi
Ntemis has quit [Ping timeout: 240 seconds]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
lkcl has joined #linux-sunxi
arete74 has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
|Jeroen| has quit [Quit: dada]
yann-kaelig has quit [Quit: Leaving]
netlynx has quit [Quit: Ex-Chat]
terra854 has quit [Quit: Connection closed for inactivity]
jernej has quit [Ping timeout: 268 seconds]
<plaes> KotCzarny: which device?
<KotCzarny> a20
<plaes> hmkay.. :(
<KotCzarny> running java apps is still a pain though ;)
f0xx has quit [Ping timeout: 268 seconds]
lurchi_ is now known as lurchi__
formruga has quit [Quit: Konversation terminated!]
IgorPec has quit [Ping timeout: 260 seconds]
lkcl has quit [Ping timeout: 240 seconds]
Andy-D_ has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.2, revision: git-7099-gca80ee628, build type: debug, sources date: 20160102, built on: 2017-03-12 14:49:35 UTC git-7099-gca80ee628 http://www.kvirc.net/]
Andy-D has quit [Ping timeout: 268 seconds]
reinforce has quit [Quit: Leaving.]
dev1990 has joined #linux-sunxi
ssvb has quit [Quit: Leaving]
Mr__Anderson has quit [Remote host closed the connection]
phil42 has joined #linux-sunxi
codekipper has quit [Ping timeout: 240 seconds]
phil42 has quit [Read error: Connection reset by peer]
codekipper has joined #linux-sunxi
phil42 has joined #linux-sunxi
sunxi_fan has quit [Ping timeout: 240 seconds]
sunxi_fan has joined #linux-sunxi
BenG83 has joined #linux-sunxi
cptG_ has joined #linux-sunxi
arete74 has quit [Quit: leaving]
arete74 has joined #linux-sunxi
Ntemis_ has quit [Remote host closed the connection]
cptG has quit [Ping timeout: 240 seconds]
dev1990 has quit [Quit: Konversation terminated!]