gsstudios / Dorimanx-SG2-I9100-Kernel

JB/KK/LP/MM Kernel for Samsung Galaxy S2 I9100
https://gsstudios.github.io
Other
17 stars 7 forks source link

Powersuspend driver #33

Open chhapil opened 8 years ago

chhapil commented 8 years ago

Hi Josh, Please have a look at the following commits.

  1. LCD notify This helps detecting screen off state better https://github.com/chhapil/Kernel-Lenovo-A6000-KK/commit/a1b4c264ea355399eb11c3f88ef52e2e220fce30
  2. Power Suspend Driver I had a great standby time due to this on Lenovo A6000 https://github.com/chhapil/Kernel-Lenovo-A6000-KK/commit/3eed7e7e5d137667cee353698ed6f46d55f0c7f6 and the subsequent till https://github.com/chhapil/Kernel-Lenovo-A6000-KK/commit/61ba81981466068eb977b37938196ffc4cd32a15

I'm asking you this favor as I'm currently don't have access to my build machine

gsstudios commented 8 years ago

I'll have a look later when I have the chance :)

gsstudios commented 8 years ago

1) Looks like for newer devices based on qualcomm only.

2) Again, looks like for newer devices only.

gsstudios commented 8 years ago

I don't think they are for exynos chipsets. They are qualcomm specific drivers and not exynos.

chhapil commented 8 years ago

power suspend is a generic driver, you can find that in mainline Linux also, this was introduced due a older driver was deprecated on android

On Thu, Feb 18, 2016 at 11:42 AM, Josh notifications@github.com wrote:

I don't think there are for exynos chipsets. They are qualcomm specific drivers and not exynos.

— Reply to this email directly or view it on GitHub https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel/issues/33#issuecomment-185558855 .

Thanks & Regards Ruturaj

gsstudios commented 8 years ago

I'm looking at faux123's sources and upintheair's sources as a reference. It does seem like there will be quite a fair bit of work to do. I can see that the Note 3 has them running (via custom kernel) and the Galaxy S6 (exynos, custom kernel only).

questor commented 7 years ago

I have a build with these changes included, but it's more a frankenstein-build. I've integrated the needed changes and two more files needed for proper wakelock-compilation. but I'm not sure how to test my changes (and how to go back. If the kernel is starting, how can I check the success besides a longer or shorter battery life? and if the kernel fails to start, how can I debug what is going on (I have a non-modified i9100)?