<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