<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hardware_samsung, branch replicant-10</title>
<subtitle>[no description]</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_samsung/'/>
<entry>
<title>samsung: hidl: light: Use mainline kernel path for brigthness</title>
<updated>2020-06-25T11:35:51+00:00</updated>
<author>
<name>Joonas Kylmälä</name>
<email>joonas.kylmala@iki.fi</email>
</author>
<published>2020-06-25T11:35:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_samsung/commit/?id=c0751405575a07059a5510c477e2d9be4980bca1'/>
<id>c0751405575a07059a5510c477e2d9be4980bca1</id>
<content type='text'>
Signed-off-by: Joonas Kylmälä &lt;joonas.kylmala@iki.fi&gt;
Change-Id: I3d954bd44b0ae638bafe419f79a1dd2c18f19563
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Joonas Kylmälä &lt;joonas.kylmala@iki.fi&gt;
Change-Id: I3d954bd44b0ae638bafe419f79a1dd2c18f19563
</pre>
</div>
</content>
</entry>
<entry>
<title>hidl: Add standard timed_out vibrator service</title>
<updated>2020-06-09T08:21:40+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2020-05-25T15:10:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_samsung/commit/?id=ccd5c4c52b2dbe03ed0e1fde14ce79d4cffc7897'/>
<id>ccd5c4c52b2dbe03ed0e1fde14ce79d4cffc7897</id>
<content type='text'>
Change-Id: I48164e9adfa52cd223c5a2925fa3b48417a6e50c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I48164e9adfa52cd223c5a2925fa3b48417a6e50c
</pre>
</div>
</content>
</entry>
<entry>
<title>hidl: powershare: add vintf manifest fragment</title>
<updated>2020-06-09T08:21:05+00:00</updated>
<author>
<name>Linux4</name>
<email>tim@linux4.de</email>
</author>
<published>2020-05-22T12:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_samsung/commit/?id=cbdc389458c9a6a5291a23d1252a202fadd412f0'/>
<id>cbdc389458c9a6a5291a23d1252a202fadd412f0</id>
<content type='text'>
Change-Id: I7fddba246ce58127192b7cebcaa09da667e33c91
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7fddba246ce58127192b7cebcaa09da667e33c91
</pre>
</div>
</content>
</entry>
<entry>
<title>fingerprint: inscreen: add vintf manifest fragment</title>
<updated>2020-06-09T08:20:58+00:00</updated>
<author>
<name>Jesse Chan</name>
<email>jc@lineageos.org</email>
</author>
<published>2020-05-21T13:42:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_samsung/commit/?id=33903e134985a89c9d1c07fb2c1518c7fe3ff1d3'/>
<id>33903e134985a89c9d1c07fb2c1518c7fe3ff1d3</id>
<content type='text'>
Change-Id: Ie9579e4dea63fd8210f0d3a0a0fa41bd3202d352
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ie9579e4dea63fd8210f0d3a0a0fa41bd3202d352
</pre>
</div>
</content>
</entry>
<entry>
<title>Automatic translation import</title>
<updated>2020-05-23T15:20:03+00:00</updated>
<author>
<name>Michael Bestas</name>
<email>mkbestas@lineageos.org</email>
</author>
<published>2020-05-23T15:20:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_samsung/commit/?id=fb7bd7cc79d0d9afd9d854536e18f5b51be770f1'/>
<id>fb7bd7cc79d0d9afd9d854536e18f5b51be770f1</id>
<content type='text'>
Change-Id: I7f11df70b63f3b068d9aac0d1e9ef1476f79c029
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7f11df70b63f3b068d9aac0d1e9ef1476f79c029
</pre>
</div>
</content>
</entry>
<entry>
<title>sensors: set max range of proximity sensor to 1</title>
<updated>2020-05-19T09:27:32+00:00</updated>
<author>
<name>Jesse Chan</name>
<email>jc@lineageos.org</email>
</author>
<published>2020-05-16T13:17:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_samsung/commit/?id=561a3e7edcd15c2b93cd664ef0a9f4f36e442939'/>
<id>561a3e7edcd15c2b93cd664ef0a9f4f36e442939</id>
<content type='text'>
Samsung's proximity sensor type is binary in nature.
There are only two state: FAR and NEAR.

However, Samsung uses values between min and max for
other purposes like proximity detection during Always-On
Display.

This breaks proximity detection during Doze for AOSP as
AOSP only considers the proximity sensor in FAR state
when the value equals or larger than max.

Thus, this change sets the max to 1 so any &gt; 1 value
would be considered as FAR and the behavior of this vendor
proximity sensor type matches the behavior expected by AOSP.

Change-Id: I56af8e2ae743b47e3c4894e5ef68ce0b54e5cfdb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Samsung's proximity sensor type is binary in nature.
There are only two state: FAR and NEAR.

However, Samsung uses values between min and max for
other purposes like proximity detection during Always-On
Display.

This breaks proximity detection during Doze for AOSP as
AOSP only considers the proximity sensor in FAR state
when the value equals or larger than max.

Thus, this change sets the max to 1 so any &gt; 1 value
would be considered as FAR and the behavior of this vendor
proximity sensor type matches the behavior expected by AOSP.

Change-Id: I56af8e2ae743b47e3c4894e5ef68ce0b54e5cfdb
</pre>
</div>
</content>
</entry>
<entry>
<title>fingerprint: inscreen: allow to set_fod_rect at boot</title>
<updated>2020-05-16T15:41:10+00:00</updated>
<author>
<name>Jesse Chan</name>
<email>jc@lineageos.org</email>
</author>
<published>2020-05-08T16:26:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_samsung/commit/?id=5502112367b6715547b02b9e8db9320eff49482d'/>
<id>5502112367b6715547b02b9e8db9320eff49482d</id>
<content type='text'>
We found that stock firmware calculates the fod rect
from resolution and a set of inscreen fingerprint
sensor position data at boot and then use set_fod_rect
command to tell the Kernel TSP driver.

