[device] add Kindle Scribe 2 support (#13051)

This commit is contained in:
Marek Veselý
2025-01-12 09:03:03 +01:00
committed by GitHub
parent 5cd9494ae9
commit f3f518afd5

View File

@@ -1865,6 +1865,7 @@ local ks_set = Set { "27J", "2BL", "263", "227", "2BM", "23L", "23M", "270" }
local kcs_set = Set { "3H2", "3H4", "3H6", "3H7", "3H9", "3JT", "3J6", "456", "34X", "3HB" }
local kt6_set = Set { "A89", "3L2", "3L3", "3L4", "3L5", "3L6", "3KM" }
local pw6_set = Set { "33W", "33X", "346", "349", "3H3", "3H5", "3H8", "3HA", "3J5", "3JS" } --- some of these are probably SE :/
local ks2_set = Set { "3V0", "3V1", "3X5", "3UV", "3X4", "3X3", "41E", "410" }
if kindle_sn_lead == "B" or kindle_sn_lead == "9" then
local kindle_devcode = string.sub(kindle_sn, 3, 4)
@@ -1921,6 +1922,8 @@ else
return KindleBasic5
elseif pw6_set[kindle_devcode_v2] then
return KindlePaperWhite6
elseif ks2_set[kindle_devcode_v2] then
return KindleScribe -- Scribe 1 and 2 are identical.
end
end