Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-04-2016, 08:51 AM   #91
aconicq1
Member
aconicq1 is faster than slow light.aconicq1 is faster than slow light.aconicq1 is faster than slow light.aconicq1 is faster than slow light.aconicq1 is faster than slow light.aconicq1 is faster than slow light.aconicq1 is faster than slow light.aconicq1 is faster than slow light.aconicq1 is faster than slow light.aconicq1 is faster than slow light.aconicq1 is faster than slow light.
 
Posts: 13
Karma: 29938
Join Date: Feb 2014
Device: pw2
alrighty. I have qemu installed and Amazon source code downloaded. I also installed all the packages required to build the Amazon toolchain in the source code notes.

Not sure what to do next...


#### requested info
Linux distro:
Linux kernel version 3.16.0-4-686-pae, Debian version 8.6 (so that is jessie?), 3.16.36-1+deb8u2 (2016-10-19) i686 with gcc version 4.8.4

A uname -a on the PW2 shows that it is running 3.0.35
Linux kindle 3.0.35-lab126 #2 PREEMPT Fri Oct 21 14:34:54 PDT 2016 armv7l GNU/Linux
aconicq1 is offline   Reply With Quote
Old 11-04-2016, 09:54 AM   #92
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by aconicq1 View Post
alrighty. I have qemu installed and Amazon source code downloaded. I also installed all the packages required to build the Amazon toolchain in the source code notes.

Not sure what to do next...


#### requested info
Linux distro:
Linux kernel version 3.16.0-4-686-pae, Debian version 8.6 (so that is jessie?), 3.16.36-1+deb8u2 (2016-10-19) i686 with gcc version 4.8.4

A uname -a on the PW2 shows that it is running 3.0.35
Linux kindle 3.0.35-lab126 #2 PREEMPT Fri Oct 21 14:34:54 PDT 2016 armv7l GNU/Linux
You are way ahead of me.
I am still looking for enough disk space.

It looks like I will have to do a hardware update to this, my last working, computer.
A rather scary thought, since it might never work again if I try that.

Still working on a "Progris Riport" for my psychiatrist visit next week.
(Yes, I can confirm, a person has to be crazy to do this stuff for a half-century.)

If you haven't already, subscribe to this thread (thread tools above) and in your CP set mails to 'immediate' (I think the default is weekly batch).

Last edited by knc1; 11-04-2016 at 11:20 AM.
knc1 is offline   Reply With Quote
Advert
Old 04-07-2017, 09:10 AM   #93
greentea
Member
greentea began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Nov 2015
Device: none
I can confirm USB OTG Mouse Support running on Kindle Paperwhite 3 and Kindle Oasis FW 5.8.7
greentea is offline   Reply With Quote
Old 04-18-2017, 12:11 PM   #94
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
Hot plugging USB

If people are still interested, I am very close to having a kernel module that would allow plugging and unplugging a USB Keyboard, so you don't have to restart the kindle-evdev program when you unplug.

I am now trying to decide if it is worth making it work like a real keyboard - report that it has certain keys, and caps lock, etc. so that it can work with all the evtest and association programs, so things like Xorg can check if its a keyboard or mouse automatically.

Or if I should keep it more like /dev/input/mice, where it just gives you the input.

The second form would let it work with any programs we write, including the existing kindel-evdev from lucida. I need to test that form and see if I manually specify it as a keyboard if it will work in xorg, instead of trying to use the auto stuff.
coplate is offline   Reply With Quote
Old 04-18-2017, 08:45 PM   #95
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
Quote:
Originally Posted by lucida View Post
OK got it working now. audio_enumerated is used to check usb audio card and its safe to set it to 1 which keeps the device in host mode when OTG cable is plugged.

Here is an updated version of the KUAL extension. Plug in the OTG cable and USB mouse then start from KUAL menu. To stop, remove the OTG cable first then stop from KUAL.

Configuration is in bin/config.sh which detects kindle model automatically. By default, left click/scroll wheel down = next page, right click/wheel up = previous page, middle click = menu(top area)

