Solved ATV2 Long click on MENU no longer brings up Context Menu
#1
Hi,
Fore some reason the context menu no longer appears when i long-click on the MENU button on my apple tv 2 remote.

Example: I want to set the content of a file share. Normally i would long click in the folder and choose "set content type" (Im unsure what the correct name is as im no longer able to set the contents)

In stead of presenting me with a menu xbmc changes directory back up one level as if i pressed the MENU button once instead of holding the button.

I have changed the batteries on the remote without any difference.

Any help would be appriciated!
Reply
#2
move around the atv2 - might be that some other ir receiver/sender reflects the signal or something.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
I have exactly the same problems, I think since Frodo.
All press an hold actions seem to be erratic. Sometomes I have to try more than ten times to get it working once.
At First I thought, that it was a problem with my Harmony but I found the original apple remote acts exactly the same. BTW I still am using the 4.x iOS on ATV 2
I hope, there is a solution.
Thanks
Umtauscher
Reply
#4
Double Tripe Quadruple check - no ir inteferences from other ir receivers and full batteries on the apple remote. I can't reproduce those issues on 3 different atv2 here (ios4, 5 and 6).
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#5
(2013-04-21, 21:47)Memphiz Wrote: Double Tripe Quadruple check - no ir inteferences from other ir receivers and full batteries on the apple remote. I can't reproduce those issues on 3 different atv2 here (ios4, 5 and 6).
Nope!
Yesterday I checked again and found some additional hints:
1. I have 2 ATVs, both using the same iOS and the same XBMC, only one has the problem.
2. The ATV that has the problem works fine in Lowtide. I can tell from watching the white LED. As soon al I enter XBMC a long press doesn't dim the white LED any more. When I leave XBMC it works again.
3. Also the cursor repeat doesn't work on the affected ATV.

So obviously there is something "switched" when XBMC starts that also affects the capabilities of the underlying OS.
What setting does XBMC change in the OS that could stop the repeat?
Thanks

Umtauscher
Reply
#6
Change remote batteries. It happened to me
Reply
#7
(2013-04-23, 16:39)baruchin Wrote: Change remote batteries. It happened to me
I have already tried 3 different remotes.
And changing from Lowtide to XBMC will certainly not change anything about batteries.
Reply
#8
You could try try adding a joystick.Appleremote.xml into your userdata folder. that way you'll know its not a keymapping issue. The file needs to go in private/var/mobile/library/preferences/XBMC/userdata/keymaps.

you'll need to exit give xbmc a kick.

<!-- This file contains the mapping of keys (gamepad,remote and keyboard) to actions within XBMC -->
<!-- The <global> section is a fall through - they will only be used if the button is not -->
<!-- used in the current window's section. Note that there is only handling -->
<!-- for a single action per button at this stage. -->
<!-- For joystick/gamepad configuration under linux/win32, see below as it differs from xbox -->
<!-- gamepads. -->

<!-- The format is: -->
<!-- <device> -->
<!-- <button id="#">xbmc action</button> -->
<!-- </device> -->

<!-- To map keys from other remotes using the RCA protocol, you may add <universalremote> blocks -->
<!-- In this case, the tags used are <obc#> where # is the original button code (OBC) of the key -->
<!-- You set it up by adding a <universalremote> block to the window or <global> section: -->
<!-- <universalremote> -->
<!-- <obc45>Stop</obc45> -->
<!-- </universalremote> -->

<!-- Note that the action can be a built-in function. -->
<!-- eg <button id="6">XBMC.ActivateWindow(Favourites)</button> -->
<!-- would bring up Favourites when the button with the id of 6 is press. In this case, "Menu" -->

<!-- -->
<!-- Button Ids: -->
<!-- 'id' is the button ID used by SDL. The button ids recognized from your remote appears -->
<!-- in /var/log/syslog on the ATV2 for each button pressed and when debug mode is enabled -->
<!-- Use your log to discover and map custom buttons to actions. -->

<keymap>
<global>
<joystick name="AppleRemote">
<!-- plus --> <button id="1">Up</button>
<!-- minus --> <button id="2">Down</button>
<!-- left --> <button id="3">Left</button>
<!-- right --> <button id="4">Right</button>
<!-- center --> <button id="5">Select</button>
<!-- menu --> <button id="6">Back</button>
<!-- hold center--> <button id="7">Fullscreen</button>
<!-- hold menu --> <button id="8">ContextMenu</button>

