mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
Livio_ has joined #linux-rockchip
Livio has quit [Ping timeout: 255 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 272 seconds]
kevery1 is now known as kevery
Livio_ has quit [Quit: leaving]
Daanct12 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 264 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
werdahias has quit [Remote host closed the connection]
stikonas has quit [Quit: Konversation terminated!]
Spirit532 has quit [Killed (NickServ (GHOST command used by Spirit5320))]
Spirit532 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 268 seconds]
kevery1 is now known as kevery
crossdev has joined #linux-rockchip
ldevulder has joined #linux-rockchip
raster has joined #linux-rockchip
erg has quit [Read error: Connection reset by peer]
erg has joined #linux-rockchip
erg has quit [Ping timeout: 264 seconds]
erg has joined #linux-rockchip
warpme has joined #linux-rockchip
erg has quit [Read error: Connection reset by peer]
erg has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erg has quit [Ping timeout: 264 seconds]
eballetbo has joined #linux-rockchip
erg has joined #linux-rockchip
stikonas has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #linux-rockchip
stikonas has quit [Client Quit]
psydroid has joined #linux-rockchip
warpme has joined #linux-rockchip
<crossdev> Trying to get cpu temperature on Orange Pi 5 with mainline kernel 6.8.1 . I have CONFIG_HWMON=y , CONFIG_ROCKCHIP_THERMAL=y but nothing pertaining to the cpu in /sys/class/thermal or /sys/class/virtual , what am I missing?
erg has quit [Ping timeout: 260 seconds]
erg has joined #linux-rockchip
erg has quit [Read error: Connection reset by peer]
erg has joined #linux-rockchip
<FergusL> Can a gadget device connect to its host through a hub? I've always assumed no, but maybe it can because usb is black magic after all! That would solve my slightly hopeless attempts with this on my rk3326 devices
<robmur01> can't recall for sure if I used my hub when I played with gadget mode on RK3328, but I don't think there's any reason it shouldn't work
naoki has quit [Quit: naoki]
dliviu has quit [Ping timeout: 252 seconds]
dsimic has quit [Ping timeout: 264 seconds]
dsimic has joined #linux-rockchip
<FergusL> robmur01 did you get gadget mode to work? assuming 3328 is very similar to px30 as well
dliviu has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
serdarth has quit [Ping timeout: 272 seconds]
serdarth has joined #linux-rockchip
crossdev has quit [Remote host closed the connection]
Daanct12 has quit [Quit: WeeChat 4.2.1]
crossdev has joined #linux-rockchip
erg has quit [Ping timeout: 256 seconds]
erg has joined #linux-rockchip
erg has quit [Read error: Connection reset by peer]
erg has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<robmur01> FergusL: yup, with my NanoPi R2S - IIRC I got g_serial working as a console via command-line, and g_mass_storage probably via its module parameters (don't think I touched configfs)
<robmur01> I don't recall touching the DT, but it's possible given that the upstream one has dr_mode forced to "host"
raster has quit [Quit: Gettin' stinky!]
erg has quit [Read error: Connection reset by peer]
erg has joined #linux-rockchip
<FergusL> robmur01 thanks, interesting to know legacy gadget works! Do you remember having to fiddle with this? https://github.com/torvalds/linux/blob/master/drivers/usb/dwc2/Kconfig#L39 namely forcing a specific role in config, this is the only thing that just got gadget to work for me on mainline, just had success with that today
<FergusL> qschulz ^ tagging you here as we were talking about that the other day and it seems I finally had some success
<FergusL> I set usb_dwc2 t to USB_DWC2_PERIPHERAL. It's not ideal at all ofc since it's forced in driver but at least that's proof it works. I tried with mtp and cdc
<FergusL> Using configfs
<qschulz> FergusL: yeah I am not really interested in that, this is not ok for distro kernels :/
<qschulz> but thanks for the heads up, I am not surprised so I may have played with this a couple of years ago but had forgotten about it :)
<robmur01> Indeed, I wouldn't have used that driver config either, even if I wasn't using a stock distro kernel (which was most likely the case)
* robmur01 should really dig the R2S out again, and maybe even finally set it up and use it for its intended purpose...
<FergusL> let me guess, a lightweight home router?
Stat_headcrabed has joined #linux-rockchip
<FergusL> interesting, the R2S page explicitly documents the USB-C as power + "slave" port, I guess that's the port you used. Was it on mainline or bsp back then?
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
ianh has quit [Ping timeout: 252 seconds]
<robmur01> Hmm, actually that might have been the time I also had the wrong SD card with me, so it could have been a fresh BSP image rather than my usual distro...
<FergusL> and I agree it's not ok, it's just that the last feedback I got from here was that it was "broken", so my hopes were pretty low so I went for the last resort solutions :) Now that I know that mainline can work in some configuration I can at least look at the code fenced out by PERIPHERAL/DUAL_ROLE ifdefs and maybe get an idea of what isn't working
<robmur01> mine's the original one with a micro-B port, so really not much use as a host unless you were to contrive some kind of unholy cable ;)
<FergusL> the dmesg I got when it worked had a bunch or core reset before it started working whereas when it didn't work it didn't even report any attempt to reset
<robmur01> at this point I suspect I will end up having a play tonight or tomorrow, and report back :)
<FergusL> oh yes, it had micro-usb before
<FergusL> thanks so much for taking the time :)
<FergusL> and this distro, too
ianh has joined #linux-rockchip
<qschulz> FergusL: please lemme know if you figure some things out :) I can always test on our Ringneck PX30 if needed :)
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
erg has quit [Ping timeout: 264 seconds]
erg has joined #linux-rockchip
<ianh> crossdev: more ideas - CONFIG_THERMAL_OF, CONFIG_THERMAL_HWMON, CONFIG_CPU_THERMAL, CONFIG_THERMAL, etc.
<ianh> from commit history it looks like the rockchip-thermal driver supports rk3588(s) as of 6.8...
Guest17 has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raster has joined #linux-rockchip
Guest17 has quit [Client Quit]
warpme has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
<qschulz> ianh: IIRC the DT node is tsadc for that kind of things? Did you check that driver is enabled both in DT and in your config?
vagrantc has joined #linux-rockchip
werdahias has joined #linux-rockchip
repk has quit [Ping timeout: 264 seconds]
stikonas has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
werdahias has quit [Ping timeout: 260 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<crossdev> ianh: thanks for tips, I revised, compiled in anything that had THERMAL in it, the entire ACPI too, no joy. Weird.
dustinm` has quit [Quit: Leaving]
ianh_ has joined #linux-rockchip
ianh has quit [Read error: Connection reset by peer]
erg has quit [Ping timeout: 260 seconds]
dustinm` has joined #linux-rockchip
erg has joined #linux-rockchip
<ianh_> qschulz: yea i took a look earlier and the tsadc stuff is definitely in there and accurate for the rk3588s dtsi referenced by the opi5 dts. module looks good too.
crossdev has quit [Remote host closed the connection]
erg has quit [Ping timeout: 252 seconds]
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
erg has joined #linux-rockchip
naoki has joined #linux-rockchip
eballetbo has quit [Quit: Connection closed for inactivity]
erg has quit [Ping timeout: 272 seconds]
erg has joined #linux-rockchip
ianh_ has quit [Quit: Lost terminal]