#
…

2022-08-17

03:23marcanjannau, j`ey: thanks, pushed asahi-5.19-5 with the fixes (building the package now)
03:25marcanthat said: building modules as y with producer depencdencies as m is wrong. It won't explode, but you will get kernel warnings if the module isn't loaded for some reason, saying the probe thread is stuck
03:25marcanfine for reproducing this problem, not actually fine to ship like that
05:11Glanzmannmarcan: Is CONFIG_GPIO_MACSMC the producer and CONFIG_HID_DOCKCHANNEL the consumer?
05:14marcanGlanzmann: yes
05:15Glanzmannmarcan: Is it fine to have both as '=y'?
05:15marcanand you should be building in the whole macsmc thing anyway, because that's a dependency of the framebuffer stuff right now for gpio, and presumably you want your framebuffer to work without the initramfs
05:16marcan(I still don't know why you don't just use our config as a reference for these things...)
05:17marcanit's fine to have everything as =y if you feel like it... module policy is up to the distro, but unless you actually understand the dependencies involved, you'd do well to follow what Asahi does to start with
05:18Glanzmannmarcan: Okay, both are '=y'. I want to stick as close as the debian kernel config as possible, but I'll sync the asahi config options with asahi-config.
05:18marcanthat's what I mean, for the Asahi-related options
05:18GlanzmannI'll sync them.
05:25mpsdistros like to build as much as possible of modules/drivers with =m, but for development this 'likes' to break things
05:32Glanzmannmarcan: With the dockchannel I had CONFIG_HID_DOCKCHANNEL, CONFIG_APPLE_DOCKCHANNEL and CONFIG_GPIO_MACSMC as =y most of the time the dockchannel was to fast for gpio but on once boot it was fast enough with j'eys patch it always works. But I'll sync now all asahi options with the reference config.
05:33marcanwith the patch it will work, but it is still wrong because if the module doesn't load it will just get stuck in the probe function forever, and warn after one minute
05:33marcanit makes no sense to build in something and not its dependencies
05:33marcanmps: I know, and that is exactly what I do
05:33marcaneverything that is =y in the asahi config is =y for a good reason
05:34jannaumacsmc_gpio was built-in too so there was no missing dependency (at least at the point I asked about)
05:35jannauthe wrong -EPROBE_DEFER check was the only reason it was broken
05:38Glanzmannmarcan: To my understanding both the were built-in.
05:39Glanzmannsomething and the dependencies.
05:40Glanzmannjannau: Yes, it was always built in. I tend to have more '=y' than '=m', but I now synced my config with the asahi reference config and put more things to =m ...
07:04bluetailanybody on the 6.0 kernel yet?
07:07bluetailhad tried it on my amd system and it would get stuck at initramfs... secureboot is off. So I currently install the mainline aur hope it does the 'work' for me, otherwise, I dont even know if its working on AMD yet.
07:07Glanzmannbluetail: I tried it and it worked for me without sound, but I'm back on 5.19 until it will be released.
07:15mpslast night I thought to build and test 6.0-rc1 but had to work on some other tasks, hope will have time this evening for it
07:45isoriano has joined #asahi-alt
07:49isorianoGood morning.
07:54mpsGlanzmann: do you have config for 6.0-rc1 kernel which boots
08:32GlanzmannBut I'm no longer using it, just installed the old deb to get you the config.
08:35mpsGlanzmann: thank you
08:38Glanzmannisoriano: Good morning. So I have not tried much regarding, bluetooth, but this works for me: apt install -y bluez; https://pbot.rmdir.de/97q2ReKmty_MIGNrz_enDA
08:39isorianoNo worries .. not mission critical just for watching my James Bond movies :-) Will give it a try
08:42leif has joined #asahi-alt
08:44leifhcitool should have deprecated ages ago. Does Debian not have bluetoothctl? If so does 'bluetoothctl list' show the controller.
08:45Glanzmannleif: Does work for me, as well.
08:45isorianoit does .. Controller 9C:3E:53:87:85:78 m2mbp-debian [default]
08:46isorianoBut connecting is the problem.
08:48leifOk if you type 'bluetoothctl' to go into the bluetoothctl shell, then just type 'scan on' -- hopefully you should now see your device show up here (make sure it's in pairing mode), then just 'connect mac-address'
08:51isorianoleif, Great .. it works from the shell and connecting as you mention it!
08:52leifnice! yeah, it's always better to try things at the lower level first. The higher-level stuff will eventually get sorted out.
08:58isorianoThx .. ok, transmission seems distored in between but at least some sounds.
08:59j`eyisoriano: 2.4 or 5ghz wifi?
09:00isoriano5 GHz .. BandModifier5Ghz=10
09:01isorianoin /etc/iwd/main.conf
09:03isorianoBtw .. just in case you are interested in Debian aarch64 use cases :-) I do not give it up .. so running illumos-aarch64 in qemu-aarch64 on debian-aarch64 :-) https://ibb.co/vkGZ1P3
09:05leif has quit [Quit: Leaving]
09:15isorianook sound works properly .. if you leave the bluetoothctl shell .. seems the scanning was causing the distortions
09:15isorianoexit the shell
09:24GlanzmannI see. Good to know.
09:39isorianoWow .. so happy .. was even playing a round RTCW and it is really playable at 25xx resolutions
10:50isoriano has quit [Quit: Leaving]
10:54isoriano has joined #asahi-alt
10:57kode54 has joined #asahi-alt
11:54mpsI just wanted to look at BT and see this in dmesg out `2.344168] hci_bcm4377 0000:01:00.1: Unable to load firmware; tried 'brcm/brcmbt4387c2-apple,madagascar-u.bin' and 'brcm/brcmbt4387c2-apple,madagascar.bin'`
11:55mpsso I need to unpack new firmware
11:55mpsit is /boot/efi/asahi/all_firmware.tar.gz I guess
11:56mpsbut I'm not sure that simple tar will work
11:57mpsoh, looks like untar /boot/efi/vendorfw/firmware.tar will be enough
12:01GlanzmannYep, if you stub is new enought, than this is enough.
12:02_jannau_depends on when you installed. asahilinux has asahi-fwextract that regenerates the vendorfw firmware.tar from all_firmware.tar.gz
12:03_jannau_it's a packaged version the installer's firmware code
12:04mps_jannau_: yes, I know, and for alpine I used this alarm script and changed it a bit
12:05mpsbut my experience with BT is nearly zero, didn't used for more than a decade or two
12:06mpsinstalled alpine bluez pkg, run /etc/init.d/bluetooth, run bluetoothctl, and stopped there
12:08mpsat least driver is initialized and daemon works, rest will be on some alpine dev/user to test
12:10_jannau_depending on where you are you could scan in bluetoothctl and see if there any devices
12:20mpscommand 'show' or 'scan on' shows 'No default controller available'
12:21mpsso probably need config file for daemon
12:36_jannau_you might have to `power on` the controller
12:54mps_jannau_: same result
12:55mpsI need to ask someone running alpine how to set it
13:45gaudem[m] has joined #asahi-alt
15:25leif has joined #asahi-alt
15:28Votes78 has quit [Ping timeout: 480 seconds]
15:28leif has quit []
15:32bluetailisnt it funny that kernel 6 is called 'Hurr durr I'ma ninja sloth' ?
16:06Votes78 has joined #asahi-alt
16:32Votes78 has quit [Ping timeout: 480 seconds]
16:34Votes78 has joined #asahi-alt
17:58Votes78 has quit [Ping timeout: 480 seconds]
17:59Votes78 has joined #asahi-alt
18:21_Votes78 has joined #asahi-alt
18:23Votes78 has quit [Ping timeout: 480 seconds]
18:56jannau has quit [Remote host closed the connection]
18:56_jannau_ has quit [Quit: ZNC - http://znc.in]
19:08jannau has joined #asahi-alt
19:40isorianoGood evening, so nothing to test tonight? :-)
19:42isorianoBut hey one thing .. if I remember correctly on Asahi I could switch screen resolutions .. are these some presets that get shipped with Asahi?
19:46_jannau_ has joined #asahi-alt
20:02mpsisoriano: I think only with m1n1
20:02mpsi.e. on boot and not on macbooks, but minis
20:03Votes78 has joined #asahi-alt
20:07_Votes78 has quit [Ping timeout: 480 seconds]
20:40isoriano has quit [Quit: Leaving]
21:00isoriano has joined #asahi-alt
21:06isoriano@Glanzmann, sorry forgot to ask .. as I wanted to give my qemu-aarch64 a run and as part I setup the NIC and get the following error with the kernel you send me yesterday
21:06isorianoiptables: Failed to initialize nft: Protocol not supported
21:06isorianodisabled in the kernel?
21:32isoriano has quit [Quit: Leaving]
…