JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Rveal - Android TV set-top box
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> Slingbox
View previous topic :: View next topic  
Author Message
binky123
Expert


Joined: 14 Feb 2004
Posts: 1292

                    
PostPosted: Fri May 04, 2018 12:26 am    Post subject: Reply with quote

Thanks. I compared the two files and they are identical. File does show it is expecting NEC device 128.

#amlogic NEC remote
factory_code = 0x7f800001
work_mode = 0
repeat_enable = 1
repeat_delay = 40
repeat_peroid = 39
release_delay = 121
debug_enable = 1

fn_key_scancode = 0x15
left_key_scancode = 0x1c
right_key_scancode = 0x48
up_key_scancode = 0x44
down_key_scancode = 0x1d
ok_key_scancode = 0x5c
pageup_key_scancode = 0x04
pagedown_key_scancode = 0x1b

mouse_begin
0 0x1c
1 0x48
2 0x44
3 0x1d
mouse_end

key_begin
0x4d 113
0x56 114
0x4e 115
0x25 105
0x26 103
0x27 106
0x28 108
0x0d 97
0x1b 158
0x53 102
0x51 704
0x49 139
0x52 388
0x31 2
0x32 3
0x33 4
0x34 5
0x35 6
0x36 7
0x37 8
0x38 9
0x39 10
0x30 11
0x58 389
0x44 14
0xbd 122
0xbb 123
0x09 393
0x11 390
0x54 391
0x4f 392
key_end

I think we need to create an upgrade that just sends the 32-bits of NEC IR signal and doesn't do anything with repeats. I would think one click on Slingplayer GUI virtual button is like one tap of remote control. Maybe it is treating this as one tap + one repeat.

I confirmed with the Quick Play MXQ Pro file and it matches up. Thus Rveal 1 box only has these 31 functions. No need to search for any more functions.

key_begin
0x4d 113 MUTE 77
0x56 114 VOLUME_DOWN 86
0x4e 115 VOLUME_UP 78
0x25 105 DPAD_LEFT LEFT Arrow 37
0x26 103 DPAD_UP UP Arrow 38
0x27 106 DPAD_RIGHT RIGHT Arrow 39
0x28 108 DPAD_DOWN DOWN Arrow 40
0x0d 97 DPAD_CENTER SELECT/OK 13
0x1b 158 BACK 27
0x53 102 HOME 83
0x51 704 POWER 81
0x49 139 MENU 73
0x52 388 MOUSE 82
0x31 2 Digit1 49
0x32 3 Digit2 50
0x33 4 Digit3 51
0x34 5 Digit4 52
0x35 6 Digit5 53
0x36 7 Digit6 54
0x37 8 Digit7 55
0x38 9 Digit8 56
0x39 10 Digit9 57
0x30 11 Digit0 48
0x58 389 1/a 88
0x44 14 Backspace/Delete 68
0xbd 122 skip-/next- 189
0xbb 123 skip+/next+ 187
0x09 393 Red/Media 9
0x11 390 Green/Music 17
0x54 391 Yellow/Web 84
0x4f 392 Blue/App 79
key_end
Back to top
View user's profile Send private message
binky123
Expert


Joined: 14 Feb 2004
Posts: 1292

                    
PostPosted: Fri May 04, 2018 1:12 am    Post subject: Reply with quote

I recall seeing this repeat issue in the Slingbox forums here and I found this thread http://www.hifi-remote.com/forums/viewtopic.php?t=12405 that says the code is run as if it is in a Macro and the repeat count is set to 2.

I will see if there is a modified NEC1 protocol available for the Slingbox that we can use.
Back to top
View user's profile Send private message
binky123
Expert


Joined: 14 Feb 2004
Posts: 1292

                    
PostPosted: Fri May 04, 2018 1:53 am    Post subject: Reply with quote

Remote Master does support a NEC1 with no repeats. I imported this protocol and chose an alternate PID of 01 5A.

