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 - mhorst

Pages: [1]
1
Installation issues / LG 42LS570S & ZOTAC IONITX-A-U N330
« on: March 12, 2013, 10:24:23 pm »
I recently got a new TV and hooked it up to my MD, had a few problems with it, which I thought I should document here in case somebody else has the same problems.

First of all, I have to say that I did not keep detailed notes, so I can only say for certain what my solutions are, not how I got there, or what in between steps I took in which order.
Anyway...

The AVWizard did not detect the TV as a Full HD TV. I could select 1080, but only the upper left quarter of the screen was visible (stretched to fill the whole screen). I selected 720p in the AVWizard and corrected the problem manually by adding a Modeline to the xorg.conf file:
Code: [Select]
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
        Modeline        "1920x1080" 148.50 1920 2008 2052 2200 1080 1084 1089 11
25 +hsync +vsync
        HorizSync       30-83
        VertRefresh     58-62
EndSection
And updating the resolution of the orbiter via the WebAdmin and regenerating it.

Other than that everything seemed to work out of the box, until I noticed that the TV had to be on before the MD booted. Otherwise the X server would detect no screens and stop there.
It turns out that the X server asks the TV for some information, but if the TV does not respond (because it is turned off), then it stops with the "No Screens Detected" message. The solution for this I found at:
http://ubuntuforums.org/showthread.php?t=1851330&page=2 (Though in my case the TV was connected to DFP-1.)

Note: Adding the ConnectedMonitor option was enough to get the MD going and displaying an image, but the CustomEDID option was needed to ensure that I also had sound. The EDID file I used is attached to this post.
I noticed the LinuxMCE config scripts can add the ConnectedMonitor field to the xorg config file automatically. I'll see if I can make a patch for this. However, adding the EDID file would be trickier, I'd need help from a more experienced developer for that.

Then there is sound. For some reason no audio cards are detected. (I think this broke somewhere during an update, since I did have sound after the original AV wizard run.)
The asound.conf and xine.conf files referred to "plughw:,3" instead of "plughw:0,3" as before. I'm not sure why. For now I just updated the files by re-inserting the missing zero and setting the sound configuration to "M" (manual) via the webadmin so it doesn't get updated to the wrong value each time.

So everything seems to work fine now.

A minor thing: My MCE remote does not seem to be able to learn the On/Off, Vol Up and Vol Down commands of the LG remote. So I currently need two remotes to operate my MD. I'm still trying to find a work-around for that.

The TV has a LAN port and can be controlled via that. There are some efforts (by other people) to reverse engineer the protocol from the LG smart phone app. If this works I could add support for it to LinuxMCE. However, I as far as I can tell (at least for my model) the LAN port can not be used to turn the TV on. (A major drawback I think)

The TV does not have a serial port for control like other LG TVs, but according to http://www.lgrs232.com/ connecting an ATEN USB to serial converter could work (LG does not document for which TVs this works). I ordered one of those converters and I'll see if I can use that to control the TV with the existing LG TV template from LinuxMCE.

2
Users / Duwi 05443 z-wave wall mounted transmitter problems
« on: March 30, 2011, 10:22:47 pm »
I'm slowly expanding my z-wave home automation. I bought a wall-mounted transmitter with the intention of placing it next to my front door and using it to  change my house mode when leaving/entering the house.

I managed to include it with my Aeon labs usb stick (press the button on the stick and then press and hold the include button on the transmitter for 2seconds). After that I inserted the usb stick back into my core and did a quick reload of the router.

Unfortunately the ZWave device then crashed:

