Thursday, 2020-05-07

spiiroinDylanVanAssche: if there is only on "charger" device, we need to somehow tell apart pc vs charger connected state04:12
spiiroinpreferably it would show up in properties of that device04:13
spiiroinif there is no way to tell those apart, one might argue that it is better to err on the side of assuming it is pc04:14
spiiroinbut that developer mode etc mode selection stuff = usb moded. it does similar udev probing/tracking as mce but for slightly different purpose04:15
spiiroin... and probably needs some fixing too04:15
spiiroin(you could use that configuration to force usb=charger, but .. probably not what one would want todo and would not fix the mode selection problem anyway)04:18
DylanVanAsschespiiroin (IRC): Yes we only have a charger device which represent the USB connector and the power supply. Charge negotiation is not supported yet by the kernel driver. It needs to be extended to support all the things from the hardware. So I think it's not feasible yet to fix mce and usb-moded before they extend the kernel driver06:15
T42<Norman %lastname%> (Photo, 1007x641) https://irc.thaodan.de/.imgstore/Hvu9yJEwEI.png Telegram群,微信群,potato拉人,增粉,10万个群群发广告,私发广告.10:05
T42<Norman %lastname%> 出售微信号,查不到IP,无需实名手机卡,水军群内聊天吹捧.10:05
T42<Norman %lastname%> 💥非小号,Mytoken关注,排名,四件套,支付宝出售.短信营销.10:05
T42<Norman %lastname%> 各大APP交易所代实名认证,国外实名认证,KYC出售.10:05
T42<Norman %lastname%> 💥币圈朋友圈广告,币圈推广增粉,上币投票.币圈各种业务.10:05
T42<Norman %lastname%> 电报自动聊天软件,管理群软件. 请咨询  @cindykkkkk10:05
ggabrielo/13:27
ggabrielquick n00b question... I'm trying to build sailfish/marlin and get loads of missing things that I am slowly resolving into repos13:28
ggabrielbut I'm strugging with: cts/tests/fragment/Android.mk: error: "CtsFragmentTestCases (APPS android-arm64) missing android-common (JAVA_LIBRARIES android-arm64)"13:28
ggabrielandroid-common sounds like a pretty critical dependency. I can see that in the cts repository it is defined as a static-libs dependency, but I can't find it (I tried generic/devices/common in aosp but no luck)13:28
ggabrielif anybody can point me roughly in the correct direction, I'll appreciate it :)13:29
T42<elros34> JAVA_LIBRARIES? looks like you are trying to build android. What android base do you use?13:34
ggabrielelros34: well, I'm trying to build hybris-hal. I'm on sailfish/marlin, which is lineage 1613:37
ggabriel(I'm following the hadk)13:38
T42<elros34> did you follow FAQ https://github.com/mer-hybris/hadk-faq/blob/master/README.rst#hybris-16-0?13:38
ggabrielelros34: yup13:38
ggabrielfirst bulletpoint I think it went ok, the second one I couldn't do (I assumed that you can do that after building hybris-hal)13:39
T42<elros34> did you have something built before running apply-patches? If yes then make clean and try again13:41
ggabrielok, I did that again and the error changed, I'll take it from here. Thanks!13:42
ggabrieland the answer to that is yes - I had tried to make hybris-hal before applying the patches13:42
ggabrielmaybe I'll try make clean13:42
T42<elros34> be aware that marlin has broken kernel in lineage-15, might be same for 16: https://github.com/ghosalmartin/android_kernel_google_marlin/commits/hybris-15.113:48
ggabrielthanks elros34, I'll just see if I get there13:48
ggabrielfwiw, "apply patches for hybris-16" worked much better after I attempted to compile something. It fails miserably if you do it right aftre repo sync14:04
malggabriel: which android base?14:08
malah, 1614:08
ggabrielanyway, I'm going to resume later because I'm getting this: error: build/make/: prior sync failed; rebase still in progress14:09
ggabrieland I got the same with bionic earlier14:09
ggabrielapply-patches fails because the file it expects isn't what I have in the fs14:10
ggabrielI checked the first error and the file was patched already, maybe slightly differently than the way in which git expected it14:10
Mister_Magistermal: i got a problem on my thea (moto g2 lte) which is sibling to titan (moto g2), they have same sensorfw-qt5-hybris package sensors work fine but screen rotation won't work on thea (works on titan). Accelerometer and gyroscope both work just fine, but screen rotation doesn't14:10
deathmistggabriel: doesn't `repo sync -l` help? that should clear any previously applied patches (and other unpushed changes) from all your dirs14:13
deathmistalso patches should never fail right after a sync; do you have GPG signing of commits enabled in your `~/.gitconfig`?14:14
malMister_Magister: anything in logs?14:27
malMister_Magister: does restarting lipstick/user@100000 help?14:27
Mister_Magisterrestarting phone does'nt even help, ill check logs14:39
Mister_Magisterjournal is more general eh14:50
malMister_Magister: the point of my question was that if there is some timing issue during boot which causes lipstick to not get orientation sensor when it starts15:01
malin which case restarting lipstick would tell that15:02
Mister_Magisterah15:02
Mister_Magisterlemme test right away15:02
Mister_Magistermal: yep, it's working after restarting15:12
Mister_Magistermal: i guess you have some handy-dandy timing fixing service, don't you? XD15:13
malMister_Magister: ugly but works https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/lib/systemd/system/sensors-delay-hack.service15:15
Mister_Magistermal: whole g2 is ugly but works xd15:15
deathmistI've needed a 1 second wait for ngfd.service since Pie base, ugly but also works on every boot I've tested :D15:23
deathmistotherwise some haptics didn't work15:23
Mister_Magistermal: eeeeeeem i've got a problem. You see i already have that xd https://github.com/VerdandiTeam/droid-config-thea/blob/master/sparse/lib/systemd/system/sensors-delay-hack.service15:25
malmore sleep?15:25
Mister_Magisteri really doubt that would be needed but eh15:25
T42<elros34> nicer solution but you need to figure out correct device and udev rule: https://github.com/elros34/droid-config-moto_msm8960_jbbl/blob/master/sparse/etc/systemd/system/sensorfwd.service.d/sensors.conf#L315:25
malor After=droid-init-done.service or something like that15:26
Mister_Magister@elros34 interesting15:29
Mister_Magisterlonger delay seem to help15:29
ggabrieldeathmist, thanks, I'll try sync -l and I'll try to configure gpg if you're so sure that patches shouldn't fail16:06
deathmistggabriel: no, I meant that if you had GPG signing enabled you should add https://github.com/mer-hybris/hybris-patches/pull/6/files in your local tree before applying patches16:07
ggabrieldeathmist: ah, I see, so I won't bother with gpg then. And, no, that wasn't the error anyway. It was clear that there was a mismatch between the file I had and the one git expected16:13
ggabrielok, I fixed my "apply patches" issue by rm -rf the repos where the issue was and then repo sync again17:14
ggabrielrepo sync -l doens't seem to overwrite, or there's something wrong somewhere17:14

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