Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - phenigma

Pages: 1 ... 60 61 [62] 63 64 ... 110
Users / Re: Media list (grid) scroll/page down button on IR remote
« on: March 01, 2013, 10:12:46 pm »
Thanks J, agreed on just about all counts there.
Unfortunately my remote layout is also set to 'W'. In fact, for fear my template was the problem, I compared my template with the MCE Remote template side-by-side and the only difference was that the MCE Remote template had a "controlled by category" set to media director. So I set mine to the same, reboot etc but no change.

Damn.  I don't suppose you have an MCE remote to test with?   ::)

I'm pretty stymied.
All I can think of is hacking into the USBUIRT code at that section I posted - where it takes the decision about the command and outputting everything that is going on to a custom (or normal) log and then compiling that and running it on my system. Prob is, I haven't the faintest idea how to do that... actually, I do... I think I need to set up a development system or something. Somewhere in the wiki about it. I'll read up. Probably about time I contributed, eh? Necessity is a mother.

I am almost 100% that this is a config issue, the code is working, feel free to keep poking around though!  I want to check your database.  sqlCVS update everything.  Then sqlCVS diff the RemoteMapping table (under designer).  Does anything show as NEW or MOD?  Or does it say 'No changes'?
Guess that's it ^^

More and less, the 0810 instructions are the most recent but not entirely easy to follow what is going on there and some of it is not proper for 1004.   :P


Users / Re: Media list (grid) scroll/page down button on IR remote
« on: March 01, 2013, 08:53:56 pm »
You say this works for everyone (except me) - can we confirm that? Is scroll down working for you from an IR remote? Anyone else? If so, then it would certainly suggest there's something odd about my particular setup. It doesn't rule out a bug that is only exposed by my setup but the likelihood is more that my setup is the problem. I will certainly have another look at my remote template... perhaps compare it to the MCE remote template to see if there are any glaring differences other than the obvious (IR CODES!).

Yes it is working on all systems.  There is only one known bug where sometimes the SetScreenType command is not sent at all, this is not an issue on your system though.

Thanks again for your help and interest in this. I hope I'm not wasting everyone's time here with a silly mistake on my side but that's why I'm posting detail about structures and things I discover when I can in the hope that those parts of it may be useful to someone chasing down related problems in future.

I want to figure out what the heck is going one here too!   :'(

having a look at the uirt code, there is a method:
Checked at home and confirmed that when I open the music or video list, the onscreen orbiter sends the message to the UIRT to say "Set screen type" but the UIRT log shows nothing. So either my assumption is wrong above that it should be logging something when this happens or there is a problem somewhere and that command is not received by the UIRT. The UIRT log is recording other things, like the unknown IR codes it receives... just not this.

This all looks good.  The log event may not show depending on log levels, log levels are reduced to avoid filling your HD.  :)

More code exploration... in the guts of IRReceiverBase.cpp - I found the method that appears to deal with received codes and even the section that seems to implement the "remote mapping hierarchy"-
And I think that what is happening here is that the pMapKeysToMessages structure at this point first line is trying to find a match for this particular command for a specific RemoteLayout, CurrentScreen. Then, if that fails, it tries to find one for a RemoteLayout and any screen. Then, if *that* fails, it tries to find one for any RemoteLayout and a specific screen and if that fails it tries to just find a command match.

Yep.  Looks good here.

The assumption, of course, is that at this point the cRemoteLayout and m_cCurrentScreen variables are appropriately set. Who knows if that is the case or not. Presumably m_CurrentScreen is correctly set as per the CMD_Set_Screen_Type below but... who knows? Esp since that one isn't logged.
The cRemoteLayout var is set in this method but is set to a value in the m_mapRemoteLayout[] structure matched to the primary key of the remote. And I don't know where that structure is populated.

I am assuming (and fairly safely I believe) that the currentscreen is properly set.  I am wondering about the RemoteLayout for your template.  I am speculating here that perhaps the first is failing and that the second is matching causing the third to not get hit, which would prevent the proper codes from being sent.  This is my current working theory.  :)

Tshak mentioned earlier that the remotelayout is not used. If that is the case, then this would be an empty structure and presumably cRemoteLayout a null or something that would fail for the first and second itMessage assignments and drop through to the third.

I realize that tschak says that the remotelayout is not used (and he usually knows best), but it is being utilized in the function calls and *could* be causing an issue.  The mapping is then checked against the values in the RemoteMapping table which would set the appropriate command for your chup/chdn buttons to Simulate Keypress.  Everything here looks good.  I'm wondering about the RemoteLayout and if that isn't where this is falling apart, even though it is 'not used'.  I'm not at a system I can trace that through on right now though.  Will trace that a bit when I get home.  My mce remote has the remotelayout set to 'W', what is yours set for?


Users / Re: Asterisk CDR registering error.
« on: March 01, 2013, 12:52:39 am »
That should have installed a newer script with the additional entries in the config.  If it did not you may need to clear your apt cache and try the reinstall again.


Users / Re: Asterisk CDR registering error.
« on: February 28, 2013, 02:32:50 pm »
No, apt-get report did no report held back.


Code: [Select]
apt-get install --reinstall lmce-asterisk


Users / Re: Media list (grid) scroll/page down button on IR remote
« on: February 28, 2013, 02:31:05 pm »