Have fun.

See first post for downloading.

Where did you compile that OTG enumeration into, which one of the modules?


I'm working on my hot pluggable keyboard module, and I swore that I hid and usbhid working with your files, but today again I am getting the keyboard connecting and disconnectng.

Code:
170418:193508 [ 1474.443810]  otg_enum_fn not enumerated, catcha!
170418:193508 [ 1474.454052] fsl_otg_event ID changed to [0] during work
170418:193508 [ 1474.454259] asking for device mode and in host mode, thats okay
170418:193508 [ 1474.454285] switch to gadget
170418:193515 [ 1480.663787]
170418:193515 [ 1480.663798] Schedule OTG enumeration triggered recovery
170418:193515 [ 1480.674900] switch to host?
170418:193523 [ 1488.683826]  otg_enum_fn not enumerated, catcha!
170418:193523 [ 1488.694063] fsl_otg_event ID changed to [0] during work
170418:193523 [ 1488.694271] asking for device mode and in host mode, thats okay
170418:193523 [ 1488.694297] switch to gadget
170418:193529 [ 1494.903776]
170418:193529 [ 1494.903786] Schedule OTG enumeration triggered recovery
170418:193529 [ 1494.914914] switch to host?

This is on paperwhite 3, version 5.8.5.0.2

Looks like I may have got a new OS version sometime since the last time I tried it, but generally it is working, just the connection and disconnection.

Any thoughts?
coplate is offline   Reply With Quote
Advert
Old 03-03-2018, 02:56 AM   #96
glasnost
Connoisseur
glasnost with a running start, can leap into geosynchronous orbitglasnost with a running start, can leap into geosynchronous orbitglasnost with a running start, can leap into geosynchronous orbitglasnost with a running start, can leap into geosynchronous orbitglasnost with a running start, can leap into geosynchronous orbitglasnost with a running start, can leap into geosynchronous orbitglasnost with a running start, can leap into geosynchronous orbitglasnost with a running start, can leap into geosynchronous orbitglasnost with a running start, can leap into geosynchronous orbitglasnost with a running start, can leap into geosynchronous orbitglasnost with a running start, can leap into geosynchronous orbit
 
Posts: 54
Karma: 60222
Join Date: Aug 2016
Device: PW3, Kobo Aura H2O
Quote:
Originally Posted by coplate View Post
If people are still interested, I am very close to having a kernel module that would allow plugging and unplugging a USB Keyboard, so you don't have to restart the kindle-evdev program when you unplug.

...
Hi Coplate!

Sorry to necro this old thread, but is there any chance that you have finished work on this module? I've checked your github, but didn't see it...

I'm still quite interested :-)

Thanks
glasnost is offline   Reply With Quote
Old 03-09-2020, 04:09 PM   #97
edrex
Member
edrex began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Mar 2020
Device: Kindle PW3
I just tested this with fw 5.9.2.0.1, a USB OTG "Y" connector (injects power to device) with a keyboard plugged in, and by SSH over wifi, "evtest /dev/input/event2" generates keyboard events. This is exciting for me because I'd like to use the kindle as a writing device.

I don't see the required (i think) "keybdev.ko" in the zip (see http://www.linux-usb.org/USB-guide/x194.html ) so not sure if that's built into the kernel or what.
edrex is offline   Reply With Quote
Old 03-10-2020, 07:29 AM   #98
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
And the winner is:
"or what"


Not needed by Kindle, so not built by Amazon.
You get to build it yourself (from the Amazon sources).
knc1 is offline   Reply With Quote
Old 03-11-2020, 08:57 PM   #99
coplate
Guru
coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.coplate ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 1888888
Join Date: Jun 2009
Device: prs-505, Kindle Keyboard 3g, PW3
Quote:
Originally Posted by glasnost View Post
Hi Coplate!

Sorry to necro this old thread, but is there any chance that you have finished work on this module? I've checked your github, but didn't see it...

