spiiroin | DylanVanAssche: if there is only on "charger" device, we need to somehow tell apart pc vs charger connected state | 04:12 |
---|---|---|
spiiroin | preferably it would show up in properties of that device | 04:13 |
spiiroin | if there is no way to tell those apart, one might argue that it is better to err on the side of assuming it is pc | 04:14 |
spiiroin | but that developer mode etc mode selection stuff = usb moded. it does similar udev probing/tracking as mce but for slightly different purpose | 04:15 |
spiiroin | ... and probably needs some fixing too | 04: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 |
DylanVanAssche | spiiroin (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 driver | 06: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%> 电报自动聊天软件,管理群软件. 请咨询 @cindykkkkk | 10:05 |
ggabriel | o/ | 13:27 |
ggabriel | quick n00b question... I'm trying to build sailfish/marlin and get loads of missing things that I am slowly resolving into repos | 13:28 |
ggabriel | but I'm strugging with: cts/tests/fragment/Android.mk: error: "CtsFragmentTestCases (APPS android-arm64) missing android-common (JAVA_LIBRARIES android-arm64)" | 13:28 |
ggabriel | android-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 |
ggabriel | if 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 |
ggabriel | elros34: well, I'm trying to build hybris-hal. I'm on sailfish/marlin, which is lineage 16 | 13: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 |
ggabriel | elros34: yup | 13:38 |
ggabriel | first 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 again | 13:41 |
ggabriel | ok, I did that again and the error changed, I'll take it from here. Thanks! | 13:42 |
ggabriel | and the answer to that is yes - I had tried to make hybris-hal before applying the patches | 13:42 |
ggabriel | maybe I'll try make clean | 13: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.1 | 13:48 |
ggabriel | thanks elros34, I'll just see if I get there | 13:48 |
ggabriel | fwiw, "apply patches for hybris-16" worked much better after I attempted to compile something. It fails miserably if you do it right aftre repo sync | 14:04 |
mal | ggabriel: which android base? | 14:08 |
mal | ah, 16 | 14:08 |
ggabriel | anyway, I'm going to resume later because I'm getting this: error: build/make/: prior sync failed; rebase still in progress | 14:09 |
ggabriel | and I got the same with bionic earlier | 14:09 |
ggabriel | apply-patches fails because the file it expects isn't what I have in the fs | 14:10 |
ggabriel | I checked the first error and the file was patched already, maybe slightly differently than the way in which git expected it | 14:10 |
Mister_Magister | mal: 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't | 14:10 |
deathmist | ggabriel: doesn't `repo sync -l` help? that should clear any previously applied patches (and other unpushed changes) from all your dirs | 14:13 |
deathmist | also patches should never fail right after a sync; do you have GPG signing of commits enabled in your `~/.gitconfig`? | 14:14 |
mal | Mister_Magister: anything in logs? | 14:27 |
mal | Mister_Magister: does restarting lipstick/user@100000 help? | 14:27 |
Mister_Magister | restarting phone does'nt even help, ill check logs | 14:39 |
Mister_Magister | journal is more general eh | 14:50 |
mal | Mister_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 starts | 15:01 |
mal | in which case restarting lipstick would tell that | 15:02 |
Mister_Magister | ah | 15:02 |
Mister_Magister | lemme test right away | 15:02 |
Mister_Magister | mal: yep, it's working after restarting | 15:12 |
Mister_Magister | mal: i guess you have some handy-dandy timing fixing service, don't you? XD | 15:13 |
mal | Mister_Magister: ugly but works https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/lib/systemd/system/sensors-delay-hack.service | 15:15 |
Mister_Magister | mal: whole g2 is ugly but works xd | 15:15 |
deathmist | I've needed a 1 second wait for ngfd.service since Pie base, ugly but also works on every boot I've tested :D | 15:23 |
deathmist | otherwise some haptics didn't work | 15:23 |
Mister_Magister | mal: 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.service | 15:25 |
mal | more sleep? | 15:25 |
Mister_Magister | i really doubt that would be needed but eh | 15: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#L3 | 15:25 |
mal | or After=droid-init-done.service or something like that | 15:26 |
Mister_Magister | @elros34 interesting | 15:29 |
Mister_Magister | longer delay seem to help | 15:29 |
ggabriel | deathmist, thanks, I'll try sync -l and I'll try to configure gpg if you're so sure that patches shouldn't fail | 16:06 |
deathmist | ggabriel: 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 patches | 16:07 |
ggabriel | deathmist: 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 expected | 16:13 |
ggabriel | ok, I fixed my "apply patches" issue by rm -rf the repos where the issue was and then repo sync again | 17:14 |
ggabriel | repo sync -l doens't seem to overwrite, or there's something wrong somewhere | 17:14 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!