I'm having an issue getting this to work. I've first tried with a PW2 running 5.10.1.1 with a powered USB OTG cable and the OP's specified presenter, that didn't work.
Now I'm trying with a Kindle PaperWhite 3 (2015) WiFi, Serial G090 G105 with firmware 5.9.7 with kernel "Linux kindle 3.0.35-lab126 #2 PREEMPT Tue Jul 24 06:43:56 PDT 2018 armv7l GNU/Linux" and I still can't get it to work.
I believe the Kindle is jailbroken properly and Kindle Lazy is installed properly. When I use KindleLazy to flip the screen 180 that works.
Here is what I see in /var/log/messages when I start KindleLazy and unplug/plug my OTG cable with the USB presenter dongle attached.
Code:
180401:000533 [ 341.546898] usbcore: registered new interface driver usbhid
180401:000533 [ 341.546921] usbhid: USB HID core driver
180401:000534 [ 342.627238] mousedev: PS/2 mouse device common for all mice
180401:000652 [ 420.734691] max77696_uic_isr: cancel: 0
[ 437.873475] pmic_soda_connects_notify_otg_in:391 OTG!
[ 438.102169] switch to host?
180401:000709 [ 420.932838] max77696_uic_adc_work adcval 14 in_otg 0
180401:000709 [ 437.676693] max77696_uic_isr: cancel: 0
180401:000709 [ 437.873475] pmic_soda_connects_notify_otg_in:391 OTG!
180401:000709 [ 437.951507] Unknown wakeup.(OTGSC 0x9282b20)
180401:000709 [ 438.091449]
180401:000709 [ 438.091454] Schedule OTG enumeration triggered recovery
180401:000709 [ 438.091869] max77696_uic_adc_work adcval 0 in_otg 1
180401:000709 [ 438.102169] switch to host?
180401:000710 [ 438.651189] usb 1-1: new full speed USB device number 2 using fsl-ehci
180401:000710 powerd[1985]: I lipc:evts:name=t1TimerReset, origin=com.lab126.powerd:Event sent
180401:000710 [ 438.906133] input: Genius Wireless Mouse as /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.0/input/input2
180401:000710 [ 438.909029] generic-usb 0003:0458:0189.0001: input: USB HID v1.01 Mouse [Genius Wireless Mouse] on usb-fsl-ehci.0-1/input0
180401:000710 [ 438.929010] input: Genius Wireless Mouse as /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.1/input/input3
180401:000710 [ 438.930104] generic-usb 0003:0458:0189.0002: input: USB HID v1.01 Device [Genius Wireless Mouse] on usb-fsl-ehci.0-1/input1
180401:000710 [ 438.952503] input: Genius Wireless Mouse as /devices/platform/fsl-ehci.0/usb1/1-1/1-1:1.2/input/input4
180401:000710 [ 438.956069] generic-usb 0003:0458:0189.0003: input: USB HID v1.01 Keyboard [Genius Wireless Mouse] on usb-fsl-ehci.0-1/input2
[ 446.121419] is_otg_connected() 1 audio_enumerated 1
I am using the default config.json file that came with KindleLazy.
I have KUAL, MRPI, Helper, and KindleLazy installed and that is all. The kindle has not been registered at all nor ever connected to wifi.
When I use evtest and press the up button on the remote, I get the following:
Code:
Testing ... (interrupt to exit)
Event: time 1522543786.121061, type 4 (Misc), code 4 (ScanCode), value 70052
Event: time 1522543786.121076, type 1 (Key), code 103 (Up), value 1
Event: time 1522543786.121083, -------------- Report Sync ------------
Event: time 1522543786.177029, type 4 (Misc), code 4 (ScanCode), value 70052
Event: time 1522543786.177037, type 1 (Key), code 103 (Up), value 0
Event: time 1522543786.177041, -------------- Report Sync ------------
Down Arrow:
Code:
Event: time 1522543902.441046, type 4 (Misc), code 4 (ScanCode), value 70051
Event: time 1522543902.441060, type 1 (Key), code 108 (Down), value 1
Event: time 1522543902.441066, -------------- Report Sync ------------
Event: time 1522543902.497031, type 4 (Misc), code 4 (ScanCode), value 70051
Event: time 1522543902.497040, type 1 (Key), code 108 (Down), value 0
Event: time 1522543902.497045, -------------- Report Sync ------------
Home button:
Code:
Event: time 1522543927.321053, type 4 (Misc), code 4 (ScanCode), value 7002b
Event: time 1522543927.321068, type 1 (Key), code 15 (Tab), value 1
Event: time 1522543927.321075, -------------- Report Sync ------------
Event: time 1522543927.377030, type 4 (Misc), code 4 (ScanCode), value 7002b
Event: time 1522543927.377038, type 1 (Key), code 15 (Tab), value 0
Event: time 1522543927.377043, -------------- Report Sync ------------
Update: I just noticed the side volume button the presenter does in fact change the brightness. So that works, but does not show up with evtest for some reason.
Thank you for any advice!