| T42 | <abhishek_0> Glad this IRC bridge is still working. I wonder who is paying for this server :-0 | 00: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 work | 12: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 well | 12: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 now | 12:42 |
| mal | I thought my fp5 repo has b.1 | 13: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 |
| mal | are you sure? usb config things are in /config usually | 13:15 |
| mal | don'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 contents | 13: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 loaded | 13:32 |
| mal | does 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 -a | 13:38 |
| T42 | <nc1x72> @elros34 no wlan0 interface | 13:39 |
| T42 | <nc1x72> Here's some logs : https://paste.opensuse.org/pastes/96e8683a2f65 | 13: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 file | 13:44 |
| T42 | <elros34> what config file? I would suggest getting full dmesg after writing to /dev/wlan | 13:46 |
| T42 | <nc1x72> Here's full log : https://paste.opensuse.org/pastes/dd8289a9b871 | 14:11 |
| mal | there error about failing to load wlan firmware, please check journal log for any droid mount errors | 15:05 |
| mal | although not sure if that critical, need to boot my fp5 and check there | 15:06 |
| mal | it seems there is just one extra file it fails to load | 15:06 |
| T42 | <nc1x72> Ok but then falls back to sysfs | 15:07 |
| T42 | <nc1x72> the main wifisetup.service doesn’t run because echo ON /dev/wlan fails | 15:08 |
| T42 | <nc1x72> I have this same command in device-hacks script on UT and it works fine | 15:09 |
| mal | have you verified that all mount services work? | 15:12 |
| mal | grep What /usr/lib/systemd/system/*.mount and see if you have anything that contains "by-name" in the path | 15:13 |
| mal | the 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/metadata | 15:21 |
| T42 | <nc1x72> | 15:21 |
| T42 | <nc1x72> /usr/lib/systemd/system/vendor-bt_firmware.mount:What=/dev/block/bootdevice/by-name/bluetooth | 15:21 |
| T42 | <nc1x72> | 15:21 |
| T42 | <nc1x72> /usr/lib/systemd/system/vendor-dsp.mount:What=/dev/block/bootdevice/by-name/dsp | 15:21 |
| T42 | <nc1x72> | 15:21 |
| T42 | <nc1x72> /usr/lib/systemd/system/vendor-firmware_mnt.mount:What=/dev/block/bootdevice/by-name/modem``` | 15:21 |
| mal | yeah, so those need to be fixed, your fixup-mountpoints in not correctly done | 15:25 |
| mal | *is not | 15: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-L1616 | 15: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 repo | 16:22 |
| T42 | <nc1x72> Are you sure that’s why wifi isn’t working? | 16:23 |
| T42 | <elros34> no, not at all | 16:25 |
| T42 | <elros34> I don't know how you mount these vendor partitions if not by generated mount units | 16:26 |
| mal | also the metadata path is wrong | 16:30 |
| mal | it's block/by-name/metadata without the bootdevice | 16:30 |
| mal | you can also see in fp5 fixup that I removed _a from some of those so those match fstab | 16:30 |
| mal | for example here https://github.com/SailfishOSSpacewar/hybris-boot/blob/Spacewar/fixup-mountpoints#L1475 | 16: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 elsewhere | 18:14 |
| mal | you still should fix the fixup | 18:20 |
| mal | and even if that /dev/block/by-name is not there it doesn't matter since the fstab has it | 18:20 |
| mal | so you need to use it in fixup for metadata | 18:21 |
| T42 | <nc1x72> Yes, I know it needs fixing | 18:21 |
| T42 | <nc1x72> After symlinking to /mnt/vendor/persist to load the wlan firmware, got more info in logs : https://paste.opensuse.org/pastes/81c6e0abefa8 | 20:34 |
| mal | symlinking what? | 20:35 |
| mal | is 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/!