<dsharshakov>
Are AS Macs capable of USB-C power output?
<dsharshakov>
I remember T2 pros being able to charge other laptops. Airs didn't do so iirc
<sven>
yes, my Mac mini e.g. charges my air through the cable I also use for development
<chadmed>
yeah they are, my mac ended up charging my dev machine while i was in m1n1 at one point
<dsharshakov>
If some AS machines do have this capability (at least if used by macOS), it might be worth supporting
<dsharshakov>
nice
<sven>
it works automatically
<chadmed>
its all handled by the mux chip i dont think we have to actually do anything
<chadmed>
^
<sven>
it’s all handled by that tipd chip
<dsharshakov>
do they switch automagically using tipd?
<dsharshakov>
alright, thanks
<dsharshakov>
I've seen some API in typec subsystem to control such behaviour. Apparently irrelevant, yes
<dsharshakov>
just the same as earlier, one who plugs cable first becomes power out while the second takes power (or vice-verse, I don't remember)
<dsharshakov>
IIRC on T2s macOS was not able to control these DRP (dual-role power) ports and could even be tricked into charging the laptop itself
<sven>
no, that’s not how it works. there’s a protocol spoken over the CC channel which negotiates which machine is charged
<dsharshakov>
ik
<dsharshakov>
that was from the user
<sven>
that protocol is quite hilarious but there’s e.g. a “connected to unlimited power source flag”
<dsharshakov>
* user's point of view
<chadmed>
you can charge your mac with emperor palpatine lightning?
<sven>
There’s no such thing as “one who plugs cable first becomes power out”
<dsharshakov>
I wanted to ask which machines have this support and whether it's software controlled
<sven>
chadmed: that unlimited power source is an almost verbatim quote from the usb pd spec :D
<dsharshakov>
Since I don't recall it being software-controlled on Intel Macs, they chose based on connection order or something like this (at least when connecting 2 macbooks)
<sven>
no, even Intel macs have that tipd chip
<dsharshakov>
ofc it's obvious PD spec specifies the negotiation, the software support question is different
<sven>
it’s literally an earlier version of the exact same chip present in apple Silicon macs
<dsharshakov>
can it control the direction using sysfs, or does everything in its firmware?
<sven>
I’m reasonably sure that if you e.g. connect two MacBooks which are not connected to power to each other the charging order will be mostly random
<dsharshakov>
Ah, might be so as well
<sven>
it’s negotiated automatically but at least ij apple Silicon you should be able to change it with the typec thing
<sven>
unless apple disabled that ofc, never tested it
<chadmed>
yeah that behaviour seems random if left to its own devices
<chadmed>
sometimes my dev laptop would charge the 14" and sometimes vice versa
<chadmed>
more often than not it was the latter annoyingly
<dsharshakov>
oh, looks nice. just wanted to make sure you don't forget this feature while handling all the typec mess needed for anything
Zopolis4 has quit [Quit: Connection closed for inactivity]
<dsharshakov>
having sysfs controls (if possible) would be a strong and useful feature
<chadmed>
there are plenty of usb fustercluck things to worry about without having to deal with that on top :P
<sven>
yeah, I’m not gonna care about that
<dsharshakov>
yes, sure
<sven>
either it already works with tipd code or someone else can fix it ;)
<dsharshakov>
I see how convoluted the thing is, especially with display connections
ncl has left #asahi [#asahi]
dsharshakov has quit [Quit: Page closed]
swaggie has quit [Remote host closed the connection]
swaggie has joined #asahi
chadmed_ has joined #asahi
mbilker has quit [Quit: Arch Linux Rules]
Zopolis4 has joined #asahi
swaggie has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi
julio7359 has quit [Ping timeout: 480 seconds]
swaggie has quit [Remote host closed the connection]
swaggie has joined #asahi
swaggie has quit [Ping timeout: 480 seconds]
julio7359 has joined #asahi
ciggi_ has joined #asahi
ciggi has quit [Read error: Connection reset by peer]
swaggie has joined #asahi
axt has joined #asahi
ciggi has joined #asahi
ciggi_ has quit [Read error: Connection reset by peer]
kensan has joined #asahi
kensan has quit []
swaggie has quit [Ping timeout: 480 seconds]
mbilker has joined #asahi
swaggie has joined #asahi
leo60228 has joined #asahi
leo60228- has quit [Ping timeout: 480 seconds]
robinp has joined #asahi
swaggie has quit [Ping timeout: 480 seconds]
SScott has joined #asahi
<SScott>
Hello
<SScott>
Just got
<SScott>
Asahi running on my M1 Max
<SScott>
tossed in the Alpha and did a pacman -Syu
<SScott>
working great so far
SScott has quit [Quit: Page closed]
bcrumb has joined #asahi
ChaiTRex has quit [Quit: ChaiTRex]
amarioguy has joined #asahi
swaggie has joined #asahi
swaggie has quit [Ping timeout: 480 seconds]
bcrumb has quit [Quit: WeeChat 3.8]
jamespmorgan has joined #asahi
chadmed_ has quit [Ping timeout: 480 seconds]
jamespmo_ has quit [Ping timeout: 480 seconds]
m42uko_ has joined #asahi
m42uko has quit [Ping timeout: 480 seconds]
kensan has joined #asahi
R_____________________________ has joined #asahi
bisko has joined #asahi
bisko has quit []
bisko has joined #asahi
R_____________________________ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
possiblemeatball has joined #asahi
seeeath has joined #asahi
R_____________________________ has joined #asahi
axt has quit [Quit: Leaving.]
Brainium has joined #asahi
R_____________________________ has quit [Ping timeout: 480 seconds]
tux has joined #asahi
tux is now known as Guest2117
Guest2117 has quit []
faruk has joined #asahi
faruk has quit []
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jacksonchen666 has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi
seeeath has joined #asahi
arkeane has joined #asahi
arkeane has quit []
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
faruk has joined #asahi
jeffmiw_ has joined #asahi
jeffmiw_ has quit [Remote host closed the connection]
bcrumb has joined #asahi
hightower4 has quit [Ping timeout: 480 seconds]
bcrumb has quit []
axt has joined #asahi
gladiac has joined #asahi
jeffmiw_ has joined #asahi
jeffmiw_ has quit [Remote host closed the connection]
swaggie has joined #asahi
bisko has joined #asahi
seeeath has joined #asahi
bcrumb has joined #asahi
bcrumb_ has joined #asahi
swaggie has quit [Ping timeout: 480 seconds]
bcrumb__ has joined #asahi
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bcrumb has quit [Ping timeout: 480 seconds]
bisko has joined #asahi
bcrumb_ has quit [Ping timeout: 480 seconds]
bisko has quit []
janrinze has quit [Quit: Leaving.]
bcrumb__ has quit [Quit: WeeChat 3.8]
janrinze has joined #asahi
bisko has joined #asahi
faruk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]