<!-- old buttons for ATV1 <2.2, used on OSX -->
<!-- hold left --> <button id="9">Left</button>
<!-- hold right --> <button id="10">Right</button>

<!-- new aluminium remote buttons -->
<!-- play/pause --> <button id="12">Play</button>

<!-- Additional buttons via Harmony Apple TV remote profile - these are also the learned buttons on Apple TV 2gen-->
<!-- pageup --> <button id="13">PageUp</button>
<!-- pagedown --> <button id="14">PageDown</button>
<!-- pause --> <button id="15">Pause</button><!-- work? -->
<!-- play2 --> <button id="16">Play</button>
<!-- stop --> <button id="17">Stop</button>
<!-- fast fwd --> <button id="18">FastForward</button><!-- work? -->
<!-- rewind --> <button id="19">Rewind</button>
<!-- skip fwd --> <button id="20">SkipNext</button>
<!-- skip back --> <button id="21">SkipPrevious</button>

<!-- Learned remote buttons (ATV1 >2.3) -->
<!-- Play --> <button id="70">Play</button>
<!-- Pause --> <button id="71">Pause</button>
<!-- Stop --> <button id="72">Stop</button>
<!-- Previous --> <button id="73">SkipPrevious</button>
<!-- Next --> <button id="74">SkipNext</button>
<!-- Rewind --> <button id="75">Rewind</button>
<!-- Forward --> <button id="76">FastForward</button>
<!-- Return --> <button id="77">OSD</button>
<!-- Enter --> <button id="78">ShowVideoMenu</button>

<!-- few gestures from Apple's iPhone Remote (ATV1 > 2.3 ?) -->
<!-- SwipeLeft --> <button id="80">Left</button>
<!-- SwipeRight --> <button id="81">Right</button>
<!-- SwipeUp --> <button id="82">Up</button>
<!-- SwipeDown --> <button id="83">Down</button>

<!-- FlickLeft --> <button id="85">Left</button>
<!-- FlickRight --> <button id="86">Right</button>
<!-- FlickUp --> <button id="87">Up</button>
<!-- FlickDown --> <button id="88">Down</button>

