#
…

2022-10-19

00:12amarioguy2 has quit [Ping timeout: 480 seconds]
00:32marcanjannau: I expected that, yes we need to add proper PM to the keyboard stuff :)
00:32marcanshould be easy on the M2, just suspend rtkit
00:32marcanno idea about the SPI ones though
00:33whistlingoat has joined #asahi-dev
00:34zw has joined #asahi-dev
00:36thelounge7571340 has joined #asahi-dev
00:36thelounge7571340 has quit [Remote host closed the connection]
00:38zw has quit [Quit: leaving]
00:58whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
01:29whistlingoat has joined #asahi-dev
01:35whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
01:50thelounge7571340 has joined #asahi-dev
01:50thelounge7571340 has quit [Remote host closed the connection]
01:56Etrien_ has quit [Ping timeout: 480 seconds]
02:07Etrien has joined #asahi-dev
02:28Etrien_ has joined #asahi-dev
02:32Etrien has quit [Ping timeout: 480 seconds]
02:48marcansven: do you know how bluetooth link keys are stored/shared? we're going to have to figure out how to sync that with macos at some point
02:49marcanI tried following the Arch instructions for that but the plist mentioned no longer has the keys as far as I can tell
02:49marcannvram has a bunch of bluetooth related stuff, but I didn't see anything that clearly looked like keys?
02:49marcannot sure...
03:17pthariensflame has joined #asahi-dev
03:17pthariensflame has quit []
03:25Etrien_ has quit [Read error: Connection reset by peer]
03:25Etrien has joined #asahi-dev
03:28bluetail has quit [Ping timeout: 480 seconds]
03:33thelounge7571340 has joined #asahi-dev
03:34thelounge7571340 has quit [Remote host closed the connection]
03:34duban6 has quit []
03:35duban6 has joined #asahi-dev
03:37duban6 has quit []
03:40duban6 has joined #asahi-dev
03:40bluetail has joined #asahi-dev
04:04bluetail2 has joined #asahi-dev
04:11bluetail has quit [Ping timeout: 480 seconds]
04:11bluetail2 is now known as bluetail
04:17marcanhm, I'm considering having a linux-asahi-dev package
04:18marcanit would basically be the same thing as linux-asahi in asahi-dev, but pushed less often but enable more bleeding edge stuff (like sleep mode and eventually DCP and AGX)
04:18marcanthe idea being that users can install it without switching wholesale to asahi-dev, and can go back if it doesn't work for them
04:19marcanthoughts?
04:20marcanI could probably have the same PKGBUILD make both variants, and just do it as a .config difference
04:22marcanI guess in practice these things can be disabled via cmdline options, but I feel like switching packages is more user-friendly than telling people to put stuff in /etc/default/grub to fix regressions...
04:24bluetail8 has joined #asahi-dev
04:30thelounge7571340 has joined #asahi-dev
04:31thelounge7571340 has quit [Remote host closed the connection]
04:31bluetail has quit [Ping timeout: 480 seconds]
04:31bluetail8 is now known as bluetail
04:32pthariensflame has joined #asahi-dev
04:32pthariensflame has quit [Read error: Connection reset by peer]
04:33bluetail has quit [Quit: The Lounge - https://thelounge.chat]
04:38bluetail has joined #asahi-dev
04:42tpw_rulesjust a reminder that i think additional clarity in what you are actually shipping to whom is necessary
05:13bluetail6 has joined #asahi-dev
05:21bluetail has quit [Ping timeout: 480 seconds]
05:21bluetail6 is now known as bluetail
05:24svenmarcan: nope, never looked into where they are stored on macOS
05:33jannaumarcan: bluetooth link keys are stored in the keychain
05:34marcanohh, keychain. huh.
05:34marcanthen how do they sync between macOS installs? I assume they have to do that
05:35thelounge7571340 has joined #asahi-dev
05:35thelounge7571340 has quit [Remote host closed the connection]
05:35jannauthey are synced with recovery as well so maybe they are in nvram
05:36marcannvram has some stuff, possibly for a subset of devices only? (maybe HID only?)
05:36marcanbut I didn't see anything that clearly said link keys
05:36marcanI wonder if SEP is involved...
05:51dottedmagThese keys are definitely synced between two macOS installs on the same machine
05:52jannaudo we know hoow the wlan ssid/passphrase/key is shared with recovery? I would expect that bt device MACs and link keys are shared in the same way
05:54Etrien has quit [Read error: Connection reset by peer]
05:54Etrien has joined #asahi-dev
05:56ella-0 has joined #asahi-dev
05:59ella-0_ has quit [Read error: Connection reset by peer]
06:14thelounge7571340 has joined #asahi-dev
06:15thelounge7571340 has quit [Remote host closed the connection]
06:21SSJ_GZ has joined #asahi-dev
06:22svenisn’t the wlan key stored in nvram and even propagated to the adt?
06:42jakebot6022 has quit [Ping timeout: 480 seconds]
06:43jannauI see BluetoothUHEDevices in nvram which has strings of the connected devices and enough binary looking additional data to include MAC and link key
06:45jakebot6022 has joined #asahi-dev
06:45the_lanetly_052 has joined #asahi-dev
06:50the_lanetly_052__ has joined #asahi-dev
06:57the_lanetly_052 has quit [Ping timeout: 480 seconds]
06:59jannauBluetoothUHEDevices is in nvram-proxy-data in the ADT. the link keys are probably sensitive enough to avoid stuffing them into the devicetree
07:00jannauI'll look tonight how (if) MAC and link key are encoded in there
07:10dd has joined #asahi-dev
07:19thelounge7571340 has joined #asahi-dev
07:19thelounge7571340 has quit [Remote host closed the connection]
07:33povik has joined #asahi-dev
07:37the_lanetly_052 has joined #asahi-dev
07:39bluetail has quit [Ping timeout: 480 seconds]
07:42the_lanetly_052__ has quit [Ping timeout: 480 seconds]
07:55as400 has joined #asahi-dev
07:57as400marcan: linux-asahi-dev package is a great idea. That's my two cents.
08:03ella-0 has left #asahi-dev [#asahi-dev]
08:11MajorBiscuit has joined #asahi-dev
08:11mpsI have linux-asahi-git for my usage and testing on alpine, though don't upload it anywhere
08:15bluetail has joined #asahi-dev
08:15ril has joined #asahi-dev
08:18ril has quit [Quit: leaving]
08:21thelounge7571340 has joined #asahi-dev
08:22thelounge7571340 has quit [Remote host closed the connection]
08:50as400mps: afaiu it would be something similar
08:51mpsas400: similar yes, but not same
09:26thelounge7571340 has joined #asahi-dev
09:27thelounge7571340 has quit [Remote host closed the connection]
09:27as400 has quit [Quit: Page closed]
09:31SSJ_GZ has quit [Ping timeout: 480 seconds]
09:42MajorBiscuit has quit [Ping timeout: 480 seconds]
09:44SSJ_GZ has joined #asahi-dev
09:53chadmed has joined #asahi-dev
09:55kedde has joined #asahi-dev
09:57MajorBiscuit has joined #asahi-dev
10:08chipxxx has joined #asahi-dev
10:09chipxxx has quit [Read error: Connection reset by peer]
10:12chipxxx has joined #asahi-dev
10:12chipxxx has quit [Remote host closed the connection]
10:13chipxxx has joined #asahi-dev
10:27MajorBiscuit has quit [Ping timeout: 480 seconds]
10:27thelounge7571340 has joined #asahi-dev
10:28thelounge7571340 has quit [Remote host closed the connection]
11:07MajorBiscuit has joined #asahi-dev
11:13the_lanetly_052__ has joined #asahi-dev
11:16MajorBiscuit has quit [Read error: Connection reset by peer]
11:18MajorBiscuit has joined #asahi-dev
11:19the_lanetly_052 has quit [Ping timeout: 480 seconds]
11:21MajorBiscuit has quit []
11:22Etrien_ has joined #asahi-dev
11:23Etrien has quit [Ping timeout: 480 seconds]
11:25MajorBiscuit has joined #asahi-dev
11:34amarioguy2 has joined #asahi-dev
11:36thelounge7571340 has joined #asahi-dev
11:38thelounge7571340 has quit [Remote host closed the connection]
11:39c10l6 has joined #asahi-dev
11:40c10l6 has quit []
11:40c10l9 has joined #asahi-dev
11:40c10l has quit [Ping timeout: 480 seconds]
11:40c10l9 has quit []
11:41c10l has joined #asahi-dev
11:44chengsun has quit [Quit: Quit]
11:45chengsun has joined #asahi-dev
11:48the_lanetly_052__ has quit [Ping timeout: 480 seconds]
11:51c10l9 has joined #asahi-dev
11:56c10l9 has quit []
11:56c10l4 has joined #asahi-dev
11:56c10l4 has quit []
11:56c10l7 has joined #asahi-dev
11:56c10l7 has quit []
11:58c10l has quit [Ping timeout: 480 seconds]
11:58amarioguy2 has quit [Ping timeout: 480 seconds]
12:05c10l has joined #asahi-dev
12:11ayke_marcan: I did sync my Bluetooth keyboard and headphones between Linux and MacOS, it is possible
12:12ayke_I updated the Arch wiki with the information and also left some important notes for BT 5.1 on the discussion page
12:14ayke_In short, extract the keys from the plist in the keychain, convert from base64 to hex or numbers, and follow the tutorial as usual
12:18jannauisn't there an option in keychain to display as hex? I can't remember that I had to convert the keys from base64
12:22ayke_I don't know, I simply extracted the plist from the keychain
12:24jannaujust checked: it's encoded as string in the form 12-34-56-78-AD-EC... if you klich show password
12:28jannaubut it's in nvram/adt which is more convenient
12:41thelounge7571340 has joined #asahi-dev
12:42thelounge7571340 has quit [Remote host closed the connection]
12:43c10l2 has joined #asahi-dev
12:44c10l2 has quit []
12:44c10l5 has joined #asahi-dev
12:44c10l5 has quit []
12:45c10l5 has joined #asahi-dev
12:45c10l5 has quit []
12:45MajorBiscuit has quit [Ping timeout: 480 seconds]
12:47c10l2 has joined #asahi-dev
12:47c10l2 has quit []
12:50c10l has quit [Ping timeout: 480 seconds]
12:50c10l has joined #asahi-dev
12:53MajorBiscuit has joined #asahi-dev
12:56r0niooh i'd love if i could get that bt sync to work on slackware, i'll have to try it later (hate this "gaming" keyboard)
13:06amarioguy2 has joined #asahi-dev
13:25gladiac has joined #asahi-dev
13:32m5zs7k has quit [Ping timeout: 480 seconds]
13:34m5zs7k has joined #asahi-dev
13:46balrog_ has joined #asahi-dev
13:46thelounge7571340 has joined #asahi-dev
13:46thelounge7571340 has quit [Remote host closed the connection]
13:47balrog has quit [Ping timeout: 480 seconds]
13:54chipxxx has quit [Ping timeout: 480 seconds]
13:56amarioguy2 has quit [Ping timeout: 480 seconds]
13:57amarioguy2 has joined #asahi-dev
14:01ayke_jannau: how did you do it? I did it via Keychain Access which just gives me an XML/plist file
14:14amarioguy2 has quit [Ping timeout: 480 seconds]
14:34Deewiant has quit [Remote host closed the connection]
14:34Deewiant has joined #asahi-dev
14:44mazmarcan: does m1n1 always enable the guest timers before entering the payload?
14:47thelounge7571340 has joined #asahi-dev
14:47thelounge7571340 has quit [Remote host closed the connection]
14:48mazor maybe they just default to enabled... odd.
14:50kedde has quit [Ping timeout: 480 seconds]
15:01Gaspare has joined #asahi-dev
15:01Gaspare has quit []
15:02Gaspare has joined #asahi-dev
15:29dd has quit [Read error: Connection reset by peer]
15:41MajorBiscuit has quit [Ping timeout: 480 seconds]
15:42c10l has quit [Quit: Bye o/]
15:44c10l has joined #asahi-dev
15:45chadmed has quit [Remote host closed the connection]
15:45Gaspare has quit [Quit: Gaspare]
15:51c10l has quit [Quit: Bye o/]
15:53c10l has joined #asahi-dev
15:54whistlingoat has joined #asahi-dev
15:55thelounge7571340 has joined #asahi-dev
15:55thelounge7571340 has quit [Remote host closed the connection]
15:55c10l has quit []
16:12whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
16:36ljs has joined #asahi-dev
16:44whistlingoat has joined #asahi-dev
16:59thelounge7571340 has joined #asahi-dev
16:59thelounge7571340 has quit [Remote host closed the connection]
17:08MajorBiscuit has joined #asahi-dev
17:19MajorBiscuit has quit [Ping timeout: 480 seconds]
17:28Gaspare has joined #asahi-dev
17:39gladiac has quit [Quit: k thx bye]
17:44ljs has quit [Ping timeout: 480 seconds]
17:48Gaspare has quit [Quit: Gaspare]
17:55Gaspare has joined #asahi-dev
17:56qyliss has joined #asahi-dev
17:59c10l has joined #asahi-dev
18:00c10l has quit []
18:01c10l has joined #asahi-dev
18:03thelounge7571340 has joined #asahi-dev
18:04thelounge7571340 has quit [Remote host closed the connection]
18:08whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
18:17enron has joined #asahi-dev
18:18c10l has quit [Quit: Bye o/]
18:23c10l has joined #asahi-dev
18:32jluthra has quit [Remote host closed the connection]
18:32jluthra has joined #asahi-dev
18:34ljs has joined #asahi-dev
18:52Gaspare has quit [Quit: Gaspare]
18:54Retr0id1 has joined #asahi-dev
18:54Retr0id has quit [Remote host closed the connection]
18:54Retr0id1 is now known as Retr0id
19:03whistlingoat has joined #asahi-dev
19:03Gaspare has joined #asahi-dev
19:04espo has joined #asahi-dev
19:08whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
19:11thelounge7571340 has joined #asahi-dev
19:13thelounge7571340 has quit [Remote host closed the connection]
19:24Gaspare has quit [Quit: Gaspare]
19:24Gaspare has joined #asahi-dev
19:34Gaspare has quit [Quit: Gaspare]
19:35Gaspare has joined #asahi-dev
19:40ljs has quit [Ping timeout: 480 seconds]
19:45MajorBiscuit has joined #asahi-dev
19:50derzahl has joined #asahi-dev
19:55espo has quit [Quit: zzz]
20:15* robheriommu probing seems flaky on current asahi-wip:
20:24robherIn this case, things seem to be working. Some boots have no audio nor USB and there's a NULL ptr backtrace from the DART driver. I don't seem to have captured a log from that.
20:26MajorBiscuit has quit [Ping timeout: 480 seconds]
20:29thelounge7571340 has joined #asahi-dev
20:29thelounge7571340 has quit [Remote host closed the connection]
20:30jannaudid we somehow end up with duplicated device nodes:
20:30jannausysfs: cannot create duplicate filename '/devices/platform/soc/39b400000.dma-controller/iommu_group'
20:33espo has joined #asahi-dev
20:35sventhere was also that bus_set_iommu cleanup series in the core, maybe that interacts with dart in a strange way
20:35jannauhmm, is that just a side effect of the dual darts in admac
20:36svenwell… USB has dual darts as well and it apparently also breaks sometimes
20:37svenmaybe that combined with the bus_set_iommu? Would also explain why I never noticed it because I usually run upstream kernels which don’t have the usb nodes
20:38derzahl has quit [Remote host closed the connection]
20:39jannaupcie darts fail as well
20:40derzahl has joined #asahi-dev
20:40jannaubut yes, I would suspect an interaction with something else in v6.1-rc1. I've never seen that with the same devicetrees in v6.0-rc*
20:41svenhrm, i don’t think I ran 6.1 yet
20:41svenI remember testing that bus cleanup on top of 6.0 though
20:54jannauno dart probe errors m2 so far and I did quite a few reboots due to the tps6598x issue
20:55jannauI guess I'll test on the ultra, more darts to trigger bugs
21:04robherThe dts looks sane to me...
21:09jannauyes. it was a first guess since we moved dart_sio to order it correctly by address which could have cause merge/rebase issues but dtc would have screamed
21:09bisko has quit [Read error: Connection reset by peer]
21:09bisko has joined #asahi-dev
21:12Etrien has joined #asahi-dev
21:13robherI thought maybe there was both dart@1234 and iommu@1234 which dtc only complains about with 'W=1', but no complaint there. Though 'dart' should be fixed...
21:17espo has quit [Quit: espo]
21:18Etrien_ has quit [Ping timeout: 480 seconds]
21:19jannauI see "cacheinfo: Unable to detect cache hierarchy for CPU x" for every cpu core
21:25Etrien_ has joined #asahi-dev
21:30Etrien has quit [Ping timeout: 480 seconds]
21:32jannaurobher: are the drivers mostly built-in? I can't reproduce it here but I have a much nicer probe order. all darts are probed before the first device is attached to an iommu domain
21:33robherjannau: It's the config from Asahi for the most part.
21:34robherActually, the NULL deref happened the current (sucessful) boot too...
21:34dd has joined #asahi-dev
21:37dd has quit []
21:47SSJ_GZ has quit [Ping timeout: 480 seconds]
21:48thelounge7571340 has joined #asahi-dev
21:49thelounge7571340 has quit [Remote host closed the connection]
21:56jannaurobher: reproduced after removing the dart module from the initramfs
21:57robherjannau: I think the problem may be PCI probes before the DART.
21:57robherOr just another problem...
21:58robherOF: /soc/pcie@590000000: no iommu-map translation for id 0x0 on (null)
22:03jannauit looks like probing dart and devices using dart at the same causes problems for devices which in someway use more than 1 dart
22:04jannaudwc3 and admac directly, pcie one for each link
22:06jannaucould it be that the problem is that the device is probed after probing the first dart and device iommu setup races with probing of additional darts?
22:08robherNo splats and wifi works now with dart built-in!
22:09robherI'm guessing fw_devlink is not handling iommu-map dependency nor is deferred probe working for it.
22:27Gaspare has quit [Quit: Gaspare]
23:10thelounge7571340 has joined #asahi-dev
23:11thelounge7571340 has quit [Remote host closed the connection]
23:12nikorai_ has joined #asahi-dev
23:12nikorai has quit [Ping timeout: 480 seconds]
23:23whistlingoat has joined #asahi-dev
23:30Core9066 has joined #asahi-dev
23:37whistlingoat has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
…