I used the following mapping(in addition to the previous mapping digits and direction keys and Select/OK):
Virtual
Button = Function
Info = Home
100 = 1/a
Red = Red/Media
Green = Green/Music
Yellow = Yellow/Web
Blue = Blue/App
White = Mouse
Cancel = Backspace/Delete
Guide = Home
Rewind = skip-/next-
FFwd = skip+/next+

C2002_PL.BIN file is at http://www.hifi-remote.com/forums/dload.php?action=file&file_id=25201
Back to top
View user's profile Send private message
binky123
Expert


Joined: 14 Feb 2004
Posts: 1292

                    
PostPosted: Fri May 04, 2018 2:36 am    Post subject: Reply with quote

I forgot to change the device/subdevice numbers before building the C2002_PL.bin. I've since changed to use device=254 subdevice=1 to generate the fixed data bytes of 0x80 and 0x7F. I've uploaded a new C2002_PL.BIN and replaced the old one at the same location in the previous msg.
Back to top
View user's profile Send private message
widlarphan



Joined: 28 Apr 2018
Posts: 26

                    
PostPosted: Fri May 04, 2018 2:59 am    Post subject: Reply with quote

Thank a lot, binky123. It DID improve a lot with the new 2002 BIN, about 75 percent of the time it CORRECTLY goes 1 space to the right or left, and 25 percent it still double spaces to the right or left with only 1 press on the virtue button, compared to before with the last 2001 BIN, it 100 percent ALWAYS WRONGLY double spacing and ALWAYS skips some functions in some menu like the TRANSPORT menu where we CANNOT temporarily rearrange the icons order from left to right for the highlighted field to be on the cursor hit to execute the function like the home screen, we can temporarily do that, then later rearrange the icons order from left to right when we have done the execution of the highlighted field. Now, at least sometimes if it malfunctions to skip to 2 spacing, we can re do a few times then it will be corrected eventually rather then it CANNOT be correctly go 1 space with the last 2001 BIN !! I think we are getting a lot closer from 90 percent to 95 percent to perfection with the new 2002 BIN file, and it causes by the Slingbox as you said because the Vulkano box has NEVER had this double execution problem. Thank a lot for your great help
_________________
Loc V Phan
Back to top
View user's profile Send private message
widlarphan



Joined: 28 Apr 2018
Posts: 26

                    
PostPosted: Fri May 04, 2018 5:40 am    Post subject: Reply with quote

binky123, something wrong in your VERY LATEST device/subdevice numbers edited BIN file, AFTER I uploaded and OVERWROTE it OVER the SAME file name into my Slingbox, then my Slingbox does NOT response to ANY virtue button on ANY function at all; lucky enough that I re uploaded an OLD copy of this SAME name file 2002 BEFORE you changed the device/subdevice number version FROM my Windows 10 PC Recycle Bin, then it starts to work again !!!
_________________
Loc V Phan
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Fri May 04, 2018 9:06 am    Post subject: Reply with quote

binky123 wrote:
I forgot to change the device/subdevice numbers before building the C2002_PL.bin. I've since changed to use device=254 subdevice=1 to generate the fixed data bytes of 0x80 and 0x7F. I've uploaded a new C2002_PL.BIN and replaced the old one at the same location in the previous msg.

You lost me here, why did you do that? This device is device=128, sub-device is blank
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
widlarphan



Joined: 28 Apr 2018
Posts: 26

                    
PostPosted: Fri May 04, 2018 10:09 am    Post subject: Reply with quote

