View Single Post
Old 08-21-2009, 12:14 AM   #8
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by user_none View Post
For getting these devices to be supported I need the output of:

Code:

calibre-debug -d

Once with the device plugged in and detected by your computer and once without.
Using calibre v0.6.7, I've attached that output with and without the REB1100 and EBW1150. The devices require a USB driver to be installed for:
- Windows/MacOS X available from http://www.ebooktechnologies.com/sup...r_download.htm
- linux available from https://www.mobileread.com/forums/showthread.php?t=28166 or EBookwise-1150-Linux

Quote:
Also, if you could answer a few questions:

Does the device appear to the computer as a mass storage device, like a tumb drive or external hard disk?
No, it doesn't function like a thumb drive, but rather, it communicates via the USB driver and a local proxy server/program.

For the REB1100, the aforementioned Rebcomm is a great source or even a more up-to-date version of same I posted here. Please note that that thread ( Can the EBW1150 be mounted as a usb drive? ) is a nice overview of the stumbling blocks you may encounter...

Click image for larger version

Name:	REB1100-Rebcomm.jpg
Views:	499
Size:	81.9 KB
ID:	34577

For the EBW1150, a great source of the protocol used to communicate with the device is the python-based Impserve by ashkulz.

In the REB1100's case, it's possible to read and write to the internal memory as well as the external (SmartMedia Card) memory. However, for the EBW1150, the communications is solely based on HTTP GETS and PUTS with no access to internal or external memory directly.

Quote:
Does the device allow you to put files in subdirectories?
No, for the EBW1150, as .imp ebooks transferred to it AUTOMATICALLY get exploded and place in the main directory's 'ebooks' folder as exploded .RES files. For the REB1100, .rb ebook transfers are sent directly to the internal/external memory specified.

Quote:
Is there a main (root) directory that ebooks must be under or can you place them anywhere?
Again, there's no direct placement of ebooks into folders/directories other than by 'sending' them to the unit.

Quote:
Does the device create any supplementary files, these might be called something like book_name.mbp or book_name.dat?
No, for the EBW1150, as any annotations/bookmarks get stored in the exploded .RES folder for .imp ebooks. For the REB1100, the root folder where all the .rb ebooks are kept have a *.AN file that stores ?annotations? and a *.RI file that stores ?index/info?. For example, this is a .RI file's contents:
Code:
BODY=index.html
BYTE=19306
NUM_HTMLS=1
HEADER_CHECKSUM=945375507
and this a .AN file's contents:
Code:
<?xml version="1.0"?>
<nuvo-annotations rev="1" rocketid="nicrapa56025" pubid="ebook:pub-156-2444">
   <bookmarks>
   </bookmarks>
   <notes>
      <note file="index.html" byte="3137"></note>
   </notes>
   <underlines>
   </underlines>
</nuvo-annotations>
I've never used nor seen these files until just now so may not understand them all that well. But, you have to start somewhere...

Quote:
Does the device have some type of database file such as an xml file that holds metadata?
No, for EBW1150, the metadata is stored in the header (RSRC.INF) of the .RES folder. See the IMP for further inormation, or just ask me.

For the REB1100, the metadata is stored within the .rb ebook in an .info file that can be extracted using the sourceforge rbburst of the rbmake suite of programs.

Food for thought...
Attached Files
File Type: txt calibre-REB1100-on.txt (1.0 KB, 477 views)
File Type: txt calibre-REB1100-off.txt (1,021 Bytes, 366 views)
File Type: txt calibre-EBW1150-on.txt (1.0 KB, 378 views)
File Type: txt calibre-EBW1150-off.txt (1,021 Bytes, 321 views)

Last edited by nrapallo; 08-21-2009 at 12:24 AM.
nrapallo is offline   Reply With Quote