diff --git a/frontend/ui/device.lua b/frontend/ui/device.lua index e7210ff14..1d83717ed 100644 --- a/frontend/ui/device.lua +++ b/frontend/ui/device.lua @@ -50,7 +50,7 @@ function Device:getModel() local k4_set = Set { "0E", "23" } local touch_set = Set { "0F", "11", "10", "12" } local pw_set = Set { "24", "1B", "1D", "1F", "1C", "20" } - local pw2_set = Set { "D4", "5A", "D5", "D6", "D7", "D8", "F2", "17" } + local pw2_set = Set { "D4", "5A", "D5", "D6", "D7", "D8", "F2", "17", "60", "F4", "F9", "62", "61", "5F" } if k2_set[kindle_devcode] then self.model = "Kindle2" diff --git a/kindle/libkoreader.inc b/kindle/libkoreader.inc index b7d778ad0..19e5d0bf6 100644 --- a/kindle/libkoreader.inc +++ b/kindle/libkoreader.inc @@ -1,4 +1,6 @@ #!/bin/sh +# NOTE: KatePart is being stupid, probably because of the file extension. Get me a decent syntax HL anyway. +#kate: syntax bash; ## A bit of helper functions... # Check which type of init system we're running on @@ -15,7 +17,7 @@ fi # We need to get the proper constants for our model... kmodel="$(cut -c3-4 /proc/usid)" case "${kmodel}" in - "24" | "1B" | "1D" | "1F" | "1C" | "20" | "D4" | "5A" | "D5" | "D6" | "D7" | "D8" | "F2" | "17" ) + "24" | "1B" | "1D" | "1F" | "1C" | "20" | "D4" | "5A" | "D5" | "D6" | "D7" | "D8" | "F2" | "17" | "60" | "F4" | "F9" | "62" | "61" | "5F" ) # PaperWhite... SCREEN_X_RES=768 # NOTE: Yes, 768, not 758... SCREEN_Y_RES=1024