BTW this "kernel" module is the drivers. An opaque blob of binary code made by the manufacturer. It is NOT code from the kernel itself.
Android with IR port as remote control
Re: Android with IR port as remote control #21
Posted 6 March 2020 - 17:37
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: Android with IR port as remote control #22
Re: Android with IR port as remote control #23
Posted 7 March 2020 - 09:59
Just to let you know that i have a little progress here,
1. i have built an android app which is able to send IR commands to my Solo4K, currently only RC keys.
2. i have discovered that the enigma2 does not care about toggle bit, it cares only if you press the next key in a timeframe ignoring the togglebit, ie. i am able to control togglebit
3. i am working to build an enigma2 plugin to be able to receive and display extra keys and then i need to discover their codes, basically here it comes the time consuming part....
init 2 && init 3
Re: Android with IR port as remote control #24
Posted 7 March 2020 - 10:18
Hi,
I meant the toggle bit. A lot of universal remotes have problems with it so I assume that a simple smart phone might also have problems with it.
Ralf
By the way, the original RC set the toggle bit haphazardly, without any rules, so if there exists universal remotes which have issues is not from the toggle-bit
init 2 && init 3
Re: Android with IR port as remote control #25
Posted 10 March 2020 - 09:36
Just to let you know that i have a little progress here,
1. i have built an android app which is able to send IR commands to my Solo4K, currently only RC keys.
2. i have discovered that the enigma2 does not care about toggle bit, it cares only if you press the next key in a timeframe ignoring the togglebit, ie. i am able to control togglebit
3. i am working to build an enigma2 plugin to be able to receive and display extra keys and then i need to discover their codes, basically here it comes the time consuming part....
4. i was able to encode all 255 possible commands, now i need to finalize "the scanner" the android app which will beam all 255 commands one by one, select next command, send the command and note somewhere all commands generating events
init 2 && init 3
Re: Android with IR port as remote control #26
Posted 12 March 2020 - 02:24
I have finalized my IRbaster app and sent first batch of 255 test codes, i have discovered in this batch few commands which are not implemented on my remote control as following
Attached Files
Edited by serdeliuk, 12 March 2020 - 02:25.
init 2 && init 3
Re: Android with IR port as remote control #27
Posted 12 March 2020 - 16:25
It seems that i reached a dead end here, i thought that i will be able to send commands using the third byte from the right too, the one which is always 0, but this byte is used to identify the device, if i change that byte the receiver refuse to interact because it thinks that infrared signal he receives is for another device.
So, at this point i had only the above 4 extra keys which are not much but proved my point, that it is possible
What i do not understand is why vu developers added all those events to kernel module if all of them are above 255 bits, probably reused code from other app and didn't cleaned the code, which corroborated with the play/pause bug lead me to think that they are poorly qualified to do their jobs.
However, was fun and i learned a lot about android programming and infrared communication, this is the first time i interact with them deeper than fooling around, I will create a github repo for my blaster for those ones which want to play around.
The only step to add/fix all codes is to dig into kernel module, but this is not legal
Edited by serdeliuk, 12 March 2020 - 16:25.
init 2 && init 3
Re: Android with IR port as remote control #28
Posted 12 March 2020 - 21:50
Re: Android with IR port as remote control #29
Posted 12 March 2020 - 22:17
Thanks, didn't saw, interesting project, however, i know i can use other hardware, or add a new ir port as well, actually i have one, a RTL-SDR usb stick , it has a raw ir port which helped me to read codes from my remote.
My idea was to use existing hardware, the STB IR port and any android device which have an ir port. With a simple android app anyone at any level could transform their android devices into remote control with extra keys.
From the beginning i saw the kernel module limitation which on many cases does not have extra events, in my case it had a lot, unfortunately cannot be accessed through 8bit command range provided by the ir protocol without reverse engineering the kernel module
So, back on track porting dosbox and remap keys to be used with remote control instead of keyboard...
Edited by serdeliuk, 12 March 2020 - 22:17.
init 2 && init 3
Re: Android with IR port as remote control #30
Posted 13 March 2020 - 14:06
From the Vu+ Solo4K user manual at http://www.vuplus.co...ish_D190612.pdf
It seems that the box support qwerty over IR, this means that i am missing something, i will dig around a bit then
Attached Files
init 2 && init 3
Re: Android with IR port as remote control #31
Posted 21 March 2020 - 10:10
The irBuster is ready and works as expected.
Currently it works only with RC6 mode 6A protocol with short or long customer ID, but easily can be added new/all protocols or to be modified to change the protocol
Basically you can send/set any bit from the 32 bits available, currently i am preparing a github repo to release version for anyone who want to see it in action or to review the code.
Currently it is set for Vu+ Solo4K "vu mode2 of their universal rc" andthe app can change between all 4 modes.
Best regards,
M
Attached Files
Edited by serdeliuk, 21 March 2020 - 10:14.
init 2 && init 3
Re: Android with IR port as remote control #32
Re: Android with IR port as remote control #33
Posted 21 March 2020 - 12:15
Re: Android with IR port as remote control #34
Re: Android with IR port as remote control #35
Posted 21 March 2020 - 14:02
The good have to suffer because of the bad.
We have had people in the past retroactively changing their posts, sometimes weeks later, and this forum software doesn't have the feature to block edits one there is a reply (which imho would be the best solution).
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Android with IR port as remote control #36
Posted 21 March 2020 - 21:03
All done, for anyone interested here is the repo https://github.com/serdeliuk/irBuster with source code and the android package, enjoy.
init 2 && init 3
Re: Android with IR port as remote control #37
Posted 10 May 2020 - 10:22
Hello,
I bought an original Vu+ dual IR remote, Universal and qwerty IR remote control.
Both sides are IR and each side have it's own IR transmitter led, the qwerty side has the IR led on the side of RC.
Both sides send all keys and evtest see all events generated by all keys from all sides.
However, it seems that at some point the qwerty support has been removed from Enigma2/OpenPli and i wonder if anyone knows why, for example if i open wifi network settings and try to input text from qwerty part the Enigma2 display the non-allocated key in the upper-right corner which means that the key is received but does not understand what to do with it.
I suspect that at some point the keymap.xml was altered and all qwerty kes has been removed, i think that even an usb keyboard will not work, but i am not able to test i do not own an usb keyboard.
Does anyone has any extra infos about why qwerty support is missing? Please note, both sides of RC works as expected it is an Enigma2/OpenPli issue not have all keys in keymap.xml
Best regards,
Marc
init 2 && init 3
Re: Android with IR port as remote control #38
Re: Android with IR port as remote control #39
Posted 10 May 2020 - 16:44
I have to dig deep and my memory isn't all that, but if I recall correctly, there was a driver problem, which didn't register the RC as alfanumerically capable.
And instead of fixing the driver, VU+ has hacked support into their Enigma, which we can't do, as that would break all other remotes.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Android with IR port as remote control #40
Posted 10 May 2020 - 16:49
I see, but in this case a conditional patch per MACHINE can be created if we understand what modifications has been made. The kernel driver which bring up the event0 is the same in OpenPli and Vuplus images so for sure is not that one, right?
Do you have an usb keyboard around? I wonder if the qwerty support was removed completely or just for event0
Edited by serdeliuk, 10 May 2020 - 16:51.
init 2 && init 3
11 user(s) are reading this topic
0 members, 11 guests, 0 anonymous users