FakeShell / batman

A battery management service and program for Linux phones
GNU General Public License v2.0
8 stars 8 forks source link

Add support for sdm845 on vidc related nodes #6

Closed darkgeek closed 8 months ago

darkgeek commented 8 months ago

I have a OnePlus 6 where Droidian runs there. I found that batman won't handle aa00000.qcom,vidc:* device nodes. In OnePlus 6 (or maybe sdm845), there is no aa00000.qcom,vidc1:*, but only aa00000.qcom,vidc:*. So I tweaked this script to address this. Tested on my OnePlus 6.

FakeShell commented 8 months ago

looks good to me so far, you should also add it to https://github.com/FakeShell/batman/blob/all/src/governor.c so that it can be monitored correctly

darkgeek commented 8 months ago

looks good to me so far, you should also add it to https://github.com/FakeShell/batman/blob/all/src/governor.c so that it can be monitored correctly

OK, I added them to governor.c, please check it c7f01e4 to see if valid.

FakeShell commented 8 months ago

looks good, seems to work fine

darkgeek commented 8 months ago

looks good, seems to work fine

Thanks. Will there be a new version of batman planed to be pushed to droidian apt repo in the near days? I see there are a lot of improvements since the version in repo.

FakeShell commented 8 months ago

earliest you can expect is a month