mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 245 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 252 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
<naoki> I found ancient relics... USB1.1 only hub ;)
kevery has quit [Ping timeout: 248 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 252 seconds]
kevery1 is now known as kevery
System_Error has quit [Remote host closed the connection]
kevery has quit [Read error: Connection reset by peer]
kevery1 has joined #linux-rockchip
kevery1 is now known as kevery
<naoki> on u-boot on ROCK 3C, I got following error when usb start/reset is running,
<naoki> scanning bus usb@fd840000 for devices... ERROR: USB-error: DEVICENOTRESPONDING: Device did not respond to token (IN) or did not provide a handshake (OUT) (5)
<naoki> ^without any USB device
<naoki> if I insert USB device to that port (USB2.0 upper), it doesn't happen
FergusL has quit [*.net *.split]
mripard has quit [*.net *.split]
daniels has quit [*.net *.split]
lvrp16 has quit [*.net *.split]
dlg has quit [*.net *.split]
valpackett has quit [*.net *.split]
lvrp16 has joined #linux-rockchip
daniels has joined #linux-rockchip
mripard has joined #linux-rockchip
FergusL has joined #linux-rockchip
dlg has joined #linux-rockchip
valpackett has joined #linux-rockchip
nashpa has quit [*.net *.split]
linkmauve has quit [*.net *.split]
dianders has quit [*.net *.split]
unkraut has quit [*.net *.split]
linkmauve has joined #linux-rockchip
nashpa has joined #linux-rockchip
dianders has joined #linux-rockchip
unkraut has joined #linux-rockchip
tlwoerner has quit [Remote host closed the connection]
tlwoerner has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 252 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 248 seconds]
kevery1 has quit [Ping timeout: 260 seconds]
kevery has joined #linux-rockchip
Livio has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 255 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 252 seconds]
kevery1 is now known as kevery
raster has joined #linux-rockchip
warpme has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 255 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 252 seconds]
kevery1 is now known as kevery
franoosh has joined #linux-rockchip
mripard has quit [Quit: mripard]
mripard has joined #linux-rockchip
naoki has quit [Quit: naoki]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
psydroid2 has joined #linux-rockchip
System_Error has joined #linux-rockchip
Bitweasil has quit [Remote host closed the connection]
Bitweasil has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
alpernebbi has quit [Ping timeout: 272 seconds]
System_Error has quit [Ping timeout: 260 seconds]
alpernebbi has joined #linux-rockchip
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #linux-rockchip
System_Error has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
franoosh has quit [Ping timeout: 252 seconds]
raster has quit [Quit: Gettin' stinky!]
eballetbo has joined #linux-rockchip
Livio has quit [Ping timeout: 255 seconds]
Livio has joined #linux-rockchip
Perflosopher has quit [Quit: The Lounge - https://thelounge.chat]
Perflosopher has joined #linux-rockchip
Livio has quit [Ping timeout: 248 seconds]
Livio has joined #linux-rockchip
warpme has joined #linux-rockchip
naoki has joined #linux-rockchip
naoki has quit [Client Quit]
naoki has joined #linux-rockchip
stikonas has joined #linux-rockchip
eballetbo has quit [Quit: Connection closed for inactivity]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
dustinm` has quit [Quit: Leaving]
psydroid2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
dustinm` has joined #linux-rockchip
SystemError has joined #linux-rockchip
System_Error has quit [Ping timeout: 260 seconds]
Livio has quit [Ping timeout: 260 seconds]
<naoki> Kwiboo: I noticed only ROCK 3 / ZERO 3 series use OTG port as "otg" (or "peripheral")
<naoki> ROCK 4 and 5 use as "host"
<naoki> ah, sorry, ROCK3 / ZERO3 / CM3 are otg/peripheral
<naoki> I want to align them...
<naoki> for u-boot we can use -u-boot.dtsi to align dr_mode
<naoki> for linux... I guess changing ROCK 4/5 dr_mode will be NACKed...
SystemError has quit [Remote host closed the connection]
<naoki> sorry again, ROCK3, ZERO3, CM3, Pi S, and S0 are otg/peripheral
<naoki> I think otg/peripheral is ok for ZERO3, CM3, Pi S, and S0
<naoki> but for linux on ROCK3, "host" may be better for OTG port
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SystemError has joined #linux-rockchip
<Kwiboo> naoki: we should try to avoid u-boot dtsi overrides when possible, as the u-boot bundled FDT is typically used when booting using EFI, i.e. the override also affect any booted OS
<Kwiboo> did use of dr_mode=otg fix the usb host use on zero-3 for you? I included that override in v2 of the zero-3 series
<naoki> Kwiboo: oh, I see. how do you think about dr_mode = "host" for all ROCK 3?
<naoki> dr_mode = "otg" on ZERO 3 doesn't fix host use so far
<naoki> currently "otg" == "peripheral", I need to use dr_mode = "host" for host use
<naoki> I may misunderstand something
<Kwiboo> I should probably try to pick up a usb 3 hub so I can test type-c otg/power ports better, only found an old usb 2.0 hub
<Kwiboo> in uboot otg==peripheral, for linux dr_mode=otg should let driver/controller change role
<naoki> yeah it should be
<Kwiboo> possible there could be an issue with the usb2phy driver that makes otg role switching not fully working, however I think it sort of worked on my 3A, at least linux reacted when I flip the switch
<naoki> ah, yes, physical switch works for me too
<naoki> btw how do you think about dr_mode = "host" for all ROCK 3? ROCK4/5 OTG are "host"
jakllsch has quit [Ping timeout: 272 seconds]
<naoki> well, maybe, "boards except physical switch"?
jakllsch has joined #linux-rockchip
<Kwiboo> I do not have a strong opinion, if the board works/defaults to host role in linux even with dr_mode=otg I think it better reflects the hw if dr_mode=otg, but also the use of phy-supply for the ports is also sort of wrong
<naoki> ah...
<Kwiboo> if I am not mistaken it should probably be something like vbat-supply and only enabled when in host role, not fully sure when the vbat should work as source or sink
<Kwiboo> or guess it may be vbus and not vbat