gv2 | pacmd list: https://paste.opensuse.org/pastes/e20907602af8 | 11:30 |
---|---|---|
gv2 | "0 source output(s) available." | 11:30 |
gv2 | pa output with verbose: https://paste.opensuse.org/pastes/98c66f6a6f55 | 11:33 |
T42 | <birdzhang> is tas2557 firmware loaded? | 11:46 |
T42 | <birdzhang> show dmesg|grep -i tas255 | 11:47 |
gv2 | https://paste.opensuse.org/pastes/497224fd1e67 | 12:23 |
gv2 | https://paste.opensuse.org/pastes/313a73861f34 | 12:24 |
gv2 | found smth: https://github.com/Sailfish-On-Vince/issues/issues/16 | 12:45 |
gv2 | i'll try now, lets see | 12:45 |
gv2 | looks like firmware is okay now at least | 13:07 |
T42 | <birdzhang> speaker should works now | 13:11 |
T42 | <birdzhang> actually the fixes for tas2557 firmware load is https://github.com/Sailfish-On-Vince/Xiaomi_Kernel_OpenSource/commit/516caa097bb8b6560015684b93847567e3c71ae9 | 13:19 |
gv2 | looks like my kernel already has that code | 13:22 |
gv2 | still no output | 13:23 |
gv2 | I: [pulseaudio] droid-util.c: Open output stream "primary output"->"Speaker". | 13:39 |
gv2 | E: [pulseaudio] droid-util.c: Couldn't find compatible configuration for mix port "primary output" | 13:39 |
gv2 | E: [pulseaudio] droid-sink.c: Failed to open output stream. | 13:39 |
gv2 | well, i am out of ideas. | 16:41 |
gv2 | Gonna take a break, here is the current dmesg and pa output | 16:42 |
gv2 | https://paste.opensuse.org/pastes/40d1118955f9 | 16:42 |
gv2 | https://paste.opensuse.org/pastes/d72625f5847d | 16:42 |
gv2 | mal: i can't connect to mobile data btw. Can't see anything wrong about it but it's just not connecting | 18:16 |
gv2 | "ping: sendto: Network is unreachable" | 18:16 |
gv2 | so much issues and so much questions, sorry :( | 18:16 |
T42 | <b100dian> Hmm if I remember correctly dummy_netd was a possible fix for this | 18:17 |
gv2 | installed it, let me test again | 18:20 |
gv2 | yup it's okay now, tysm | 18:24 |
T42 | <elros34> did you add symlinks from /vendor/etc similar to how it was done for "vince"? Did you examine audio_policy_configuration.xml and more verbose pa autput especially related to parsing that file? | 18:46 |
gv2 | @elros34 yes i did copied these audio policy files but didin't messed with it | 19:29 |
gv2 | i'll try to get more verbose output from pulseaudio now | 19:29 |
gv2 | https://paste.opensuse.org/pastes/3f53d72f6491 | 19:39 |
gv2 | still checking | 19:39 |
gv2 | "tas2557_get_Cali_prm_r0, no calibration data" | 19:54 |
gv2 | maybe anything abt this? | 19:55 |
T42 | <b100dian> maybe that's on a persist partition, does your device have one? In general these kinds of messages can be tracked down to their kernel source to understand what was it looking for | 20:12 |
gv2 | yup my device has persist partition | 20:13 |
gv2 | i'll quickly do a few greps in kernel source then | 20:13 |
T42 | <b100dian> This https://github.com/Sailfish-Sagit/hybris_kernel_xiaomi_msm8998/blob/c8909fc0e5a6cd82637595bf38eef9f3181ea92a/sound/soc/codecs/tas2559/tas2559-core.c#L2792 | 20:15 |
T42 | <b100dian> Seems to come from https://github.com/Sailfish-Sagit/hybris_kernel_xiaomi_msm8998/blob/c8909fc0e5a6cd82637595bf38eef9f3181ea92a/sound/soc/codecs/tas2559/tas2559-core.c#L1626 | 20:16 |
gv2 | currently working on dipper btw | 20:16 |
gv2 | https://github.com/SailFishOS-dipper/hybris_kernel_xiaomi_sdm845 | 20:16 |
T42 | <b100dian> Sorry. In that case I can't find the message on github, maybe it is not indexed well | 20:19 |
gv2 | no problem. these repos are new so yeah probably some missing index. | 20:21 |
gv2 | our lovely driver is here: https://github.com/SailFishOS-dipper/hybris_kernel_xiaomi_sdm845/tree/lineage-21/techpack/audio/asoc/codecs/tas2557 | 20:21 |
gv2 | found it | 20:23 |
gv2 | tas2557-core.c | 20:23 |
gv2 | 2057: dev_err(pTAS2557->dev, "%s, no calibration data\n", __func__); | 20:23 |
T42 | <b100dian> do you have other calibration messages in dmesg? | 20:27 |
gv2 | also this: "tas2557_calibration_get = 0" | 20:28 |
gv2 | and nothing else | 20:28 |
T42 | <b100dian> Like https://github.com/LineageOS/android_kernel_xiaomi_sdm845/blob/lineage-21/techpack/audio/asoc/codecs/tas2557/tas2557-core.c#L1668 (found lineage is indexed) | 20:28 |
gv2 | hm | 20:29 |
gv2 | i found the "calibration file" but | 20:29 |
gv2 | i don't have a idea how to give the file to firmware so it can do magic with it๐ | 20:30 |
T42 | <b100dian> /mnt/vendor/persist/audio/tas2557_cal.bin ? | 20:30 |
T42 | <b100dian> From https://github.com/LineageOS/android_kernel_xiaomi_sdm845/blob/lineage-21/techpack/audio/asoc/codecs/tas2557/tas2557-core.c#L49C30-L49C71 | 20:31 |
gv2 | oh nice | 20:31 |
gv2 | yup that one exists too | 20:31 |
gv2 | the file i found was a "ftcfg" file in /vendor/etc | 20:32 |
gv2 | so it exists too, i wonder why it can't read it | 20:33 |
T42 | <b100dian> but there should be other error messages if it wouldn't be read | 20:33 |
T42 | <b100dian> what was your most recent dmesg about, this? | 20:33 |
gv2 | https://paste.opensuse.org/pastes/851e7a2296c4 | 20:34 |
gv2 | only these lines | 20:34 |
gv2 | oh also | 20:35 |
gv2 | i get these only once at boot: https://paste.opensuse.org/pastes/b20eb471e446 | 20:35 |
gv2 | and it's spamming the calibration thingy time by time | 20:36 |
gv2 | and nothing else from the module tas2557 itself | 20:37 |
T42 | <b100dian> Maybe this is the message that needs to be fixed https://github.com/LineageOS/android_kernel_xiaomi_sdm845/blob/lineage-21/techpack/audio/asoc/codecs/tas2557/tas2557-core.c#L1522 | 20:41 |
T42 | <b100dian> TAS2557 was powered down, will load coefficient when power up | 20:41 |
genv2 | yeah that is a possibilitytoo, maybe it kills itself for no reason so pulseaudio can't find it | 20:45 |
*** genv2 is now known as gv2 | 20:47 | |
gv2 | well, looks like it's not even attempting to load that calibration data | 22:49 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!