Saturday, 31 December 2011

Setting up Kobo using Linux (Ubuntu)

I got one of those Kobo Touch eReaders for xmas (yay) and have been using it for some reading (currently looking through some PPUK policy proposals to keep up to date, but have some more books loaded too). 


One problem I had was that I couldn't get it to connect to my wireless. Reading an FAQ, it said I had to set it up first (i.e. connect with an account) before it would connect to a wireless network (which seemed a bit strange as I wasn't home when I got it). Looking into it, their website had an installer for Windows (unhelpfully labelled "PC") and one for Mac. Not particularly helpful if I am running Ubuntu...

I first emailed them asking about it (and whether it was worth installing the software as I had connected via USB, and Ubuntu had recognised it as an external USB drive and allowed me to add files accordingly). I got a reply just saying what the software did (which was somewhat helpful as I didn't know completely), but did not mention getting an installer for Linux. I have emailed them back being more specific (today), and will update if I get a reply, but had since found out about the requirement to set it up to use a wireless network, so decided to have a go at installing it anyway. 


WINE
 I already had WINE installed from trying to get other things to work (Magic Online and a driver for a USB Network hub - neither worked), so used that to run the installation software (I had to do this a few times as I have forgotten where things are installed to in WINE, so couldn't find something that had been installed, but it seemed to work OK each time I re-installed it to run the program). 


The program installed fine, I only had problems getting it to recognise the attached eReader. The first issue that I had was that it did not recognise that I had it plugged in (step 1 of 3 of the set up process). Checking on the WINE comparability website, there was a comment saying that it had to be set as a Floppy Disk as oppose to Automatically Detect. This was a little vague, so I will hopefully explain it in more detail here. 


This has to be set up before running the software. In WINE Configuration, there is a tab for Drivers:



To allow for connecting to the eReader, the following has to be done before running the set up program: 

1) Connect eReader via USB cable - Linux should automatically detect this as a drive and allow you to add files to it (which is fine in itself if you want to add your own eBooks or other files). 

2) Add a new Drive Mapping - I added "D" but I guess this could be any letter. As mentioned in the WINE Compatibility website, this should be set to Type: Floppy Disk (this is under the "Show Advanced" options). The path to this should be the eReader, for me it was /media/KOBOeReader - remember that I had the device connected at this point. 

3) Run the installer/set up program - the drive mapping has to be done first before running this, otherwise it will not recognise it. 

4) The installer then works as it should (or at least as I expect it should), it allowed me to create an account, updated the firmware and synced a few new preview books. 

That's it! It seemed to have worked fine, and the eReader it all updated and can connect to the wireless. Hooray! 

UPDATE
I got a response from Kobo; they confirmed that they don't have an installer that works for Linux. I pointed out this blog post that I had written (and that there have been a few people searching for how to get Kobo working using Linux) and suggested they at least add something to their FAQ about it; they said they would escalate my suggestion to their tier2 team so hopefully it will be easier for others in the future to get started :-)

17 comments:

  1. Well done Simon. Nearly returned my Kobo before I tried this. Works as you describe, on Ubuntu Lucid 10.04. Thanks

    ReplyDelete
  2. You save my day looking for this whole day long. Get Kobo on my system and it is working great...thanks a million11

    ReplyDelete
  3. Good job. Thanks.

    ReplyDelete
  4. I have a good few books on a network drive. Thought i could map a drive and download but it does not seem to have that functionality. I may be missing it but have noticed any function like this? I got one at xmas as well and actually find it very convenient as a dumbed down pc for quick web page checks etc. Like this is from the kobo

    ReplyDelete
  5. Thanks for this, really helped me out

    ReplyDelete
  6. Thanks for the guide, was useful.

    Been digging around some and found a native Linux application written by one of the Kobo developers, here:-

    http://www.mobileread.com/forums/showthread.php?t=82378&page=14

    It's a debian package, so it installs easily in Ubuntu.

    It's not really a supported release, but the forum seems to be quite helpful

    ReplyDelete
  7. Thanks for your tutorial!

    Just a note: I nearly threw my laptop out of the window, it worked just fine like you described it. But as I was not able to get ie8 working via wine, I had to start from scratch to install ie7. Now Kobo Desktop didn't want to accept my reader, no matter what I tried ...

    ...until...

    I had a new drive letter assigned for it. It looks like the Setup fails to find the reader if it is mounted in drive letter a: It has to be something above c:.

    (The reader gets mounted automatically in /mnt/floppy on my machine, and that is mapped to drive letter a: by default.)

    ReplyDelete
  8. Thank you for this information!

    ReplyDelete
  9. To bypass the need for the Kobo application for the initial setup, if you want to use Calibre or whatever:

    sqlite3 .kobo/KoboReader.sqlite

    INSERT INTO "user" VALUES('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa','aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa','xxxx@xxxx.xx','xxxx@xxxx.xx','2aaaa aaaaaaaaaaaaa==');

    ReplyDelete
  10. Thanks for the great information, received similar response from Kobo before finding this page. Kobo desktop now installed on my system (Linux Mint 12) through Wine and working perfectly.

    ReplyDelete
  11. Am headed over seas form a month and just bought a kobo only to stumble on this no setup for linux thing. Your info eases my mind. thanks
    george

    ReplyDelete
  12. Thanks. Works with Fedora 16.

    ReplyDelete
  13. works on ubuntu 12.04 thank you very much Simon

    ReplyDelete
  14. Thanks .. using fedora 16 64 bits and the 32bits wine version.

    To bad Linux isn't supported and the for the wifi to work you have to do the setup :((
    ~remke
    (Linux administrator - The Netherlands)

    ReplyDelete
  15. Works great. Really easy to install. Thanks!

    ReplyDelete
  16. problem, Wine reports internal errors - in parameters: sorry it's a long file:

    [...]
    Extract: libusb0.sys... 100%
    Output folder: C:\Program Files (x86)\Kobo\drivers
    Output folder: C:\Program Files (x86)\Kobo\fonts
    Extract: Gothic MB101.otf... 100%
    Extract: Ryumin.otf... 100%
    Output folder: C:\Program Files (x86)\Kobo\fonts
    Execute: "C:\Program Files (x86)\Kobo\drivers\dpinst64.exe" /c /sa /sw /F /PATH "C:\Program Files (x86)\Kobo\drivers"

    Please help!

    ReplyDelete
  17. i had to delete the drive mapping (which was set to E:/) and add a new one to D:/ to make this work.
    thanks for the help :)

    ReplyDelete