The UIRT is working properly passing commands.  And the ScreenType is being sent.

Source code is in the lmce svn, feel free to have a look.  It's not like this just wouldn't work for one person though.  This works for everyone right now, except in certain cases where the ScreenType is not set properly.  I would look at the device template initially, then did you make any alterations to your database?

Definitely the remotemapping is not being set they way it should be.  But I'm in new territory here.


Users / Re: Asterisk CDR registering error.
« on: February 28, 2013, 04:53:47 am »
This is what i have in my The last apt-get update && upgrade is three days ago.
It's different from yours.

Your is a 5 month old version.  Did apt-get report any packages held back?


Users / Re: [Solved] Generic USB gamepad - mirrors remote?
« on: February 28, 2013, 04:40:57 am »
Okay, a couple questions. 

Was this the game pad that you were using to navigate and select from the menu?  Or something else?
Is this the machine that has the 3101 and the gamepad and the UIRT?

I only see a single Set_Screen_Type command being sent to the UIRT device.


Installation issues / Re: DB-9 to RS-232 assistance (process initialize)
« on: February 28, 2013, 12:57:24 am »
out - MD HD Intel 3.5mm
in - Sharp LCD TV - 3.5mm (paired with video signal from HDMI 6)
out - Sharp LCD TV - Red & White phono jacks
in - Sony STR-K850 Receiver

*Usually* your audio would be connected directly to your receiver, not through the television.  How have you mapped the devices in the Connection Wizard?

Do you have a device template with volume commands defined for the receiver?

My TV responds to PWR1 commands and all other commands such as change input, volume etc.  Occassionally however although the TV's onscreen display registers volume changes, the speaker volume does not change. 

Sounds like bug in the TV.   :P

There is a setting on the TV that changes audio output from fixed to variable which I have selected.  This when working is preferable as I can see on-screen evidence that my command was received.  Though I am sure it is more technical, it seems as though the TV is sending audio at different volume? to the receiver, making the volume at the 5.1 speakers go up or down without the receiver volume setting changing.

That is correct.  Nothing much more technical about it than that.

Through the resend A/V codes menu I have found that when the on-screen displayed volume does not move with the speaker volume, I can send the code "process initialize" to re-sync everything.  Sending this code resets the TV onscreen display volume to 24 and for the next few hours makes the audio commands work as desired.  This does not fix it permanently however and I hate pressing buttons I don't understand like this.  Is anyone familiar with A/V console commands who could offer me some assistance or explanation of what "process initialize" is actually doing?

What device template # did you use?   ;)


Users / Re: [Solved] Generic USB gamepad - mirrors remote?
« on: February 28, 2013, 12:27:43 am »
Lets keep this to the machine you're having issues with.

The game pad should not be treated as a remote while game_player is running.  This could be due to lack of a device template (with default button mappings causing you issue) or it could be because Set_Screen_Type commands are not reaching each of your IR devices.

The issue I am tracing is the multiple 'IR' devices that you have connected to the MD machine (3101, UIRT, Game_Pad, yes they are all 'IR category' devices).  And whether or not appropriate 'Set Screen Type' commands are reaching all of the devices.

Can you pastebin your DCERouter.log from just a bit before you launch game_player and up until you are utilizing the game pad?


Users / Re: Media list (grid) scroll/page down button on IR remote
« on: February 28, 2013, 12:16:51 am »
Hrmph.  Okay, that leads me to believe we've got seperate issues.  Lets work yours through again.  I see a command being sent from the UIRT to the Media Plugin. 

The incorrect command is being sent from your UIRT to the Media Plug-in to cause the list to scroll.  When my system scrolls the list it sends a 'Simulate Keypress' command.  Yours is sending the 'Jump Position In Playlist' command,  which is the 'track forward' command that would be sent to a playback device.

Hmm.  After looking at your logs and comparing them to mine, I think that button mapping/screen types are not set correctly in your template.  I've never touched an IR remote template so I'm in new territory there.  The screen type is being set and button presses are being passed to the Media Plug-in.  So, lets look at the template.


Users / Re: Problems With Aeon Labs Z-Stick, Fails Most Times
« on: February 27, 2013, 04:46:50 pm »
I have had good success with usb devices under virtualbox, as long as their data rates are not too high.


recommendation? (i.e. stripped-out version/alternative)

Look at mythbuntu standalone or in combination with xbmc.


Developers / Re: Raspberry Pi builder
« on: February 27, 2013, 04:39:11 pm »
Hello there, thanks for testing!

I'm glad that you have made it to the moonpi login.  That is as far as automatic setup takes you, at this point.  I expect to have automatic setup for MD functionality (without Audio/Video) working within a couple weeks and then I will be working on A/V playback.  Stay tuned!


Users / Re: Media list (grid) scroll/page down button on IR remote
« on: February 27, 2013, 04:34:29 pm »
I expect the .deb will work for you.  However, it is not the 'proper' final solution.  A step on the way to finding the actual problem.  I was seeing common issues on hybrids and thought it may be isolated to hybrids, your issue shoots that working theory but helps to narrow my search.

Let me know if it solves your issue and that will help me going forward.


Users / Re: Media list (grid) scroll/page down button on IR remote
« on: February 27, 2013, 01:35:09 pm »
Thanks jamo, that shoots down my working theory.


Pages: 1 ... 60 61 [62] 63 64 ... 110