The Robman and binky123, I think binky123 version 2002 BEFORE the sub-device version OVERWRITTEN with same name file 2002, with NO REPEAT set adjusted, AND with added custom 22 through custom 26 buttons, IS the 100 PERCENT working version BIN, please DO RESTORE it because that 100 PERCENT working version is now already OVERWRITTEN by the same name file with the sub-device adjusted NON working version, because a few times that left and right cursors still skip jump ARE caused by the FLAKY design interaction between the hardware design of the Slingbox, NOT caused by the coding OR the streaming Rveal1 TV box, as I totally RESET the Slingbox by the back of the Slingbox needle push in pin to default factory THEN re set up the Slingbox from scratch, and now the skip jump cursor rarely happens, NOW only once a while it does NOT response to left and right cursor push, so we must push the button again, then it jumps twice because it remembers its catch. This IS a Design FLAW in the FLAKY HARDWARE virtue remote control of the Slingbox, NOT by the SOFTWARE coding at all; The Vulkano is A LOT better in this are as it NEVER ever has problems in this area, AND it offers code learning capability BUT now Vulkano remote server NO longer exists, AND the Slingbox HARDWARE DESIGN interaction with virtue remote control IS FLAKY in this area AND Slingplayer DID remove its code learning capability AFTER Slingplayer version 1.4 !!! The previous binky123's 100 percent overwritten WORKING 2002 version which I re uploaded from my Windows 10 Recycle Bin Desktop PC ONLY lacks of a USEFUL feature: PAGE UP & PAGE DOWN functions that the PHYSICAL IR palm remote DOES have, so in some menu, we must push the single arrow up, single arrow down buttons 50 times or more, to get to the item we do want in a list of linked TV channels !!! That 100 percent working version file does have custom 22 through 26 buttons that currently only makes the Rveal 1 streaming box go into some weird sub-directory in Android System !!! So if we can find a way to add a PAGE UP & PAGE DOWN function buttons to OVERWRITE the 2 custom buttons behavior, from custom 22 through 26, then it IS really a great plus !!! Please DO RESTORE the LAST fully working version BIN, AND give the new version a DIFFERENT name to differentiate it. Thank a lot binky123 AND The Robman for your great efforts to get us to this successful point, and best regards
_________________
Loc V Phan


Last edited by widlarphan on Fri May 04, 2018 10:56 am; edited 2 times in total
Back to top
View user's profile Send private message
binky123
Expert


Joined: 14 Feb 2004
Posts: 1292

                    
PostPosted: Fri May 04, 2018 10:32 am    Post subject: Reply with quote

You are right. I put back the old one. I didn't have time to test it yesterday and was able to test it today and confirmed it is generating the correct signal and only once with no repeat section.
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Fri May 04, 2018 12:25 pm    Post subject: Reply with quote

binky123 wrote:
You are right. I put back the old one. I didn't have time to test it yesterday and was able to test it today and confirmed it is generating the correct signal and only once with no repeat section.

I see what you were trying to do now. Keep in mind that most UEI executors are COMP'd, so the hex that you feed into the executor isn't necessarily the same hex that other applications might use to represent the same signal. Also, some of them reverse the bits for LSB signals, whereas UEI represents them "as is".
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
widlarphan



Joined: 28 Apr 2018
Posts: 26

                    
PostPosted: Fri May 04, 2018 12:59 pm    Post subject: Reply with quote

For information, Slingplayer and Slingbox remote server WILL be discontinued in the near future soon, just a matter of when NOT if, because Sling already DID discontinue ALL Slingbox models manufacturing AND selling, like the Vulkano remote server already did. Please DO read the link below and can be google search from many other reliable sources on the Internet too. So in the near future, we all must look SOON for any reliable and cheap OR free OR 1 time cost, to replace it to stream AND MOST IMPORTANTLY to remote control by buttons menu-like, video from our home, check out the link below:
https://www.tivocommunity.com/community/index.php?threads/slingbox-is-being-discontinued-any-viable-alternatives.547408/
_________________
Loc V Phan
Back to top
View user's profile Send private message
binky123
Expert


Joined: 14 Feb 2004
Posts: 1292

                    
PostPosted: Fri May 04, 2018 2:22 pm    Post subject: Reply with quote

I did some reading on remote.conf but still don't fully understand it.

Rveal1 remote.conf has pageup_key_scancode 0x04 and pagedown_key_scancode 0x1b. 0x1b is already used for BACK.
Assigned Page Up OBC=04 and Page Down OBC=27 to CH+ and CH- buttons.
Saved as C2003_PL.bin http://www.hifi-remote.com/forums/dload.php?action=file&file_id=25203

