Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-04-2016, 09: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, 10:54 AM   #92
knc1
99.44/100% On Holiday
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,151
Karma: 18200597
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 12:20 PM.
knc1 is offline   Reply With Quote
Advert
Old 04-07-2017, 10:10 AM   #93
greentea
Member
greentea began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2015
Device: PW2, PW3, KOA2
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, 01: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: 633
Karma: 1512746
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, 09: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: 633
Karma: 1512746
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, 03: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
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 3350 09-12-2019 08:05 AM
USB device to turn the page arnicas Kindle Developer's Corner 23 02-20-2017 02:20 PM
CC and USB/OTG support GEB Calibre Companion 2 05-30-2015 01:24 PM
ebook android readers and usb host - otg support sasimako Which one should I buy? 4 02-18-2015 07:26 AM
USB OTG Mythic Bookeen 7 11-11-2007 01:39 PM


All times are GMT -4. The time now is 12:30 PM.


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