/srv/irclogs.ubuntu.com/2016/08/05/#ubuntu-touch.txt

=== salem_ is now known as _salem
=== founderio1 is now known as founderio
=== Coolguy42 is now known as ATDT911
=== chihchun_afk is now known as chihchun
=== _salem is now known as salem_
=== chihchun is now known as chihchun_afk
=== salem_ is now known as _salem
om26errepowerd on the desktop causes laptop screen to turn off automatically since yesterday. It even sometimes causes a suspend as well. After a few hours of worrying, removing repowerd seems to have fixed the issue.10:09
ktatar156Hi10:19
ktatar156I need support10:19
ktatar156I'm fighting with bug https://bugs.launchpad.net/canonical-devices-system-image/+bug/159241210:19
ubot5Launchpad bug 1592412 in Canonical System Image "Remove waking screen by double tap on MX4" [Undecided,New]10:19
ktatar156and I found some temporary fix (I think). In my /sys/devices/*/*/* there is a file called gesture_test10:20
ktatar156and there is option 'disable_all=0'. I want to change that, I'm using adb shell, but I can't overwrite file10:20
ktatar156Permission denied10:21
ktatar156could anyone help?10:21
ktatar156I need to make my filesystem writable?10:26
=== zhxt is now known as zhxt_work
=== LarreaMikel1 is now known as LarreaMikel
=== vrruiz_ is now known as rvr
jgdxktatar156, if you need to do that, then instructions are here: https://developer.ubuntu.com/en/phone/devices/installing-ubuntu-for-devices/11:49
ktatar156ok, I made writable12:03
ktatar156but I need to edit file in /sys/* folder12:03
ktatar156is there any way to do that?12:03
ktatar156file "gesture_test" and there is option 'disable_all=0'. I want to change that,12:04
jgdxnot that I know, sorry12:04
=== LarreaMikel1 is now known as LarreaMikel
=== JanC is now known as Guest20161
=== JanC_ is now known as JanC
=== _salem is now known as salem_
ktatar156I need to edit one thing in file /sys/devices/bus.1/11009000.I2C2/i2c-2/2-0020/input/input1/gesture_test13:20
ktatar156how can I do that?13:20
dobeyktatar156: i think you need to fix the udev file for the device13:22
ktatar156hmm... how to do that?13:23
ktatar156wrong path, I need to edit /sys/bus/i2c/drivers/mtk-tpd/2-0020/input/input1/gesture_test13:23
ktatar156dobey: how to do that?13:37
ktatar156grep -R *mtk-tpd* /13:37
ktatar156not here, sorry :)13:37
dobeyi don't think you can13:38
ktatar156there isn't any way to change that boolean value in file gesture_test ?13:47
pmcgowanktatar156, I dont thin that file controls the config, probably just shows it14:28
pmcgowandid you check for an idc file?14:28
ktatar156I don't know what it is. I've found14:29
ktatar156$ ls /system/usr/idc/14:29
ktatar156autopilot-finger.idc hid-keyboard.idc qwerty2.idc qwerty.idc14:29
pmcgowanok same then14:29
ktatar156but I need somehow to set one value in file /sys/devices/platform/mt-i2c.2/i2c-2/2-0020/input/input1/gesture_test14:30
pmcgowanbut I think that is just showing you what is set, not setting it, need a kernel guy to advise14:30
ktatar156I know that it shows value that has been set. But now I need to know how to change that value14:31
ktatar156to remove these stupid DT2W14:32
ktatar156https://bugs.launchpad.net/canonical-devices-system-image/+bug/159241214:32
ubot5Launchpad bug 1592412 in Canonical System Image "Remove waking screen by double tap on MX4" [Undecided,New]14:32
anpokktatar156: I thought we disabled that in the touch driver14:37
anpokoh wow..14:38
ktatar156I think it's a long story... I've installed latest FlymeOS 5.1.x (with DT2W support). And next I've installed again UT. But I think that there are some bits left from Android 5.x responsible for DT2W14:38
anpokok14:38
anpokbut installing UT means installing the UT kernel..14:39
anpokand that one would come with the firmware for the touch panel14:39
anpokisnt there a wishlist item to have double tap to wake..14:39
ktatar156but how works flashing kernel?14:41
ktatar156Simply it works like copying and overwritting all files/folders,14:42
ktatar156but if in destination there are more files not included in source14:42
ktatar156path, installation will leave them untouched (don't remove them),14:42
ktatar156right?14:42
ktatar156Is there any possibility to fix that (remove these additional Android14:42
ktatar1565.x bits)? I mean to get something similar to 'rsync --delete' (it14:42
ktatar156sync and delete files in destination which are not present in the14:42
ktatar156source).14:42
ktatar156anpok: If you want, I can upload my FlymeOS 5.x rom with DT2W working with MX4 Ubuntu Edition. You can flash it and next go back to UT and you'll see that DT2W is working14:49
ktatar156for me, the problem is I need somehow to edit /sys/class/input/input1/gesture_test file (change boolean value)14:49
popeywell, you need to set the thing that makes that show 0 to show 114:50
popeyyou don't necessarily need to set *that* to 114:50
pmcgowanktatar156, what is the contents of gesture_test14:52
pmcgowani can compare to mine with no dt2w14:52
ktatar156exacly14:53
ktatar156https://paste.gnome.org/prtn3zs3l14:53
ktatar156Before, I've checked in FlymeOS. When I turn on gestures mode (in GUI Settings), changed from disable_all=1 to disable_all=014:54
ktatar156but in UT there isn't such option to control that. So I'm looking for manually set that value to true14:55
pmcgowanok it is different no surprise14:55
pmcgowangesture_control=0 tap(0),swipe(0),O(0),V(0),unicode(0)14:55
pmcgowanneed to find out where that is set14:56
* ogra_ guesses there is some firmware partition ...14:56
pmcgowanthe rest of the values are the same here14:57
ogra_we rely on the factory to prepare the partitioning properly on ubuntu ... we only format our own partitions when flashing .. so if whatever you used to flash flyme overwrote a partition we do not touch, will not be reverted by ubuntu-device-flash14:58
ogra_(this is also true for IMEI and friends btw ... but likely also for any firmware carrying partitions)14:59
ktatar156pmcgowan: Please look at https://paste.gnome.org/pxa1vgx5714:59
ktatar156strange that there are for gesture_{control,hex,data} but not gesture_test15:00
ktatar156and in really I don't know what exacly is that what I've generated ;)15:01
ktatar156Maybe there is a need to somehow add that ATTR{gesture_test}=="..." ?15:02
pmcgowanI get syspath not found when I issue that command15:02
ktatar156ogra_: is there any way to revert changes?15:02
ogra_it is very unlikely that you can influence it beyond flashing the right firmware blob to the right place, i guess the node is readonly by default15:02
ktatar156pmcgowan: try udevadm info -a -p /sys/class/input/input115:04
pmcgowannaw it looks the same15:04
pmcgowanhttp://pastebin.ubuntu.com/22320247/15:04
pmcgowanso not sure we can get at it a ogra_ says15:05
ktatar156so I don't understand why all other files from */input1/ folder are set by ATTR{file_name} (or it looks like them are set in that way), but not gesture_test15:06
ktatar156so to sum up - there is no possibility to change/show in 'gesture_test' line 'disable_all==1', right?15:07
ogra_there is, by flashing the right file to  the right partition ...15:09
ogra_there is likely nobody who can tell you which file or which partition though15:10
pmcgowanktatar156, but as I said my gesture_test also has disable=0 so not sure thats the magic15:10
ogra_since that is done in the factory for the ubuntu preinstalled devices15:10
ktatar156ok, so I'm going back to FlymeOS and waiting for new UT avaible to buy.... :(15:11
ogra_how did you re-flash btw ?15:12
ktatar156from FlymeOS to UT?15:12
ogra_either way15:13
ogra_using the MTK toool ?15:13
ktatar156no, fastboot TWRP and flash my custom update.zip15:13
ogra_ah15:13
ktatar156and going to UT by normal ubuntu flash way15:13
ktatar156ohh.. I've touched again my phone and it look that swipe to wake also works...:(15:14
ktatar156if we look again at https://paste.gnome.org/prtn3zs3l15:14
ktatar156tap and swipe has '1'.15:14
ktatar156so DT2W and S2W works:/15:15
ktatar156Last chance15:16
ktatar156https://paste.gnome.org/pxa1vgx5715:16
ktatar156there is ATTR{gesture_control}=""15:16
ktatar156Is there any way to change that to ATTR{gesture_control}="0"15:16
ktatar156?15:17
=== dandrader is now known as dandrader|afk
anpokktatar156: my experience with touch screen drivers is that you do not have runtime control.. but I may be wrong. looking back at the code15:37
anpokmediatek structure is so confusing15:37
ktatar156maybe writing some udev rule will help?15:39
ktatar156Sth like: ACTION=="add" KERNEL=="input1" SUBSYSTEM=="input" DRIVER=="" ATTRS{name}=="mtk-tpd" ATTR{gesture_control}="0"15:39
ktatar156Will that change gesture_control from "" to "0"?15:40
=== dandrader|afk is now known as dandrader
anpokktatar156: try it..15:46
=== davidcalle is now known as davidcalle|afk
=== dandrader is now known as dandrader|afk
brunch8752...what the!!16:53
brunch8752mute is gone and "silent mode" is back16:53
brunch8752this is a terrible regression ☹16:55
brunch8752mute allowed me to watch facebook videos in the library16:55
dobeybrunch8752: you've got that the wrong way round. mute showing and silent mode not, was the regression :)17:00
dobeybrunch8752: also, headphones? :)17:01
=== dandrader|afk is now known as dandrader
brunch8752dobey: I don't really always have my headphones around17:49
brunch8752I've never been a big fan of silent mode... you can always just lower the call volume to nothing17:50
dobeysilent mode is great17:51
dobeybut eh, boats and floats17:54
brunch8752I guess you're right...17:55
brunch8752I suppose what we really need is multiple volume controls17:56
brunch8752android started with one and eventually realized the need of more17:56
dobeywe have them17:58
dobeybrunch8752: i'm not sure if it's installed on the phone, but as a workaround for your case, "pactl set-sink-mute" might work for you17:59
brunch8752ooo thanks dobs18:00
brunch8752We do have multiple volume controls?18:00
dobeywell, there are "roles" used on the phone. multimedia role is different from alert (ringtone) and call rols, iirc18:01
brunch8752ah yeah, indeed18:01
dobeythe volume control is contextual18:01
brunch8752but I meant from a multiple sliders point of vie18:01
dobeyyeah, the UX is a bit awkward still18:02
brunch8752it would be really handy for me to have two sliders18:02
dobeywell, youtube itself has a slider18:02
dobeyin the video player18:02
brunch8752well yeah but it still starts playing before you can lower it18:03
dobeybut yeah, managing multiple volume levels can get awkward quick18:03
brunch8752I'll just fall back to what I did before18:03
brunch8752which is have multimedia sound off by default18:03
brunch8752and raising it when needed to then lower it before stopping18:03
dobeywell i guess you'd do the same thing if there were multiple sliders, too :)18:04
=== zulucloud1 is now known as zulucloud
brunch8752that's correct!18:06
brunch8752on the other hand, forgetting to set it down wouldn't be an issue anymore18:07
pmcgowandobey, brunch8752 the updated design calls for multiple volume slides, 2 I think, but I think we need more18:14
pmcgowanringtone and media, bt we also need alerts imo18:14
brunch8752pmcgowan: more? ...like microphone slider like on the desktop18:14
brunch8752?18:14
dobeyneed per-app volume i think18:14
brunch8752yeah, that would be great18:15
pmcgowanthats also a thing yeah18:15
dobeyie, what we need is the same as we have under unity718:15
brunch8752most definitely ☺18:16
dobeycontrols for device inputs/outputs, on for alerts/notification sounds, and then per-app volume18:16
=== labsin_ is now known as labsin
JanCwhen the app that shows the scopes "hangs" (doesn't react to input), is there a way to restart it?18:57
JanCother apps can be killed by swiping up or down in the task switcher, but that one not...18:58
dobeyJanC: "restart unity8-dash" in terminal19:01
JanCwell, it's hard to start a terminal if I can't use the app scope  :)19:01
dobeylauncher?19:02
dobeyyou can swipe from left edge to open the launcher still19:02
JanCif it would have been there...19:02
dobeyhold power button and choose "restart" ? :)19:03
JanCyeah, that worked19:03
JanCbut was anoying (happened yesterday)19:03
JanC*annoying*19:03
JanCwould be nice if you could kill/restart it in the task switcher19:04
dobeyyse, bugs are indeed annoying19:04
dobeywell, it kind of is the task switcher19:04
JanCI mean the one that you get when swiping from the right19:05
dobeyyes19:05
dobeyso do i19:05
JanCthat still worked19:05
JanCI could switch between running apps & and close apps19:05
dobeyyes, the process wasn't hanged19:05
dobeyi guess19:06
dobeyor maybe that is actually a different process19:06
JanCso only the thread(s) that show(s) the scopes interface or something?19:07
JanCor maybe it was waiting for something from the backend19:07
dobeywell, "hanged" is difficult to interpret19:07
JanCdidn't react to any user input19:07
dobeyright, but that could mean many different things19:07
JanChard to debug if you are somewhere "on the road" with only a phone  :)19:08
dobeyhard to debug anyway19:08
pmcgowanJanC, is that on proposed channel?19:11
pmcgowansaw that on an mx4 when testing something else19:11
JanCnope19:11
pmcgowanhmm19:11
ktatar156Hi, is there any news about Meizu MX6 with Ubuntu? Is it still in plans? Or any other phone that will be avaiable to buy soon?19:29
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
ktatar156Hi, is there any news about Meizu MX6 with Ubuntu? Is it still in plans? Or any other phone that will be avaiable to buy soon?21:03
popeyktatar156: no news21:31

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!