I'm still quite interested :-)

Thanks
I haven't been hanging out here too much lately, got back into my woodworking instead, but everything I did do on that is here:
https://github.com/coplate/HotswapInput

It worked when I uploaded it, but special attention probably needs to be paid to the `makexconfig` script. they probably updated that.

I think my last post here with the thing just connecting and disconnecting was a problem using the factory version, but I can't really remember.
coplate is offline   Reply With Quote
Old 04-28-2020, 05:47 PM   #100
erdosain9
Member
erdosain9 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Apr 2016
Device: Kindle 3.4.2 (keyboard)
Hi. Im interested in having keyboard support (via OTG Y) on a Kindle 3 (with keyboard)... i can do something???
Thanks
erdosain9 is offline   Reply With Quote
Old 11-17-2020, 11:00 AM   #101
Papzap
Junior Member
Papzap began at the beginning.
 
Papzap's Avatar
 
Posts: 9
Karma: 10
Join Date: Nov 2020
Device: Kindle
Hey, I'm new here.

can someone be so kind as to give a final post for this thread which explains how to do everything?

thanks if you reply. It would make me very happy.
Papzap is offline   Reply With Quote
Old 04-07-2021, 04:06 AM   #102
atonement
Zealot
atonement began at the beginning.
 
Posts: 107
Karma: 10
Join Date: Feb 2015
Location: India
Device: Kindle PW3
Works well in a JB KPW3 running 5.10.3.
atonement is offline   Reply With Quote
Old 09-03-2021, 03:52 PM   #103
Abulafia81
Junior Member
Abulafia81 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2021
Device: Kindle Voyage
Quote:
Originally Posted by atonement View Post
Works well in a JB KPW3 running 5.10.3.
Hi, I have a jb kindle voyage (firmware 5.13.1) with kual and
Usbotgmouse works well also in my device. But how can install a full working mouse with pointer?
I've downloaded also Coplate's folder cursor2.zip and extracted it first in extensions folder and then in kindle's root but nothing happen.
Thanks and sorry for my bad english.
Abulafia81 is offline   Reply With Quote
Old 12-30-2021, 02:05 AM   #104
atonement
Zealot
atonement began at the beginning.
 
Posts: 107
Karma: 10
Join Date: Feb 2015
Location: India
Device: Kindle PW3
Quote:
Originally Posted by Abulafia81 View Post
Hi, I have a jb kindle voyage (firmware 5.13.1) with kual and
Usbotgmouse works well also in my device. But how can install a full working mouse with pointer?
I've downloaded also Coplate's folder cursor2.zip and extracted it first in extensions folder and then in kindle's root but nothing happen.
Thanks and sorry for my bad english.
Sorry for the late reply. I didn't see your post until today. Coming to your query I would like to have a cursor on screen as well but really no idea if that's possible or not. I was disappointed that the mouse wasn't working in KOReader.
atonement is offline   Reply With Quote
Old 01-01-2022, 12:21 AM   #105
atonement
Zealot
atonement began at the beginning.
 
Posts: 107
Karma: 10
Join Date: Feb 2015
Location: India
Device: Kindle PW3
If the USB OTG service is not disabled post removing the OTG device can it result in higher idle drain?
atonement is offline   Reply With Quote
Reply

Tags
otg, usb


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tools Software Jailbreak for PW2, PW3, PW3W, KT2, KV, KOA and KT3 knc1 Kindle Developer's Corner 3376 05-31-2023 09:43 AM
USB device to turn the page arnicas Kindle Developer's Corner 23 02-20-2017 01:20 PM
CC and USB/OTG support GEB Calibre Companion 2 05-30-2015 12:24 PM
ebook android readers and usb host - otg support sasimako Which one should I buy? 4 02-18-2015 06:26 AM
USB OTG Mythic Bookeen 7 11-11-2007 12:39 PM


All times are GMT -4. The time now is 04:37 PM.


MobileRead.com is a privately owned, operated and funded community.