h0m1 has quit [Quit: WeeChat 3.1]
h0m1 has joined #nixos-aarch64
bennofs__ has joined #nixos-aarch64
bennofs_ has quit [Ping timeout: 240 seconds]
hexa- has quit [Quit: WeeChat 2.9]
hexa- has joined #nixos-aarch64
orivej has quit [Ping timeout: 252 seconds]
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos-aarch64
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-aarch64
<edrex> <samueldr "and indeed, fully reproducible u"> what triggers it? just plugging into a particular PS?
aleph- is now known as Batou
<samueldr> fusb302 driver loading
<samueldr> the SBC is powered form type-c without alternative sources
<samueldr> I *assume* something assumes type-c+fusb302 means cutting the power for a moment won't be an issue
<samueldr> see, there's a battery
<samueldr> except on that device!
<edrex> but this just started happening one day? kernel upgrade?
<samueldr> it's uh... a bit more involved than that
<samueldr> I believe the dtb didn't describe things properly at an earlier point
ryantrinkle has quit [Ping timeout: 252 seconds]
<samueldr> or I'd have to check
<samueldr> maybe I already had the module blacklisted with kernel 5.5
<samueldr> I didn't always have an RTC clock battery in it
<samueldr> I had trouble getting one locally :)
<samueldr> (stores always were out)
<samueldr> talking with you I recall that enabling type-c would cut its power
<samueldr> so same issue
<samueldr> 60% sure it's nothing new, that I'm the first one to try on mainline + rtc clock battery
<edrex> if removing the RTC battery resets the error state, not having one in would certainly have an effect :D
ryantrinkle has joined #nixos-aarch64
<edrex> oh so the boards ship with an empty battery slot
<edrex> what does it do for power if the fusb302 module isn't loaded? does the usbc sync still do its thing in some default mode?
<edrex> sink rather
<samueldr> no shipper from china will ship a coin cell battery without heavy paperwork because it's a lithium battery
<edrex> ah right
<samueldr> good q
<samueldr> I don't know enough about fusb302 to understand it
<edrex> i say USBC when I mean PD
<edrex> gotta break that habit
<samueldr> but IIRC some of those PD power chips have firmware storage
<samueldr> and maybe it's fine with whatever firmware it has in it
<samueldr> (a person involved with the board conception linked to the datasheet, and yeah it's "programmable")
<samueldr> (not sure though what it means in reality)
<edrex> you're able to power off a standard 5V supply with an A to C cable then, but it goes undervoltage if you try to compile stuff?
figgyc has quit [Quit: No Ping reply in 180 seconds.]
figgyc has joined #nixos-aarch64
<edrex> <samueldr "(not sure though what it means i"> looks like it has a bunch of i2c register switches you can poke at, i wonder if that's all they mean
<samueldr> could be
<samueldr> I don't know, haven't tried solely on 5V
<samueldr> might be fine if it's only compiling
<samueldr> not sure how much the NVMe interface needs
<samueldr> and it's not really the 5V I'm concerned with
<samueldr> but the power
<samueldr> I think type-c (yes type-c) changed the max power to 3A
<samueldr> not positive on the assertion
<edrex> Yeah that seems to be true:
<edrex> > VBUS and GND provide 5 V up to 900 mA, in accordance with the USB 3.1 specification. A specific USB-C mode may also be entered, where 5 V at either 1.5 A or 3 A is provided.[56] A third alternative is to establish a Power Delivery contract.
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):494:38
<edrex> {^_^}: you shouldn't go eval'ing strange codes
<clever> edrex: usb-c PD is an active digital protocol over one of the CC pins
<clever> it can do various things, including requesting a higher voltage on VBUS, and deciding to route things like hdmi or displayport over the usb3 pairs
<edrex> the situation is not confusing at all. Not even when you throw in Quick Charge
<clever> usb-c also has a passive protocol on the same CC pins, using pull resistors
<edrex> but I'm at least happy i can charge my laptop and my phone off the same cord, after all the pain
<clever> the passive protocol is 5v only
<edrex> so that's the max 3A one?
<hexa-> it's a bit annoying that > triggers evals, when it has been used for quoting since maybe forever(TM)
<clever> yeah
<clever> | current available | ~5v rail | 3.3v rail | current source |
<clever> | 3.0A @ 5V | 10k | 4.7k | 330 uA |
<edrex> hexa-: ahh.. nix evals or what?
<hexa-> edrex: what you saw is basically the nix repl response
monk has left #nixos-aarch64 ["Error from remote client"]
<hexa-> > 1 + 1
<{^_^}> 2
<clever> edrex: the Rp pull-up resistor advertises how much current the PSU can give, either 0.5A, 1.5A or 3A
<clever> edrex: by attaching either a 56k, 22k, or 10k resistor, between both CC pins and the 5v rail, it must be 2 seperate pull-ups
<samueldr> I double up >>
<samueldr> and it looks like the french end quotation mark »
monk has joined #nixos-aarch64
<samueldr> so yeah, I don't know if 3A (or maybe 2.2A from a dumb power adapter) is enough to run the RK3399 + other stuff for full blown compilation
<samueldr> ANYWAY, it's probably a non-issue since disallowing the module is a fine enough workaround
<samueldr> I hoped the SBC maker would have things to try
<samueldr> but nothing, so I'll put back the RTC, sandwich the boards again, and then set it back up as a builder
<samueldr> though I guess I *could* do without an RTC
<samueldr> but ugh, I don't like it
<clever> the Rp and Rd of https://imgur.com/YQotlST form a voltage divider
<clever> in an "good quality" SBC, it should measure that with an ADC, and then maybe refuse to boot
<clever> or throttle itself more heavily
justanotheruser has quit [Ping timeout: 260 seconds]
<samueldr> uh!
<samueldr> the thought occured to check
<samueldr> U-Boot supports loading binaries over serial using kermit
<clever> ive implemented xmodem loading before in LK as well
luxemboye has quit [Remote host closed the connection]
luxemboye has joined #nixos-aarch64
bennofs__ has quit [Read error: Connection reset by peer]
bennofs_ has joined #nixos-aarch64
alpernebbi has joined #nixos-aarch64
zupo has joined #nixos-aarch64
n0emis[m] has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cole-h has quit [Ping timeout: 245 seconds]
steveeJ has quit [Read error: Connection reset by peer]
davidtwco has joined #nixos-aarch64
steveeJ has joined #nixos-aarch64
orivej has joined #nixos-aarch64
dev_mohe has joined #nixos-aarch64
zupo has joined #nixos-aarch64
dev_mohe has quit [Remote host closed the connection]
dev_mohe has joined #nixos-aarch64
figgyc has quit [Ping timeout: 252 seconds]
figgyc has joined #nixos-aarch64
figgyc has quit [Quit: No Ping reply in 180 seconds.]
figgyc has joined #nixos-aarch64
dev_mohe has quit [Quit: dev_mohe]
mla has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evils has quit [Ping timeout: 240 seconds]
evils has joined #nixos-aarch64
jdnixx-M has quit [Quit: Bridge terminating on SIGTERM]
jumper149 has joined #nixos-aarch64
jdnixx-M has joined #nixos-aarch64
ky0ko has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
zupo has joined #nixos-aarch64
superherointj has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
hexa- has quit [Quit: WeeChat 2.9]
hexa- has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
monk has joined #nixos-aarch64
superherointj has quit [Quit: Leaving]
monk has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
monk has joined #nixos-aarch64
alpernebbi has quit [Quit: alpernebbi]
rajivr has quit [Quit: Connection closed for inactivity]
dev_mohe has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
monk has joined #nixos-aarch64
dev_mohe has quit [Quit: dev_mohe]
bennofs_ has quit [Read error: Connection reset by peer]
bennofs_ has joined #nixos-aarch64
lgcl has joined #nixos-aarch64
Guest80259 is now known as LinuxHackerman
LinuxHackerman is now known as Guest80427
lgcl has quit [Client Quit]
Guest80427 has joined #nixos-aarch64
Guest80427 has quit [Changing host]
dev_mohe has joined #nixos-aarch64
lgcl has joined #nixos-aarch64
lgcl has quit [Client Quit]
Guest80427 is now known as LinuxHackerman
dev_mohe has quit [Quit: dev_mohe]
justanotheruser has quit [Ping timeout: 245 seconds]
ashkitten has quit [Quit: WeeChat 3.1]
ashkitten has joined #nixos-aarch64
superherointj has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jumper149 has quit [Quit: WeeChat 3.1]
dev_mohe has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 245 seconds]
dev_mohe has quit [Quit: dev_mohe]
zupo has joined #nixos-aarch64
cptchaos83 has joined #nixos-aarch64
zupo has quit [Ping timeout: 246 seconds]
zupo has joined #nixos-aarch64
Andoriyu has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
cwnovusordoseclo is now known as cwfefifofum[m]
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 265 seconds]
* colemickens looks at his unused rpi4
* colemickens imagines a "twitch plays nixos on rpi4". probably not a good idea
<samueldr> haha
<samueldr> welcome xmrig on your raspberry pi 4
<colemickens> hahahah yup
<zhaofeng> hexa-: (re: rk3588, matrix notification failed 😞) Ha, that's much more interesting
<hexa-> zhaofeng: can I interest you in a proper IRC client? :p
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
superherointj has quit [Quit: Leaving]