Sunday, 2021-11-14

T42<hacker12455> now to figure out audio00:11
T42<hacker12455> as I have wlan00:11
T42<hacker12455> and ofono up (untested on actual calls/sms yet)00:11
T42<hacker12455> any pointers on audio?00:42
T42<hacker12455> because I have no audio00:53
malwhat do logs say?01:05
malanything from pulseaudio in journal01:05
malor anything audio related in logcat01:05
T42<hacker12455> https://bpa.st/PYPQ01:05
malso nothing else?01:08
T42<hacker12455> https://bpa.st/KPYQ01:08
malanything in journal about firmware?01:09
T42<hacker12455> https://bpa.st/GMPA01:14
T42<hacker12455> mal: doesn't look like a firmware problem01:17
T42<hacker12455> anything else I could look at?01:19
maljust show the whole logs, very difficult to see anything if you select just small parts01:27
T42<hacker12455> tried that01:35
T42<hacker12455> ln -s /system/lib/vndk-28/libaudioroute.so /usr/libexec/droid-hybris/system/lib01:35
T42<hacker12455> did not fix the problem01:36
T42<hacker12455> logcta01:39
T42<hacker12455> logcatt (edited)01:40
T42<hacker12455> https://pastebin.com/7wzYRQd701:40
T42<hacker12455> what is libdroid-util.so01:45
T42<hacker12455> ah fuck01:47
T42<hacker12455> hah01:51
T42<hacker12455> fixed it01:51
T42<hacker12455> needed to do this (re @hacker12455: ln -s /system/lib/vn...)01:51
T42<hacker12455> justttttt replaced with vndk-2901:51
T42<hacker12455> just in case repeated with lib6401:52
malok, good01:57
Mister_Magistermal: are mlsdb api keys present on ports?02:16
Mister_Magisterbecause i don't think so, also no offline database is present02:16
Mister_Magister"SailfishKeyProvider_ini_read: unable to open file"02:16
Mister_Magisterit cannot fetch api key02:16
malMister_Magister: offline databases are available in store now02:23
malMister_Magister: mozilla doesn't provide the online system anymore, at least no in scale usable in sailfish, I think no porters have managed to get api key from them either02:24
malso at the moment there is no online option for that02:25
Mister_Magistermal: i see, noone told me that. i downloaded database from mozilla and just dumped poland for myself02:35
Mister_Magistermal: cant find databases in store02:37
malwhich sfos version are you using?02:45
T42<hacker12455> hm12:34
T42<hacker12455> so for me usb-moded doesn't even seem to recognize that I plugged in the usb cable12:34
T42<hacker12455> and as far as I know the device doesn't use configfs for usb12:37
T42<hacker12455> another thing13:31
T42<hacker12455> not sure if that is related to this group but if I try to run dconf write /desktop/sailfish/silica/theme_pixel_ratio from hadk13:31
T42<hacker12455> not sure if that is related to this group but if I try to run dconf write /desktop/sailfish/silica/theme_pixel_ratio from hadk-faq (edited)13:31
T42<hacker12455> I get a message that the key is not writable13:31
T42<hacker12455> do I need to stop something beforehand?13:32
T42<elros34> I think you should set it in droid-config spec so you will also get correct icons pack. If you want to test different pixel ratio then maybe you need to remove lock file somewhere from /etc/dconf/db/13:34
T42<hacker12455> yeah I know that and I already got the icon pack installed13:34
T42<hacker12455> I see a silica-configs.txt in vendor.d/locks13:35
T42<hacker12455> now it worked13:36
T42<Walid> Is sailfish os work for any exynos Samsung device ?  I got Ubuntu touch work but sound no. Only with headphone . speaker not work15:30
T42<hacker12455> trying to use droid-camres to make a config file but I'm running into this16:41
T42<hacker12455> [C] unknown:0 - Camres error: Property camera-device is not an enum.16:41
T42<hacker12455> camera app works fine16:42
T42<hacker12455> well16:42
T42<hacker12455> aside from video apparently16:43
mal@hacker12455 do you see in logcat that it's waiting for something17:20
T42<hacker12455> don't see it waiting for anything20:00
T42<hacker12455> https://bpa.st/IM2Q20:00
T42<hacker12455> so I just decided to reinstall my image22:10
T42<hacker12455> to test all of the changes in sparse and others I put in there22:10
T42<hacker12455> so far my SIM is disabled and wlan.ko can't be inserted22:10
T42<hacker12455> as for the SIM I see the signal22:10
T42<hacker12455> so I just decided to reinstall my rootfs (edited)22:14
malwhat is the problem with wlan, anything in logs?22:15
malin journal or dmesg22:15
T42<hacker12455> dmesg says wcnss_get_wlan_nv_name: No NV name22:16
T42<hacker12455> when I try to insmod it22:17
maldoes it find wlan firmware22:19
T42<hacker12455> don't see any errors about firmware22:20
T42<hacker12455> though I see denied messages from audit relating to me running touch /dev/wcnss_wlan22:20
malthere have been devices that don't like wlan modules22:26
T42<hacker12455> except that same module worked before22:26
T42<hacker12455> it only started happening after i reinstalled the whole rootfs with my new changes22:26
T42<elros34> so if you modprobe wlan then lsmod show it's loaded or not?22:28
T42<hacker12455> not loaded22:29
T42<hacker12455> modprobe says operation not permitted22:29
T42<elros34> do you run it as root?22:30
T42<hacker12455> yes22:31
T42<elros34> so dmesg should have why it can't be loaded22:32
T42<elros34> have info*22:32
T42<hacker12455> https://bpa.st/DFXA22:35
T42<elros34> hm is that first error when modprobing wlan after reboot or after some other attempts or initializing wcnss? Did you change anything in kernel?22:42
T42<hacker12455> when trying to modprobe wlan manually (re @elros34: hm is that first err...)22:43
T42<hacker12455> afaik I did not change anything in the kernel22:43
T42<hacker12455> regarding wlan or otherwise22:43
T42<elros34> so you do not have any service which also try to init wlan?22:44
T42<hacker12455> actually let me try to remove the service I added22:44
T42<hacker12455> but even with that service it doesn't modprobe at boot22:44
T42<elros34> yeah that is what i asked whether this is first error from wlan, if you have service then its not22:45
T42<hacker12455> removed, rebooting22:47
T42<hacker12455> so afterwards touch /dev/wcnss_wlan and try to modprobe wlan?22:48
T42<elros34> no just modprobe22:49
T42<hacker12455> btw, regarding usb22:52
T42<hacker12455> do I need usb configured with configfs for usb-moded to work?22:52
T42<hacker12455> same no nv name thing when I modprobe it22:53
T42<elros34> but does it also crash similar way? usb-moded: support both android0 and configs22:54
T42<elros34> fs22:54
T42<hacker12455> the crash is the same (re @elros34: but does it also cra...)22:54
T42<elros34> hm could be that you have some partitions not mounted because of wrong fixup-mountpoints thus missing some firmware?22:56
T42<hacker12455> if that would be the case wouldn't the previous rootfs fail as well?23:01
T42<elros34> not  sure, if I get it right you have mixed paths in fstab, that is why you had to issues and you needed to rectify mount units manually23:04
T42<hacker12455> checked and the mounts seem to be correct23:04
T42<hacker12455> yeah I fixed them manually here as well23:04
T42<hacker12455> same as before23:04
T42<hacker12455> which is why I wonder why it fails23:04
T42<hacker12455> wcnss firmware is in /vendor/firmware/wlan/prima23:07
T42<elros34> maybe you have find some other errors in dmesg23:07
T42<elros34> before modprobing wllan23:08
T42<hacker12455> except when I grep wcnss it shows me nothing aside from that error23:08
T42<hacker12455> so no idea why it suddenly stopped working23:09
T42<elros34> is that firmware loaded? droid helper prints something when it tries to load firmware23:09
T42<hacker12455> that should be in dmesg?23:11
T42<hacker12455> also is there some way to disable that vendor.time_daemon service on device23:12
T42<elros34> not sure: dmesg or journal, script is in /usr/bin/droid/droid-load-firmware.sh. vendor.time_daemon can be disabled similar way as time_daemon in /usr/libexec/droid-hybris/system/etc/disabled_services.rc23:14
T42<hacker12455> firmware loaded fine23:38
T42<hacker12455> that's after I modprobed wlan23:41
T42<hacker12455> https://bpa.st/S73Q23:41
T42<hacker12455> hm after rebuilding hybris-boot should I grab the wlan.ko module from out?23:43
T42<elros34> if you changed anything important in kernel23:44
T42<hacker12455> only the cmdline23:44
T42<elros34> so no23:44
T42<elros34> "Attempting to load firmware" should finish with either failure or success23:44
T42<hacker12455> actually just checked the boot journal23:45
T42<hacker12455> it loaded it23:46
T42<hacker12455> "Loaded firmware wlan/prima/WCNSS_qcom_wlan_nv.bin"23:46
T42<elros34> was wlan builtin in lineage defconfig?23:48
T42<hacker12455> yes23:48
T42<hacker12455> also if I touch /dev/wcnss_wlan23:48
T42<hacker12455> it does the same thing as here (re @hacker12455: https://bpa.st/S73Q)23:49
T42<elros34> AFAIK that is needed only for builtin wlan but maybe this is what you should use then23:50
T42<hacker12455> it's in the service for the module wlan23:51
T42<hacker12455> https://github.com/mer-hybris/droid-config-onyx/blob/master/sparse/lib/systemd/system/wlan-module-load.service23:51
T42<hacker12455> I mean I can try to switch it to builtin23:52
T42<elros34> I know people add that touch wcnss_wlan but I think is not needed when you use  module but maybe I am wrong23:53
T42<elros34> be aware /lib/systemd/ path in this repo is wrong23:53
T42<hacker12455> ah so that's why it wasn't loading23:54
T42<hacker12455> good to know23:54
T42<elros34> in older systemd/sfos version /lib/systemd was used not it's not23:55
T42<elros34> now*23:55
T42<hacker12455> will tell you the results of builtin wlan soon23:55
T42<hacker12455> does not seem to work23:58
T42<hacker12455> why did the module work before...23:58
T42<hacker12455> anyway23:58
T42<hacker12455> I have to restore android for now23:58
T42<elros34> did you touch that file now? also "echo sta > /sys/module/wlan/parameters/fwpath" might be needed too.23:59

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