Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 11-03-2017, 09:16 PM   #1
wedgen
Junior Member
wedgen began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2017
Device: Remarkable
Remarkable Output Device

I just got the remarkable and wanted to start exporting books to it. How can I create a custom output device that supports the resolution of the remarkable?
wedgen is offline   Reply With Quote
Old 11-03-2017, 11:57 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,914
Karma: 22669818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is no need, just choose the Tablet output profile.
kovidgoyal is offline   Reply With Quote
Old 11-12-2017, 06:49 PM   #3
farnis
Junior Member
farnis began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2017
Device: Remarkable
Is there a way to connect and manage the Remarkable directly from Calibre? Thanks.
farnis is offline   Reply With Quote
Old 11-12-2017, 07:24 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,855
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by farnis View Post
Is there a way to connect and manage the Remarkable directly from Calibre? Thanks.
See post #2
theducks is online now   Reply With Quote
Old 11-12-2017, 08:25 PM   #5
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,202
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Quote:
Originally Posted by theducks View Post
See post #2
That only affects resizing of images; it doesn't help with the Remarkable being seen as a device.
PeterT is offline   Reply With Quote
Old 11-12-2017, 08:49 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,914
Karma: 22669818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://manual.calibre-ebook.com/faq...ted-in-calibre
kovidgoyal is offline   Reply With Quote
Old 11-16-2017, 08:21 AM   #7
farnis
Junior Member
farnis began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2017
Device: Remarkable
Thanks! Just posted the log on the tracker:

https://bugs.launchpad.net/calibre/+bug/1732693
farnis is offline   Reply With Quote
Old 01-22-2018, 11:58 PM   #8
wedgen
Junior Member
wedgen began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2017
Device: Remarkable
When I use Tablet output, the images are all screwed up and cause the reader to do really weird things. Anyone had luck converting kindle books to epub? Many of them convert fine others no so much, and usually its due to the images.
wedgen is offline   Reply With Quote
Old 11-27-2020, 07:06 AM   #9
bmix
Member
bmix began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Mar 2014
Location: Budapest/Hungary
Device: Kindle4,reMarkable2,MoonReader Pro
Old thread, I know, but makes sense to expand on it...

The reMarkable does not connect as USB disk (or MTP) device. Here is what I know so far:
  • Remarkable company supports only transfer of books via their cloud app. You "import" files from your desktop, it sends it to the cloud, optimizes it to the device spec (?) and pushes it to your device.
  • The only alternative to the cloud is SSH. When the device gets connected to a computer via the USB cable, the reMarkable becomes a USB network device, which accepts SSH connections (by root only). Now data can be transfered via SCP/SFTP.
  • However, you can not simply drag and drop to the filesystem, since they use a more "database" like approach (all books get additional metadata files and all ends up in a single, mostly flat, directory structure). Here is how two ePub files end up on the filesystem (note also, that the filenames get replaced with UUIDs):

    Code:
    24.11.2020  08:18    <DIR>          4cb0c193-f468-456d-8eda-e41170e7e7f3
    24.11.2020  12:01            31.801 4cb0c193-f468-456d-8eda-e41170e7e7f3.content
    24.11.2020  06:21         2.262.475 4cb0c193-f468-456d-8eda-e41170e7e7f3.epub
    24.11.2020  12:01               417 4cb0c193-f468-456d-8eda-e41170e7e7f3.metadata
    24.11.2020  12:01             3.918 4cb0c193-f468-456d-8eda-e41170e7e7f3.pagedata
    24.11.2020  08:18         4.236.278 4cb0c193-f468-456d-8eda-e41170e7e7f3.pdf
    24.11.2020  08:18    <DIR>          4cb0c193-f468-456d-8eda-e41170e7e7f3.thumbnails
    24.11.2020  08:11    <DIR>          72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c
    24.11.2020  12:01            50.281 72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.content
    25.11.2020  11:32           706.863 72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.epub
    24.11.2020  12:01               352 72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.metadata
    24.11.2020  12:01             6.000 72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.pagedata
    24.11.2020  06:28         3.252.916 72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.pdf
    24.11.2020  08:05    <DIR>          72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.thumbnails
                  10 Datei(en),     10.551.301 Bytes
    
    C:\Users\bmix\Desktop\TMP\reMarkable>du -h .
    0       ./4cb0c193-f468-456d-8eda-e41170e7e7f3
    8.0K    ./4cb0c193-f468-456d-8eda-e41170e7e7f3.thumbnails
    77K     ./72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c
    452K    ./72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.thumbnails
    11M     .
    In the end one ends up with a hierarchy like this:

    Code:
    4cb0c193-f468-456d-8eda-e41170e7e7f3/
    4cb0c193-f468-456d-8eda-e41170e7e7f3.thumbnails/
      39250e3a-3f29-445b-910e-bf41401b2d3e.jpg                         7 KB
    72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c/
      c83514a7-ec85-4db2-a928-c4695efa7eba.rm                         71 KB
      c83514a7-ec85-4db2-a928-c4695efa7eba-metadata.json               1 KB
    72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.thumbnails/
      1d119952-3512-40d6-82ae-c7636ab8373b.jpg                        32 KB
      2d156753-e6cb-4660-8123-b1fe484aa268.jpg                        29 KB
      6e4c4334-27be-466d-a0e9-c0fed40bcf6e.jpg                        12 KB
      9ab6a578-a8fb-4281-85c4-2ed4b80e7f8c.jpg                         7 KB
      67fd7b3b-8dc6-4082-b06a-b1c0a5620b73.jpg                        31 KB
      97d9e33f-af10-490a-b569-177963812739.jpg                        32 KB
      880eb47f-123e-4f0d-a40d-de3b70733465.jpg                        32 KB
      1726c51d-c890-4a8c-87d5-39a9637e62d5.jpg                        31 KB
      026927cd-6a8a-40f5-bb1b-c539b075d805.jpg                        31 KB
      250835cc-5e68-4884-b384-a9b4cd60dbf7.jpg                        31 KB
      b330d87c-0eed-49a2-be64-9ab49dbf8950.jpg                         5 KB
      c83514a7-ec85-4db2-a928-c4695efa7eba.jpg                        30 KB
      d055bfb4-f22a-4b48-b43f-8b2e75e0d43b.jpg                        32 KB
      d447c247-7fd9-4272-9167-812280ed0c6a.jpg                        32 KB
      dce72072-93c8-4f91-b469-c7411d07c4c5.jpg                        32 KB
      e250db1a-7b19-4ff9-bc06-78e98630f4e1.jpg                        32 KB
    4cb0c193-f468-456d-8eda-e41170e7e7f3.content                      32 KB
    4cb0c193-f468-456d-8eda-e41170e7e7f3.epub                      2.210 KB
    4cb0c193-f468-456d-8eda-e41170e7e7f3.metadata                      1 KB
    4cb0c193-f468-456d-8eda-e41170e7e7f3.pagedata                      4 KB
    4cb0c193-f468-456d-8eda-e41170e7e7f3.pdf                       4.137 KB
    72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.content                      50 KB
    72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.epub                        691 KB
    72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.metadata                      1 KB
    72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.pagedata                      6 KB
    72d8bbdd-cbe2-44b2-8b6d-1dfdb4587c5c.pdf                       3.177 KB
    The thumbnail files seem to contain thumbnails for those pages, which have already been opened.
  • Remarkable states support for PDF and ePub, but ePub support is not real. What happens, instead, is, that the ePub gets converted to PDF and then the ePub and the PDF get pushed to your device. The reader can not display the ePub, but only the PDF. ePub conversion is slow on the device.

