Wednesday, 2024-03-20

T42_<AntonlX> Why does pulseaudio stills fails with SIGSEGV? Pulseaudio out: https://paste.opensuse.org/pastes/eb42e641a4f9 Logcat in this moment: https://paste.opensuse.org/pastes/cd102f20969a 23 thousands line strace: https://paste.opensuse.org/pastes/a49dc066cb4406:20
T42_<oleg3256> i have booted sailfish os on a7 2017 but touchscreen doesnt work someone tried to help me but it didnt work10:35
T42_<elros34> @oleg3256 how your /var/lib/environment/compositor/droid-hal-device.conf looks like?10:45
T42_<oleg3256> EGL_PLATFORM=hwcomposer10:46
T42_<oleg3256> QT_QPA_PLATFORM=hwcomposer10:46
T42_<oleg3256> QPA_WHC_IDLE_TIME=510:46
T42_<oleg3256> QPA_HWC_BUFFER_COUNT=310:46
T42_<oleg3256> 10:46
T42_<oleg3256> LIPSTICK_OPTIONS="-plugin evdevtouch -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap -plugin evdevmouse"10:46
T42_<elros34> looks good, LIPSTICK_OPTIIONS env is one line? Do you have evdev_trace installed?10:48
T42_<oleg3256> no10:50
T42_<oleg3256> no endev trace is not installed (edited)10:50
T42_<oleg3256> yeah lipstick options in one line10:51
T42_<oleg3256> Also tried udevadm monitor -p but now events about touch10:52
T42_<oleg3256> Also tried udevadm monitor -p but no events about touch (edited)10:52
T42_<elros34> can you install mce-tools?10:52
*** rainemak_ is now known as rainemak10:52
T42_<oleg3256> I will try in 10 minutes10:54
T42_<elros34> @AntonlX you must start pulseaudio as user, see /usr/lib/systemd/user/pulseaudio.service  for full command10:54
T42_<elros34> @oleg3256 you could also do 'cat /dev/input/evenX' and see which one is touchscreen10:55
T42_<oleg3256> No such file or directory (re @elros34: @oleg3256 you could ...)11:00
T42_<elros34> use tab completition11:00
T42_<elros34> and check every event file there11:01
T42_<oleg3256> this? : https://irc.thaodan.de/.imgstore/52505dab/file_5886.jpg11:03
T42_<oleg3256> by-path  event0   event1   event2   event3   event4   event5   mice11:04
T42_<oleg3256> this?11:04
T42_<elros34> yes, cat event0 and touch the screen to see whether it generates flood of junk on terminal11:05
T42_<oleg3256> i click on screen (re @elros34: yes, cat event0 and ...)11:05
T42_<oleg3256> and nothing11:06
T42_<elros34> on all eventX files?11:06
T42_<oleg3256> need to check by-path?11:06
T42_<elros34> no, eventX files11:07
T42_<oleg3256> yes (re @elros34: on all eventX files?)11:07
T42_<elros34> what about "cat /sys/class/input/event*/device/name"?11:07
T42_<oleg3256> sec_touchkey11:08
T42_<oleg3256> Codec3026 Headset Events11:08
T42_<oleg3256> gpio_keys11:08
T42_<oleg3256> hall11:08
T42_<oleg3256> certify_hall11:08
T42_<oleg3256> ssp_context11:08
T42_<elros34> are you sure you have touch module working?11:10
T42_<oleg3256> yeah11:10
T42_<oleg3256> in twrp is woring11:11
T42_<oleg3256> in twrp is working (edited)11:11
T42_<elros34> what about lsmod in twrp vs lsmod in sailfish?11:11
T42_<elros34> not sure if/where twrp have lsmod11:11
T42_<elros34> what is the last command output in twrp?11:12
T42_<oleg3256> Module                  Size  Used by    Tainted: G (re @elros34: what about lsmod in ...)11:14
T42_<oleg3256> twrp11:14
T42_<oleg3256> sumung dont want to boot sailfish💀11:18
T42_<elros34> poweroff and on instead rebooting maybe11:21
T42_<oleg3256> dont help11:22
T42_<oleg3256> need to reinstall11:22
T42_<elros34> do you have link to sources for this port or at least instruction?11:22
T42_<oleg3256> yeah11:22
T42_<oleg3256> https://github.com/Exynos7880-Linux/exynos7880-ci11:23
*** spiiroin_ is now known as spiiroin11:27
T42_<AntonlX> The same https://paste.opensuse.org/pastes/00cd7a7dc484 (re @elros34: @AntonlX you must st...)11:48
T42_<AntonlX> The same https://paste.opensuse.org/pastes/00cd7a7dc484 Systemd service is stopped (edited) (re @elros34: @AntonlX you must st...)11:48
T42_<elros34> dod you use normal or jb2q version of pulseaudio-modules-droid?11:51
T42_<elros34> @oleg3256 did you try these 'cat' commands in twrp for comparision?13:27
T42_<oleg3256> I only tried on twrp13:27
T42_<oleg3256> I will reinstall sailfish later13:28
T42_<oleg3256> Because im not at home13:28
T42_<elros34> what do you mean? cat /dev/input/eventX was  silent on twrp?13:28
T42_<oleg3256> Sailfish dont want boot13:29
T42_<elros34> this is not what I ask about13:29
T42_<oleg3256> I will answer later because not at home (re @elros34: what do you mean? ca...)13:30
T42_<FoundPegasus> I tried on A5 2015 but sim card doesn't work.. (re @oleg3256: i have booted sailfi...)14:13
T42_<FoundPegasus> Any help for A5 2015?14:14
T42_<AntonlX> Finds out that is was my old problem sound config) Now I have sound everywhere except interlocutor could not hear me. But sound recorder and video recording works fine. (re @elros34: dod you use normal o...)15:30
T42_<elros34> do you have repo somewhere so others might benefits from your findings in the future?15:36
T42_<AntonlX> Yes - https://github.com/SailfishOS-miatoll/droid-configs-miatoll But it's a little bit messy, a bit... (re @elros34: do you have repo som...)15:57
T42_<elros34> thx. I suspect your latest commit will not let you build package16:01
T42_<AntonlX> I know about usb-configs (re @elros34: thx. I suspect your ...)16:09
T42_<elros34> I meant commits which adds android libs to sparse16:10
T42_<elros34> sorry I probably mixup, you remove them and add symlinks, forget about16:12
T42_<b100dian> Only telephony dies not work?16:39
T42_<b100dian> I don't remember, tgere are some processes with passthrough in their name16:41
T42_<b100dian> For my device this was the fix, us yours still qcom? https://github.com/sailfishos-on-sake/droid-config-sake/commit/1060eef714153228b0c9bd64fe48dd86bac037bb16:42
T42_<b100dian> *is16:43
T42_<b100dian> @AntonlX ^16:44
T42_<AntonlX> My cpu is snapdragon 720g, but this fix does not helps. (re @b100dian: For my device this w...)17:33
T42_<AntonlX> I can hear interlocutor, he's not. (re @b100dian: Only telephony dies ...)17:33
T42_<AntonlX> I can hear interlocutor, he's not. In other apps sound works fine (edited) (re @b100dian: Only telephony dies ...)17:33
T42_<elros34> maybe it's because of your changes in audio_policy_configuration.xml. From where did you get them? Did you test that new version works also in lineage? Did you figure out where exactly pulseaudio failed during parsing?17:38
T42_<oleg3256> no (re @elros34: what do you mean? ca...)17:39
T42_<oleg3256> only in sailfish is silent17:43
T42_<elros34> what about other cat commands? What is the output in twrp17:43
T42_<elros34> which node is your touchscreen?17:44
T42_<oleg3256> ? (re @elros34: which node is your t...)17:44
T42_<elros34> run all cat commands in twrp we were talking about and give same feedback as on sailfish so I can compare them myself too17:46
T42_<elros34> I have checked kernel rpm and looks like touchscreen is not built as module so for some reason it's uninitialized17:47
T42_<oleg3256> on twrp17:47
T42_<oleg3256>   �e;17:47
T42_<oleg3256>   �e;17:47
T42_<oleg3256>   �e;17:47
T42_<oleg3256> 17:47
T42_<oleg3256>   �e;}17:47
T42_<oleg3256>   �eh17:47
T42_<oleg3256>   �e;17:47
T42_<oleg3256>   �e;17:47
T42_<oleg3256>   �e2� �9 �J �E �5J �6U � �1 � �e�5M �e�6V �e�1 �e� �e&5O �e&6W �e& �e�5Q �e� �e5S �e6X �e �e�5V �e�6[ �e� �eo5Z �eo6\ � o �e�'  5_ �e�' 6_ �e�' 1 �e�'   �ePP   5e �ePP 6b �ePP 0        ï¿½ePP    ï¿½e�x   5j �e�x 6d �e�x  ï¿½e�x    ï¿½e��   5p �e�� g �e��   �e��   5w �e�� 6j �e�� 0        ï¿½e��17:47
T42_<oleg3256>  ï¿½ �e�17:47
T42_<oleg3256> p �e� i have this on event1 on sailfish os is empty (re @elros34: run all cat commands...)17:47
T42_<elros34> do I really have to copy what I wrote? cat /sys/class/input/event*/device/name17:48
T42_<oleg3256> oh sorry17:49
T42_<oleg3256> in twrp just empty17:49
T42_<oleg3256> sec_touchkey17:49
T42_<oleg3256> sec_touchscreen17:49
T42_<oleg3256> Codec3026 Headset Events17:49
T42_<oleg3256> gpio_keys17:49
T42_<oleg3256> hall17:49
T42_<oleg3256> certify_hall17:49
T42_<oleg3256> ssp_context17:49
T42_<elros34> ok so it's event1 sec_touchscreen17:50
T42_<elros34> what do you have in /sys/class/sec/tsp/input/enabled?17:51
T42_<oleg3256> twrp?17:51
T42_<elros34> both would be good17:51
T42_<oleg3256> twrp: 117:51
T42_<oleg3256> and also i have problem with boot sailfish os17:52
T42_<oleg3256> its normal boot then i power off and connect charger or to pc17:53
T42_<oleg3256> without its just stuck on boot17:53
T42_<oleg3256> cat: can't open '/sys/class/sec/tsp/input/enabled': No such file or directory17:56
T42_<elros34> you must grab some logs like dmesg and journal, maybe it fails at some point: https://sailfishos.wiki/books/hadk/page/hadk-hot#bkmrk-2022.07.31%3A-generati17:58
T42_<oleg3256> https://irc.thaodan.de/.imgstore/dcb49317/logs.txt18:05
*** Daanct12 is now known as Danct1218:16
T42_<elros34> I can see input1 touchscreen is created. Do you really missing it and you have only max  input5? Did you read that section from hadk-hot about logs? Unfortunately porter left audit enabled so logs are filled with useless messages18:27
T42_<oleg3256> hmm18:28
T42_<elros34> next time add at the end of dmesg/journal ' | grep -v audit'18:28
T42_<oleg3256> but when its booted normal its dont see touch (re @elros34: I can see input1 tou...)18:29
T42_<elros34> so there is now event6?18:29
T42_<oleg3256> same18:30
T42_<oleg3256> its booted and touch is dont work18:30
T42_<oleg3256> when its stuck on boot yes (re @elros34: so there is now even...)18:30
T42_<elros34> ok so get logs when it's not created18:31
T42_<oleg3256> https://pastebin.com/QMiMhhTf18:32
T42_<oleg3256> dmesg18:32
T42_<elros34> this is quiet useless, 14seconds afert boot18:34
T42_<oleg3256> https://pastebin.com/XhRjyRje19:10
T42_<oleg3256> https://pastebin.com/QMiMhhTf19:11
T42_<oleg3256> also how to fix that? (re @oleg3256: its normal boot then...)19:12
T42_<oleg3256> also how to fix what os starting normal when i connect to charger and powered off19:14
T42_<elros34> these logs are useless, they start to late. Look at the timestamp: 13s. input1 is initialized very early. Not sure about your question. If you connect charger when device is off then most likely it will boot to actdead mode (charging), then you can reboot it and it should boot normally19:18
T42_<AntonlX> It failed on AUDIO_INPUT_FLAG_INCALL_UPLINK_DOWNLINK flag, on new and old config. So I simply removed this section. With old config I got pulseaudio segfault. (re @elros34: maybe it's because o...)19:20
T42_<oleg3256> sometimes it dont to actdead mode19:22
T42_<oleg3256> and start system19:22
T42_<oleg3256> sometimes it dont go to actdead mode (edited)19:23
T42_<oleg3256> idk why but this is working19:26
*** amccarthy is now known as Guest335321:02
*** amccarthy_ is now known as amccarthy21:02
T42_<b100dian> @AntonlX how did the AUDIO_INPUT_FLAG_INCALL_UPLINK_DOWNLINK section look like originally and what was the parsing error?21:09
T42_<b100dian> @oleg3256 actdead should start if you have the device powered off and then connect the charger / data cable. I don't understand, is it going more often into this mode or you'd wish it be in this mode? Doesn't sound like something you would want at this point21:11
*** amccarthy is now known as Guest335421:17
*** amccarthy_ is now known as amccarthy21:17
*** amccarthy is now known as Guest335521:41
*** amccarthy_ is now known as amccarthy21:41
Mister_Magister_spiiroin: thanks! will try! (sorry i missed your message)22:29
*** Mister_Magister_ is now known as Mister_Magister22:33
Mister_Magisterspiiroin: there is one! /dev/input/event2 which is supposedly a light sensor https://paste.opensuse.org/pastes/fac8df977c1022:43
maldoes mce try to use that?22:45
Mister_Magisterno clue, spiiroin said to check what it listend to via evdev_trace -I so if that reports what mce uses then yes mce uses that22:46
T42_<elros34> not according to your paste, are you sure you run evdev_trace -I as root?22:47
Mister_Magisteryes22:47
Mister_Magisterah i can give you root  output too22:48
Mister_Magisterhttps://paste.opensuse.org/pastes/1389b02c67d822:48
Mister_Magisterand in mcetool it says that activity is active22:48
Mister_MagisterI went througuh every event and only light sensor (2) outputs anything22:49
Mister_MagisterABS_HAT0X=21160 and SYN_REPORT22:50
T42_<elros34> I guess this shouldn't be a problem unless this sensor is wrongly interpreted22:58
Mister_Magisterwell idk but it doesn't dim/lock the screen22:58
malMister_Magister: you should be able to blacklist event devices in mce configs22:58
Mister_Magisterwill have a look around22:59
malhttps://github.com/sailfishos/mce/blob/6e94849a8bd969a4ff0fd54f131a6fa170db0d82/mce-conf.c#L63222:59
malquite unusual to have all sensors also as event devices23:02
malit seems quite many of the other sensors are also being read by mce23:03
T42_<Mister_Magister> yep but they're silent23:04
Mister_Magisteralso idk how to read that .c23:04
malMister_Magister: something like [evdev]\nblack=something to mce config file23:05
Mister_Magisterbut why black?23:05
malthat was based on the link I posted earlier23:06
Mister_Magisterye but i don't get it23:06
T42_<b100dian> blacklist hmm23:07
malyou can see it mentioning two strings, one is the group and the other is the key23:07
Mister_Magisterahhh blacklist23:07
Mister_Magisternow that makes sense23:07
Mister_Magisterlol why thinkpad camera is blacklisted in mce23:09
Mister_Magisterthere is short ternary operator in c?! TIL23:11
malseems like those hardcoded device names are some ancient nokia stuff, at least 14 years old code23:12
Mister_Magisteryeah i can imagine23:13
Mister_Magisteroop that was it, black=ASUS Lightsensor23:14
Mister_Magister@b100dian23:14
malmaybe blacklist the other sensors which are being read by mce23:14
maljust in case23:14
Mister_Magisternah they don't outputp anything i don't think that blacklisting everything is good ida23:15
Mister_Magisteridea even23:15
T42_<b100dian> @Mister_Magister in which conf? Any under [evdev] and /etc/mce/*.ini?23:15
Mister_Magisterlike some stuff, touch, keys, should prompt that there's user activity don't you think?23:15
Mister_Magister@b100dian i think that will work too, tho i added it in 10mce.ini for testing23:16
Mister_Magisterand none of the files have [evdev]23:16
malMister_Magister: or they don't report anything now when sensor is not active?23:16
Mister_Magisterwhat do you mean?23:16
malcheck what happens if you open messwerk for example for gyro23:16
Mister_Magisteri don't have messwerk, csd will do23:17
malyes, that is fine also23:17
Mister_Magistergyro works23:17
Mister_Magisterit doesn't turn off the sensor it just ignores it23:18
Mister_Magisterlike even light sensor works23:18
Mister_Magisterproximity sensor works, i think they all work23:18
maljust wondering will mce get the events23:18
malwhich could in theory cause unwanted wakeups or something23:19
Mister_Magisterwell its not dimming screen when i'm touching it23:19
Mister_Magisterit doesn't cause unwanted wake ups because it would do in past23:19
Mister_Magisterahhh wait23:19
Mister_Magisteryou mean blacklist all the sensors that were blacklisted in .c23:19
Mister_Magisterthe default list?23:19
Mister_Magisteryou can rest assured i have none of the devices from default blacklist23:20
malI mean sensors which have mce as reader in https://paste.opensuse.org/pastes/1389b02c67d823:21
T42_<b100dian> @Mister_Magister it works for me too, thanks for following up on this with mal and spiiroin23:21
Mister_Magistermal: no mal blacklisting all the sensors is not the way to go23:21
malwhy not?23:21
Mister_Magisternobody ever blacklists all the sensors23:21
Mister_Magisteryou haven't blacklisted all the sensors on any of your ports23:21
malalmost no devices expose sensors as event devices, some older qcom devices did but pretty much no newer device does that23:22
Mister_Magisteryou need to listen to touch for example otherwise screen will dim and turn off while you're touching it23:22
Mister_Magisterlol23:22
Mister_Magisteri still think it's very bad idea and shouldn't be done, and i'll wait for spiiroin and his decision23:23
malsensors on most modern devices are handled via adsp remoteproc23:23
malMister_Magister: well mce has no use for those and having mce read those can only cause issues but no benefit23:24
Mister_Magisteri trust you but i want to hear it from horse's mouth :P23:24
Mister_Magisteri have plenty of events being listened to on my old g223:25
malalso if you look at the hardcoded blacklisted devices, it has accelerometers and magnetometers also23:25
Mister_Magisteri think pressing buttons should wake up the device23:25
Mister_Magistertrust me my accelerometer is not waking up my device23:25
malyes, I'm only talking about hw sensors23:25
Mister_Magisterthere never was any issue with random wake ups23:26
Mister_Magisteronly not going to sleep23:26
Mister_Magisterand @b100dian  can confirm23:26
malwell accelerometer is not being read by mce based on your output23:26
malgyro is, so is proximity sensor23:27
Mister_Magisterneither of them is waking the device23:27
Mister_Magisterthere was never random wake up issue23:27
malwhatever23:27
Mister_Magister:P23:27
malmce still doesn't have any need for those23:27
Mister_Magisterfine :P it's comma separated isn't it23:28
Mister_Magisterblack=ASUS Lightsensor,Invensense ICM206xx Accel_Gyro,ICM206XX-gyro,ICM206XX-accel,ASUS Proximitysensor23:29
T42_<b100dian> Indeed, at the first dimming setting if I rotate the device it brights up23:30
Mister_Magisterbecause its activity23:30
Mister_Magisterbut if you rotate while its sleeping its not waking up23:30
T42_<b100dian> Yes23:30
Mister_Magister:)23:31
Mister_Magisterit's not comma separated23:31
Mister_Magisteri think it might be semi-colon separated23:33
Mister_Magisteryeah23:33
Mister_Magisterand ye blacklisting the sensors doesn't change that23:35
Mister_Magister@b100dian  if you want for the sake of mce not listening to stuff it doesn't have to listen to black=ASUS Lightsensor;Invensense ICM206xx Accel_Gyro;ICM206XX-gyro;ICM206XX-accel;ASUS Proximitysensor;23:36
Mister_Magisteryou can add it as a separate ini to the sparse i think23:37
T42_<b100dian> You should add it I am not at the computer. Or me tomorrow23:38
Mister_Magisterthere's no hurry :P23:38
Mister_Magisteri'm going to sleep23:38
Mister_Magistermal: spiiroin: @elros34 as always, heroes, thank you very much for help and your time23:39
T42_<b100dian> > i'm going to sleep23:42
T42_<b100dian> Remember to turn off the light (sensor)23:42
Mister_Magister:P23:43
Mister_Magistersince i'm playing with mce i'm turning on LPM :P23:43
Mister_Magistersadly despite turning it on it doesn't turn work23:54

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