From xiaomi thread:
Page_UP is Android 104 but no keycode assigned to it in Rveal1.
Page_DN is Android 109 same.
https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h
shows KEY_PAGEUP 104 and KEY_PAGEDOWN 109
KEY_SCROLLUP 177 and KEY_SCROLLDOWN 178
Some other remote.conf use 177 and 178 Linux scancodes but those aren't used either on Rveal1.

From https://forum.libreelec.tv/thread/2754-guide-using-a-harmony-with-amlogic-devices/
it says Android 178 is PAGE_DOWN
Android 177 is PAGE_UP

https://forum.libreelec.tv/thread/3581-create-remote-conf-from-scratch/?highlight=remote.conf
shows a remote.conf that has left_key_scancode and right_key_scancode but they are commented out.
It has this note
## 0x52 nn #MOUSE (dont use this line, key is mapped in fn_key_scancode)
so maybe key_scancode entries can be used as is.
Further down seems to suggest the scancode section is related to the Mouse but this example doesn't have
the pageup_key_scancode and pagedown_key_scancode entries.

So I think we've used most of the keycodes listed in RVeal1's remote.conf. It is the top part of the file that seems to pertain to the mouse section that refers to pageup and pagedown keycodes. I don't know how this section is used. Is it used after the Mouse keycode(assigned to White virtual button) is seen?

I have not assigned anything to the Custom22-26 buttons as far as I can see in Remote Master. Remote Master only shows Custom10-Custom19 for the Slingbox with PL target.
Back to top
View user's profile Send private message
widlarphan



Joined: 28 Apr 2018
Posts: 26

                    
PostPosted: Fri May 04, 2018 3:43 pm    Post subject: Reply with quote

Thanks, binky123. I loaded and tested your new last post BIN 2003's right above, CHANNEL+ assigned PAGE UP virtue button gives NO response, and CHANNEL- assigned PAGE DOWN virtue button just duplicates the response of the go BACK button that we already had; I noticed that might it be relating to being strange that the PHYSICAL palm optional USB - RF remote control DOES have both PHYSICALLY the PAGE UP (+) and the PAGE DOWN (-) buttons on it and these 2 buttons DO work CORRECTLY in ANY menu, but the PHYSICAL palm IR remote control does NOT have the PHYSICAL PAGE UP (+) and PAGE DOWN (-) buttons on it !!!
_________________
Loc V Phan
Back to top
View user's profile Send private message
binky123
Expert


Joined: 14 Feb 2004
Posts: 1292

                    
PostPosted: Fri May 04, 2018 4:43 pm    Post subject: Reply with quote

Thanks for testing. Do you know how to use the Mouse button assigned to the White virtual button label? Maybe you can use that to get CH+ to work.

I think another option is to edit the remote.conf file if you have root/superuser access on the Rveal1 box. You then can choose a OBC code and assign to the KEY_PAGEUP 104 and then another entry for KEY_PAGEDOWN 109. If you are able to do this, we can generate a new BIN that sends these OBC codes to the Rveal1 box.

Otherwise, that's about it for what the slingbox BIN file can do.
Back to top
View user's profile Send private message
widlarphan



Joined: 28 Apr 2018
Posts: 26

                    
PostPosted: Fri May 04, 2018 5:36 pm    Post subject: Reply with quote

Thank a lot, binky123, I think that we will have to leave it as is because I do NOT have enough knowledge like YOU, or The Robman, to understand ANY of these text lines in this file mean, and how to fix it IF I mess it up, as I just went to the .conf file and just for a try, to put in some empty spaces at the end of a line, the file text editor DID let me do that BUT then immediately came some pop up windows from the Manufacturer warning me that IF I do save my modification, and IF it is an illegal statement, it will mess up the Rveal box completely to a completely UNUSABLE box, and the Manufacturer WILL refuse to validate any warranty AND also refuse to service it, that is the Manufacturer pop up windows state, so I did exit after choose the answer option NOT to save my tried empty spaces modification !!! Thank a lot for your great efforts to get us to this point of a success BIN file !!!
_________________
Loc V Phan
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> Slingbox All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control