07-11-2013, 05:22 AM | #181 | |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
Edit /mnt/onboard/.kobo/KoboLauncher/KoboLauncher.sh and put in it: #!/bin/sh /mnt/onboard/.kobo/KoboLauncher/usbnet/start.sh /mnt/onboard /mnt/onboard/.kobo/koreader/koreader_kobo.sh /mnt/onboard Put it in at the start and you can ignore the rest of the old code. Take out or change the end of line carriage returns Hex (0d) or replace them with linefeeds Hex (0a). Luck; Ken I was thinking of mentioning the idea of having the above preceded by a pop up menu with three selections 1 Launcher 2 KoReader 3 Cancel That way the issue of the corruption of Koreader's display when called from the launcher would be avoided and the option of using the Launcher for other purposes would be retained. Giorgio mentioned that he was headed off for a holiday so I didn't want to bring it up until he got back. Last edited by Ken Maltby; 07-11-2013 at 05:00 PM. Reason: awake now and read "WS64"'s recent posts, sorry |
|
07-11-2013, 05:41 AM | #182 |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
At home I could follow clsdclsd's steps to use USBNET, I can ping the device at 192.168.2.101, but neither Putty nor WinSCP will connect (Connection refused), any idea why?
|
07-11-2013, 05:52 AM | #183 | |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
I haven't got around to setting those up yet, but I remember that there was a description of the process for the Kobo device here where the launcher was first posted. Luck; Ken Last edited by Ken Maltby; 07-11-2013 at 05:01 PM. |
|
07-11-2013, 06:06 AM | #184 | |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
Quote:
And I got everything working including the ping, although there is one error, it should not be "Microsoft" but "Microsoft coorporation" (or something like that) in step 6. Just after that Putty and WinSCP won't connect... |
|
07-11-2013, 08:00 AM | #185 |
Enthusiast
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
|
WS64: can you paste the usbnet file content ?
|
07-11-2013, 08:14 AM | #186 |
Groupie
Posts: 199
Karma: 1071756
Join Date: Sep 2012
Location: Nova Scotia
Device: Kobo Aura, Nexus 5x
|
which is all part of the foolish decision they made in the first place. It's not that difficult to separate out the Kobo parts from the Adobe parts - after all, I get to run ADE on my Linux laptop and Android device, too.
|
07-11-2013, 08:16 AM | #187 |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
|
07-11-2013, 08:20 AM | #188 |
Enthusiast
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
|
I apologize for confusion. That one sets for ssh port 2. Replace 2 with 22 and try again
"telnet 192.168.2.101 22" to see if you get ssh banner , then putty etc |
07-11-2013, 08:22 AM | #189 | ||
Groupie
Posts: 199
Karma: 1071756
Join Date: Sep 2012
Location: Nova Scotia
Device: Kobo Aura, Nexus 5x
|
Quote:
Quote:
|
||
07-11-2013, 08:39 AM | #190 | |
Guru
Posts: 897
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
Quote:
As soon as I add LD_Preload the KOReader reboots on me. I've tried it with your while_do_done-loop, with just adding prefixing the command in the script and by changing your koreader-debug.cmd.sh command "echo t > /tmp/invertScreen" with "t" instead of just t. Oddly this last change would take me into the Filemanager of KOreader, but only to reboot as I opened a pdf-file. Another test was to give the echo-command via telnet. It didn't inverse my screen, but it also didn't result in an error. Also, the screenInv.so file was in the right location. So I don't know what else I can try. |
|
07-11-2013, 08:59 AM | #191 |
Enthusiast
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
|
Attached zip with my stop/start wireless scripts.
As for screenInv.so , first get ssh working then run reader.lua manually from koreader folder like this and see if is giving any errors (also make sure you are doing chmod a+rx /root//screenInv.so one time) kobo_shell# cd /mnt/onboard/.kobo/koreader/ kobo_shell# LD_PRELOAD=/root/screenInv.so ./reader.lua /mnt/onboard/test1.pdf |
07-11-2013, 09:13 AM | #192 | |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
Quote:
Where is it set for port 2? In WinSCP and Putty I tried 22 all the time, not 2, and I can't see anywhere in your start.sh that it points to port 2. |
|
07-11-2013, 09:19 AM | #193 |
Enthusiast
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
|
the last line with
dropbear -p 2 that means sshd dropbear uses port 2. |
07-11-2013, 10:04 AM | #194 | |
♫
Posts: 660
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
|
Quote:
One more question, in the koreader directory I created a file called USBNETkoreader.sh The content is Code:
#!/bin/sh /mnt/onboard/.kobo/KoboLauncher/usbnet /mnt/onboard /mnt/onboard/.kobo/koreader/koreader_kobo.sh /mnt/onboard USBNET/KOReader = /mnt/onboard/.kobo/koreader/USBNETkoreader.sh /mnt/onboard When I start this I see Koreader starting (and of course crashing after a key click). What I don't see is USBNET starting after connecting the USB cable, no PING, nothing. Something wrong here? |
|
07-11-2013, 10:19 AM | #195 |
Enthusiast
Posts: 46
Karma: 54894
Join Date: Jun 2013
Device: kobo
|
I assume mnt/onboard/.kobo/KoboLauncher/usbnet is the right file? (from putty
ls -la /mnt/onboard/.kobo/KoboLauncher/usbnet ) and you have the good modules (I've posted earlier some script I think that I use for usbnet) |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1268 | 02-27-2024 11:49 AM |
Touch Using two Kobos | tkavan | Kobo Reader | 4 | 06-23-2017 02:47 AM |
2 kobos at once | tsarinaerika | Kobo Reader | 14 | 06-03-2013 04:13 AM |
Syncing between two Kobos | fx3000se | Kobo Reader | 4 | 01-24-2013 02:10 PM |
2 kobos 1 account | retired05 | Kobo Reader | 9 | 05-05-2012 08:25 AM |