Friday, 2020-01-31

T42<edp_17> This invoker issue is very annoying. I need to start all app from command line otherwise they all crash. 😔00:00
T42<elros34> have you tried mali quirks?00:00
T42<edp_17> Not yet. How can I add that on device?00:02
T42<elros34> instruction is in faq00:03
T42<edp_17> 😄00:03
T42<edp_17> Well, the hadk only says to add the mali quirks into droid-hal-i9100.spec and rebuild packages. Then which packages I should install on the device?00:20
malat least libhybris packages00:22
T42<edp_17> Something not quite right around the call/messages.00:22
T42<edp_17> I can receive text message but cannot respond (Problem with sending message)00:23
T42<elros34> you want libhybris. To make sure that droid-hal header with mali quirks is picked up by libhybris you can remove hybris/mw/libhybris before building. grep mali-hist-dump  should tell whether you rebuild it correctly or not00:23
T42<edp_17> I can make a call but when receive a call the dialer doesn't start.00:23
T42<edp_17> Okay, I will install them once the pc finished with the build.00:24
T42<edp_17> @elros34 : I already started to build. 😔00:25
T42<edp_17> In what folder I need to run this command? (grep mali-hist-dump
T42<elros34> you need to upack libhybris*rpm and found that library00:26
T42<edp_17> Okay, I'll try.00:27
T42<edp_17> From libhybris folder do I need to reinstall only the libhybris*.rpm or all the other rpms too which name starts with libhybris?00:29
T42<elros34> at least this rpm which contains mentioned library00:31
T42<elros34> but to be safe you can reinstall all which are already installed on device00:32
T42<edp_17> I unpacked the libhybris*.rpm and ran the 'grep mali-hist-dump' command in the folder where the file was.00:47
T42<edp_17> The output is: Binary file matches00:47
T42<elros34> good, it means quirks are enabled00:48
T42<edp_17> Oh, and I installed all packages (except the *-devel*.rpm ones) on the device.00:48
T42<edp_17> I guess should reboot now.00:49
T42<edp_17> Nope. The mali quirks didn't solve the app crash issue. After the reboot they crash just like before.00:52
T42<edp_17> I wanted to upload a new logcat -b radio but pastebin didn't let me as the size was over 512k00:55
T42<edp_17> Another question. The hadk-faq says if I want to route the audio to the headphone I should find out the jack-match and jack-device values with running 'evdev_trace' command.01:07
T42<edp_17> It does return with a lots of stuff but nor 'SW_HEADPHONE_INSERT*' neither 'SW_MICROPHONE_INSERT*' among them.01:08
T42<edp_17> output of evdev-trace is here:
T42<elros34> then use switch/h2w like explained in faq01:10
T42<edp_17> So, which event should I use?01:10
T42<elros34> neither, use  /sys/class/switch/h2w instead01:11
T42<edp_17> The 'ls /sys/class/switch/h2w/' returns with 'name  power  state  subsystem  uevent'01:14
OksanaaJust a tiny question: why isn't Fxtec Pro1 listed under aka ?01:15
T42<edp_17> So I should just add model = uevent and switch = /sys/class/switch/h2w/ into the accessories.ini01:15
r0kk3rzOksanaa: because nobody has put it there yet05:01
T42<adampigg> I prob should!07:35
mal@adampigg does latte use libdrm-intel package?13:08
T42<adampigg> mal: i think so @eugenio_g7 ^^13:50
T42<eugenio_g7> Yup14:10
T42<adampigg> mal: why?14:29
malwe considered removing libpciaccess but then noticed that libdrm-intel needs it14:37
T42<adampigg> for info, mesa master builds fail becuase of missing kernel headers, which isnt ideal15:12
mal@adampigg do you have the build on OBS?15:18
T42<adampigg> mal: yes,  either iin the latte or dontbeevil project15:28
T42<adampigg> dontbeevil iirc15:28
mal@adampigg strange, "The kcmp() system call first appeared in Linux 3.5" and our kernel headers are 3.1815:32
T42<adampigg> does the package get installed?15:36
mal@adampigg I checked our kernel header sources and those have file "include/linux/kcmp.h", need to check the rpm15:36
malinteresting, it's not in the rpm but it's in sources15:38
T42<adampigg> cool, i found a bug15:39
malwell not sure if it's a bug or not, maybe not all headers are installed by default15:41
T42<adampigg> maybe they are in later versions15:44
mal@adampigg lol, it was moved to public and installed by default in 3.19, we have 3.1815:45
T42<adampigg> ah, thats a pain!15:54
T42<adampigg> what should we do?15:54
T42<adampigg> add that patch to our kernel-header packahe15:56
T42<adampigg> ?15:56
T42<adampigg> why is our so old still?15:57
mal@adampigg we don't really need new headers so it has been kept like that16:13
T42<adampigg> Now we do ;)16:16
*** OhYash1 is now known as ohyash17:51
piggzmal: i have configfs mounted on /sys/kernel/config, it has an empty usb_gadget folder .... where do i start?17:54
riniguspiggz: you started already well - step 1: ask mal17:55
piggzwell, i started with the porters archive search, but there isnt mush info17:55
piggzive created a usb-moded-configfs.ini and set the base folder17:55
piggzbut, i feel i need to populate the folder with something17:56
riniguspiggz: its a bit different for me, I have it in /config. is it android device?17:58
piggzrinigus: nope18:01
piggzso, i dont have an andoird init file showing how it should be created18:02
T42<adampigg> ok, lookinh18:03
T42<elros34> afaik18:03
riniguspiggz: I suppose you could take as it is done on some android device where it works. or check out how its done on sfos x recovery18:03
malrinigus: :D18:09
piggzmal: rinigus: well, my pc has a rndis device now :D18:11
riniguspiggz: now document in this channel so your first step (grep) would work next time18:12
piggzrinigus: first debug ;)18:13
piggzwhat do these errors mean18:13
malpiggz: show some output18:14
piggzwrite command errors.......18:14
maland what you have in /config18:14
piggzthis is my script
piggzim leaving it as /sys/kernel/config as its mounted there automatically18:15
piggzusb_moded hasnt figured that out yet, mut im wondering what those write errors are about18:16
malpiggz: maybe use b.1, that is default in usb-moded18:17
malpiggz: also you need to configure the rndis name18:18
malpiggz: and
piggzmal: getting somewhere18:39
malpiggz: did those help?18:39
piggzmal: added18:40
piggzgadget_base_directory = /sys/kernel/config/usb_gadget/g118:40
piggznow, logs say18:40
piggzthe setup script still complains about write command18:41
piggzwhats that about18:41
piggzmal: and those file missing errros by usb_moded are because of
piggzlooks like they can be overwridden in config18:43
piggzethaddr -> host_addr ?18:43
piggznot sure what wceiss is18:43
piggzmal: argh, no config for them
malhmm, that looks familiar, the wceis error18:46
piggzmal: current usb_moded doesnt expect they can be configured ... maybe ill fix that18:46
malpiggz: I think the solution could be something else, wait a moment18:47
piggzit sees to work well enough to bring up networking ... mtp looks broken18:49
piggzill create a service to run the script after local-fs.tafget and brfore usb-moded18:49
malpiggz: can you give a link to your kernel configs18:51
piggzmal: do you want a print of the full config18:55
malpiggz: can you check from device if CONFIG_USB_U_ETHER is enabled?18:56
piggz[root@PinePhone ~]# grep USB_U_ETHER *18:56
piggzmal: i made a service to start it, this is what my boot looks like
piggzso, it kinda works18:59
piggzjust some odditiies18:59
piggzmal: what pacakge creates nemo user ?19:16
malhmm, not sure19:18
piggzmal: i need droid-config-pinephone to be installe after that package to ensure script is run to add nemo to groups....seems our rootfs has the groups, but nemo is not  a member19:22
T42<adampigg> sailfish-setup20:02
piggzmal: fixed write errors....write is a bash function, not the binary20:25
piggzonly error self is regarding rndis_bam.rndis'20:25
piggzis that needed?20:25
malpiggz: did you add the config I asked?20:29
malabout rndis name20:30
piggz[root@PinePhone ~]# cat /etc/usb-moded/usb-moded-configfs.ini20:30
piggzgadget_base_directory = /sys/kernel/config/usb_gadget/g120:30
piggzfunction_rndis        = rndis.usb020:30
piggzthe rndis_ban name comes from the init-script in hybris-boot20:30
piggzi copied it verbatim20:30
piggzmaybe not required that bit?20:30
malpiggz: oh, that is wrong for your kernel probably, I assume you need to write rndis.usb020:32
malnot rndis_bam20:32
piggzmal: script does both
piggzso, i can remove second i guess20:32
malafaik rndis_bam is qcom thing20:32
piggzmal: this is what i ended with
malpiggz: looks reasonable, I only checked it quickly21:02
piggznp, thx21:03
piggzit might nee tweaked, but its a start21:03
T42<edp_17> Good evening!21:18
T42<edp_17> I tried to catch the log for an app when it is crashing. The journalct doesn't show any clue, it only says: "Application "Settings" with PID 2922 is not responding"21:26
T42<edp_17> Then: "User terminated the unresponsive application "Settings" with PID 2922"21:27
T42<edp_17> How can I see more about the issue?21:27
r0kk3rzwhich app?22:30

Generated by 2.17.1 by Marius Gedminas - find it at!