View Single Post
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