Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]>
---
 research/find_lineageos_devices.py | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/research/find_lineageos_devices.py 
b/research/find_lineageos_devices.py
index cba7785..2fb4b9b 100755
--- a/research/find_lineageos_devices.py
+++ b/research/find_lineageos_devices.py
@@ -45,6 +45,19 @@ def device_has_modem(vendor, product):
     # unknown
     return None
 
+def device_has_shared_memory_between_modem_and_soc(vendor, product):
+    # In the "Samsung Mobile Modem Driver (SVNET2) V1 for Memory-type 
Interface"
+    # section in lineageos_s5neolte_defconfig in the lineage-17.0 branch of
+    # https://github.com/LineageOS/android_kernel_samsung_universal7580 there
+    # is the following configuration:
+    # CONFIG_LINK_DEVICE_SHMEM=y
+    # CONFIG_LINK_DEVICE_HSIC is not set
+    if vendor == 'Samsung' and product == 'Galaxy S5 Neo':
+        return True
+
+    # unknown
+    return None
+
 def soc_has_modem(vendor, product):
     if vendor == 'HiSilicon':
         pass
@@ -197,6 +210,10 @@ def interesting_for_replicant(document):
     if soc_has_modem(soc['vendor'], soc['product']) == True:
         return False
 
+    if device_has_shared_memory_between_modem_and_soc(document['vendor'],
+                                                      document['name']):
+        return False
+
     # Non replaceable batteries causes too much issues for both users
     # and developers as once you buy a device second hand, the battery
     # doesn't last as much as when the device is new. On some devices,
-- 
2.24.1

_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to