![]() |
#241 |
Sorry for my English
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 458
Karma: 3009894
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
|
Excellent work NiLuje, thanks a lot
|
![]() |
![]() |
![]() |
#242 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.24.0 (finally)!
That's the big one, with Elipsa support, a bunch of new APIs, and a bunch of API tweaks that came up during the NanoClock development... See the full release notes for more details, because it will probably break some stuff ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#243 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2021
Device: none
|
Hi,
I tried fbink with the new Kobo Sage reader (more or less the replacement of Kobo Forma). It seems that fbink does not support it (yet?). It is used by AutoShelf (that I patched to use your 1.24.0 version). It is run during file transfert (so /mnt/onboard is unmounted). Here is the stderr: Code:
+ fbink -g 'file=/usr/local/AutoShelf/autoshelf-off.png' [FBInk] Couldn't find a Kobo version tag (onboard unmounted or not running on a Kobo?)! [FBInk] Unknown Kobo PCB ID index (98 >= 88)! [FBInk] Detected a Kobo Trilogy? (0 => @ ) [FBInk] Enabled Kobo w/o Multi-Touch quirks [FBInk] Clock tick frequency appears to be 100 Hz [FBInk] Screen density set to 167 dpi [FBInk] Variable fb info: 1920x1440, 32bpp @ rotation: 0 (Upright, 0°) [FBInk] Fontsize set to 16x16 (IBM base glyph size: 8x8) [FBInk] Line length: 120 cols, Page size: 90 rows [FBInk] Horizontal fit is perfect! [FBInk] Fixed fb info: ID is "", length of fb mem: 22118400 bytes & line length: 7680 bytes [FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background Code:
# fbink -g 'file=/usr/local/AutoShelf/autoshelf-off.png' [FBInk] Unidentified Kobo device code (383)! [FBInk] Detected a Kobo Unknown! (383 => @ ) [FBInk] Clock tick frequency appears to be 100 Hz [FBInk] Screen density set to 167 dpi [FBInk] Variable fb info: 1920x1440, 32bpp @ rotation: 0 (Upright, 0°) [FBInk] Fixed fb info: ID is "", length of fb mem: 22118400 bytes & line length: 7680 bytes [FBInk] Canonical rotation: 1 (Clockwise, 90°) [FBInk] Fontsize set to 16x16 (IBM base glyph size: 8x8) [FBInk] Line length: 120 cols, Page size: 90 rows [FBInk] Horizontal fit is perfect! [FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background Displaying image '/usr/local/AutoShelf/autoshelf-off.png' @ column 0 + 0px, row 0 + 0px (scaling: 0x0, H align: 0, V align: 0, inverted: N, flattened: N, waveform: AUTO, HW dithering: PASSTHROUGH, SW dithered: N, nightmode: N, skip refresh: N) Do you think this can be fixed? Do not need more information about the hardware? Regards |
![]() |
![]() |
![]() |
#244 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2021
Device: none
|
Recompiling fbink from github source makes it work with Kobo Sage.
It means that the package at the start of this thread is not fully up-to-date (383 is indeed the KOBO_SAGE ID in the sources). |
![]() |
![]() |
![]() |
#245 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
KoboStuff should have more up to date binaries, because it's always built from master.
This thread, on the other hand, only ships releases. And Sage support hasn't hit a release yet, because time ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#247 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 18290
Join Date: Jul 2016
Location: France
Device: Kobo H2O (broken), Kobo H2O Edition 2 v1 (stolen), Kobo Clara 2E
|
Hey NiLuJe (or anyone who could help me), I am having trouble with pretty much all the apps (Plato, Koreader, and my own scripts which use FBInk).
Here is the error I get when I try to start my app: Code:
[FBInk] Detected a Kobo Aura H2O┬▓ r2 (378 => Snow @ Mark 7) [FBInk] Enabled Kobo Mark 7 quirks [FBInk] Clock tick frequency appears to be 100 Hz [FBInk] Screen density set to 265 dpi [FBInk] Variable fb info: 1080x1440, 32bpp @ rotation: 1 (Clockwise, 90 ) [FBInk] Fontsize set to 24x24 (IBM base glyph size: 8x8) [FBInk] Line length: 45 cols, Page size: 60 rows [FBInk] Horizontal fit is perfect! [FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 4352 bytes [FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background [FBInk] [refresh_kobo_mk7] MXCFB_SEND_UPDATE_V2: Inappropriate ioctl for device! [FBInk] Failed to refresh the screen! [FBInk] [refresh_kobo_mk7] MXCFB_SEND_UPDATE_V2: Inappropriate ioctl for device! [FBInk] Failed to refresh the screen! [FBInk] [refresh_kobo_mk7] MXCFB_SEND_UPDATE_V2: Inappropriate ioctl for device! [FBInk] Failed to refresh the screen! Similarly, Plato's log say this: Code:
Plato is running on a Kobo Aura H₂O Edition 2 Version 1. The framebuffer resolution is 1080 by 1440. umount: can't unmount /mnt/onboard: Device or resource busy fsck.fat 4.1+git (2017-01-24) /dev/mmcblk0p3: 25460 files, 1216459/1763977 clusters Plato is running on a Kobo Aura H₂O Edition 2 Version 2. The framebuffer resolution is 1080 by 1440. Can't update [0, 0, 1080, 1440]: can't send framebuffer update: ENOTTY: Not a typewriter. I do not know what started this issue. I have not used my ereader for a few months (I was reading a saga on actual paper), and when I synchronized it again, it downloaded an update. I am guessing this update broke something because everything was working before (?). I tried:
I do not know what to do to fix this. Do you have any advice? Thank you! Btw, here is the CPU version: Code:
Processor : ARMv7 Processor rev 10 (v7l) BogoMIPS : 1988.29 Features : swp half thumb fastmult vfp edsp neon vfpv3 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x2 CPU part : 0xc09 CPU revision : 10 Hardware : Freescale i.MX 6SoloLite NTX Board Revision : 60200 Serial : 1e33a9d4e6b6c6c5 |
![]() |
![]() |
![]() |
#248 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Mavireck: That's interesting ;o).
An H2O²r1 being suddenly misdetected as an r2 would *definitely* exhibit this sort of behavior... Could you post the output of Code:
cat /mnt/onboard/.kobo/version and Code:
ntx_hwconfig -s /dev/mmcblk0 2>/dev/null |
![]() |
![]() |
![]() |
#249 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I imagine you'll see the version tag ending with `378` instead of `374`...
(I don't actually know what's responsible for populating this, so I can't assure you that manually tweaking it will be a "permanent" fix (is in, it probably won't survive a nickel startup). It's probably a weird bug in FW 4.35?) |
![]() |
![]() |
![]() |
#250 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 18290
Join Date: Jul 2016
Location: France
Device: Kobo H2O (broken), Kobo H2O Edition 2 v1 (stolen), Kobo Clara 2E
|
Here are the results below, it does look like my ereader has turned into a hybrid v1/v2 (so it is a v1.5 now I guess ?
![]() Code:
[admin@snow root]# cat /mnt/onboard/.kobo/version N86778012xxxx,3.0.35+,4.35.20400,3.0.35+,3.0.35+,00000000-0000-0000-0000-000000000378 [admin@snow root]# ntx_hwconfig -s /dev/mmcblk0 2>/dev/null HW CONFIG v2.7 @1024 secno, size=63 bytes : [0] PCB='E60QM0' [1] KeyPad='NO_Key' [2] AudioCodec='No' [3] AudioAmp='No' [4] Wifi='RTL8189' [5] BT='No' [6] Mobile='No' [7] TouchCtrl='CYTT21X' [8] TouchType='C-Type' [9] DisplayCtrl='MX6SL+TPS65185' [10] DisplayPanel='6.8" Bottom EPD' [11] RSensor='No' [12] MicroP='No' [13] Customer='9' [14] Battery='1500mA' [15] Led='W' [16] RamSize='512MB' [17] IFlash='eMMC' [18] ExternalMem='No' [19] RootFsType='Ext4' [20] SysPartType='TYPE3' [21] ProgressXHiByte=0x01 [22] ProgressXLoByte=0x68 [23] ProgressYHiByte=0x02 [24] ProgressYLoByte=0xE4 [25] ProgressCnts=0x00 [26] ContentType=0x00 [27] CPU='mx6sl' [28] UIStyle='Customer UI' [29] RAMType='LPDDR2' [30] UIConfig='Normal' [31] DisplayResolution='1440x1080' [32] FrontLight='TABLE0+' [33] CPUFreq='NC' [34] HallSensor='TLE4913' [35] DisplayBusWidth='16Bits_mirror' [36] FrontLight_Flags=BootON:OFF,TABLE1X:ON,EN_INV:ON,(null):OFF,(null):OFF,(null):OFF,(null):OFF,(null):OFF [37] PCB_Flags=NO_KeyMatrix:ON,FPC_Touch:OFF,LOGO_LED:OFF,RD_MODE:OFF,EPD_LV:OFF,EPDVDD_STDALONE:OFF,HP_DETECT:OFF,ISD_1V8:OFF [38] FrontLight_LEDrv='LM3630' [39] VCOM_10mV_HiByte=0x00 [40] VCOM_10mV_LoByte=0x00 [41] PCB_REV=0x10 [42] PCB_LVL='A' [43] HOME_LED_PWM='No' [44] PMIC='RC5T619' [45] FL_PWM='LM3630' [46] RTC='RC5T619' [47] BootOpt=ESD:OFF [48] Touch2Ctrl='No' [49] Touch2Type='No' [50] GPS='No' [51] FM='No' [52] RSensor2='No' [53] LightSensor='No' [54] TPFWIDByte0=0x00 [55] TPFWIDByte1=0x00 [56] TPFWIDByte2=0x00 [57] TPFWIDByte3=0x00 [58] TPFWIDByte4=0x00 [59] TPFWIDByte5=0x00 [60] TPFWIDByte6=0x00 [61] TPFWIDByte7=0x00 [62] GPU='NC' [63] PCB_Flags2='[+] 0x00' [64] EPD_Flags='[+] 0x00' [65] LAN='[+] 0x00' [66] MobileIF='[+] 0x00' [67] PIR='[+] 0x00' [68] PanelLaminationSrc='[+] 0x00' [69] FL_CHNS='[+] 0x00' [70] TTS='[+] 0x00' [71] Test_Flags='[+] 0x00' [72] EPD_CFA_REV='[+] 0x00' [73] PanelModel='[+] 0x00' [74] ACEPPWR='[+] 0x00' [75] BootPartNo='[+] 0x00' [admin@snow root]# |
![]() |
![]() |
![]() |
#251 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Code:
[27] CPU='mx6sl' Editing `/mnt/onboard/.kobo/version` to change the trailing 378 into 374 should "fix" everything, but I'm guessing this is populated at Nickel's startup, so this will be a bit clunky to deal with... |
![]() |
![]() |
![]() |
#252 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 18290
Join Date: Jul 2016
Location: France
Device: Kobo H2O (broken), Kobo H2O Edition 2 v1 (stolen), Kobo Clara 2E
|
Thank you a lot for the tip! It does work!
You were right the file is reset by Nickel on each startup. ![]() I ended up implementing this ugly workaround, replacing the last character everytime I want to launch Plato, Koreader, or my own app with NickelMenu: Code:
menu_item :main :Plato :cmd_spawn :sed -i '$s/.$/4/' /mnt/onboard/.kobo/version chain_always :cmd_spawn :/mnt/onboard/.adds/plato/plato.sh |
![]() |
![]() |
![]() |
#253 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2023
Device: K4
|
Hello, I can't get fbink to work on my K4 (JB, USBNetwork, KUAL all working). I have un-tared the 1.25 archive from the first post onto the rw root partition and everything seems to be there:
Code:
[root@kindle /]# which fbink /usr/bin/fbink [root@kindle /]# ls -al /usr/bin/fbink lrwxrwxrwx 1 root root 26 May 4 18:38 /usr/bin/fbink -> /usr/local/fbink/bin/fbink [root@kindle /]# ls -al /usr/local/fbink/bin/fbink -rwxr-xr-x 1 root root 75604 Dec 5 19:59 /usr/local/fbink/bin/fbink Code:
[root@kindle /]# fbink -sh: fbink: not found |
![]() |
![]() |
![]() |
#255 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
For a second there I thought I'd mixed up the binaries between the threads myself ;p.
(Keep in mind that, on Kindle, USBNetwork ships a full build, so you don't actually need to install anything, unless you need some stuff from newer versions, as USBNet currently lags a bit behind). (And, on Kobo, the same is true of my KoboStuff package, FWIW). |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura HD Small tool for filling book library in Kobo Aura | Paxerus | Kobo Developer's Corner | 2 | 12-31-2013 07:05 PM |
Small print | Broadback | Conversion | 12 | 12-12-2011 02:31 PM |
Small Tool to change book order (PRS-x50) | goaspy | Sony Reader | 113 | 10-14-2011 03:28 PM |
small print | breezeman | Introduce Yourself | 13 | 07-03-2011 09:02 AM |