Then the Kernel TSP driver wrote it to "sponge"
(presumably firmware of touchscreen panel).

It is not yet known what exactly was done with this
data but it is good to keep in line with stock
firmware when we can.

Change-Id: Id44d399a8dc482c7d6f320a3bbfea1282ac4f83a
Signed-off-by: Jesse Chan &lt;jc@lineageos.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We found that stock firmware calculates the fod rect
from resolution and a set of inscreen fingerprint
sensor position data at boot and then use set_fod_rect
command to tell the Kernel TSP driver.

Then the Kernel TSP driver wrote it to "sponge"
(presumably firmware of touchscreen panel).

It is not yet known what exactly was done with this
data but it is good to keep in line with stock
firmware when we can.

Change-Id: Id44d399a8dc482c7d6f320a3bbfea1282ac4f83a
Signed-off-by: Jesse Chan &lt;jc@lineageos.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fingerprint: inscreen: enable sensor on ShowFODView</title>
<updated>2020-05-16T15:41:10+00:00</updated>
<author>
<name>Jesse Chan</name>
<email>jc@lineageos.org</email>
</author>
<published>2020-05-08T16:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_samsung/commit/?id=4c9e74f53b0279f3d9bf2549d5bb102f2604794b'/>
<id>4c9e74f53b0279f3d9bf2549d5bb102f2604794b</id>
<content type='text'>
Enabling sensor on Press is slow and frequent on/off
switching on Press/Release leads to unexpected results.

Looking into Kernel, the purpose of FOD_ENABLE/FOD_DISABLE
commands are to save battery. (ts-&gt;lowpower_mode) It is not
meant to handle fingerprint authentication on Press/Release.

It is expected that FOD is in ENABLED state whenever the user
is EXPECTED to use fingerprint authentication soon.

Thus, this patch moved FOD_ENABLE/FOD_DISABLE from
OnPress/onRelease to onShowFODView/onHideFODView so the
fingerprint authentication can be faster and the logic makes
more sense.

Change-Id: Id94b71acd55038d6eda7a1a89dde5fdf5a1e298f
Signed-off-by: Jesse Chan &lt;jc@lineageos.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enabling sensor on Press is slow and frequent on/off
switching on Press/Release leads to unexpected results.

Looking into Kernel, the purpose of FOD_ENABLE/FOD_DISABLE
commands are to save battery. (ts-&gt;lowpower_mode) It is not
meant to handle fingerprint authentication on Press/Release.

It is expected that FOD is in ENABLED state whenever the user
is EXPECTED to use fingerprint authentication soon.

Thus, this patch moved FOD_ENABLE/FOD_DISABLE from
OnPress/onRelease to onShowFODView/onHideFODView so the
fingerprint authentication can be faster and the logic makes
more sense.

Change-Id: Id94b71acd55038d6eda7a1a89dde5fdf5a1e298f
Signed-off-by: Jesse Chan &lt;jc@lineageos.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sensors: get the full list of sensors</title>
<updated>2020-05-16T02:30:26+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2020-04-24T14:57:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_samsung/commit/?id=b8a230d4d0a234c80530722bf5b85dce17b281a7'/>
<id>b8a230d4d0a234c80530722bf5b85dce17b281a7</id>
<content type='text'>
Samsung uses a special OperationMode (5555).

Thanks to Pierre-Hugues HUSSON for the hint.

Change-Id: I037ff5bf5a1edd65b616480d1c43cef8e61ba999
Signed-off-by: Jesse Chan &lt;jc@lineageos.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Samsung uses a special OperationMode (5555).

Thanks to Pierre-Hugues HUSSON for the hint.

Change-Id: I037ff5bf5a1edd65b616480d1c43cef8e61ba999
Signed-off-by: Jesse Chan &lt;jc@lineageos.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sensors: map Samsung proximity sensor type to generic</title>
<updated>2020-05-15T14:15:57+00:00</updated>
<author>
<name>Willi Ye</name>
<email>williye97@gmail.com</email>
</author>
<published>2019-09-08T16:23:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant-next/hardware_samsung/commit/?id=80c90e970e7f57c91feee265517df878f7c3ddbb'/>
<id>80c90e970e7f57c91feee265517df878f7c3ddbb</id>
<content type='text'>
Samsung uses their own com.samsung.sensor.physical_proximity
type instead of SENSOR_TYPE_PROXIMITY of Android.

This makes proximity sensor unavailable for us as we only
look for SENSOR_TYPE_PROXIMITY.

Thus, this change maps Samsung's vendor-specific proximity
sensor type to generic one.

Change-Id: I64f6558876e1398dfbea0e5c0eb76aa1aafd2dfd
Signed-off-by: Jesse Chan &lt;jc@lineageos.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Samsung uses their own com.samsung.sensor.physical_proximity
type instead of SENSOR_TYPE_PROXIMITY of Android.

This makes proximity sensor unavailable for us as we only
look for SENSOR_TYPE_PROXIMITY.

Thus, this change maps Samsung's vendor-specific proximity
sensor type to generic one.

Change-Id: I64f6558876e1398dfbea0e5c0eb76aa1aafd2dfd
Signed-off-by: Jesse Chan &lt;jc@lineageos.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
