Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PB Inkpad 4 #10468

Merged
merged 1 commit into from May 20, 2023
Merged

Add PB Inkpad 4 #10468

merged 1 commit into from May 20, 2023

Conversation

roshavagarga
Copy link
Contributor

@roshavagarga roshavagarga commented May 20, 2023

Can't test as I don't have the device, but per #10444 should be fine.


This change is Reviewable

Can't test, but per #10444 should be fine.
NiLuJe added a commit to NiLuJe/FBInk that referenced this pull request May 20, 2023
@NiLuJe NiLuJe added this to the 2023.05 milestone May 20, 2023
@NiLuJe NiLuJe merged commit d54c5ac into koreader:master May 20, 2023
3 checks passed
@@ -646,6 +646,15 @@ function PocketBook741._fb_init(fb, finfo, vinfo)
vinfo.bits_per_pixel = 24
end

-- PocketBook InkPad 4 (743G)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-- PocketBook InkPad 4 (743g)

@@ -646,6 +646,15 @@ function PocketBook741._fb_init(fb, finfo, vinfo)
vinfo.bits_per_pixel = 24
end

-- PocketBook InkPad 4 (743G)
local PocketBook743G = PocketBook:extend{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

local PocketBook743g = PocketBook:extend{

@@ -748,6 +757,8 @@ elseif codename == "PB740-2" or codename == "PB740-3" then
return PocketBook740_2
elseif codename == "PB741" then
return PocketBook741
elseif codename == "PB743G" or codename == "PocketBook 743G" then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

elseif codename == "PB743g" or codename == "PocketBook 743g" then

@@ -748,6 +757,8 @@ elseif codename == "PB740-2" or codename == "PB740-3" then
return PocketBook740_2
elseif codename == "PB741" then
return PocketBook741
elseif codename == "PB743G" or codename == "PocketBook 743G" then
return PocketBook743G
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return PocketBook743g

@ElimGarak1
Copy link
Contributor

crash.log (with 743g) !


            launching...

| |/ / _ | _ \ ___ __ _ | | ___ _ __
| ' / | | | |_) / _ / _ |/ _ |/ _ \ '
|
| . \ || | _ < __/ (| | (| | __/ |
|
|__/|_| __|_,|_,|___|_|

It's a scroll... It's a codex... It's KOReader!

[] Current time: 05/24/23-22:16:39
[
] Version: v2023.04-60-gd54c5acc_2023-05-21

ffi.load: libs/libutf8proc.so.2
ffi.load: blitbuffer
ffi.load: inkview
05/24/23-22:16:39 INFO SoftwareVersion: U743g.6.8.885
ffi.load: inkview
program_name = [./luajit], basename = [luajit], init_string = [/P7.Sink=Null /P7.Pool=128 /P7.Format="{%ts}[%fs:%fl] %lv %ms"]
program init string = [(null)]
default init string = [(null)]
Atached mp shm: id 0 addr a6f76000 size 17624
attach_shm: mtfb key=251348665 size=2808848
Atached mtfb shm: id 148008 addr a3ef9000 size 2808848

Starting task - KOReader.app
flags: 0x00000080
gpid: 1721
fb=0xa3ef9000 xres=1404 yres=1872 scanline=1408 vdepth=8 orient=0

attach_shm: mttempfb key=251308714 size=2665728
Atached mttempfb shm: id 8001 addr a3c6e000 size 2665728
Atached mqueue: id 8001
[hw_setglobalkeymask] gka0 = 4000000; gka1 = c800002; gka2 = 0
OpenTheme: /ebrmain/themes/Line.pbt
Theme real name: Line
ts: loading default calibration values
TOUCHMATRIX: 0 0 10000 0 10000 0
attach_shm: mtfb key=251348665 size=2808848
Atached mtfb shm: id 148008 addr a2640000 size 2808848
ffi.load: librt.so
ffi.load: inkview
[1725 : ./luajit] (hw_nextevent)mq_receive ret -1 (Resource temporarily unavailable)
ffi.load: inkview
05/24/23-22:16:40 INFO initializing for device PBInkPad4
05/24/23-22:16:40 INFO framebuffer resolution: {
h = 1872,
w = 1404
} --[[table: 0xa6b07078]]
ffi.load: libs/libmupdf.so
ffi.load: libs/libwrap-mupdf.so
ffi.load: libs/libfreetype.so.6
ffi.load: libs/libharfbuzz.so.0
ffi.load: libs/libzstd.so.1
05/24/23-22:16:40 INFO Loading plugins from directory: plugins
ffi.load: sqlite3
05/24/23-22:16:45 INFO opening file /mnt/ext1/applications/koreader/help/quickstart-de-v2023.04-60-gd54c5acc_2023-05-21.html
CRE: font Courier Std regular: updated weight from 500 to 400
CRE: font Courier Std regular italic: updated weight from 500 to 400
CRE: font Symbol Std regular: updated weight from 500 to 400
05/24/23-22:16:45 INFO Inhibiting user input
05/24/23-22:16:47 INFO Restoring user input handling
05/24/23-22:17:06 INFO no dialog left to show
05/24/23-22:17:06 INFO Tearing down UIManager with exit code: 0

-------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------

crash.log (with 743G) !


            launching...

| |/ / _ | _ \ ___ __ _ | | ___ _ __
| ' / | | | |_) / _ / _ |/ _ |/ _ \ '
|
| . \ || | _ < __/ (| | (| | __/ |
|
|__/|_| __|_,|_,|___|_|

It's a scroll... It's a codex... It's KOReader!

[] Current time: 05/24/23-22:27:50
[
] Version: v2023.04-60-gd54c5acc_2023-05-21

ffi.load: libs/libutf8proc.so.2
ffi.load: blitbuffer
ffi.load: inkview
05/24/23-22:27:50 INFO SoftwareVersion: U743g.6.8.885
./luajit: frontend/device/pocketbook/device.lua:771: unrecognized PocketBook model PB743g
stack traceback:
[C]: in function 'error'
frontend/device/pocketbook/device.lua:771: in main chunk
[C]: in function 'probeDevice'
frontend/device.lua:61: in main chunk
[C]: in function 'require'
./reader.lua:151: in main chunk
[C]: at 0x00013f5d
!!!!
Uh oh, something went awry... (Crash n°1: 05/24/23 @ 22:27:51)
Attempting to restart KOReader . . .
!!!!

            launching...

| |/ / _ | _ \ ___ __ _ | | ___ _ __
| ' / | | | |_) / _ / _ |/ _ |/ _ \ '
|
| . \ || | _ < __/ (| | (| | __/ |
|
|__/|_| __|_,|_,|___|_|

It's a scroll... It's a codex... It's KOReader!

[] Current time: 05/24/23-22:28:06
[
] Version: v2023.04-60-gd54c5acc_2023-05-21

ffi.load: libs/libutf8proc.so.2
ffi.load: blitbuffer
ffi.load: inkview
05/24/23-22:28:07 INFO SoftwareVersion: U743g.6.8.885
./luajit: frontend/device/pocketbook/device.lua:771: unrecognized PocketBook model PB743g
stack traceback:
[C]: in function 'error'
frontend/device/pocketbook/device.lua:771: in main chunk
[C]: in function 'probeDevice'
frontend/device.lua:61: in main chunk
[C]: in function 'require'
./reader.lua:151: in main chunk
[C]: at 0x00013f5d
!!!!
Uh oh, something went awry... (Crash n°2: 05/24/23 @ 22:28:07)
Attempting to restart KOReader . . .
!!!!

            launching...

| |/ / _ | _ \ ___ __ _ | | ___ _ __
| ' / | | | |_) / _ / _ |/ _ |/ _ \ '
|
| . \ || | _ < __/ (| | (| | __/ |
|
|__/|_| __|_,|_,|___|_|

It's a scroll... It's a codex... It's KOReader!

[] Current time: 05/24/23-22:28:07
[
] Version: v2023.04-60-gd54c5acc_2023-05-21

ffi.load: libs/libutf8proc.so.2
ffi.load: blitbuffer
ffi.load: inkview
05/24/23-22:28:08 INFO SoftwareVersion: U743g.6.8.885
./luajit: frontend/device/pocketbook/device.lua:771: unrecognized PocketBook model PB743g
stack traceback:
[C]: in function 'error'
frontend/device/pocketbook/device.lua:771: in main chunk
[C]: in function 'probeDevice'
frontend/device.lua:61: in main chunk
[C]: in function 'require'
./reader.lua:151: in main chunk
[C]: at 0x00013f5d
!!!!
Uh oh, something went awry... (Crash n°3: 05/24/23 @ 22:28:08)
Attempting to restart KOReader . . .
!!!!

            launching...

| |/ / _ | _ \ ___ __ _ | | ___ _ __
| ' / | | | |_) / _ / _ |/ _ |/ _ \ '
|
| . \ || | _ < __/ (| | (| | __/ |
|
|__/|_| __|_,|_,|___|_|

It's a scroll... It's a codex... It's KOReader!

[] Current time: 05/24/23-22:28:08
[
] Version: v2023.04-60-gd54c5acc_2023-05-21

ffi.load: libs/libutf8proc.so.2
ffi.load: blitbuffer
ffi.load: inkview
05/24/23-22:28:09 INFO SoftwareVersion: U743g.6.8.885
./luajit: frontend/device/pocketbook/device.lua:771: unrecognized PocketBook model PB743g
stack traceback:
[C]: in function 'error'
frontend/device/pocketbook/device.lua:771: in main chunk
[C]: in function 'probeDevice'
frontend/device.lua:61: in main chunk
[C]: in function 'require'
./reader.lua:151: in main chunk
[C]: at 0x00013f5d
!!!!
Uh oh, something went awry... (Crash n°4: 05/24/23 @ 22:28:10)
Attempting to restart KOReader . . .
!!!!

            launching...

| |/ / _ | _ \ ___ __ _ | | ___ _ __
| ' / | | | |_) / _ / _ |/ _ |/ _ \ '
|
| . \ || | _ < __/ (| | (| | __/ |
|
|__/|_| __|_,|_,|___|_|

It's a scroll... It's a codex... It's KOReader!

[] Current time: 05/24/23-22:28:10
[
] Version: v2023.04-60-gd54c5acc_2023-05-21

ffi.load: libs/libutf8proc.so.2
ffi.load: blitbuffer
ffi.load: inkview
05/24/23-22:28:10 INFO SoftwareVersion: U743g.6.8.885
./luajit: frontend/device/pocketbook/device.lua:771: unrecognized PocketBook model PB743g
stack traceback:
[C]: in function 'error'
frontend/device/pocketbook/device.lua:771: in main chunk
[C]: in function 'probeDevice'
frontend/device.lua:61: in main chunk
[C]: in function 'require'
./reader.lua:151: in main chunk
[C]: at 0x00013f5d
!!!!
Uh oh, something went awry... (Crash n°5: 05/24/23 @ 22:28:11)
Too many consecutive crashes, aborting . . .
!!!! ! !!!!

@ElimGarak1 ElimGarak1 mentioned this pull request May 26, 2023
@roshavagarga roshavagarga deleted the patch-1 branch May 30, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants