T42 | <edp_17> That error disappeared from log, but there is still no sound: https://paste.ubuntu.com/p/rQ9VdY36sZ/ | 00:03 |
---|---|---|
T42 | <elros34> module still fails, did you remove whole hdmi node or just one line? | 00:06 |
T42 | <edp_17> Just one line. | 00:06 |
T42 | <elros34> I would try whole node, also just for testing fix also others entries which fail like: AUDIO_DEVICE_IN_PLAYBACK | 00:09 |
T42 | <edp_17> Here is the log for when I commented out the whole hdmi section (node): https://paste.ubuntu.com/p/CdJmMhm24W/ | 00:09 |
T42 | <elros34> clearly it fails: Failed to load module "module-droid-card" (argument: "rate=48000"): initialization failed. | 00:09 |
T42 | <edp_17> This is coming from /etc/pulse/arm_droid_default.pa: https://paste.ubuntu.com/p/DRZjFKmNFY/ | 00:11 |
T42 | <edp_17> On my S2 I have the file : /etc/pulse/arm_droid_card_custom.pa with content "load-module module-droid-card rate=48000 quirks=+no_hw_volume". | 00:13 |
T42 | <edp_17> But when I copied it to the device there was no sound either, so I removed. | 00:13 |
T42 | <elros34> how about you focus on audio_policy.conf and remove those few lines which fail first? If that will not fix issue then you try other things | 00:14 |
T42 | <edp_17> Okay, I just mentioned the other file. | 00:15 |
T42 | <edp_17> Should I comment out the whole node or just one line where the AUDIO_DEVICE_IN_PLAYBACK can be found? | 00:15 |
T42 | <edp_17> I commented out only one line and there is sound. ๐ | 00:18 |
T42 | <edp_17> However it is not routed to the headphone | 00:18 |
T42 | <elros34> evdev_trace -t shows something when you plugin headphones? | 00:19 |
T42 | <edp_17> Oh, did I need to run this when the earphone is plugged in? I ran it without then I used the same solution as for the S2. | 00:21 |
T42 | <edp_17> Now the evdev_trace shows a /dev/input/event15 (Headset) | 00:22 |
T42 | <elros34> I guess you mean h2w, if /sys/class/switch/h2w/state change the should be good also | 00:25 |
T42 | <edp_17> Yeah, I have checked and that state has changed from 0 to 2 when I plugged the earphone in. | 00:26 |
T42 | <edp_17> After reboot, the sound works and it is routed to the headphones. Thank you! | 00:32 |
T42 | <edp_17> How can I add this modified file to the sparse? Should I simply create a /system/etc/audio_policy.conf? | 00:33 |
T42 | <elros34> system is read only partition provided by cm so. Maybe you could make fixed copy of it some other place and add config=/path to file in droid module | 00:34 |
T42 | <elros34> or add missing entires to pulseaudio | 00:35 |
T42 | <edp_17> How can I add the missing entries to pulseaudio? | 00:36 |
T42 | <elros34> I am not sure it's good idea, you should ask jusa if you really want to do this. | 00:37 |
T42 | <edp_17> At the moment I am happy with the current solution. Thanks for the help. | 00:40 |
T42 | <edp_17> There are a few other things you may help with. | 00:40 |
T42 | <edp_17> I am not sure why but the vibra doesn't work either. | 00:41 |
T42 | <elros34> so config=/path/to/policy works? | 00:41 |
T42 | <edp_17> I have not tried that. | 00:41 |
T42 | <edp_17> I only changed the file in /system/etc and left it there. | 00:42 |
T42 | <elros34> that is good for you but if you want to share image with others then they will have to to the same | 00:43 |
T42 | <edp_17> That's true. Do you know where I can find that file in droid module where I need to add this path? | 00:44 |
T42 | <elros34> I guess same way as quirks? | 00:48 |
T42 | <edp_17> I am not sure. I have checked the pulseaudio.service and it uses a config file from /etc/sysconfig/pulseaudio which has one line in there: CONFIG="-n --file=/etc/pulse/arm_droid_default.pa" | 00:51 |
T42 | <edp_17> In this arm_droid_default.pa there is no mention of audio_policy.conf, so I am not sure how and where to add this. | 00:52 |
T42 | <edp_17> This device has an S-pen (a built in stylus with a lots of functions) it works on /dev/input/event3. When I did a cat /dev/input/event3 and pulled out the pen and touched the screen I could see stuff on the console, so the device recognizes the actions with the pen on the screen. Do you have idea how I can utilize this stylus? | 00:58 |
T42 | <elros34> evdev_trace is more human friendly than cat for such a thing. I am not sure what functions you would like to have | 01:00 |
T42 | <edp_17> It is basically an enhanced stylus. I would be happy if could use it as a stylus to swipe, click on the screen. Plus when I pull out wake up the screen and similar things. However I think this can wait now it is more burning to get the rild working and some other things like vibra and bluetooth. | 01:03 |
T42 | <elros34> maybe if you change device node in droid-hal-device.conf it will work, depends on event it generates. Vibra should be easy. Usually there is timed_output file in /sys to control it | 01:07 |
T42 | <edp_17> I don't have timed_output in /sys. | 01:08 |
T42 | <edp_17> or on the device. | 01:09 |
T42 | <elros34> do you have qt5-feedback-haptics* installed? | 01:10 |
T42 | <edp_17> only qt5-feedback-haptics-native-vibrator | 01:11 |
T42 | <edp_17> I just have too installed qt5-feedback-haptics-ffmemless but didn't make any difference. | 01:13 |
T42 | <elros34> you could try qt5-feedback-haptics-droid-vibrator, it will use android api. I doubt you have memless driver: you will see it in evdev_trace | 01:14 |
T42 | <edp_17> I have not found package qt5-feedback-haptics-droid-vibrator. | 01:16 |
r0kk3rz | the native one should be fine | 01:16 |
T42 | <elros34> I wonder why do you even have memless installed. DId you add it to droid-hal-version? | 01:16 |
T42 | <edp_17> I manually installed just a minute ago when we talked about the other package and seen it in the zypper se list. ๐ | 01:17 |
T42 | <edp_17> Now, it's removed. | 01:17 |
T42 | <edp_17> I only had the 'qt5-feedback-haptics-native-vibrator' installed by default. | 01:18 |
T42 | <elros34> there were also same changes is system/core because of new groups in sailfish but that was probably for timed output. | 01:32 |
T42 | <edp_17> I've tried to reinstall qt5-feedback-haptics-native-vibrator and reboot, but did not help. I also checked the droid-hal-version-$DEVICE.spec file and it has the line: %define have_vibrator_native 1 | 01:39 |
T42 | <edp_17> There is something I don't understand regarding the wifi issue. We thought the device requires to enter the password after every reboot because the /system partition is not mounted when the wifi is starting. If this is the case, once the /system is mounted why the wifi doesn't just connect if I stop and restart the wifi radio? Plus if | 01:55 |
T42 | I reboot with wifi off, why does it requires me to enter the password rather than just connect to the stored network? | 01:55 |
T42 | <edp_17> It looks like the issue is, that the device doesn't remember the selected wifi network and the password. | 01:56 |
T42 | <edp_17> Do you have idea how can I force it to remember? | 01:56 |
r0kk3rz | check the mac address isnt changing | 01:57 |
T42 | <elros34> it was always about mac, once you finally provided full log it was clear that it's not /system related because deffered_calls was called after /system is mounted. | 01:58 |
T42 | <elros34> about vibra: have you tried latest changes from mer-hybris/android_system_core? | 02:06 |
T42 | BellBaggins was added by: BellBaggins | 05:02 |
T42 | <Linda %lastname%> Fwd from Arvizu: Life without Mr Jerry is useless. All my entire life I have never dream to leave good life or have my personal money to take care of my family ๐ช now Mr Jerry taught me how to proved for my kids and family and friends may God Almighty bless and Increase you with new people that you will help. Reach out to | 06:33 |
T42 | him and be happy as I'm today | 06:33 |
T42 | <Linda %lastname%> ๐ | 06:33 |
T42 | <Linda %lastname%> Follow | 06:33 |
T42 | <Linda %lastname%> https://t.me/joinchat/AAAAAFiCGfDkESYxnWxmXg | 06:33 |
rinigus | piggz , @erfanoabdi: enrolling and testing both fail for me. enroll: https://dpaste.org/1Zcq ; test: https://dpaste.org/iq8mZ . | 06:52 |
T42 | <adampigg> rinigus: check logcat | 07:00 |
T42 | <adampigg> oh, it is! | 07:01 |
T42 | <adampigg> rinigus, give output of lshal | 07:42 |
T42 | <adampigg> rinigus: what version is your keymaster service, and is it running? | 07:43 |
rinigus | @adampigg: where do we get lshal? | 07:45 |
rinigus | ... found it | 07:46 |
rinigus | @adampigg: lshal output - https://dpaste.org/eijK | 07:50 |
T42 | <adampigg> rinigus: keymaster is 3, so dont need the fake_crypt service | 07:50 |
rinigus | @adampigg: can you decrypt your reply? what should I do then? | 07:51 |
rinigus | :) | 07:51 |
T42 | <adampigg> rinigus: i dont know :) best wait for @erfanoabdi .... | 07:52 |
T42 | <adampigg> oh, did you have permission errors from "biometryd run" | 07:52 |
rinigus | checking | 07:52 |
T42 | <adampigg> did you run it in 2 seesions, one with "biometryd run" and the other with "biometryd test โconfig=config.json" ? | 07:53 |
rinigus | @adampigg: nope. | 07:53 |
T42 | <adampigg> ok, in session 1, do biometryd run.... | 07:53 |
T42 | <adampigg> then create a file config.json with the following | 07:54 |
rinigus | biometryd run fails. maybe I need to reboot it now. | 07:54 |
rinigus | config.json I have already from logs | 07:54 |
T42 | <adampigg> ok | 07:54 |
rinigus | @adampigg: all as root? | 07:58 |
T42 | <adampigg> yes | 07:58 |
rinigus | @adampigg: no luck, still crash. https://dpaste.org/fs8d | 08:07 |
T42 | <adampigg> rinigus: thats fine, u need this next.... | 08:07 |
T42 | <adampigg> rinigus: https://github.com/erfanoabdi/android_device_halium_ubport/commit/eec61015dede9602f4fc6f704d53288a0e431593 | 08:10 |
rinigus | @adampigg: thanks, will continue from here tonight | 08:14 |
*** mp107_ is now known as mp107 | 08:20 | |
T42 | <erfanoabdi> @rinigus [piggz , @erfanoabdi: enrolling and testing bot โฆ], Error coming from fpc lib | 08:42 |
T42 | <erfanoabdi> It's very unclear on log | 08:42 |
T42 | <erfanoabdi> Run strace on fp hal pid and try to catch error | 08:42 |
T42 | <edp_17> @elros34: Can you let me know where you saw that in the log, please? (I would like to be able to check this next time. ๐ ) | 08:46 |
T42 | <edp_17> About the mac, the /efs/wifi/.mac.info file always has the same mac address. Isn't this the wifi mac address? If so, it doesn't change (at least not in this file). | 08:47 |
T42 | <edp_17> About the vibra, can you let me know what to do to try the latest changes from mer-hybris/android_system_core, please? | 08:48 |
rinigus | @erfanoabdi: thanks for instructions. I will update later tonight | 08:51 |
T42 | ็ๅฎธ %lastname% was added by: ็ๅฎธ %lastname% | 09:05 |
r0kk3rz | @edp_17 check what connman says is the mac | 10:19 |
rinigus | @erfanoabdi: just to be clear, I need to attach `strace -p` to android.hardware.biometrics.fingerprint@2.1-service.sony. quick test resulted in https://dpaste.org/suxz - rather limited info. nothing crashed over there. | 10:20 |
rinigus | rather limited info though. did it while making `test` | 10:20 |
rinigus | piggz ^ | 10:21 |
T42 | <erfanoabdi> @rinigus [@erfanoabdi: just to be clear, I need to attac โฆ], No run strace in Android side | 10:21 |
T42 | <erfanoabdi> https://github.com/erfanoabdi/ErfanGSIs/blob/master/prebuilt/common/system/bin/strace | 10:22 |
T42 | <erfanoabdi> Use this | 10:22 |
T42 | <elros34> @edp_17 I don't remember exactly where, but wifiloader (or whether the service name was) from ini*rc is started by droid-hal-init after partitions are mounted. Logs had something about deferred calls | 10:39 |
T42 | <edp_17> r0kk3rz: How can I check that connman thing? (Sorry) | 10:39 |
T42 | <edp_17> @elros34: yes, it was the init.wifi.rc and there is a: "# Run deferred initcalls of builtin kernel modules (bcmdhd)" | 10:41 |
T42 | <edp_17> service wifiloader /system/bin/wifiloader | 10:41 |
T42 | <edp_17> Thanks, I try to check the logs again to see these in there. | 10:41 |
T42 | <elros34> if you search in source wifiloader then you will see the only thing it do ( in your case) is read /proc/deferred_initcalls. | 10:42 |
T42 | <elros34> Also you already know how to check MAC via ifconfig | 10:44 |
T42 | <elros34> If I understand it correctly the config option I told you to enable add some function in driver which in theory read that mac from /efs partition so you could add some printk to it to check what is goingo on there | 10:46 |
T42 | <edp_17> Are you referring to the CONFIG_BCMDHD_FW_PATH and CONFIG_BCMDHD_NVRAM_PATH options? | 10:51 |
T42 | <elros34> no, something like CONFIG*READ* | 10:53 |
T42 | <elros34> or maybe it was cflag added to Makefile | 10:55 |
T42 | <edp_17> I don't remember that READ thing but we tried the other one: http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2020-05-20.log.html#t2020-05-20T12:30:56 | 10:57 |
T42 | <elros34> right, so I mix up it | 10:58 |
T42 | <edp_17> I am not sure that I added it correctly. | 11:03 |
T42 | <edp_17> Original: EXTRA_CFLAGS += $(DHDCFLAGS) -DDHD_DEBUG | 11:03 |
T42 | <edp_17> changed: EXTRA_CFLAGS += $(DHDCFLAGS) -DDHD_DEBUG -DREAD_MACADDR | 11:03 |
T42 | <edp_17> plus there are some other EXTRA_CFLAGS += ... lines after this | 11:03 |
T42 | <edp_17> This is the drivers/net/wireless/bcmdhd4358/Makefile by the way. | 11:04 |
T42 | <elros34> there should be .*cmd file there used to built module which contains all arguments used to build it | 11:05 |
T42 | <edp_17> Plus I have reverted the CONFIG_BCMDHD_FW_PATH and CONFIG_BCMDHD_NVRAM_PATH to they original values from /system/etc/wifi/ | 11:06 |
T42 | <adampigg> @erfanoabdi my head is hurting, but i finally got soemthing to link using your code imported into a project, and all this hybris linrary rediration etc! | 11:06 |
T42 | <edp_17> @elros34 : Where should be that .*cmd file? | 11:08 |
rinigus | @erfanoabdi: thanks, will do | 11:08 |
T42 | <erfanoabdi> @adampigg [@erfanoabdi my head is hurting, but i finally โฆ], Noice๐ | 11:08 |
T42 | <elros34> @edp_17 everywhere in kernel but your is in driver directory | 11:09 |
T42 | <adampigg> @erfanoabdi [Noice๐], i procrastinated a lot about which way to tackle it, and decided to do as you suggested! .... im not used to code written this way though! | 11:10 |
T42 | <edp_17> @elros34: I see, thanks. | 11:11 |
T42 | <edp_17> In the meantime I have asked help from some developers from xda to compile the wifi driver as module. | 11:12 |
T42 | <edp_17> Some responded and even provided some examples but I cannot work out how to implement into my case. | 11:12 |
T42 | <edp_17> Here it is: | 11:13 |
T42 | <edp_17> "Yeah, I know a potential solution to this problem. Linux kernel provides an API to use the kernel symbols in the modules, but not vice versa (however some trick might allow access symbols inside modules as well)." | 11:13 |
T42 | <edp_17> "The idea comes from Samsung's "param" module codes used in a certain phone models:" | 11:13 |
T42 | <edp_17> https://github.com/ChronoMonochrome/Chrono_Kernel-1/commit/a701bedbefee0442d2950d2fa6a84510472aa639 | 11:13 |
T42 | <edp_17> " Here are some examples how to use this API:" | 11:13 |
T42 | <edp_17> https://github.com/ChronoMonochrome/Chrono_Kernel-1/commit/c5a43980b0465563c17325c7d78ec3657b0beb4b | 11:14 |
T42 | <edp_17> " This will not work, if the stuff in kernel calls the imported function before you load the module. " | 11:14 |
T42 | <edp_17> Unfortunately it sounds a bit Greek (or Mandarin) to me. | 11:14 |
T42 | <edp_17> However be able to put the driver into module probably would solve this issue. | 11:15 |
T42 | <elros34> doubt it | 11:16 |
T42 | <edp_17> Why? It helped on other devices. | 11:17 |
T42 | <elros34> I could be wrong but I can not see how it could help for your driver which is already init with a great delay | 11:19 |
T42 | <edp_17> I don't know but on hammerhead there was the same issue when the wifi driver was built in and its gone when it was loaded as a module. However that could be an exception that makes the rule stronger. ๐ | 11:20 |
T42 | <edp_17> I have tried to find that .*cmd file in drivers and its subfolders then with locate but didn't found any. | 11:23 |
T42 | <elros34> right android builds everything in out/ | 11:24 |
T42 | <edp_17> Thanks. Is this .*cmd file only generated when I set the CONFIG_BCM4358=m in defconfig? | 11:27 |
T42 | <edp_17> Oh, or is the dhd.o.cmd is the one in that folder that I am after? | 11:29 |
T42 | <edp_17> @elros34: I am not sure whether I need to use CONFIG_BCMDHD_PCIE in defconfig. However if I switch this off, I get some other errors when making hybris-hal. | 12:03 |
T42 | <edp_17> @elros34: How can I add the mentioned printk into the driver (I mean into which file)? And what should I display with it? Thanks. | 12:17 |
T42 | <edp_17> After a reboot the ifconfig -a shows a different mac address. Once I turn the wifi on it gets the one from /efs/wifi/.mac.info | 12:47 |
T42 | <hacker12455> Could someone make an OBS account for me? | 12:47 |
T42 | <edp_17> @hacker12455 : you need to send a message to lbt stating your wanted user name and email address. | 12:48 |
T42 | <hacker12455> On IRC right? | 12:49 |
T42 | <hacker12455> Or is he on telegram too? | 12:49 |
lbt | nope but I'm around now | 12:49 |
T42 | <edp_17> @elros34: After a reboot, before turning the wifi on, I have tried to assign the mac with 'ifconfig wlan0 hw ether 90:B6:86:4C:CA:B6' but didn't make any effect. ๐ | 12:50 |
T42 | <edp_17> lbt: Where can I find info about how to create/configure/use my own repo on OBS? Thanks. | 12:51 |
T42 | <hacker12455> lbt: Username and email for the OBS account: hacker12455, kacper12455@gmail.com | 13:01 |
T42 | MrBam was added by: MrBam | 14:58 |
T42 | <Verevka86> How do I register and add my device? | 15:13 |
T42 | <Verevka86> https://wiki.merproject.org/wiki/Adaptations/libhybris | 15:13 |
T42 | <edp_17> @Verevka86: Thanks, but that is 'only' a page where we can mark what's working and not on a device. What I would like to know was how add/register a new device (like the S2) for being able to do OTA updates. In the hadk there is some information abut it but that is not complete (at least for me). | 15:19 |
T42 | <Verevka86> @edp_17 [@Verevka86: Thanks, but that is 'only' a page โฆ], I ask for myself to add my device ๐ | 15:20 |
T42 | <edp_17> Oh, sorry! ๐ | 15:21 |
T42 | <MrBam> (Document) https://irc.thaodan.de/.imgstore/dYHxGoQLms.null | 15:24 |
T42 | <Verevka86> @adampigg https://github.com/piggz/sailfish-fpd-community | 15:29 |
T42 | <Verevka86> https://github.com/piggz/biometryd | 15:29 |
T42 | <Verevka86> How to add this? I have keymaster 3.0 and on ubuntu touch this works fine. | 15:29 |
T42 | <adampigg> @Verevka86 [@adampigg https://github.com/piggz/sailfish-fp โฆ], Its not ready, stop being nosey :D | 15:30 |
T42 | <Verevka86> @adampigg [Its not ready, stop being nosey :D], Ok ๐ | 15:31 |
T42 | <MrBam> (Document) https://irc.thaodan.de/.imgstore/wxXgvQKTBq.null | 15:53 |
rinigus | piggz, @erfanoabdi: still crashing, after making /data/system/users/0/fpdata folder (that made it go further) | 18:35 |
rinigus | logcat: https://dpaste.org/bakj strace: https://dpaste.org/ON66 | 18:36 |
piggz | @erfanoabdi could it be the late_start issue? | 18:38 |
T42 | <erfanoabdi> @piggz [@erfanoabdi could it be the late_start issue?], Yeah | 18:38 |
piggz | rinigus: you could try rebuilding hal with https://github.com/Halium/hybris-patches/blob/halium-9.0/system/core/0042-hybris-invoke-queue_fs_event-FS_MGR_MNTALL_DEV_NOT_E.patch | 18:39 |
piggz | or, i can send you my droid-hal-init to try, if you just want to change the .rc | 18:40 |
rinigus | piggz: send the init, please | 18:42 |
T42 | <adampigg> (Document) https://irc.thaodan.de/.imgstore/MKm1AVFaGw.null | 18:45 |
piggz | rinigus: ^^ | 18:45 |
rinigus | piggz: ohh, I though its just init script, not full init | 18:58 |
rinigus | what's the late_start issue? can I somehow emulate starting later manually on device? | 18:59 |
rinigus | piggz, @erfanoabdi ^ | 18:59 |
T42 | <erfanoabdi> There's a setprop u can do manually | 19:01 |
T42 | <erfanoabdi> To trigger late start | 19:01 |
rinigus | note that I am not on mediatek | 19:02 |
rinigus | (reading the patch) | 19:02 |
rinigus | @erfanoabdi: so, which prop is that? and when I should do it in respect to testing? on what's failing in our case? | 19:03 |
rinigus | @erfanoabdi: `setprop droid.late_start trigger_late_start` seems to be not doing anything for me. its already set to that value anyway | 19:29 |
T42 | <erfanoabdi> @rinigus [@erfanoabdi: `setprop droid.late_start trigger โฆ], I just checked again log | 19:57 |
T42 | <erfanoabdi> There's really nothing | 19:57 |
T42 | <erfanoabdi> If your fp hal is opensource or u have any prop to make it give us more info in logs it's gonna be helpful | 19:57 |
T42 | <erfanoabdi> Strace didn't give much info as well | 19:57 |
T42 | <erfanoabdi> As far as i can saw in log it's connected to fp hidl | 19:57 |
T42 | <erfanoabdi> Set active dir worked | 19:57 |
T42 | <erfanoabdi> But can't clear templates | 19:57 |
T42 | <erfanoabdi> This is very weird! | 19:57 |
rinigus | @erfanoabdi: it should be this: https://github.com/sonyxperiadev/vendor-sony-oss-fingerprint . I'm on sony xperia xz2 | 19:58 |
T42 | <erfanoabdi> Rebuild your hal with some more debugging logs enabled | 19:59 |
rinigus | @erfanoabdi: as it's my main device, I am reluctant to do so. | 20:05 |
rinigus | thanks for tips, let me think about it | 20:05 |
T42 | <erfanoabdi> ๐ | 20:06 |
rinigus | @erfanoabdi & piggz: all this fp project - https://www.youtube.com/watch?v=rFeVfwDvTyM | 20:10 |
T42 | <erfanoabdi> @rinigus [@erfanoabdi & piggz: all this fp project - htt โฆ], lol | 20:27 |
T42 | <MrBam> @MrBam [<reply to media>], so anyone can help me ? | 20:28 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!