An output device for Calibre would need to implement
  • SFTP transfer with the device
  • handling of the filesystem layout and creation of the metadata and thumbnail files
  • keep a mapping between the device's "library" and Calibre's
  • as bonus: do the conversion of ePub into PDF with Calibe before transfer

That's all I know for now. There is a whole bunch of utilities, that try to make life easier at github.com/reHackable/awesome-reMarkable, but no Calibre device, so far.

Last edited by bmix; 11-27-2020 at 01:34 PM. Reason: added item in last list
bmix is offline   Reply With Quote
Old 05-31-2021, 05:13 PM   #10
rentam
Junior Member
rentam began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2021
Device: remarkable
Tried myself at it: I created (more like POC-ed) a driver that sees remarkable's cloud as a device and push/pull books from it.
I used https://github.com/subutux/rmapy as a base to interact with the cloud, and tried to fill all the gaps I could find. But I think calibre don't really expect to interact with devices through the cloud.

Anyway it's full of missing features (the API does not provide authors, file size etc without having to download the file), full of `print` statements and probably full of bugs, but might be enough for simple tasks such as uploading/downloading books.
You'll just need to install a plugin from a zip file and register it through the driver's configuration. (name is Remarkable 2 Cloud Interface, even though I suspect it will work with first gen too)

Here goes the link with the source code and the zip file for the driver:
https://github.com/gautierenaud/rema...bleCloudDriver

Hope it will help!
rentam is offline   Reply With Quote
Old 06-03-2022, 07:43 AM   #11
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,239
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Drag and drop to the Browser Window seems to be the only way to get files on the Remarkable on Linux:

Create directories/folders on the Remarkable GUI, before or during connection.

1) Connect a USB cable.
2) Enable USB Web in Storage Menu
3) Open 10.11.99.1 on your Browser (Waterfox works)
4) Drag and Drop a PDF from File Manager to the Browser window.

Handwriting conversion only via Cloud & subscription, so rubbish compared to Sage or Elipsa.

So I created a folder/directory on Laptop for Calibre to send files to as if a device.
Quoth is offline   Reply With Quote
Reply

Tags
remarkable


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
reMarkable, a New eink device with pen support Akbar More E-Book Readers 344 10-04-2023 09:52 AM
How I can use the Kindle voyage device output profile in Calibre 1.48 ? timewarps Devices 5 01-23-2015 03:51 PM
catalogue builder output columns are not in the same order in the output KWhytte Library Management 5 12-04-2012 02:03 AM
request : from epub to pdf, I need output profil for 800x480 device yannou75 Recipes 3 01-07-2011 11:43 AM
Output Directory on Device For News RSS etc Portababa Calibre 3 02-10-2010 11:31 AM


All times are GMT -4. The time now is 07:28 PM.


MobileRead.com is a privately owned, operated and funded community.