04-22-2013, 08:51 AM | #91 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
The exit click is not propagated anymore but the homepage is still messed up when you exit. I think this could be fixed simply refreshing the screen. I don't know if there's a bash command to do it, I don't know nothing about kobo interface. Must I post the log? I still have firmware 2.4.0.
Your workaround for epubs works, and it's faster than mine. I downloaded a little sample epub, I'll open it before. It seems that something is initialized when you open an epub, since every other epub is opened faster after the first one. Do you know if my workaround (change font size) can be performed with a shell command? PS: can you point the editor output to the "root" by default, as the sketch pad does? This way you can open text files with nichel. PPS: how about text editor in landscape mode, so the keyboard will have more room for other keys? Last edited by Lucas Malor; 04-22-2013 at 08:56 AM. |
04-22-2013, 10:04 AM | #92 | ||||
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Fine! Thanks!
Quote:
echo -e '\xaa\x03\x00\x00\xFD\x4E\x01\x00\x01\x00\x66\x00\ x01\x00\x00\x00\xAA\x03\x00\x00\xEA\xC2\x03\x00\x0 1\x00\x66\x00\x00\x00\x00\x00' > /dev/input/event0 It works fine on my Kobo Touch, but probably Glo has another sequence... Can you test this command on your Glo from ssh/terminal (remove spaces from byte sequence first) ? Quote:
Quote:
Quote:
Last edited by sergeyvl12; 04-22-2013 at 10:14 AM. |
||||
04-22-2013, 01:10 PM | #93 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Nope, the sequence doesn't work. I don't have installed a SSH client for kobo yet, I launched it with a script. I think I've done it correctly. Maybe I can catch the correct sequence auditing event0 with a ssh shell, if no one have done it before (KevinShort?)
About text files, I mean the fat root, not the real root |
04-22-2013, 01:55 PM | #94 | ||
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
Quote:
Just in case anyone's interested, here's the command to simulate the light button on the Glo: Code:
echo -e '\x93wuQ L\x0b\x00\x01\x00Z\x00\x01\x00\x00\x00\x93wuQY 2\x0e\x00\x01\x00Z\x00\x00\x00\x00\x00' > /dev/input/event0 Code:
echo -e '\xc9wuQ\xad>\x08\x00\x01\x00t\x00\x01\x00\x00\x00\xc9w uQC\x9e\t\x00\x01\x00t\x00\x00\x00\x00\x00' > /dev/input/event0 |
||
04-22-2013, 02:22 PM | #95 |
Junior Member
Posts: 7
Karma: 364
Join Date: Apr 2013
Device: Kobo Glo
|
Home button simulation for the Glo (as long as the home button is displayed in the top left corner; in other words, this simulates a touch event in the top left corner where normally the home button would be located):
Code:
echo -e '\x40\x7F\x75\x51\x50\x28\x00\x00\x03\x00\x01\x00\xC7\x02\x00\x00\x40\x7F\x75\x51\x74\x28\x00\x00\x03\x00\x00\x00\x30\x00\x00\x00\x40\x7F\x75\x51\x7F\x28\x00\x00\x03\x00\x18\x00\x65\x00\x00\x00\x40\x7F\x75\x51\x8C\x28\x00\x00\x01\x00\x4A\x01\x01\x00\x00\x00\x40\x7F\x75\x51\x96\x28\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x40\x7F\x75\x51\x02\x4B\x00\x00\x03\x00\x18\x00\x00\x00\x00\x00\x40\x7F\x75\x51\x10\x4B\x00\x00\x01\x00\x4A\x01\x00\x00\x00\x00\x40\x7F\x75\x51\x17\x4B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/input/event1 |
04-22-2013, 04:16 PM | #96 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
It works
Pure curiosity: since we're sending events to /dev/input/event*, I think we're not really activating the home button, but we're simulating a touch at the coordinates of the home button, right? PS: it works also without waiting 1 second before. Last edited by Lucas Malor; 04-22-2013 at 06:16 PM. |
04-22-2013, 08:55 PM | #97 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
|
04-25-2013, 01:58 AM | #98 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Sergey, do you published the text editor source code, or do you plan to do in future? I'm not a great programmer, but I'm stubborn and I would give a hand.
|
04-27-2013, 10:39 AM | #99 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
I tried to use the usb network without success:
Code:
$ sudo ifconfig usb0 192.168.2.100 SIOCSIFADDR: No such device usb0: ERROR while getting interface flags: No such device distro: Ubuntu 12.04, Kobo: glo 2.4.0 Last edited by Lucas Malor; 04-27-2013 at 11:05 AM. |
04-27-2013, 06:10 PM | #100 | |||
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Quote:
Quote:
lsusb command on your ubuntu after turning on usbnet. Quote:
Last edited by sergeyvl12; 04-27-2013 at 06:13 PM. |
|||
04-27-2013, 06:59 PM | #101 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Code:
$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse Plus] Last edited by Lucas Malor; 04-28-2013 at 02:52 AM. |
04-29-2013, 05:11 AM | #102 |
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Lucas, edit usbnet/start.sh (add some debug info) in order to find the reason...
E.g.: insmod $root/arcotg_udc.ko replace with insmod $root/arcotg_udc.ko >> $root/error.log 2>&1 I think the error is somewhere in these 3 lines: insmod $root/arcotg_udc.ko insmod $root/g_ether.ko ifconfig usb0 192.168.2.101 |
04-29-2013, 05:35 AM | #103 |
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
New notepad build
http://pbchess.vlasovsoft.net/files/kobo/notepad.zip now you can configure the root of your notes in the notepad.ini: [General] default_mask=*.txt default_path=/mnt/onboard |
04-29-2013, 05:37 AM | #104 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Code:
insmod: can't insert '/mnt/onboard/.kobo/KoboLauncher/usbnet/arcotg_udc.ko': invalid module format insmod: can't insert '/mnt/onboard/.kobo/KoboLauncher/usbnet/g_ether.ko': invalid module format ifconfig: SIOCSIFADDR: No such device PS: KoboLauncher.log.txt is growing a little... Last edited by Lucas Malor; 04-29-2013 at 05:40 AM. |
04-30-2013, 03:31 AM | #105 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Thank you for new editor feature, it works very well! It's bit difficult to browse the partition, but I don't think this is a problem for the majority of people
About usbnet bug, I have also dmesg output: Spoiler:
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fbreader-0.10.7 Standalone Installer | pwarren | iRex | 70 | 03-01-2013 12:17 PM |
Eink stanalone demo Qt eink driver for standalone qt apps ie no nickel nickel | tonyv | Kobo Developer's Corner | 2 | 12-27-2012 09:35 AM |
Standalone FlightCrew | capidamonte | Sigil | 8 | 04-25-2012 05:20 PM |
Standalone flightcrew? | bfollowell | Sigil | 4 | 06-30-2011 11:21 AM |
iLiad Standalone Flash Player | vols | iRex Developer's Corner | 3 | 03-02-2007 02:20 PM |