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.

Topics - seagullarity

Pages: [1]
Users / ui2 menu disappearing and display alerts
« on: May 29, 2011, 01:34:06 am »
My onscreen orbiter menu2 (the popup UI) was appearing onscreen for a split second and then disappearing. I fixed the problem by simply doing a full regen of each orbiter from the web admin. Below are the error messages I was getting in my logs.

      First, I get a flood of Display Alerts:
Code: [Select]
      08      05/28/11 19:21:37.424           Received Message from 0 (unknown / ) to 33 (OnScreen Orbiter / Bedroom (Master)), type 1 id 809 Command:Display Alert, retry none, parameters: <0x71afeb90>                                                                                                                                                                   
      08      05/28/11 19:21:37.424             Parameter 9(Text): Downloading Pluto MPlayer Player done <0x71afeb90>                                                                   
      08      05/28/11 19:21:37.424             Parameter 70(Tokens): install <0x71afeb90>                                                                                               
      08      05/28/11 19:21:37.424             Parameter 182(Timeout): 5 <0x71afeb90>                                                                                                   
      05      05/28/11 19:21:37.424           The target device 33 (routed to 33) has not registered. <0xb654fb90>                                                                       
      05      05/28/11 19:21:37.475           Socket::ReceiveData 0x72322bc8 failed, bytes left 0 start: 1040000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 8 Incoming_Conn Socket 8 <0x71afeb90>                                                                                                                                                                         
      05      05/28/11 19:21:37.475           Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 8 <0x71afeb90>                                   
      05      05/28/11 19:21:37.475           TCPIP: Closing connection to -1003 (Router Dev #0) 0x72322bc8 m_Socket: -1 <0x71afeb90>                                                   
      05      05/28/11 19:21:37.475           Router::RemoveAndDeleteSocket 0x72322bc8 -1003 <0x71afeb90> 
      Then I get a flood of these:
Code: [Select]
      01      05/28/11 19:22:34.235           MediaAttributes_LowLevel::GetAttributeFromDescription PK_MediaType 7 PK_AttributeType 30 string sName * PK_Attribute_Related 0 size 1 <0x864dbb90>                                                                                                                                                                             
      08      05/28/11 19:22:34.243           Received Message from 0 (unknown / ) to Media Plug-in(10), type 1 id  819 Command:Get ID from Filename, retry none, parameters: <0x784bfb90>
      08      05/28/11 19:22:34.243             Parameter 13(Filename): /home/public/data/pictures/flickr/2011/05/24/5754364790.jpg <0x784bfb90>                                         
      05      05/28/11 19:22:34.285           Socket::ReceiveData 0x72322bc8 failed, bytes left 0 start: 1090000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 149 Incoming_Conn Socket 149 <0x77cbeb90>                                                                                                                                                                         
      05      05/28/11 19:22:34.285           Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 149 <0x77cbeb90>                                     
      05      05/28/11 19:22:34.285           TCPIP: Closing connection to -1003 (Router Dev #0) 0x72322bc8 m_Socket: -1 <0x77cbeb90>                                                   
      05      05/28/11 19:22:34.285           Router::RemoveAndDeleteSocket 0x72322bc8 -1003 <0x77cbeb90>                                                                               
      05      05/28/11 19:22:34.293           Socket::ReceiveData 0x985edfa8 failed, bytes left 0 start: 1100000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 162 Incoming_Conn Socket 162 <0x784bfb90>                                                                                                                                                                         
      05      05/28/11 19:22:34.293           Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 162 <0x784bfb90>                                     
      05      05/28/11 19:22:34.295           TCPIP: Closing connection to -1003 (Router Dev #0) 0x985edfa8 m_Socket: -1 <0x784bfb90>                                                   
      05      05/28/11 19:22:34.295           Router::RemoveAndDeleteSocket 0x985edfa8 -1003 <0x784bfb90>                                                                               
      08      05/28/11 19:22:34.302           Received Message from 0 (unknown / ) to Media Plug-in(10), type 1 id  391 Command:Add Media Attribute, retry none, parameters: <0x784bfb90>
      08      05/28/11 19:22:34.302             Parameter 5(Value To Assign): * <0x784bfb90>                                                                                             
      08      05/28/11 19:22:34.302             Parameter 122(EK_AttributeType): 30 <0x784bfb90>                                                                                         
      08      05/28/11 19:22:34.302             Parameter 145(EK_File): 5247 <0x784bfb90>

Users / pthread_mutex_trylock in DCERouter.log
« on: May 28, 2011, 01:04:47 am »
I was getting a flood of error messages in /var/log/pluto/DCERouter.log that looked like the following:

01      05/27/11 16:45:32.738           pthread_mutex_trylock returned 22  (0xaac1dcb8) (>10245) Media Plugin: MythBackEnd_Socket.cpp:132  <0x98bfeb90>

I had to scroll up to see what was above the flood of error messages. In my case, it was being caused by VDR. Since I don't use VDR, I ran "sudo apt-get remove vdr" and the problem was fixed.

Users / has dependency problems
« on: May 27, 2011, 03:46:29 am »
I'm getting the following error when I run /usr/pluto/bin/ I have run apt-get update/upgrade on both the CORE and the MD. According to dpkg -l, all of the dependencies listed below are met on both CORE and MD. It says to file a bug report, and I willl. Any other ideas? I've looked at the forums but none of the suggested fixes apply -- my sources.list doesn't really have anything wrong with it.


Code: [Select]
      #### Package pluto-orbiter failed (/tmp/tmp.JyAFY27358) - We wait 10sec and try again - to stop retrying press Ctrl-C.
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      Since you only requested a single operation it is extremely likely that
      the package is simply not installable and a bug report against
      that package should be filed.
      The following information may help to resolve the situation:
      The following packages have unmet dependencies:
        pluto-orbiter: Depends: pluto-avwizard (>= but it is not going to be installed
                       Depends: pluto-avwizard (< but it is not going to be installed
                       PreDepends: xine-ui but it is not going to be installed
      E: Broken packages

Users / [SOLVED] Forever MythTV PlugIn loading EPG data
« on: May 23, 2011, 12:58:25 am »
I could never reload my DCE router (without forcing it) because it was waiting at a screen that read: MythTV PlugIn loading EPG data

I investigated further only to find that I was receiving red bits in my /var/log/pluto/DCERouter.log that looked like this: Query failed (): INSERT INTO `capturecard`(videodevice,audiodevice,cardtype,defaultinput,hostname) VALUE (\\\\\\\\\\\\\\\'/dev/video0\\\\\\\\\\\\\\\',\\\\\\\\\\\\\\\'2\\\\\\\\\\\\\\\',\\\\\\\\\\\\\\\'HDPVR\\\\\\\\\\\\\\\',\\\\\\\\\\\\\\\'Component\\\\\\\\\\\\\\\', \\\\\\\\\\\\\\\'moon72\\\\\\\\\\\\\\\'); retry: 0

This is the "magic slashes" problem. It has actually been fixed my merkur2k!

Solution: TSCHAK explained to me that it's a problem in the dce repository. In the webadmin choose Advanced -> sqlCVS -> Update. Choose pluto_main, and then check all boxes under the DCE heading and run the update. Be aware that if you have personally customized any of your own dce pluto_main files as I had, don't worry, the update will not affect any files that you customized on your own setup.

Developers / LinuxMCE Scenarios support in Insteon PLM
« on: March 25, 2011, 08:10:09 pm »
I'm writing code so that LinuxMCE will automatically add Insteon devices that are in the same LinuxMCE scenario into an Insteon Group (by updating each insteon devices' ALDB). When the user chooses to activate that scenario it will send an Insteon Group Command (instead of sending separate individual commands to each insteon device, resulting in a staggered response).

I've got the code written that updates the ALDBs of each insteon device accordingly, based on data from pluto_main (queried through the XML_Data_Handler_Plugin).

Now there's one thing I'm trying to figure out: what kind of command should I send from LinxuMCE to the Insteon PLM drivers to trigger the Group command?

Tschak in the IRC channels has recommended the following.

<TSCHAKeee> basically, i would put the devices in a DeviceGroup
<TSCHAKeee> figure out in the plugin if the devices are part of a DeviceGroup
<TSCHAKeee> and if they all belong to the same parent interface
<TSCHAKeee> and then ask if the target interface implements an execute broadcast scenario command
<TSCHAKeee> if so, execute it, passing in the devicegroup
<TSCHAKeee> so the target device can do its mapping of devicegroup to whatever it needs to do internally

Any other thoughts on this problem?

PS: I've also fully implemented support for Insteon Motion Detectors in the Ruby GSD drivers, and I've cleaned up the code. I will commit my changes shortly.

Users / [FIX] Overlapping Buttons in Media Scenarios on UI
« on: February 16, 2011, 03:34:00 am »
Thanks for golgoj4 for this tip.

If you have the problem where media scenarios are overlapping in the UI, just go into the webadmin, choose 'media scenarios' from the left, then choose 'sort scenarios', scroll down to the room in question and simply move one up or down. Reload DCERouter and regen the orbiter and you'll be good again.

Tschak says the root of the problem has to do with a bug in UpdateEntArea that causes iOrder to get miscounted.

Users / USB-UIRT Sends Repeat Commands
« on: February 12, 2011, 02:36:38 am »
With my USB-UIRT, when I press a button on my remote control the USB-UIRT appears very sensitive to the infrared pulses and it repeats each command between one to three times, depending on how gently I can manage to press the button. If I give the button a nice fat smoosh, it definitely ends up sending the command around three times.

Is there a way to add a delay between a series of IR commands sent directly to the MD (such as arrow key commands)? I know that this feature exists for other AV Devices (DVD Player, Television, Roku Box, etc), but what about commands sent *directly to the MD*?

I have looked at the device template for the USB-UIRT, as well as the Advanced menu in the web admin, and I see no way to configure this setting. I've also looked on the USB-UIRT forums and it appears that there is no way to directly configure the USB-UIRT to add a delay between commands. In every case, it is the software utilizing the USB-UIRT that is responsible for managing the number of command repeats (in this case the software is LinuxMCE). I have also followed the logs for my USB-UIRT while sending commands, and even though the log reports only one reception of the IR code, or sometimes zero receptions, the code is repeated rapidly to the MD.

Any ideas? I suppose if I need to add a feature myself, then so be it.

Pages: [1]