Saturday, 2026-03-21

T42<abhishek_0> Glad this IRC bridge is still working. I wonder who is paying for this server :-000:31
T42<nc1x72> Made some progress on Spacewar.12:06
T42<nc1x72> Turned out that modem, bt_firmware and dsp partitions weren’t getting mounted under /vendor subdirectories respectively.12:07
T42<nc1x72> - BT and RIL now work12:07
T42<nc1x72> But still no wifi adapter available.12:07
T42<nc1x72> Also, battery indicator nows shows up and upon inserting usb cable, device detects it but it seems stuck in “Charging only” mode. I tried changing it in usb settings to “Developer”, “Ask” and “MTP”. Still shows as “Charging only”12:07
T42<nc1x72> And auto-rotation works as well12:10
T42<nc1x72> Fixed usb ... I was pointing usb-moded to the wrong gadget_conf dir (it's b.1 on this device, not c.1). Time to tackle wifi now12:42
malI thought my fp5 repo has b.113:08
T42<nc1x72> It does indeed. Might have switched it during previous tests to c.1 and forgot to put it back. The real issue was the path (/sys/kernel rather than /config)13:14
malare you sure? usb config things are in /config usually13:15
maldon't you have /config and the gadget things under it somewhere?13:16
T42<nc1x72> They did not indeed previously. But now that usb is working, it has contents13:30
T42<nc1x72> Anyway, regarding wifi, trying to run "echo ON > /dev/wlan", I get an "invalid argument" error.13:31
T42<nc1x72> modinfo shows qca_cld3_qca6750 is loaded13:32
maldoes echo 1 > /dev/wlan work?13:33
T42<nc1x72> Doesn't return error but wifi settings still say "no adapter available"13:33
T42<elros34> what about cmdline like ifconfig -a13:38
T42<nc1x72> @elros34 no wlan0 interface13:39
T42<nc1x72> Here's some logs : https://paste.opensuse.org/pastes/96e8683a2f6513:39
T42<elros34> did you found qca6750/bdwlan.elf on device?13:43
T42<nc1x72> No, it doesn't exist (neither on stock or LOS firmware)13:43
T42<nc1x72> I think the real issue is the config file13:44
T42<elros34> what config file? I would suggest getting full dmesg after writing to /dev/wlan13:46
T42<nc1x72> Here's full log : https://paste.opensuse.org/pastes/dd8289a9b87114:11
malthere error about failing to load wlan firmware, please check journal log for any droid mount errors15:05
malalthough not sure if that critical, need to boot my fp5 and check there15:06
malit seems there is just one extra file it fails to load15:06
T42<nc1x72> Ok but then falls back to sysfs15:07
T42<nc1x72> the main wifisetup.service doesn’t run because echo ON /dev/wlan fails15:08
T42<nc1x72> I have this same command in device-hacks script on UT and it works fine15:09
malhave you verified that all mount services work?15:12
malgrep What /usr/lib/systemd/system/*.mount and see if you have anything that contains "by-name" in the path15:13
malthe command really is "grep What /usr/lib/systemd/system/*.mount"15:13
T42<nc1x72> ```15:21
T42<nc1x72> /usr/lib/systemd/system/metadata.mount:What=/dev/block/by-name/metadata15:21
T42<nc1x72> 15:21
T42<nc1x72> /usr/lib/systemd/system/vendor-bt_firmware.mount:What=/dev/block/bootdevice/by-name/bluetooth15:21
T42<nc1x72> 15:21
T42<nc1x72> /usr/lib/systemd/system/vendor-dsp.mount:What=/dev/block/bootdevice/by-name/dsp15:21
T42<nc1x72> 15:21
T42<nc1x72> /usr/lib/systemd/system/vendor-firmware_mnt.mount:What=/dev/block/bootdevice/by-name/modem```15:21
malyeah, so those need to be fixed, your fixup-mountpoints in not correctly done15:25
mal*is not15:26
T42<nc1x72> Well, that's how it's on fp5 repo. I just put the real partitions numbers : https://github.com/SailfishOSSpacewar/hybris-boot/blob/Spacewar/fixup-mountpoints#L1525-L161615:27
T42<nc1x72> PS : metadata, dsp, bt_firmware and firmware_mnt are all correctly mounted (Just checked).15:28
T42<elros34> this fixup doesn't match your fstab at all https://github.com/SailfishOSSpacewar/android_device_nothing_Spacewar/blob/hybris-21.0/rootdir/etc/fstab.default#L56. You don't have _a/_b.16:21
T42<nc1x72> Weird. Because it’s the same fstab on lineageos repo16:22
T42<nc1x72> Are you sure that’s why wifi isn’t working?16:23
T42<elros34> no, not at all16:25
T42<elros34> I don't know how you mount these vendor partitions if not by generated mount units16:26
malalso the metadata path is wrong16:30
malit's block/by-name/metadata without the bootdevice16:30
malyou can also see in fp5 fixup that I removed _a from some of those so those match fstab16:30
malfor example here https://github.com/SailfishOSSpacewar/hybris-boot/blob/Spacewar/fixup-mountpoints#L147516:31
T42<nc1x72> path /dev/block/by-name doesn’t exist on this device (even on stock rom, I just checked).18:14
T42<nc1x72> 18:14
T42<nc1x72> And like I said earlier, despite all these, /metadata is well mounted and accessible. So, the wifi problem is probably elsewhere18:14
malyou still should fix the fixup18:20
maland even if that /dev/block/by-name is not there it doesn't matter since the fstab has it18:20
malso you need to use it in fixup for metadata18:21
T42<nc1x72> Yes, I know it needs fixing18:21
T42<nc1x72> After symlinking to /mnt/vendor/persist to load the wlan firmware, got more info in logs : https://paste.opensuse.org/pastes/81c6e0abefa820:34
malsymlinking what?20:35
malis that /mnt/vendor/persist mounted?20:36

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!