nexgen has quit [Remote host closed the connection]
nexgen has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
<wens>
libv: not supported, but, would MIPI-CSI allow for higher capture resolution/rates?
<libv>
perhaps, but that would mean using newer less supported socs, and would mean even more driver work
<libv>
we can go fullhd, but then dram bandwidth becomes an issue
<wens>
I was mainly curious about the hardware limitations
<libv>
fullhd was pretty ok for the capture side
<libv>
if we move to the adv7611, and an actual pcb and no longer need to use a ribbon cable, it will be ok at just capture
<libv>
we have not looked into mipi-csi, as we would then have to go do other things
<libv>
but perhaps
<libv>
i have not looked into it, i have enough on my plate as is
megi has quit [Ping timeout: 240 seconds]
<libv>
there's the toshiba chip which is on some realtek and amlogic? boards
<libv>
but given the amount of display driver and other things that i ended up having to deal with, i am not sure it would be worth it to go to the other SoCs
<libv>
and if anything, it would pay to get rid of hdmi and to instead use dp
<wens>
for input?
<libv>
yes
<libv>
hdmi license is a pain
<libv>
anyway, the work is in the whole system
<libv>
where would we send the captured data, and is that able to handle it?
<libv>
is the bus or dram controller able to handle it, is it really handling it when you do scaling, is there enough buffering to make it work?
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 245 seconds]
jonkerj has quit [Ping timeout: 264 seconds]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
RichardG867 has quit [Quit: Keyboard not found, press F1 to continue]
RichardG867 has joined #linux-sunxi
\\Mr_C\\ has quit [Ping timeout: 265 seconds]
jstefanop has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
\\Mr_C\\ has joined #linux-sunxi
jstefanop has quit [Ping timeout: 268 seconds]
_whitelogger has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 240 seconds]
selfbg has joined #linux-sunxi
marekbelisko_ has joined #linux-sunxi
marekbelisko_ has quit [Client Quit]
tl_lim has quit [Read error: Connection reset by peer]
[7] has quit [Ping timeout: 264 seconds]
book` has quit [Quit: Leaving]
TheSeven has joined #linux-sunxi
xcko has joined #linux-sunxi
book` has joined #linux-sunxi
diego71 has quit [Ping timeout: 268 seconds]
TheSeven has quit [Ping timeout: 245 seconds]
ldevulder has joined #linux-sunxi
TheSeven has joined #linux-sunxi
diego71 has joined #linux-sunxi
return0e has quit [Ping timeout: 250 seconds]
return0e has joined #linux-sunxi
aloo_shu has quit [Quit: gotta resttttttt]
yann|work has quit [Ping timeout: 240 seconds]
florian has joined #linux-sunxi
florian has quit [Ping timeout: 245 seconds]
msevo has joined #linux-sunxi
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 276 seconds]
rellla has quit [Remote host closed the connection]
rellla has joined #linux-sunxi
diego_r has joined #linux-sunxi
gsz has joined #linux-sunxi
xqdzn has joined #linux-sunxi
rellla has quit [Remote host closed the connection]
rellla has joined #linux-sunxi
yann|work has joined #linux-sunxi
<montjoie>
libv: my lime2 is rev: C, I still tried it and no change
<montjoie>
anyway, I will put it on the testlab with 100M switch
<libv>
C is still the realtek
tnovotny has joined #linux-sunxi
<libv>
montjoie: did you try olimexes own uboot tree?
florian has joined #linux-sunxi
quadjfet has quit [Quit: Leaving]
<montjoie>
not yet
NeuroScr has quit [Quit: NeuroScr]
AneoX has joined #linux-sunxi
_0x5eb_ has quit [Quit: Goodbye!]
AneoX has quit [Ping timeout: 276 seconds]
AneoX has joined #linux-sunxi
_0x5eb_ has joined #linux-sunxi
yann|work has quit [Ping timeout: 258 seconds]
yann|work has joined #linux-sunxi
jernej has quit [Remote host closed the connection]
xqdzn has quit [Ping timeout: 260 seconds]
Mangy_Dog has joined #linux-sunxi
jernej has joined #linux-sunxi
jbrown has quit [Quit: Leaving]
jbrown has joined #linux-sunxi
xqdzn has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
jonkerj has joined #linux-sunxi
jbrown has quit [Ping timeout: 276 seconds]
NeuroScr has joined #linux-sunxi
megi has joined #linux-sunxi
reinforce has joined #linux-sunxi
jbrown has joined #linux-sunxi
AneoX has quit [Ping timeout: 276 seconds]
dddddd has joined #linux-sunxi
AneoX has joined #linux-sunxi
xqdzn has quit [Remote host closed the connection]
NeuroScr has quit [Quit: NeuroScr]
selfbg has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
<Mangy_Dog>
in the env config txt file.... i have overlays usbhost 0 1 2 3 listed.... but my otg usb port on the pi zero plus 2 doesnt seem to be running... is there another usb host to turn on? or is one of thosts hosts ive activated causing a conflict?
<MoeIcenowy>
Mangy_Dog: to use OTG port, even in host mode
<MoeIcenowy>
you need to set up gadget
<Mangy_Dog>
umm how?
<Mangy_Dog>
i just want it to run as a standard usb host
<Mangy_Dog>
ie have a periphable attached to it
<MoeIcenowy>
yes
<MoeIcenowy>
even this needs a gadget
<MoeIcenowy>
try to load a module started with g_
<Mangy_Dog>
umm
<Mangy_Dog>
eh?
<Mangy_Dog>
i really dont know what youre talking about
<Mangy_Dog>
sorry
<MoeIcenowy>
try `modprobe g_serial`
<MoeIcenowy>
just try
<MoeIcenowy>
maybe what I say seems too unreasonable
<MoeIcenowy>
but it's a fact
<Mangy_Dog>
try where in what how
<MoeIcenowy>
run modprobe g_serial, and attach the device to the OTG port
<Mangy_Dog>
what youre saying makes no sense
<MoeIcenowy>
yes
<MoeIcenowy>
it totally makes nonsense
<MoeIcenowy>
but it works.
<MoeIcenowy>
in otg mode, you even need to config device mode to make host mode work
<Mangy_Dog>
youre making no sense at all
<MoeIcenowy>
yes
<MoeIcenowy>
but please try.
<Mangy_Dog>
if youre trying to waste my time please done im really fucking busy
<MoeIcenowy>
nope
<MoeIcenowy>
it's the fact
<MoeIcenowy>
ridicilous will happen, even it's ridiculous
<MoeIcenowy>
even if
<Mangy_Dog>
youre just taking the piss... how about stop
<MoeIcenowy>
nope
<MoeIcenowy>
I need you to accept the nonsense fact.
<Mangy_Dog>
fuck off
<MoeIcenowy>
or you can change device tree to disable OTG totally
<MoeIcenowy>
if you think configuring device mode is nonsense
<Mangy_Dog>
youre just talking fucking nonsense to me wasting my time and im really not in the fucking mood
<MoeIcenowy>
because Linux kernel does this fucking nonsense,
<juri_>
ah, priviledge.
<Mangy_Dog>
not priviledge, busyness... Im trying to get this project finished intime to take to a trade show next week to show off as a demoreel... so yes when some one starts sprouting bs to me when i ask a perfectly reasonable question thats an instant way to put my back up
JohnDoe_71Rus has joined #linux-sunxi
<MoeIcenowy>
Mangy_Dog: how do you think it's bullshit?
<Mangy_Dog>
because what you are typing makes no sense
<Mangy_Dog>
its giobgerish
<MoeIcenowy>
Mangy_Dog: why is it nonsense?
<Mangy_Dog>
gibberish
<MoeIcenowy>
it's just the behavior of the Linux kernel
<Mangy_Dog>
no
<juri_>
Mangy_Dog: many of us are volunteers. so yes, "i have a trade show to go, serve me" is priviledge.
<Mangy_Dog>
what you typed makes no sense
<Mangy_Dog>
juri its not privliege its not serve me i ask a fucking question. some one speaks gibberish to me... thats not privledge
<Mangy_Dog>
that puts anyones backs up
<MoeIcenowy>
Mangy_Dog: I have shown a working setup to you
<MoeIcenowy>
you just do not accept it
<juri_>
they advised you to an action, which you have rejected.
<Mangy_Dog>
juri did that action make any sense to you?
<juri_>
yep.
<kilobyte>
you ask for a favor, and in return for help, throw insults
<Mangy_Dog>
really?
<MoeIcenowy>
yes
<juri_>
makes sense to me.
<Mangy_Dog>
<MoeIcenowy> try `modprobe g_serial`
<Mangy_Dog>
makes sense to you?
<MoeIcenowy>
the Linux kernel configures OTG controller fully only when gadget is setup
<Mangy_Dog>
<MoeIcenowy> even this needs a gadget
<Mangy_Dog>
those make sense do they
<juri_>
yeah. sometimes, you need to kick something, with something that would normally not make sense.
<MoeIcenowy>
I don't discuss whether it makes sense or not
<MoeIcenowy>
but the behavior exists
<MoeIcenowy>
and you need to accept
<MoeIcenowy>
or you can just fix up the kernel
<juri_>
patches welcome.
<MoeIcenowy>
I do admit it's nonsense, but I cannot change nonsense fact, right?
<MoeIcenowy>
this work is not optimal.
<MoeIcenowy>
world *
<KotCzarny>
Mangy_Dog: you are arrogant and not thankfull for any help, most folks here help for free.
<MoeIcenowy>
if you want something makes sense
<MoeIcenowy>
I also said
<KotCzarny>
yet, you piss on them
<Mangy_Dog>
Kot what about what he said makes sense?
<KotCzarny>
not cool.
<MoeIcenowy>
disable OTG mode
<MoeIcenowy>
use host-only instead
<KotCzarny>
Mangy_Dog: yes, usb gadget trick works
<MoeIcenowy>
does this make sense?
<KotCzarny>
even if it makes sense at all
<KotCzarny>
*doesnt make sense
<Mangy_Dog>
right then explain to me then... NONE of those words, mean anything...
<Mangy_Dog>
USB gadget? what is that
<Mangy_Dog>
you mean a device?
<KotCzarny>
just load the module and it works
<Mangy_Dog>
just load a module...
<KotCzarny>
it does something to musb
<Mangy_Dog>
whats a modujle?
<KotCzarny>
and it works
<Mangy_Dog>
where do i get one
<Mangy_Dog>
how do i load it
<MoeIcenowy>
Mangy_Dog: do you know the shell?
<MoeIcenowy>
run `modprobe g_serial` the command in the shell
<kilobyte>
Mangy_Dog: an USB link has two ends, host and gadget. Linux can serve as both.
<Mangy_Dog>
ok, and what i want is to set the physical USB port on the board to run as a standard usb port
<Mangy_Dog>
that i can connect a keyboard to
<Mangy_Dog>
thats all
<Mangy_Dog>
thats all i want
<MoeIcenowy>
do you know that OTG port is a dual role one?
<kilobyte>
Mangy_Dog: with usual USB cables, the designation is obvious. OTG makes that fuzzy.
<MoeIcenowy>
that it can be the USB host port or the device port
<KotCzarny>
afaik set it as host in dt
<MoeIcenowy>
you need to set up both functions to make an OTG port work under Linux
<MoeIcenowy>
KotCzarny: maybe modifying DT is too difficult for one that do not know what a module is?
<KotCzarny>
learning is available to anyone
<Mangy_Dog>
one would exspect a usb port to just work, when theres an oporating system installed
<KotCzarny>
that's up to distro defaults
cnxsoft has quit [Quit: cnxsoft]
<MoeIcenowy>
Mangy_Dog: your expectation is too high.
<MoeIcenowy>
the OTG port is not standard
<MoeIcenowy>
it cannot be promised to work easily
<MoeIcenowy>
just do not use the OTG port, use a generic host-only port instead if you want it
<Mangy_Dog>
and how would i set that/?
<MoeIcenowy>
use another USB port in hardware.
<Mangy_Dog>
im already using the 2 usb ports in the 13 pin header
<KotCzarny>
in unrelated news i bought me another bpi-m1+
<MoeIcenowy>
do you know there's a kind of device called USB Hub?
<KotCzarny>
funny that it uses microsd instead of full sd
<KotCzarny>
somehow i missed that change
<Mangy_Dog>
the two 13 pin header ports are already tied up in hardware
<Mangy_Dog>
the otg port is the last one
<Mangy_Dog>
and i just want to use it as a usb port
<Mangy_Dog>
i dont get why that has to be so difficult
<MoeIcenowy>
Mangy_Dog: because it's an OTG port.
<Mangy_Dog>
its still a usb port
<Mangy_Dog>
and usually otg is only otg when the id pin is tied either high or low
<MoeIcenowy>
it's not that simple
<Mangy_Dog>
outside of that it should function in host mode only
<KotCzarny>
otg is driven by musb, which is horrible
<MoeIcenowy>
OTG port means the internal controller has two functions
<MoeIcenowy>
then it's a special one
<MoeIcenowy>
normal USB controllers on PC has only one function
<KotCzarny>
it might work for simple devices, but performance is bad
<MoeIcenowy>
KotCzarny: on H3 it's possible to switch to OHCI/EHCI for host mode
<MoeIcenowy>
although this introduces more complexity
<Mangy_Dog>
so are you saying then that the otg port simply doesnt work?
<MoeIcenowy>
it works, but needs special configuration
<MoeIcenowy>
it doesn't work out-of-box.
vagrantc has joined #linux-sunxi
<KotCzarny>
it works, but is special needs device
<Mangy_Dog>
and theres no flag in any config file anywhere that cant be set to just make it run as a host?
<KotCzarny>
in dts
<Mangy_Dog>
which i have to decompile
<KotCzarny>
change from dual to host
<MoeIcenowy>
KotCzarny: the string for OTG is just "otg", not "dual:
<MoeIcenowy>
"dual" *
<KotCzarny>
right
<MoeIcenowy>
Mangy_Dog: BTW config files are never standard
<MoeIcenowy>
you need to ask your OS vendor about info of it.
<mru>
you can set an otg port to host only in devicetree
<Mangy_Dog>
armbian...
<MoeIcenowy>
then go to forum.armbian.com
<KotCzarny>
or #armbian
<Mangy_Dog>
well looking at the forums, adding usbhost0 in the env txt should activate the otg port as host
<Mangy_Dog>
didnt work however
<Mangy_Dog>
even though its still not working... thanks for time anyway...
<KotCzarny>
:)
<Mangy_Dog>
one possibility would be to brdge the id and gnd pin on my internal usb connector
<Mangy_Dog>
might work
<Mangy_Dog>
that didnt work
<mru>
why don't you use one of the regular ehci controllers instead?
<Mangy_Dog>
theyre already being used
<mru>
all three of them?
<Mangy_Dog>
2
<mru>
which chip?
<Mangy_Dog>
h3
<Mangy_Dog>
i can live with wireing one to my pcb if theres athird... on the gpios?
<Mangy_Dog>
but i thought there was only 2 on the 13 pin header
<mru>
there are 3 host controllers and 1 otg on the chip
<mru>
which module are you using?
<Mangy_Dog>
zero plus 2
<Mangy_Dog>
theres 3 pins next to the hdmi
<Mangy_Dog>
thres the only unmarked things i can think of that might be usb...
gaston1980 has quit [Quit: Konversation terminated!]
<mru>
one two of the host interfaces are connected
<mru>
on that board
<Mangy_Dog>
one of the two you mean?
<Mangy_Dog>
or you mean both are?
<Mangy_Dog>
:D
<mru>
I meant "only two"
<mru>
sorry
<mru>
guess you're stuck with the otg port
<mru>
the simple solution is to configure it as host in devicetree
<Mangy_Dog>
wish i knew how to do that
<mru>
&usb_otg { dr_mode = "host"; };
<mru>
that's how
<Mangy_Dog>
heh
<Mangy_Dog>
well in what file :p
<mru>
the dts, which you then compile to dtb
<Mangy_Dog>
why does it have to be so awkward :(
<mru>
because usb
<mru>
but really, one line in a dts isn't all that bad
tllim has joined #linux-sunxi
<Mangy_Dog>
no but decompiling editing then recompiling is when you dont know what youre doing
<mru>
that's not how you're supposed to do it
<Mangy_Dog>
hmm?
<Mangy_Dog>
thats what i had to do before to fix the audio issue
<mru>
you're supposed to make a dts file matching your hardware and compile that
tnovotny has quit [Quit: Leaving]
<Mangy_Dog>
theres not one supplied with the distro?
<mru>
for your unique hardware, no
<Mangy_Dog>
im not going to build a fresh dst from scratch
<Mangy_Dog>
dts
<Mangy_Dog>
ill fuck everything up
<mru>
so modify the existing one
<Mangy_Dog>
where would i find that
<mru>
same place you got the dtb
<Mangy_Dog>
i didnt get it :p
<Mangy_Dog>
its all in the image file
<Mangy_Dog>
i didnt compile anything
<Mangy_Dog>
this is a prebuilt install image from armbian
diego_r has quit [Ping timeout: 265 seconds]
florian has quit [Quit: Leaving]
yann|work has quit [Ping timeout: 240 seconds]
diego_r has joined #linux-sunxi
<mru>
somebody built it
lkcl has quit [Ping timeout: 245 seconds]
AneoX has quit [Ping timeout: 240 seconds]
AneoX has joined #linux-sunxi
florian has joined #linux-sunxi
gsz has quit [Quit: Konversation terminated!]
yann|work has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
jernej has quit [Remote host closed the connection]
florian has quit [Ping timeout: 276 seconds]
lkcl has joined #linux-sunxi
jernej has joined #linux-sunxi
jstefanop has joined #linux-sunxi
florian has joined #linux-sunxi
<aalm>
Mangy_Dog, there's sun8i-h3-orangepi-zero-plus2.dts in mainline; you can use "dtc" to edit the dtb shipped by the distro you're using.
<aalm>
Mangy_Dog, also, the dtb is likely somewhere within /boot/
<aalm>
+iirc. all sunxi _defconfigs for u-boot do "gadget-only" w/musb
<Mangy_Dog>
sorry was afk cooling off after having a major fit! :p
<Mangy_Dog>
+na not really :p well not fitting that is.... sighs, the joycons on my controller have died
<Mangy_Dog>
i think the contacts gone faulty
<Mangy_Dog>
its just been one problem after another with this project
<aalm>
you might also have to add/"link" "usb0_vbus-supply"-property to the phandle of it in "...-usb-phy" node.
<Mangy_Dog>
might not need to if that ativates the pwoer
<Mangy_Dog>
as..... because of the strange way its wired up dont need to pass power from the otg port
<Mangy_Dog>
the projects provides power on the external usb socket
<aalm>
ic
<aalm>
you should be able to just use the ehci tho. ?
<aalm>
h3 and above have phy0 as "dualrouted" to both musb&{o,e}hci
<aalm>
older SoCs had the phy0 only for musb
yann|work is now known as yann
<Mangy_Dog>
i dont know......
<Mangy_Dog>
sorry
jstefanop has quit [Remote host closed the connection]
<Mangy_Dog>
i just want to use the port so i can pass through an external keyboard
<Mangy_Dog>
and close up my device before it gets any more broken
jstefanop has joined #linux-sunxi
arti has quit [Quit: No Ping reply in 180 seconds.]