#
…

2022-12-02

00:06tenkuu_ has quit [Quit: WeeChat 3.7.1]
00:12Versus34 has quit [Ping timeout: 480 seconds]
00:15scardracsNot really. I mean Linux OSes
00:19Versus34 has joined #asahi
00:28user982492 has joined #asahi
00:40beeblebrox has quit [Quit: Konversation terminated!]
00:52rayanamukami3 has quit [Read error: Connection reset by peer]
00:52rayanamukami3 has joined #asahi
01:01bgb has joined #asahi
01:08asie has quit [Server closed connection]
01:08asie has joined #asahi
01:27marcanBcrumb: Because we can't ship it in the root, because it makes cleanup easier, because it makes root backups redistributable for people, and because that way it works without mounting the root read-write in the initramfs (which a lot of distros don't)
01:35marcan has quit [Server closed connection]
01:35marcan has joined #asahi
01:38waldi has quit [Server closed connection]
01:38waldi has joined #asahi
01:40Xe has quit [Server closed connection]
01:41Xe has joined #asahi
01:45delsol has joined #asahi
01:48user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:54user982492 has joined #asahi
01:57mixi has quit [Server closed connection]
01:57mixi has joined #asahi
02:06delsol has quit [Quit: Leaving...]
02:17Ziemas has quit [Server closed connection]
02:18Ziemas has joined #asahi
02:21vafanlignarde has quit [Server closed connection]
02:21vafanlignarde has joined #asahi
02:29delsol has joined #asahi
02:33V has quit [Server closed connection]
02:33V has joined #asahi
02:36ten15723 has quit [Remote host closed the connection]
02:36ten15723 has joined #asahi
02:40Foxboron has quit [Server closed connection]
02:40Foxboron has joined #asahi
02:54ar has quit [Server closed connection]
02:54ar has joined #asahi
02:54commandoline_ has quit [Server closed connection]
02:55commandoline has joined #asahi
02:58ma4 has joined #asahi
03:05ma3 has quit [Ping timeout: 480 seconds]
03:06kaprests has quit [Server closed connection]
03:06kaprests has joined #asahi
03:07delsol has quit [Ping timeout: 480 seconds]
03:14erincandescent has quit [Server closed connection]
03:19Fanfwe has quit [Server closed connection]
03:20Fanfwe has joined #asahi
03:26ten15723 has quit [Remote host closed the connection]
03:26ten15723 has joined #asahi
03:28sylveon has joined #asahi
03:30karlyeurl has quit [Server closed connection]
03:30karlyeurl has joined #asahi
03:33capta1nt0ad has joined #asahi
03:34ten15723 has quit [Remote host closed the connection]
03:34capta1nt0ad has quit []
03:34ten15723 has joined #asahi
03:41sylveon has quit [Quit: Konversation terminated!]
03:44delsol has joined #asahi
03:45leah2 has quit [Server closed connection]
03:45leah2 has joined #asahi
03:53user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:00vup has quit [Server closed connection]
04:05nyuhu has quit [Server closed connection]
04:05nyuhu has joined #asahi
04:08Nevada has quit [Server closed connection]
04:11eroc1990 has quit [Remote host closed the connection]
04:11dianshi has quit [Server closed connection]
04:11dianshi has joined #asahi
04:11eroc1990 has joined #asahi
04:15irth has quit [Server closed connection]
04:15irth has joined #asahi
04:15CME has quit [Server closed connection]
04:15CME has joined #asahi
04:21lonjil has quit [Server closed connection]
04:21lonjil has joined #asahi
04:24Nevada has joined #asahi
04:30qyliss has quit [Server closed connection]
04:30qyliss has joined #asahi
04:31delsol has quit [Ping timeout: 480 seconds]
04:31nyx_o has joined #asahi
04:34frytaped has joined #asahi
04:38povik has quit [Server closed connection]
04:38povik has joined #asahi
04:40greguu has quit [Ping timeout: 480 seconds]
04:41espo has quit [Server closed connection]
04:41espo has joined #asahi
04:42ten157237 has joined #asahi
04:42ten15723 has quit [Remote host closed the connection]
04:42ten157237 is now known as ten15723
04:47marvin24 has joined #asahi
04:48noopwafel has quit [Server closed connection]
04:48noopwafel has joined #asahi
04:51marvin24_ has quit [Ping timeout: 480 seconds]
04:54jamespmorgan has joined #asahi
04:57veloek has quit [Server closed connection]
04:57veloek has joined #asahi
04:59jamespmo_ has quit [Ping timeout: 480 seconds]
05:01mjolnir[m] has quit [Server closed connection]
05:01mjolnir[m] has joined #asahi
05:01matrix_ds has quit [Server closed connection]
05:02ahdeb[m] has quit [Server closed connection]
05:02ahdeb[m] has joined #asahi
05:04matrix_ds has joined #asahi
05:06frytaped has quit [Quit: WeeChat 3.6]
05:06frytaped has joined #asahi
05:06frytaped has quit []
05:08frytaped has joined #asahi
05:08frytaped has quit []
05:09frytaped has joined #asahi
05:09frytaped has quit []
05:36redlegion has quit [Server closed connection]
05:36redlegion has joined #asahi
05:48Sellerie has quit [Server closed connection]
05:48Sellerie has joined #asahi
06:10loki_val has quit [Server closed connection]
06:10crabbedhaloablut has joined #asahi
06:16Stary has quit [Server closed connection]
06:16Stary has joined #asahi
06:21greguu has joined #asahi
06:40m5zs7k has quit [Server closed connection]
06:40m5zs7k has joined #asahi
06:53frytaped has joined #asahi
06:54frytaped is now known as godvino
06:54deckard_xprop has joined #asahi
06:55godvino has quit []
06:57frytaped has joined #asahi
07:14deckard_xprop has quit []
07:17SSJ_GZ has joined #asahi
07:33chadmed_ has joined #asahi
07:36jamespmo_ has joined #asahi
07:42jamespmorgan has quit [Ping timeout: 480 seconds]
08:32joske has joined #asahi
08:32joskechadmed: I tried your audio suspend PR, but after resume I have no audio at all now: https://paste.debian.net/1262610/
08:33joske has quit []
08:39chadmed_is that reproducible? seems odd since thats failing on something the driver used to do anyway
08:45joske has joined #asahi
08:47joskeno, second time it just worked
08:47joskeI waited a bit longer before resume though (not sure if that makes any difference at all)
08:49chadmed_that shouldnt make a difference since the driver does those failed register pokes before suspend
08:49joskeI'll try a few more times
08:51joske5 suspend/resumes in a row, and worked every time
08:54joskereproduced
08:54joskeif you suspend when no audio played since boot, you get this
09:13chadmed_that sounds like the codec is never taken out of software shutdown on start, so when we try to set the bits to the same thing it fails?
09:15chadmed_tas2770.c, line 75: change that function to "ret = tas2770_update_pwr_ctrl(tas2770);" and see if that fixes it
09:24chadmed_which commits did you pick
09:24joskeI just downloaded the entire PR as a patch
09:25joskeand applied with git am
09:26joskeyes, all 4 commits present
09:26chadmed_because that error is now happening on startup which is what ecdec55 is meant to fix
09:27_jannau_ls for dcp
09:30joskechadmed: can you reproduce it too?
09:30chadmed_not with tas2764. i dont have a machine with tas2770 in it
09:30chadmed_but the chips are afaik identical apart from the class d amp's power?
09:31joskeoh strange
09:31chadmed_so this is weird
09:34joskehappy to try any fixes you may have
09:35joskeeither way, I'd still call this a win :-D just touch the volume button once on login
09:40chadmed_ive got a match that _may_ work, just making sure it builds first
09:41chadmed_my server is slower at building kernels than this tiny laptop
09:41joskehaha yes
09:42chadmed_cant wait to yeet it outta here
09:49chadmed_depending on when PRE_PMD and POST_PMU get called, that might fix t
09:51joskebuilding
09:52chadmed_lessgoooo
09:54joskeno audio related stuff in dmesg on suspend nor resume
09:55joskeso great!
09:55chadmed_no news is good news :)
09:55joskein this case, yes :-)
09:55chadmed_maybe ive just gotten lucky with tas2764 so far then, i should add the same fix to that
09:56joskemight be a good idea
09:56chadmed_because that problem would logically affect both, the code paths are identical
09:56joskeor something played some ping on login or so
09:56chadmed_the MS Sound plays when i login so... yeah thatd do it :P
10:05cylm_ has joined #asahi
10:05leitao has joined #asahi
10:06cylm has quit [Ping timeout: 480 seconds]
10:06povikchadmed_: sorry to be a party pooper but that patch is wrong
10:07povikyou shouldn't touch dac_powered/unmuted in the resume/suspend functions
10:10vx has quit [Quit: G-line: User has been permanently banned from this network.]
10:10vx has joined #asahi
10:11povikthe fields are supposed to reflect the desired power state as far as commanded by the sound card
10:11povikif you override that during the suspend cycle you lose some info
10:15leitao has quit [Ping timeout: 480 seconds]
10:18povikchadmed_: do you know if with your patch "ASoC: tas2770: software shutdown before suspend" the power-related code paths between tas2764/tas2770 are essentially the same?
10:19povikif that's the case, i suspect there's a bug in the original resume function
10:19povikit should do sync, *then* up the power state
10:20chadmed_the data sheet sections related to the shutdown states are copy-pasted so i assume theyre supposed to behave identically
10:20povikdatasheet sections?
10:20povikah, as in actual sections in datasheet :)
10:20poviki was thinking of code
10:20Chai-T-Rex has quit [Remote host closed the connection]
10:21chadmed_ah yeah what i mean is that if the function works on one (tas2764 as tested on my end) then it should work on the other because theyre supposed to behave identically
10:21chadmed_but like i said above its possible i was just getting lucky
10:21povikand the code is indeed the same you say...
10:21povikwell, but that could be explained by the bug i suspect
10:21Chai-T-Rex has joined #asahi
10:21chadmed_yeah but they both return regache_sync() so if you think that should happen before the power state is changed we can change that
10:22povikbecause the ordering of registers will be different, so different registers will have been restored by the time sync gets to the power register
10:22povikthat could explaine the tas2764/tas2770 difference
10:26Chai-T-Rex has quit [Remote host closed the connection]
10:26chadmed_d'oh ignore that
10:26Chai-T-Rex has joined #asahi
10:28joskechadmed: is that on top of previous patch?
10:28joskeor should that be reverted?
10:28povikchadmed_: probably best putting the cache_only(false) above sync, but yeah, like that
10:29gabuscus has quit [Ping timeout: 480 seconds]
10:29chadmed_revert the previous one please, its wrong :P
10:29povikjoske maybe means patches from PR, not the first link
10:30chadmed_no they applied the one from before that you said was wrong
10:30povikah right
10:30joskenono, I meant the first patch he posted here
10:30povikgot an email from github: @chadmed pushed 0 commits.
10:30joskereverted, and applied new one
10:31chadmed_i force pushed to drop that silly revert commit that was making the DCO bot angry :P
10:31joskeshould I move the cache_only higher up?
10:31chadmed_yeah move it above the sync function
10:32joskerebooting
10:34joskealso working!
10:34joskepush it
10:34joskepush it real good
10:34chadmed_i believe its "whip it" ;)
10:35joskewell, you may be too young to know the song :-P
10:36povikchadmed_: you can send this one straight to the list if you feel like it
10:36poviknotwithstanding the other suspend fixes since those probably aren't upstreamable
10:36gabuscus has joined #asahi
10:36chadmed_you fine with a Co-developed-by?
10:37poviknah, just give me a suggested-by
10:37chadmed_what do we do about the major problem then? just carry this until someone revives shared gpio handling?
10:37chadmed_its been like 4 years now :P
10:38povikprobably until *we* revive shared gpio handling
10:38chadmed_heh of course
10:41chadmed_ has quit [Remote host closed the connection]
10:44povikfrom experience there will be a bunch of TI codec drivers with this same faulty code
10:45povikprobably best to fix tas2764/2770 now
10:45povikand i can eventually carry over the fix to others once i hook up the tower of codec evaluation boards TI sent me :p
10:45chadmed_ has joined #asahi
10:47povikyeah, hit on tas2780 (this one i don't have :/)
10:48poviklooks like tas2552 has it too
10:50poviktas2562 doesn't touch the pstate register on suspend
10:50joske has quit [Ping timeout: 480 seconds]
10:53chadmed_is it put into shutdown elsewhere? if not thats like 8mA quiescent current if it just stays in mute
10:53povikit's put into shutdown by SDZ (if it has one)
10:54povikbut there's no special sequencing of a pstate register change
10:56chadmed_maybe we should only do that if theres no SDZ pin
10:57povikno, you need special sequencing of the pstate restore
10:58povikthat's what all the fuss in suspend/resume functions is about
10:58povikin suspend, the shutdown write hits the cache only, so it's without effect
10:58povikonly during resume the sync restores the registers with shutdown in pstate first, only then is the pstate upped
10:59povikat least, that's what it *will* do with your fix
10:59povikbefore, the whole production was spoiled by the last act :D
11:01povikoh wait, i just reread the code
11:02povikit doesn't do the cache write if theres SDZ?
11:03chadmed_tas2770 was like that too, but tas2764 wasnt
11:03jamespmorgan has joined #asahi
11:03poviktas2764 with your fix looks best to me of all the variants of suspend code that's floating around here
11:07povikuh, the tas2770 suspend code just doesnt make any sense
11:07povikit pulls SDZ if theres one but otherwise all the writes are just empty exercise
11:09jamespmo_ has quit [Ping timeout: 480 seconds]
11:10chadmed_the suspend function is total nonsense yeah
11:17Versus34 has quit [Ping timeout: 480 seconds]
11:45kenzie7 has quit []
11:46kenzie7 has joined #asahi
12:07le0n has quit [Quit: see you later, alligator]
12:08le0n has joined #asahi
12:29ihaveamac has quit [Quit: fail]
12:30ihaveamac has joined #asahi
12:35frytaped is now known as Guest679
12:35Guest679 has quit []
12:37frytaped has joined #asahi
12:38frytaped is now known as Guest681
12:38Guest681 is now known as frytaped
12:40frytaped has quit []
12:40frytaped has joined #asahi
12:44beeblebrox has joined #asahi
12:49chadmed_ has quit [Remote host closed the connection]
13:10goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:11kettenis has quit [Ping timeout: 480 seconds]
13:11r0ni has quit [Ping timeout: 480 seconds]
13:19rvalue has quit [Remote host closed the connection]
13:19rvalue has joined #asahi
13:19rayanamukami3 has quit [Ping timeout: 480 seconds]
13:21goldsoultheory has joined #asahi
13:26rayanamukami3 has joined #asahi
13:28rayanamukami31 has joined #asahi
13:34rayanamukami3 has quit [Ping timeout: 480 seconds]
13:34rayanamukami31 is now known as rayanamukami3
14:34off^ has quit [Ping timeout: 480 seconds]
14:44leitao has joined #asahi
14:53leitao has quit [Ping timeout: 480 seconds]
14:54sylveon has joined #asahi
15:00LinuxM1 has joined #asahi
15:01janrinze has quit [Quit: Leaving.]
15:01janrinze has joined #asahi
15:04delsol has joined #asahi
15:12LinuxM1 has quit [Quit: Leaving]
15:28bgb has quit [Ping timeout: 480 seconds]
15:29kilolima is now known as kl_
15:44assman has quit [Remote host closed the connection]
15:44assman has joined #asahi
16:27jluthra has quit [Remote host closed the connection]
16:27jluthra has joined #asahi
16:38creechy has quit [Ping timeout: 480 seconds]
16:50creechy has joined #asahi
17:44sylveon has quit [Quit: Konversation terminated!]
17:51vmeson has quit [Ping timeout: 480 seconds]
18:04vmeson has joined #asahi
18:12corion has joined #asahi
18:56nicolas17 has joined #asahi
19:25systwi has joined #asahi
19:31systwi__ has quit [Ping timeout: 480 seconds]
19:44corion has quit []
19:47corion has joined #asahi
19:57tired has quit [Quit: /]
19:58tired has joined #asahi
20:11as400 has quit [Remote host closed the connection]
20:16delsol has quit [Remote host closed the connection]
20:17as400 has joined #asahi
20:26djorz has joined #asahi
20:42bcrumb has joined #asahi
20:42goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:44bcrumbmarcan: k, was just asking and guessed these as much so i know how to follow for this hook
20:48bcrumb has quit [Remote host closed the connection]
21:03nopeslidecan anyone point me to a kernel build config for an M2 air? or is there a default config that works well?
21:04jamespmo_ has joined #asahi
21:06j`eynopeslide: any reason you want to build your own kernel?
21:08nopeslidej`ey: i just want to play around with tethered setup and see if i can do anything cool..
21:09jamespmorgan has quit [Ping timeout: 480 seconds]
21:09nopeslidei guess i dont need to build my own kernel but i wanna try starting from m1, loading the kernel, installing a KDE distro etc
21:17chengsun has joined #asahi
21:19alex_ has joined #asahi
21:19kettenis has joined #asahi
21:19alex_Hi I'm having issue with installer installing to external drive
21:21alex_I get notifications the external drive not properly ejected every time the installer is doing the partitioning
21:22chengsun_ has joined #asahi
21:22systwi_ has joined #asahi
21:26systwi has quit [Ping timeout: 480 seconds]
21:27chengsun_ has quit [Quit: Quit]
21:28chengsun has quit [Ping timeout: 480 seconds]
21:31LinuxM1 has joined #asahi
21:31chengsun has joined #asahi
21:35chengsun has quit []
21:36chengsun has joined #asahi
21:38mlq has joined #asahi
21:39chengsun has quit []
21:39axboe has joined #asahi
21:39LinuxM1 has quit [Quit: Leaving]
21:39bcrumb has joined #asahi
21:39bcrumbso i'm running the new firmware with systemd now
21:40bcrumbthe trick seemed to be that the systemd bootup targets are off and sysroot is NOT mounted at initrd-fs.target
21:40bcrumbso i just infinite looped that until it became available
21:40bcrumbnow, it's the wifi that is working at least, should keyboard backlights be on too?
21:43mlq_ has quit [Ping timeout: 480 seconds]
21:43j`eybcrumb: yep
21:43bcrumbalso, i guess that initrd-fs was off because of cryptsetup... which is weird considering how their hierarchy works
21:43bcrumbhmmm doesn't seem to be
21:44bcrumbj`ey: is there a way to manually reload firmware?
21:44j`ey echo 100 | sudo tee /sys/class/leds/kbd_backlight/brightness
21:44j`eybacklight doesnt need fw
21:44bcrumboh fuck lol
21:45bcrumbtime to program so that it flashes to crazy frog
21:46bcrumbon srs bzns, i support my wifi working is enough to prove that ALL the new firmware is working... I guess? but if not, plox advise on a test to see if this is true
21:47bcrumbi will then i guess polish this thing out and publish files first somewhere, ask someone to review and then i can make the PKGBUILD
21:52corion has quit [Quit: Page closed]
21:52bcrumbbtw, would theoretically my keyboard work if run_earlyhook (vendorfw extraction) did not happen before udev?
21:53bcrumbso, not work
21:55bcrumbi did try once without hook and the keyboard was just dead, so i suppose
21:57j`eykeyboard shouldnt require fw
22:00bcrumb has quit [Quit: WeeChat 3.7.1]
22:11alex_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:17jamespmorgan has joined #asahi
22:22giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
22:23jamespmo_ has quit [Ping timeout: 480 seconds]
22:48vx has quit [Quit: G-line: User has been permanently banned from this network.]
22:49vx has joined #asahi
22:50jacksonchen666 has joined #asahi
23:00tanty has quit []
23:00chengsun has joined #asahi
23:09tanty has joined #asahi
23:12tanty has quit []
23:15tanty has joined #asahi
23:35bcrumb has joined #asahi
23:36bcrumbthis is still configured for my local, but the files are there
23:38SSJ_GZ has quit [Ping timeout: 480 seconds]
23:39goldsoultheory has joined #asahi
23:42jamespmo_ has joined #asahi
23:42yamii has quit [Ping timeout: 480 seconds]
23:49jamespmorgan has quit [Ping timeout: 480 seconds]
23:52bcrumbmarcan: tagging on this, here's also the above pull in combo with this https://github.com/AsahiLinux/asahi-scripts/pull/20
23:52bcrumb*old pull that i needed to sign off, which i did
23:53bcrumb has quit [Quit: WeeChat 3.7.1]
23:54Brainium has joined #asahi
23:55artemist has quit [Ping timeout: 480 seconds]
…