</joystick>
</global>
<Home>
<joystick name="AppleRemote">
<button id="6">XBMC.ActivateWindow(Favourites)</button>
<button id="8">ActivateWindow(shutdownmenu)</button>
</joystick>
</Home>
<FullscreenVideo>
<joystick name="AppleRemote">
<button id="1">BigStepForward</button>
<button id="2">BigStepBack</button>
<button id="3">StepBack</button>
<button id="4">StepForward</button>
<button id="5">Info</button>
<button id="6">Stop</button>
<button id="7">OSD</button>
<button id="8">Fullscreen</button>
<button id="9">Rewind</button>
<button id="10">FastForward</button>
<button id="12">Pause</button>
<!-- pageup --> <button id="13">BigStepForward</button>
<!-- pagedown --> <button id="14">BigStepBack</button>
<!-- SwipeLeft --> <button id="80">StepBack</button>
<!-- SwipeRight --> <button id="81">StepForward</button>
<!-- SwipeUp --> <button id="82">BigStepForward</button>
<!-- SwipeDown --> <button id="83">BigStepBack</button>
<!-- FlickLeft --> <button id="85">Rewind</button>
<!-- FlickRight --> <button id="86">FastForward</button>
<!-- FlickUp --> <button id="87">BigStepForward</button>
<!-- FlickDown --> <button id="88">BigStepBack</button>
</joystick>
</FullscreenVideo>
<FullscreenLiveTV>
<joystick name="AppleRemote">
<button id="3">ChannelDown</button>
<button id="4">ChannelUp</button>
<!-- pageup --> <button id="13">ChannelUp</button>
<!-- pagedown --> <button id="14">ChannelDown</button>
</joystick>
</FullscreenLiveTV>
<Visualisation>
<joystick name="AppleRemote">
<button id="1">VolumeUp</button>
<button id="2">VolumeDown</button>
<button id="3">SkipPrevious</button>
<button id="4">SkipNext</button>
<button id="5">Pause</button>
<button id="6">Fullscreen</button>
<button id="7">OSD</button>
<button id="8">Stop</button>
<!-- SwipeLeft --> <button id="80">SkipPrevious</button>
<!-- SwipeRight --> <button id="81">SkipNext</button>
<!-- FlickLeft --> <button id="85">SkipPrevious</button>
<!-- FlickRight --> <button id="86">SkipNext</button>
</joystick>
</Visualisation>
<SlideShow>
<joystick name="AppleRemote">
<button id="1">ZoomIn</button>
<button id="2">ZoomOut</button>
<button id="3">PreviousPicture</button>
<button id="4">NextPicture</button>
<button id="6">Stop</button>
<button id="7">Info</button>
<button id="8">Rotate</button>
<!-- SwipeLeft --> <button id="80">PreviousPicture</button>
<!-- SwipeRight --> <button id="81">NextPicture</button>
<!-- FlickLeft --> <button id="85">PreviousPicture</button>
<!-- FlickRight --> <button id="86">NextPicture</button>
</joystick>
</SlideShow>
<ScreenCalibration>
<joystick name="AppleRemote">
<button id="5">NextCalibration</button>
</joystick>
</ScreenCalibration>
<VideoOSD>
<joystick name="AppleRemote">
<button id="7">Back</button>
</joystick>
</VideoOSD>
<VideoMenu>
<joystick name="AppleRemote">
<button id="5">Select</button>
<button id="6">Stop</button>
<button id="7">OSD</button>
<button id="8"/>
</joystick>
</VideoMenu>
<MyVideoLibrary>
<joystick name="AppleRemote">
<button id="7">Info</button>
</joystick>
</MyVideoLibrary>
<MyVideoFiles>
<joystick name="AppleRemote">
<button id="7">Info</button>
</joystick>
</MyVideoFiles>
<PictureInfo>
<joystick name="AppleRemote">
<button id="3">Left</button>
<button id="4">Right</button>
<!-- SwipeLeft --> <button id="80">Left</button>
<!-- SwipeRight --> <button id="81">Right</button>
<!-- FlickLeft --> <button id="85">Left</button>
<!-- FlickRight --> <button id="86">Right</button>
</joystick>
</PictureInfo>
</keymap>
Reply
#9
Though I didn't think that this would help anything I tried it anyway.
And guess what:
It didn't change anything!

Sorry, thanks for the sugestion anyway.
Cheers
Umtauscher
Reply
#10
xbmc doesn't change anything to the os beside disabling suspend and screensaver ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#11
Thats odd. Could it be the OS changes something by itsself when starting XBMC maybe caused by some internal app properies?
I'm just speculating....
It is quite obvious that that no key dims the led when keeping it pressed. After I leave XBMC the ATV acts normal again.
Its just like something would turn the key-repeat off.

I would hate to have to reflash/jailbreak the ATV just because of a minor glitch.

BTW I already went to 12.0 and back to 12.1 with no change
Reply
#12
No no no. There is no code in XBMC which would be able to disable key repeat or key hold. There is not such API for doing it. And even if there was i would have needed to code a bunch of code for calling such methods. I swear i didn't implement something like that - neither implicitly nor explicitly.

And the fact that one atv2 works - the other don't - when both run the same version of ios and xbmc makes me feel that there is some other lib involved in the problem (maybe one of those jb libs beigelist, mobilesubstrate or what not - got updated via nitotv on the one but not on the other atv2?).

Well if this was a generic problem because of evil code in XBMC my flat would be filled up by trouts already.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#13
Thanks for your response.
Do you have any suggestion on how to clean the device from such libraries the best possible way?
Reply
#14
Re-jailbreak is pretty much your only shot..
Reply
#15
You can't clean them - they are needed for all 3rd party jailbreak apps like XBMC. Its just a matter of having the "right" version. Normally the version which is there after a jailbreak works ok. So i never (NEVER!) update anything on my atv2 devices after jailbreak - just XBMC itself. Because the jb devs tend to break stuff in them from time to time.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
ATV2 Long click on MENU no longer brings up Context Menu1