08-24-2008, 08:00 AM | #1 |
Jack O' Apes
Posts: 227
Karma: 1939
Join Date: Dec 2007
Location: Oklahoma
Device: Ebookwise 1150, Nokia N810, EZ-Reader, HTC Droid Incredible, Archos 70
|
Using your eBookwise eb-1150 with Linux
The most recent version of this howto is at https://wiki.mobileread.com/wiki/EBookwise-1150-Linux
My eb-1150 has so far been a very nice reader. The only complaint that I have had is I am a Linux user and it seems that all of the software for it is windows only. At first glance that seems to be true but like most hardware you can use this reader with your favorite OS. Using the book creation software from eBook Technologies in wine has works just fine. Iv'e had no problems with it so far. Just download the software from http://www.ebooktechnologies.com/sup...r_download.htm and install it with wine. All full Linux distros have wine packages that can be installed with whatever package management software they use. This will let you create the imp files that the reader will convert to its internal format once you have loaded them in the reader. If you haven't used wine before just use your distros package manager to install wine then open a terminal and change to whatever directory you downloaded the Win_eBookPub_2.2.5.exe file to and use the command below to install it. Code:
>$ WINEPREFIX=/home/yourusername/.wine >$ wine Win_eBookPub_2.2.5.ex To get my books into the reader after they were created I have been copying the imp files created with eBookPublisher to a smart media card using a card reader. Then plugging the card back into the eb-1150. While this really isn't much of an inconvenience it does put some wear on the card and with SM cards not that easy to find anymore I really would like to be able to use that nifty USB cable that came with the reader. Not to mention I might want to purchase a book and download from my personal online bookshelf without having to use a phone line and dialup internet service. After some digging around and some help from nrapallo I now have a setup that will let me do just that. This is my attempt at sharing what Iv'e gotten to work so that someone else might not have to sit around and do so much head scratching. To start off you need two small pieces of software. The first is eb1150-0.1.1 this runs as a daemon and lets your eb-1150 communicate with the computer though a USB port. The second is one that nrapallo has worked over so that it works with the newer readers instead of their older reb brothers linreb.0.2.1. You can download both from the links to the attachments below. After you have them downloaded start with eb1150. This program needs libusb installed before it will compile. With most Linux distros you will also need to install the libusb-dev or libusb-devel package as well. After that is done unzip eb1150 archive and change to the created directory. From here just do the ./configure, make and make install steps as you would for any other source package. Code:
>$ ./configure >$ make >$ sudo make install Code:
tail -f /var/log/messages Code:
Aug 24 03:12:19 festus kernel: [30230.144230] usb 2-1: new full speed USB device using ohci_hcd and address 49 Aug 24 03:12:20 festus kernel: [30230.231330] usb 2-1: configuration #1 chosen from 1 choice Code:
>$ sudo eb1150 Code:
>$ su enter root password: >$ eb1150 Code:
eb1150 0.1 (Dec 19 2007) - eBookWise/GemStar 1150 communication daemon Licensed under the GNU General Public License. ABSOLUTELY NO WARRANTY. See the GNU GPL for details. Found eBook 1150, attempting to open ...Success Socket created 4 Code:
gethostbyname : 207.158.6.50 Socket created 6 Connected to 207.158.6.50:80 Sent: 183 byte(s) Recv: 560 byte(s) socket closed Error: Recv failed (errno = 9) gethostbyname : 207.158.6.50 Socket created 6 Connected to 207.158.6.50:80 Sent: 611 byte(s) Recv: 914 byte(s) socket closed Now that you know the eb1150 daemon is working hit ctrl-c in the terminal where it is running to stop it. Now it needs to be fixed so that it doesn't need to have root privileges to run. This means that a udev rule needs to be added so your normal user has permission to read and write to the USB port that the eb-1150 is hooked to. This rule is just a simple text file added to the directory /etc/udev/rules.d along with all of the files full of rules about how to handle different devices in your computer. Open a text editor as root and add this line to a file. Code:
SUBSYSTEM=="usb", ATTR{product}=="eBook", MODE="0660", GROUP="plugdev" Code:
>$ sudo /etc/init.d/udev restart Code:
>$ eb1150 linreb-0.2.01 While it is nice to be able to use eb1150 with the USB ports on your computer to get full speed access to your online bookshelf it is even nicer to use it with linreb so that you can have a local bookshelf where you can put your own personal content without having to go through the hassle of uploading files and then downloading them again with the eb-1150. The program linreb works something like GeB Librarian. It intercepts the eb-1150's requests to the online bookshelf server and uses content on your personal computer. Unzip the linreb-0.2 archive and change to the directory that it creates in a terminal. There all you need to do is issue the command: Code:
>$ make Back to the terminal where you compiled linreb. Start it running with this command. Code:
>$ ./linreb -p 1026 -v Code:
LinReb v0.2 Build 23-Aug-2008 Simple eLibrarian for REB1200/EBW1150 Bookshelf from "shelf/" Bookstore from "bookstore/index.html" Html content from "content/" Listening on INADDR_ANY:1026 Loaded 2 files in bookshelf Code:
>$ eb1150 -h 127.0.0.1 Code:
GET http://bookshelf.ebooksystem.net/bookshelf/default.asp?INDEX=1&REQUEST=100&SHOW_HIDDEN=NO Sent BOOKLIST 175 bytes. Finishing up: You can copy the linreb binary to another location that is in your path. I use ~/bin for small binaries like this. It could just as well go in /usr/bin though. Pick a location for the directory structure that linreb needs to serve you the content and copy the three directories there. Something like ~/Books/EB1150/bookshelf then I can move files into and out of the shelf directory as I want and still keep them sorted by author in ~/Books/EB1150. Just remember to start linreb from within ~/Books/EB1150/bookshelf or whatever the path is to where the three directories are. That's it enjoy being able to use your eb-1150 with your Linux box. 08/25/08 Added eb-control script ******************************* 08/27/08 Get linreb from the link below. Points to the latest version from nrapallo linreb-0.2.02. https://www.mobileread.com/forums/att...2&d=1219839151 ******************************** 01/17/2010 Added source package eb1150-0.1.2.zip that will compile under ubuntu 9.10. Added binary package eb1150-0.1.2-bin.tar.gz with eb1150 binary that was compiled under ubuntu 9.10 64 bit. Last edited by derrell; 03-11-2010 at 10:41 PM. Reason: Changed link for linreb back to nrapallo's source. |
08-24-2008, 08:57 AM | #2 |
GuteBook/Mobi2IMP Creator
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
|
Amazing tutorial!
Wow, derrell, excellent tutorial on getting the most of your reader on linux!
I feel like I've learnt a year's worth of linux by reading your post. Very informative and timely too. I just got a new netbook, ASUS eee 1000H (typing on it now-Thanks, Alexander for turning me onto this baby!) and just finished installing Ubuntu 8.04 onto a 8GB SDHC. Now you KNOW I'm going to try this right away!!!!! I've got a lot of ideas for extending the usefulness of the Linreb program, and to avoid duplication, I suggest we make all future mods to my original post and then, once stable, update this post with the next version! Thanks for helping out, Derrell (The Linux Guy)! We're off to the make the "wiki", the wonderful wiki of mobileread.com... (hum to the Judy Garland song from the Wizard of Oz) Thanks to Derrell for the EBookwise-1150 wiki entry under the Adding Books heading.
Last edited by nrapallo; 08-25-2008 at 12:48 AM. Reason: added link to the original Linreb post |
Advert | |
|
08-24-2008, 09:14 AM | #3 |
Jack O' Apes
Posts: 227
Karma: 1939
Join Date: Dec 2007
Location: Oklahoma
Device: Ebookwise 1150, Nokia N810, EZ-Reader, HTC Droid Incredible, Archos 70
|
Thanks, hope it works all works out with Eee. Hardy is what I'm using now so there shouldn't be any problems there.
As to linreb sounds good to me. I was going to pm you and ask about the change in the source of linreb. I was planning on linking back to your original. Lots of small changes floating around are just a way to kill a project by causing mass confusion. |
08-24-2008, 10:45 AM | #4 |
Groupie!? GROUPIE!?!?
Posts: 319
Karma: 649
Join Date: Aug 2008
Location: The Dirty Shwa
Device: EBW 1150, Libra Color
|
Great post Derrell! I was able to follow your insturctions quite easily and it works great on my Gentoo box as well.
|
08-24-2008, 04:39 PM | #5 |
GuteBook/Mobi2IMP Creator
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
|
Derrell:
I followed your tutorial and now I too have the ebookwise 1150 running on Ubuntu 8.04!!!! Not one stumbling block encountered on my way to success! I liked your tutorial, perhaps we can see more of your work in the future! I only changed one thing, the HTTP proxy address and port number. When using GEBLibrarian my EBW1150 is set to: 192.168.0.X where X is the last octal of my computer's IP address and the port is 9090. To find out the IP address in linux, right-menu click on the network icon in the top status bar and choose Connection Information. It's displayed beside IP Address: (no figure ). I still couldn't get any of my links to make the EBW1150 'surf the internet'! Check out the second page in Content (directory)... Thanks again for an invaluable write-up! Kudos! EDIT: I just wanted to add that Linreb works just fine in linux connecting to the REB1200 without needing the eb1150 usb driver since it uses ethernet to communicate. For those like me who have multpile devices... Last edited by nrapallo; 08-25-2008 at 12:49 AM. Reason: tested REB1200 and it works too! |
Advert | |
|
08-25-2008, 01:10 PM | #6 |
Jack O' Apes
Posts: 227
Karma: 1939
Join Date: Dec 2007
Location: Oklahoma
Device: Ebookwise 1150, Nokia N810, EZ-Reader, HTC Droid Incredible, Archos 70
|
eb-control zenity script
Added a quick dirty bash script that uses the zenity dialogs to control eb1150 and linreb with sort of a gui look, to the main post. Just to automate things a little.
The origninal settings are hard coded but you can change them and the script will create an rc file in your home directory with your changed settings, book shelf directory, ip and port information. It will then use that from the beginning the next time it is run. It shouldn't hurt anything as the only file that it ever writes or reads is its own rc file. |
09-02-2008, 02:47 AM | #7 |
Jack O' Apes
Posts: 227
Karma: 1939
Join Date: Dec 2007
Location: Oklahoma
Device: Ebookwise 1150, Nokia N810, EZ-Reader, HTC Droid Incredible, Archos 70
|
Added a section to the wiki on how to integrate the eBook Publisher software with a file manager.
https://wiki.mobileread.com/wiki/EBoo...Book_Publisher |
09-02-2008, 09:25 AM | #8 | |
GuteBook/Mobi2IMP Creator
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:
Very thorough and helpful! A Linux user's dream come true... |
|
01-11-2009, 05:24 PM | #9 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2008
Device: eBookwise 1150
|
I got as far as this:
After that is done unzip eb1150 archive and change to the created directory. From here just do the ./configure, make and make install steps as you would for any other source package. I don't know how to change to the created directory, or ...install as for any other source package. I'm not a linux geek, just a little old lady trying to use my linux box to transfer books to my eBookwise. Any help greatly appreciated. |
06-17-2009, 06:20 PM | #10 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2009
Device: Kobo mini
|
Compiling Software
Quote:
For example WHICH programming languages are required to configue and make eb1150? Can these programs be packaged for the main linux versions? |
|
06-17-2009, 08:00 PM | #11 |
Jack O' Apes
Posts: 227
Karma: 1939
Join Date: Dec 2007
Location: Oklahoma
Device: Ebookwise 1150, Nokia N810, EZ-Reader, HTC Droid Incredible, Archos 70
|
The daemon that lets you connect your ebookwise through usb to is eb1150. It is written in c++ by Mitch Reierson. If you know how to create packages for whatever distro you are using I don't see any reason why it couldn't be packaged. The version available here from the mobile read forums has been patched so that it would compile on ubuntu 8.04. If I remember right there was an issue with compiling for the newest version of ubuntu. The original Source Forge link is here. I tried to contact the original author to submit the patch but never got any kind of reply.
As far as linreb goes I don't think anyone uses that much anymore. The impserve program included in ebookutils from ashkulz is what I currently use as well as many others with both linux and windows computers. The wiki page has information about setting that up as well. There is a meta package, build-essentials in ubuntu that should cover what is needed to build eb1150, at least I think that is what the name is. As for impserve its a python script and pretty much every linux install has python. |
06-20-2009, 05:47 AM | #12 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2009
Device: Kobo mini
|
This is a really good documention,and I manages mostly to get everything working. But one of the weaknesses of Linux is installatin, and particularly for non techies, having an insta script would be ver handy, A Bash file called wbook_setup that would do the following:
Check that the correct archive files had been dowloaded, if not generate an error eg Please download eb1150.zio to the same location as this scriot. Check for dependancies eg You must have Python 2.5 installed first. unzip all te packages to a shared location eg /opt/ebook Configure and install as approriate create / document how to add symlinks generate a menu program that allows selection of tool and an appropiate way ie the correct eb1150 usb device setup for the server Include documentaion om where to put imp files. I haven't got Bash skill myself or I'd try to do it |
01-17-2010, 04:16 AM | #13 |
Jack O' Apes
Posts: 227
Karma: 1939
Join Date: Dec 2007
Location: Oklahoma
Device: Ebookwise 1150, Nokia N810, EZ-Reader, HTC Droid Incredible, Archos 70
|
Added source package eb1150-0.1.2.zip that will compile under ubuntu 9.10.
Added binary package eb1150-0.1.2-bin.tar.gz with eb1150 binary that was compiled under ubuntu 9.10. See the first post in the thread to find the new files. |
03-10-2010, 03:02 PM | #14 |
Junior Member
Posts: 5
Karma: 90
Join Date: Oct 2008
Location: Santa Clara, CA
Device: ebookwise 1150; Aluratek Libre Ebook Pro; nook
|
Hey there..
I tried running eb1150 (the binary version) on my ubuntu 9.10 machine, but got this message: /usr/bin/eb1150: 1: Syntax error: "(" unexpected Is this an error in the program, or am I doing something wrong? Thanks |
03-11-2010, 10:39 PM | #15 |
Jack O' Apes
Posts: 227
Karma: 1939
Join Date: Dec 2007
Location: Oklahoma
Device: Ebookwise 1150, Nokia N810, EZ-Reader, HTC Droid Incredible, Archos 70
|
Issuing the command sudo eb1150 from the command prompt without your ebookwise 1150 connected to the computer should give you something like this.
Code:
derrell@festus:~$ sudo eb1150 eb1150 0.1 (Dec 19 2007) - eBookWise/GemStar 1150 communication daemon Licensed under the GNU General Public License. ABSOLUTELY NO WARRANTY. See the GNU GPL for details. Error: Device was not found on the USB bus. Please make sure that it is plugged into a USB port and turned on. Error: Device was not found on the USB bus. Please make sure that it is plugged into a USB port and turned on. It is compiled for 64 bit processors not 32 and I just realized that I didn't mention that when I posted it. So that also could be the problem. I'll edit the top post in this thread to reflect that as well as the wiki entry. I f you are running 32 bit ubuntu then you will need to recompile from the source file as per the wiki entry. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help...Ebookwise 1150 | vikingblade | Fictionwise eBookwise | 14 | 03-23-2010 06:28 PM |
Do you think the eBookwise-1150 is for me | CJay | Fictionwise eBookwise | 5 | 12-22-2009 04:20 PM |
Ended New Ebookwise 1150 | ladyghost | Flea Market | 2 | 09-20-2009 06:35 AM |
Ended New Ebookwise 1150 | ladyghost | Flea Market | 4 | 09-17-2009 02:08 AM |
Ebookwise 1150 | Coolmicro | Autres liseuses | 37 | 02-22-2009 08:57 AM |