Code: [Select]
========== NEW LOG SECTION ==========
1 03/30/11 20:03:08 80 (spawning-device) Starting... 50
1 03/30/11 20:03:08 80 (spawning-device) Found /usr/pluto/bin/ZWave
01 03/30/11 20:03:08.755 TranslateSerialUSB pci0000:00/0000:00:0b.0+1 result /dev/ttyUSB0 <0xb71806c0>
36 03/30/11 20:03:08.756 Initialization... <0xb71806c0>
36 03/30/11 20:03:08.756 Open serial port /dev/ttyUSB0 <0xb71806c0>
36 03/30/11 20:03:08.778 Get version <0xb71806c0>
36 03/30/11 20:03:08.778 Get home/node id <0xb71806c0>
36 03/30/11 20:03:08.778 Get capabilities <0xb71806c0>
36 03/30/11 20:03:08.778 Get SUC node id <0xb71806c0>
36 03/30/11 20:03:08.778 Get init data <0xb71806c0>
05 03/30/11 20:03:08.780 Creating child 81 <0xb71806c0>
05 03/30/11 20:03:08.781 Note: Device manager has attached a device of type 1820 that this has no custom event handler for.  It will not fire events. <0xb71806c0>
05 03/30/11 20:03:08.781 Note: Device manager has attached a device of type 1820 that this has no custom handler for.  This is normal for IR. <0xb71806c0>
05 03/30/11 20:03:08.781 Creating child 82 <0xb71806c0>
05 03/30/11 20:03:08.781 Note: Device manager has attached a device of type 1922 that this has no custom event handler for.  It will not fire events. <0xb71806c0>
05 03/30/11 20:03:08.781 Note: Device manager has attached a device of type 1922 that this has no custom handler for.  This is normal for IR. <0xb71806c0>
05 03/30/11 20:03:08.781 Creating child 83 <0xb71806c0>
05 03/30/11 20:03:08.781 Note: Device manager has attached a device of type 1945 that this has no custom event handler for.  It will not fire events. <0xb71806c0>
05 03/30/11 20:03:08.781 Note: Device manager has attached a device of type 1945 that this has no custom handler for.  This is normal for IR. <0xb71806c0>
05 03/30/11 20:03:08.781 Creating child 89 <0xb71806c0>
05 03/30/11 20:03:08.781 Note: Device manager has attached a device of type 38 that this has no custom event handler for.  It will not fire events. <0xb71806c0>
05 03/30/11 20:03:08.781 Note: Device manager has attached a device of type 38 that this has no custom handler for.  This is normal for IR. <0xb71806c0>
36 03/30/11 20:03:08.778 receiveFunction started <0xb717fb90>
40 03/30/11 20:03:08.891 Sending job 0x88c4d20 (cb 0) - 0x1 0x3 0x0 0x15 0xe9 (#####) <0xb717fb90>
41 03/30/11 20:03:08.896 0x1 0x10 0x1 0x15 0x5a 0x2d 0x57 0x61 0x76 0x65 0x20 0x32 0x2e 0x37 0x38 0x0 0x1 0x9b (####Z-Wave 2.78###) <0xb717fb90>
36 03/30/11 20:03:08.896 Got reply to ZW_VERSION: <0xb717fb90>
01 03/30/11 20:03:08.896 ZWave Version: 2.78 <0xb717fb90>
40 03/30/11 20:03:08.999 Sending job 0x88c53f0 (cb 0) - 0x1 0x3 0x0 0x20 0xdc (### #) <0xb717fb90>
41 03/30/11 20:03:09.004 0x1 0x8 0x1 0x20 0x11 0x11 0x11 0x5d 0x1 0x9b (### ###]##) <0xb717fb90>
36 03/30/11 20:03:09.004 Got reply to ZW_MEMORY_GET_ID: <0xb717fb90>
01 03/30/11 20:03:09.004 Home id: 0x1111115d, our node id: 1 <0xb717fb90>
40 03/30/11 20:03:09.107 Sending job 0x88c5610 (cb 0) - 0x1 0x3 0x0 0x7 0xfb (#####) <0xb717fb90>
41 03/30/11 20:03:09.116 0x1 0x2b 0x1 0x7 0x3 0x7 0x0 0x0 0x0 0x1 0x0 0x1 0xfe 0x80 0xfe 0x88 0xf 0x0 0x0 0x0 0xfb 0x97 0x7f 0x82 0x7 0x0 0x0 0x80 0x0 0x80 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x47 (#+##########################################G) <0xb717fb90>
36 03/30/11 20:03:09.116 Got reply to FUNC_ID_SERIAL_API_GET_CAPABILITIES: <0xb717fb90>
01 03/30/11 20:03:09.116 SerAppV:3,r7,Manf 0,Typ 1,Prod 1 <0xb717fb90>
40 03/30/11 20:03:09.219 Sending job 0x88c5830 (cb 0) - 0x1 0x3 0x0 0x56 0xaa (###V#) <0xb717fb90>
41 03/30/11 20:03:09.226 0x1 0x4 0x1 0x56 0x1 0xad (###V##) <0xb717fb90>
05 03/30/11 20:03:09.227 Got reply to GET_SUC_NODE_ID, node: 1 <0xb717fb90>
40 03/30/11 20:03:09.327 Sending job 0x88c5a50 (cb 0) - 0x1 0x3 0x0 0x2 0xfe (#####) <0xb717fb90>
41 03/30/11 20:03:09.379 0x1 0x25 0x1 0x2 0x5 0x8 0x1d 0x81 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x3 0x1 0x4b (#%#K) <0xb717fb90>
36 03/30/11 20:03:09.380 Got reply to FUNC_ID_SERIAL_API_GET_INIT_DATA: <0xb717fb90>
40 03/30/11 20:03:09.483 Sending job 0x88f1198 (cb 0) - 0x1 0x4 0x0 0x41 0x1 0xbb (###A##) <0xb717fb90>
41 03/30/11 20:03:09.488 0x1 0x9 0x1 0x41 0x92 0x16 0x0 0x2 0x2 0x1 0x33 (###A######3) <0xb717fb90>
36 03/30/11 20:03:09.488 Got reply to FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO: <0xb717fb90>
36 03/30/11 20:03:09.488 ***FOUND NODE: 1 <0xb717fb90>
36 03/30/11 20:03:09.488 listening node <0xb717fb90>
36 03/30/11 20:03:09.488 BASIC TYPE: Static Controller <0xb717fb90>
36 03/30/11 20:03:09.489 GENERIC TYPE: Static Controller <0xb717fb90>
36 03/30/11 20:03:09.489 SPECIFIC TYPE: 0x1 <0xb717fb90>
36 03/30/11 20:03:09.492 No device capabilities for node: 1 <0xb717fb90>
36 03/30/11 20:03:09.492 Requesting node info from node 1 <0xb717fb90>
40 03/30/11 20:03:09.591 Sending job 0x88f13b8 (cb 0) - 0x1 0x4 0x0 0x41 0x8 0xb2 (###A##) <0xb717fb90>
41 03/30/11 20:03:09.595 0x1 0x9 0x1 0x41 0xd2 0x9c 0x0 0x4 0x11 0x3 0xee (###A#######) <0xb717fb90>
36 03/30/11 20:03:09.596 Got reply to FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO: <0xb717fb90>
36 03/30/11 20:03:09.596 ***FOUND NODE: 8 <0xb717fb90>
36 03/30/11 20:03:09.596 listening node <0xb717fb90>
36 03/30/11 20:03:09.596 optional functionality <0xb717fb90>
36 03/30/11 20:03:09.596 BASIC TYPE: Routing Slave <0xb717fb90>
36 03/30/11 20:03:09.597 GENERIC TYPE: Multilevel Switch <0xb717fb90>
36 03/30/11 20:03:09.597 SPECIFIC TYPE: 0x3 <0xb717fb90>
36 03/30/11 20:03:09.600 Device capabilities: 114,134,130,135,117,112,133,39,37,38 <0xb717fb90>
40 03/30/11 20:03:09.700 Sending job 0x88f15d8 (cb 0) - 0x1 0x4 0x0 0x41 0x11 0xab (###A##) <0xb717fb90>
41 03/30/11 20:03:09.703 0x1 0x9 0x1 0x41 0x12 0x96 0x0 0x1 0x1 0x1 0x33 (###A######3) <0xb717fb90>
36 03/30/11 20:03:09.704 Got reply to FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO: <0xb717fb90>
36 03/30/11 20:03:09.704 ***FOUND NODE: 17 <0xb717fb90>
36 03/30/11 20:03:09.704 sleeping node <0xb717fb90>
36 03/30/11 20:03:09.704 optional functionality <0xb717fb90>
36 03/30/11 20:03:09.704 BASIC TYPE: Controller <0xb717fb90>
36 03/30/11 20:03:09.705 GENERIC TYPE: Generic Controller <0xb717fb90>
36 03/30/11 20:03:09.705 SPECIFIC TYPE: 0x1 <0xb717fb90>
05 03/30/11 20:03:09.705 ZWave::InternalIDToDevice() No device found for id 17 <0xb717fb90>
Return code: 132
3 03/30/11 20:03:09 80 (spawning-device) Device died... count=50/50 dev=80
Wed Mar 30 20:03:09 CEST 2011 died
3 03/30/11 20:03:19 80 (spawning-device) Aborting restart of device 80...

I have no idea why the crash occurs. If a node id is not found the InternalIDToDevice function returns NULL, but as far as I can see all the clients of the function handle that case.

Anyway, after some fiddling around I got the idea to manually add a child device to my zwave device with the correct node id.
This helped, the zwave device is now starting again. The template I used is "ZWave Controller".

Now I'm still trying to figure out how to make LinuxMCE respond when I press the switch. So far no events are generated and since the switch has the z-wave capabilities 114 (manufacturer specific), 128 (battery) and 133 (association) that doesn't really suprise me.
I could associate the switch with another device and then respond to the status changed events from that device, but that seems pretty inelegant.

3
Users / Düwi 05436 z-wave blinds controller recognized as dimmer?
« on: February 02, 2011, 10:26:41 pm »
I just got my first piece of Z-wave home automation; an Aeon Labs USB stick and a Düwi blinds controller.
Getting things working was a breeze: press the button on the usb stick, press first the top button on the Düwi three times and then the bottom three times, insert the USB stick in my DCERouter, and everything is configured automatically.  ;D

Only one thing bothers me a bit: the blinds controller was recognized as a dimmer. No big deal; it still works, the On command corresponds to pressing the Up button on the module and the Off command corresponds to pressing the Down button.
Similarly setting a dimming level higher than the current level corresponds to the Up button and a lower dimming level corresponds to the Down button.
The Up and Down buttons on the module raise and lower the blinds respectively for 2 minutes, or until the end stop of the blinds has been reached, or until the button for the opposite direction is pressed.

So I can control it, it just looks a bit weird to setting a dimming level in my Orbiter, since that dimming level does not correspond to the level of the blinds at all.
Also, I cannot send it an Open or Close command, I have to send it On or Off and the effect of those commands depends on whether the blinds are already moving when the command is received. So to be sure to open or close it I have to send it the same command twice.

So, no big deal, but I was wondering what is going on.

Maybe the Düwi blinds module cannot be distinguished from a Düwi dimmer?
The wiki suggest that both the dimmer and blinds module are the same (http://wiki.linuxmce.org/index.php/D%C3%BCwi_ZW_ESJ_05436)
But the Düwi website has two distinct product numbers for the dimmer (05433) and blinds (05436) module.
Then again, the capabilities field in the webadmin shows "114,134,130,135,117,112,133,39,37,38" for my blinds module, and I found that 38 and 39 means that it is a binary & multi-level switch so I can see why LinuxMCE handles it as a dimmer.

Also, does LinuxMCE even have a device template for a blinds controller? So far I wasn't able to find it.
Or is there some way to fake it such that I can make "Open" and "Close" commands appear in the Orbiter? I guess I could make a scenario to do that, but then I wouldn't be able to put it on the floorplan.

Anyways, I don't think its a big deal. I'm just curious :)

4
Users / DLNA experiences?
« on: August 14, 2010, 01:43:49 pm »
Hello,

Its time for me to buy a new TV set and I noticed some of the new TVs support DLNA. As I understand it such TVs can be connected to the network and should be able to play media directly from the MediaTomb server that is integrated with LinuxMCE.
So I was wondering if anybody has experience with such a setup?

Particularly, assuming I'd use a separate device as orbiter, would it still be necessary to have an MD connected to the TV?

5
Installation issues / Beta 2 installation story
« on: January 03, 2010, 01:45:21 pm »
Hello,

I recently successfully reinstalled my system with the DVD of the Beta 2 release. I thought I'd share the experience.

My setup is a core with a software RAID array and a PVR-500 capture card stowed away in a closet, and a diskless Zotac ION MD in my living room.

The first time the installation went wrong, in the DVD menu I selected "Install KUbuntu".  The KUbuntu distro installed successfully, with a LinuxMCE installer link on the desktop, but the LinuxMCE installer failed. So I retried, this time selecting the option "Install LinuxMCE" at the bottom of the DVD menu.
(It would be nice if this option could be moved to the top somehow)

Installation on the core went pretty smoothly after that.

My software RAID array was detected successfully, but I had been using LVM on it (which isn't included in the install), so it couldn't be mounted.
I took the opportunity to reformat the array to ReiserFS, after which it was mounted automatically and detected as a ReiserFS system.
I used the Webadmin to set it to "Use LMCE's directory structure". The next day all the neccessary directories were there and I restored my media files from backup.
For some reason the webadmin now thinks the RAID array uses a cifs filesystem, and reports the array as "FAILED". I don't know why, but the array is still working fine (also according to mdadm), so I'm not too worried about that.

For the PVR software I selected MythTV, since I'm more familiar with it than VDR. The setup program informed me that I would have to set it up manually because there were no settings know for my location. I waited with that until I had the MD setup.
By the way, is there some way I can contribute my settings, so that other people (and myself on a future installation :) ) can benefit?

Installing the MD gave a little more problems. I ran the following commands on the core before it would work:
/usr/pluto/bin/Diskless_BuildDefaultImage.sh
/usr/pluto/bin/Diskless_CreateTBZ.sh
(I think only the last one was actually necessary)

I have the MD hooked up to my TV with a HDMI cable. So I had to press "3" once the AVWizard started to get output. After that I could set it up.
By the way, the new 195.30 drivers with VDPAU support were installed automatically, and since I read that these have additional support for alpha blending I decided to try out the UI2 with alpha blending. So far it's working great.

I use analog audio on my MD, and, I think, that also worked immediately after install.
I say "I think" because I spent a lot of time trying to get it to work before I realized the speakers (or probably amplifier) in my TV was broken. In recent weeks I had to turn up the volume of the TV to get a decent sound level out from it so it was probably already breaking down. It was just my bad luck that it happened to break down completely during the reinstall.
Anyway, after I realized this I stopped my tinkering with the config files, returned them to their original state, hooked up some external speakers (until I can get my TV fixed), and sound is working fine now.

Setting up MythTV gave the most problems. None of them have much to do with LinuxMCE, but more with my hardware and TV provider, but I thought I should document it:
I had to set the resolution in the Recording Profiles to 720x480 to get a stable picture (this is related to the PVR-500 hardware)
The start and end times of programs in may vary a bit from the schedule so I set the "RecordPreRoll" and "RecordOverTime" fields (via MythWeb) to 300 and 600 seconds respectively.
To get liveTV working in my living room I set "AlwaysStreamFiles" for my MD to "1" (see also http://forum.linuxmce.org/index.php?topic=8861.0).

To get a TV guide I use the xmltv script from http://code.google.com/p/tvgrabnlpy. I installed it using the instructions from the site.
There is a little problem however; it caches information in $HOME/.xmltv, i.e. /root/.xmltv. However, mythfilldatabase is not run as the root user (I think it is run as the user mythtv, but /usr/pluto/bin/Config_Ops.sh sets the HOME directory to /root). So it doesn't have access rights to update it's cache, and it fails in its update.
I currently fix that with a cron job, but I still have figure out what is going on exactly and then come up with a better solution.

6
Users / Orbiter crash when retrieving video list
« on: November 23, 2009, 08:08:59 pm »
Hello,

For some reason my Orbiter crashes when I select Media - Video.
The problem already occurred intermittently in the past, but recently I haven't been able to open the list of videos at all.

My experience was that this crash only occurs after my media director has rebooted. If I select Media - Video and it works, then it will stay working, otherwise it will crash immediately. Unfortunately, the last few days it always crashed :(

I suspect it may have to do with the number of video files that I have, since that is the only thing that (I think) has changed.
Because I have not yet tagged all my videos I always switched to the Filename sort order. That may explain why subsequent openings of the video list always succeeded; because of the directory structure there wouldn't be too many files in it at once.

Anyway, I don't have any problems with Media - Audio, that one always works.

I checked the logging files, but I'm not experienced enough in LinuxMCE yet to make much of them. I included the sections I think are relevant below.

The LaunchOrbiter.sh.log on the media director:
Code: [Select]
========== NEW LOG SECTION ==========
1 11/23/09 19:56:54 51 (spawning-device) Starting... 1
1 11/23/09 19:56:55 51 (spawning-device) Found /usr/pluto/bin/LaunchOrbiter.sh
05 11/23/09 19:57:00.128 will overwrite wm window id // void X11wrapper::Assign_WmWindow(Window) <0xb56ffb90>
05 11/23/09 19:57:00.153 Using masked UI? YES <0xb56ffb90>
01 11/23/09 19:57:01.896 qqq Pixmap_Create 0,0,1280,720 transparent (reset), wmwindow 0xa0000e <0xb6052b90>
05 11/23/09 19:57:01.927 Creating child 52 <0xb60936e0>
05 11/23/09 19:57:02.087 Creating child 54 <0xb60936e0>
05 11/23/09 19:57:02.152 Creating child 55 <0xb60936e0>
05 11/23/09 19:57:02.225 Creating child 56 <0xb60936e0>
05 11/23/09 19:57:02.289 Creating child 57 <0xb60936e0>
05 11/23/09 19:57:04.652 FocusOut! <0xb60936e0>
05 11/23/09 19:57:05.063 FocusIn! <0xb60936e0>
05 11/23/09 19:57:05.292 FocusOut! <0xb60936e0>
01 11/23/09 19:57:40.563 Socket::ReceiveData-a 0xb570b938 failed ret 0 <0xb424bb90>
05 11/23/09 19:57:40.563 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Event Dev #51 <0xb424bb90>
05 11/23/09 19:57:40.563 Socket::SendReceiveMessage didn't get valid response ReceiveData failed <0xb424bb90>
05 11/23/09 19:57:40.563 InternalSendCommand cannot send with return message.  type 1 id 35 to 6 Going to quit <0xb424bb90>
05 11/23/09 19:57:40.563 Orbiter reloading... <0xb424bb90>
05 11/23/09 19:57:40.563 Orbiter quiting... <0xb424bb90>
05 11/23/09 19:57:40.563 Socket::SendData socket is invalid <0xb424bb90>
05 11/23/09 19:57:40.563 Socket::SendMessage *failed to send* type 7 id 0 from 51 to 52 <0xb424bb90>
05 11/23/09 19:57:40.564 Socket::SendData socket is invalid <0xb424bb90>
05 11/23/09 19:57:40.564 Socket::SendMessage *failed to send* type 7 id 0 from 51 to 54 <0xb424bb90>
05 11/23/09 19:57:40.564 Socket::SendData socket is invalid <0xb424bb90>
05 11/23/09 19:57:40.564 Socket::SendMessage *failed to send* type 7 id 0 from 51 to 55 <0xb424bb90>
05 11/23/09 19:57:40.564 Socket::SendData socket is invalid <0xb424bb90>
05 11/23/09 19:57:40.564 Socket::SendMessage *failed to send* type 7 id 0 from 51 to 56 <0xb424bb90>
05 11/23/09 19:57:40.564 Socket::SendData socket is invalid <0xb424bb90>
05 11/23/09 19:57:40.564 Socket::SendMessage *failed to send* type 7 id 0 from 51 to 57 <0xb424bb90>
05 11/23/09 19:57:40.564 Got an on quit.  Pushing an event into SDL <0xb424bb90>
05 11/23/09 19:57:40.564 Got an on quit.  Pushing an event into SDL <0xb424bb90>
05 11/23/09 19:57:40.564 Populate datagrid: 63 failed <0xb424bb90>
05 11/23/09 19:57:40.791 XRecordExtensionHandler::recordingThreadMainFunction(): pDisplay_ControlConnection=159222696, pDisplay_DataConnection=159235296 ->Closing <0xb09fdb90>
05 11/23/09 19:57:40.792 XRecordExtensionHandler::recordingThreadMainFunction(): pDisplay_ControlConnection=159222696, pDisplay_DataConnection=159235296 ->Closed <0xb09fdb90>
05 11/23/09 19:57:45.345 Socket::SendData socket is invalid <0xb60936e0>
05 11/23/09 19:57:45.345 Socket::SendMessage *failed to send* type 1 id 255 from 51 to 9 <0xb60936e0>
05 11/23/09 19:57:45.345 InternalSendCommand cannot send with return message.  type 1 id 255 to 9 Going to quit <0xb60936e0>
05 11/23/09 19:57:45.345 Orbiter reloading... <0xb60936e0>
05 11/23/09 19:57:45.345 Orbiter quiting... <0xb60936e0>
05 11/23/09 19:57:45.345 Socket::SendData socket is invalid <0xb60936e0>
05 11/23/09 19:57:45.345 Socket::SendMessage *failed to send* type 7 id 0 from 51 to 52 <0xb60936e0>
05 11/23/09 19:57:45.345 Socket::SendData socket is invalid <0xb60936e0>
05 11/23/09 19:57:45.345 Socket::SendMessage *failed to send* type 7 id 0 from 51 to 54 <0xb60936e0>
05 11/23/09 19:57:45.345 Socket::SendData socket is invalid <0xb60936e0>
05 11/23/09 19:57:45.345 Socket::SendMessage *failed to send* type 7 id 0 from 51 to 55 <0xb60936e0>
05 11/23/09 19:57:45.345 Socket::SendData socket is invalid <0xb60936e0>
05 11/23/09 19:57:45.346 Socket::SendMessage *failed to send* type 7 id 0 from 51 to 56 <0xb60936e0>
05 11/23/09 19:57:45.346 Socket::SendData socket is invalid <0xb60936e0>
05 11/23/09 19:57:45.346 Socket::SendMessage *failed to send* type 7 id 0 from 51 to 57 <0xb60936e0>
05 11/23/09 19:57:45.346 Got an on quit.  Pushing an event into SDL <0xb60936e0>
05 11/23/09 19:57:45.346 Got an on quit.  Pushing an event into SDL <0xb60936e0>
05 11/23/09 19:57:45.830 void ClientSocket::Disconnect() on this socket: 0x972b450 (m_Socket: 16) <0xb60936e0>
Return code: 2
2 11/23/09 19:57:45 51 (spawning-device) Device requests restart... count=1/50 dev=51
Mon Nov 23 19:57:46 CET 2009 Restart

The DCERouter.log:
Code: [Select]
08      11/23/09 19:57:20.531           Received Message from 118 (ESC[36;1mmce_usb2 / Living RoomESC[0m) to 51 (ESC[36;1mOnScreen
 Orbiter / Living RoomESC[0m), type 1 id 190 Command:ESC[35;1mEnter/GoESC[0m, retry none, parameters: <0x84240b90>
08      11/23/09 19:57:20.550           Received Message from 51 (ESC[36;1mOnScreen Orbiter / Living RoomESC[0m) to 118 (ESC[36;1m
mce_usb2 / Living RoomESC[0m), type 1 id 687 Command:ESC[35;1mSet Screen TypeESC[0m, retry none, parameters: <0x7fa37b90>
08      11/23/09 19:57:20.550             Parameter 48(Value): 66 <0x7fa37b90>
08      11/23/09 19:57:20.562           Received Message from 51 (ESC[36;1mOnScreen Orbiter / Living RoomESC[0m) to 6 (ESC[36;1mDa
tagrid Plug-in / Living RoomESC[0m), type 1 id 35 Command:ESC[35;1mPopulate DatagridESC[0m, retry none, parameters: <0x779d9b90>
08      11/23/09 19:57:20.562             Parameter 4(PK_Variable): 0 <0x779d9b90>
08      11/23/09 19:57:20.562             Parameter 5(Value To Assign):  <0x779d9b90>
08      11/23/09 19:57:20.562             Parameter 10(ID): 2 <0x779d9b90>
08      11/23/09 19:57:20.562             Parameter 15(DataGrid ID): MediaFile_51 <0x779d9b90>
08      11/23/09 19:57:20.563             Parameter 38(PK_DataGrid): 63 <0x779d9b90>
08      11/23/09 19:57:20.563             Parameter 39(Options): 5||||1,2|0|13|0 | 2 | <0x779d9b90>
08      11/23/09 19:57:20.563             Parameter 40(IsSuccessful): 1 <0x779d9b90>
08      11/23/09 19:57:20.563             Parameter 44(PK_DeviceTemplate): 0 <0x779d9b90>
08      11/23/09 19:57:20.563             Parameter 60(Width): 1 <0x779d9b90>
08      11/23/09 19:57:20.563             Parameter 61(Height): 20 <0x779d9b90>
05      11/23/09 19:57:20.563           ESC[33;1mMediaBrowser parms: mediatype 5, submediatype , fileformat , attribute_genres , sources 1,2, users_private 0, attributetype_sort 13, users 0, last_viewed 2, pk_attribute ESC[0m <0x95a63b90>
05      11/23/09 19:57:20.590           ESC[33;1mPopulateFileBrowserInfoForFile : attrtype_sort 13,  subdir 0ESC[0m <0x95a63b90>
08      11/23/09 19:57:35.692           Received Message from 15 (ESC[36;1mApp Server / Closet/Storage SpaceESC[0m) to 15 (ESC[36;1mApp Server / Closet/Storage SpaceESC[0m), type 1 id 812 Command:ESC[35;1mApplication ExitedESC[0m, retry none, parameters: <0xa6a85b90>
08      11/23/09 19:57:35.692             Parameter 227(PID): 23331 <0xa6a85b90>
08      11/23/09 19:57:35.692             Parameter 228(Exit Code): 0 <0xa6a85b90>
05      11/23/09 19:57:45.824           ESC[33;1mSocket::ReceiveData 0xa75af00 failed, bytes left 0 start: 1450000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 130 Incoming_Conn Socket 130 192.168.80.2EVENT 51 T=8 Event #51ESC[0m <0x7fa37b90>
05      11/23/09 19:57:45.824           ESC[33;1mSocket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 130 192.168.80.2EVENT 51 T=8 Event #51ESC[0m <0x7fa37b90>
05      11/23/09 19:57:45.824           ESC[33;1mTCPIP: Closing connection to 51 (Router Dev #0) 0xa75af00 m_Socket: -1ESC[0m <0x7fa37b90>
05      11/23/09 19:57:45.824           ESC[33;1mRouter::RemoveAndDeleteSocket 0xa75af00 51ESC[0m <0x7fa37b90>
08      11/23/09 19:57:45.947           Received Message from 15 (ESC[36;1mApp Server / Closet/Storage SpaceESC[0m) to 15 (ESC[36;1mApp Server / Closet/Storage SpaceESC[0m), type 1 id 812 Command:ESC[35;1mApplication ExitedESC[0m, retry none, parameters: <0xa6a85b90>
08      11/23/09 19:57:45.947             Parameter 227(PID): 23316 <0xa6a85b90>
08      11/23/09 19:57:45.947             Parameter 228(Exit Code): 0 <0xa6a85b90>
08      11/23/09 19:57:50.001           Received Message from 9 (ESC[36;1mOrbiter Plug-in / Living RoomESC[0m) to 15 (ESC[36;1mApp Server / Closet/Storage SpaceESC[0m), type 1 id 67 Command:ESC[35;1mSpawn ApplicationESC[0m, retry retry, parameters: <0xac290b90>
08      11/23/09 19:57:50.001             Parameter 13(Filename): /usr/pluto/bin/flickr.pl <0xac290b90>
08      11/23/09 19:57:50.001             Parameter 50(Name): screen_saver_flickr.pl <0xac290b90>
08      11/23/09 19:57:50.001             Parameter 51(Arguments): 100  1000    700      <0xac290b90>
08      11/23/09 19:57:50.001             Parameter 94(SendOnFailure):  <0xac290b90>
08      11/23/09 19:57:50.001             Parameter 95(SendOnSuccess):  <0xac290b90>
08      11/23/09 19:57:50.001             Parameter 115(Show logo): 0 <0xac290b90>
08      11/23/09 19:57:50.001             Parameter 120(Retransmit): 0 <0xac290b90>
08      11/23/09 19:57:50.001             Parameter 126(Exclusive): 0 <0xac290b90>
08      11/23/09 19:57:50.001             Parameter 241(Detach): 0 <0xac290b90>
08      11/23/09 19:57:50.004           Received Message from 9 (ESC[36;1mOrbiter Plug-in / Living RoomESC[0m) to 15 (ESC[36;1mApp Server / Closet/Storage SpaceESC[0m), type 1 id 67 Command:ESC[35;1mSpawn ApplicationESC[0m, retry retry, parameters: <0xac290b90>
08      11/23/09 19:57:50.004             Parameter 13(Filename): /usr/pluto/bin/getxmls <0xac290b90>
08      11/23/09 19:57:50.004             Parameter 50(Name): getxmls <0xac290b90>
08      11/23/09 19:57:50.004             Parameter 51(Arguments):  <0xac290b90>
08      11/23/09 19:57:50.004             Parameter 94(SendOnFailure):  <0xac290b90>
08      11/23/09 19:57:50.004             Parameter 95(SendOnSuccess):  <0xac290b90>
08      11/23/09 19:57:50.004             Parameter 115(Show logo): 0 <0xac290b90>
08      11/23/09 19:57:50.004             Parameter 120(Retransmit): 0 <0xac290b90>
08      11/23/09 19:57:50.004             Parameter 126(Exclusive): 0 <0xac290b90>
08      11/23/09 19:57:50.004             Parameter 241(Detach): 0 <0xac290b90>
08      11/23/09 19:57:50.242           Received Message from 15 (ESC[36;1mApp Server / Closet/Storage SpaceESC[0m) to 15 (ESC[36;1mApp Server / Closet/Storage SpaceESC[0m), type 1 id 812 Command:ESC[35;1mApplication ExitedESC[0m, retry none, parameters: <0xa6a85b90>
08      11/23/09 19:57:50.242             Parameter 227(PID): 23713 <0xa6a85b90>
08      11/23/09 19:57:50.242             Parameter 228(Exit Code): 0 <0xa6a85b90>
01      11/23/09 19:57:50.586           ESC[31;1mSocket::ReceiveData-a 0xa715438 failed ret 0ESC[0m <0x779d9b90>
05      11/23/09 19:57:50.597           ESC[33;1mSocket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 97 127.0.0.1 dev 6ESC[0m <0x779d9b90>
01      11/23/09 19:57:50.597           ESC[31;1mSocket 0xa715438 failure waiting for response to message from device 6 type 1 id 35ESC[0m <0x779d9b90>
01      11/23/09 19:57:50.597           ESC[31;1mPlugin 6 stopped respondingESC[0m <0x779d9b90>
05      11/23/09 19:57:50.597           ESC[33;1mSender: 51 sent message type: 1 ID: 35 and expected a message reply from 6ESC[0m <0x779d9b90>
05      11/23/09 19:57:50.597           ESC[33;1mSocket::ReceiveData 0xa788508 failed, bytes left 0 start: 1490000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 146 Incoming_Conn Socket 146 192.168.80.2EVENT 51 T=8 Event #51ESC[0m <0x779d9b90>
05      11/23/09 19:57:50.597           ESC[33;1mSocket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 146 192.168.80.2EVENT 51 T=8 Event #51ESC[0m <0x779d9b90>
05      11/23/09 19:57:50.597           ESC[33;1mTCPIP: Closing connection to 51 (Router Dev #0) 0xa788508 m_Socket: -1ESC[0m <0x779d9b90>
05      11/23/09 19:57:50.597           ESC[33;1mRouter::RemoveAndDeleteSocket 0xa788508 51ESC[0m <0x779d9b90>

<snip (a list of all my media)>

05      11/23/09 19:57:51.339           ESC[33;1mGot a reload command from 0 ESC[0m <0x9a26cb90>
05      11/23/09 19:57:51.339           ESC[33;1mGot a reload command from 0 ESC[0m <0x98a69b90>
05      11/23/09 19:57:51.339           ESC[33;1mGot a reload command from 0 ESC[0m <0x97266b90>
05      11/23/09 19:57:51.340           ESC[33;1mSocket::SendData socket is invalidESC[0m <0xb6def6c0>
05      11/23/09 19:57:51.340           ESC[33;1mSocket::SendMessage *failed to send* type 7 id 1 from 0 to 6ESC[0m <0xb6def6c0>
05      11/23/09 19:57:51.340           ESC[33;1mGot a reload command from 0 ESC[0m <0x94260b90>
05      11/23/09 19:57:51.340           ESC[33;1mGot a reload command from 0 ESC[0m <0x92a5db90>
05      11/23/09 19:57:51.341           ESC[33;1mGot a reload command from 0 ESC[0m <0x8d252b90>
05      11/23/09 19:57:51.341           ESC[33;1mGot a reload command from 0 ESC[0m <0x8ba4fb90>
05      11/23/09 19:57:51.342           ESC[33;1mGot a reload command from 0 ESC[0m <0x8a24cb90>
05      11/23/09 19:57:51.342           ESC[33;1mGot a reload command from 0 ESC[0m <0x88248b90>
05      11/23/09 19:57:51.346           ESC[33;1mGot a reload command from 0 ESC[0m <0x86a45b90>
05      11/23/09 19:57:51.348           ESC[33;1mGot a reload command from 0 ESC[0m <0x7e21ab90>
05      11/23/09 19:57:51.350           ESC[33;1mGot a reload command from 0 ESC[0m <0x9125ab90>
05      11/23/09 19:57:51.436           ESC[33;1mSocket::ReceiveData 0xa462370 failed, bytes left 0 start: 1600000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 96 Command_Impl1 Dev #6ESC[0m <0x95a63b90>
05      11/23/09 19:57:51.436           ESC[33;1mSocket::ReceiveString2 ReceiveData failed m_Socket: -1 Command_Impl1 Dev #6ESC[0m <0x95a63b90>
01      11/23/09 19:57:51.436           ESC[31;1mReceive string failed in HandleRequestSocket 18:ReceiveData failed Command_Impl1 Dev #6ESC[0m <0x95a63b90>
05      11/23/09 19:57:51.450           ESC[33;1mDumping 104 locksESC[0m <0x95a63b90>
05      11/23/09 19:57:51.450           ESC[33;1mfinished check for exceptionsESC[0m <0x95a63b90>
05      11/23/09 19:57:51.450           ESC[33;1mOL: (0x9febf14) (>2) messagequeue DCERouter.cpp l:1862 time: 1:00:00a (1259002671 s) thread: 3068062608 Rel: Y Got: YESC[0m <0x95a63b90>

Any insights would be appreciated :)

7
Users / Selecting a set of screensaver pictures
« on: November 10, 2009, 08:03:19 pm »
Hello,

I have a quick question; is it possible to make a kind of playlist for pictures and select the one you want to use for a screen saver?

The reason I'm asking is because I have my regular set screensaver pictures, and a set of pictures I want to show during a party, and I'd like to switch between the two, without having to select each individual picture from the set in the webadmin.

If not I guess I'll just use some shell scripting and SQL commands.

Thanks.

8
Users / Quirks?
« on: September 13, 2009, 12:39:43 am »
Hello,

I'm new to LinuxMCE, and quite impressed by it. I've been playing with it for about two weeks now, and I noticed some quirks. Probably because I don't understand LinuxMCE yet, but possibly caused by my tinkering.

So I wondered if anybody else noticed the same things. So here goes:
- When I log in on the core as "mhorst" (the account I used during the Ubuntu setup) and then SSH to one the media directors, I my user id suddenly becomes "sambahelper". When I try "su mhorst", I still end up in the sambahelper account.
- The sambahelper account does not seem to have sudo rights, unlike the mhorst account. Combined with the previous quirk that severely limited my ability to do anything on the media directors. My workaround is currently to enable the root account on the core, and then SSH as root to the media director.

- In the AV setup wizard I indicated the boundaries of my screen (my TV only displays 91% of the actual screen), but mythTV still tries to use the full screen. Strangely MythTV setup does seem to use the boundaries.
- The previous quirk wouldn't be much of an issues since there is a "Screen Setup Wizards" option in the "Utilities / Setup" - "Setup" menu of MythTV. Unfortunately, that wizard doesn't seem to have any effect.

- I also suspect Xine tries to use the full screen, and not the boundaries I set in the AV wizard. At least, I had to set the subtitle offset to 30, exactly the number of pixels that falls off the bottom of my TV.
- Some subtitles seem to work in Xine and some don't. Subtitles in ".srt" files work. Subtitles in ".idx"/".sub" files don't seem to work. I haven't tried any other subtitle format yet. I guess it's just a matter of setting the right values in /etc/pluto/xine.conf, but I haven't found them yet.

I'll continue to experiment to see if I can find a way around these things. But before I put too much time in them, I thought I should ask if anybody else has notices and/or solved the same things.

EDIT:
Oh and one I alsmost forgot:
- I use the tv_grab_nl_py script to get my TV listings. It uses a cache, which is stored in /root/.xmltv/program_cache. Somehow, during a mythfilldatabase run it doesn't have rights to modify this cache, and it fails. It is supposed to use the home directory of the user that starts it for caching, so I don't get how it is possible that it does not have the rights to remove that file. For now I have to work around this by manually running mythfilldatabase as root.

9
Installation issues / Can't get live TV since upgrade (solved)
« on: September 13, 2009, 12:09:43 am »
Hello,

I'm new to LinuxMCE. I decided to try it out at the start of september, and so far I'm impressed.
Since the upgrade from 4 september though, I could no longer watch live TV.
I was planning on asking for help, but as I was writing this post and collecting and organizing the info I had so far, I thought of a few things I could still try and I managed to fix it by myself.
So, this post is just in case somebody else may have the same problems.

My setup: I have a core with a PVR-500 capture card in a storage closet, and a Zotac Ion board as a media director in my living room.
The problem I had: When I went to Media-TV the mythtv frontend is started, but it stays black for a while. Eventually linuxMCE gaves me the message that "MythTV is having problems. Reset the backend?", but neither Yes nor No seemed to solve anything. Also, playing the recorded programs from the Media Library - Watch Recordings menu in MythTV did not function, if I selected one the screen briefly turns black and I return to the selection menu.

The solution is used was this: on the media director I started the mythtvfrontend (said no to the question of whether to reset the backend) and went to:
"Utilities / Setup" - "Setup" - "TV Settings" - "Playback"  and enabled "Always stream recordings from the backend".
I stopped the front end and start it again, and everything worked again.

Pages: [1]