Thread: Aura H2O AutoShelf beta
View Single Post
Old 12-25-2021, 11:31 AM   #195
vdanjean
Junior Member
vdanjean began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2021
Device: none
Adaptation for new kobo Sage

Hi,
I've a Kobo Sage (that, more or less, replace the Kobo Forma). I was using autoshelf on Kobo Forma and Kobo H2O, so I would like to use it on Kobo Sage.

Two things :
1) the kernel module is now named 'g_mass_storage' instead of 'g_file_storage'
Code:
[root@kobo ~]# uname -a
Linux kobo 4.9.56 #250 SMP PREEMPT Fri Oct 29 17:39:16 CST 2021 armv7l GNU/Linux
So, the udev rule file must be adapted. I duplicated the rule, so the same archive works on both old and new Kobo.

2) fbink does not work on this model.
Here is the log on 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
I do not know what to do here. But, even if nothing is displayed, autoshelf works (typing the screen launch the database rebuild)

If you need more info to fix fbink, please ask. I've a root shell on the Kobo Sage.

Regards
vdanjean is offline   Reply With Quote