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

Pages: [1] 2
Users / Re: HDHomeRun DVB-T version....
« on: May 11, 2010, 09:32:29 pm »
Hi guys,

any updates on HD HomeRun DVB-T under 8.10?
I'm thinking about buying this nice piece of kit for my LMCE setup to get Freeview HD in UK.
Does anyone know if any modifications are needed or would it just work straight from the box with MythTV?


Installation issues / RAID issues
« on: April 28, 2010, 02:25:21 pm »
I'm trying to configure software RAID array using two 2TB disks (/dev/sdc and /dev/sdd) under LMCE WebAdmin GUI, but something doesn't look right too me...

It builds the array without any problems, 'mdadm --detail /dev/md0' looks fine and so as 'cat /proc/mdstat', but when it finishes it doesn't actually mount the drive (ARRAY - /dev/md0) anywhere. During the setup I've selected 'public' as a directory structure and assumed that it will automatically mount new created partition under /home/public, but it didn't do that... Does it mean that I have to modify /etc/fstab file manually and decide where do I wan't new partition to be used?

I've also noticed that when I go to Automation -> Device status, both my drives (/dev/sdc and /dev/sdd) and 'Software Raid 0' devices have "**RUN_CONFIG**" in their status column. Does it mean that something else has to be configured... something that I'm missing perhaps?
Also... when I go to Automation -> Device status and then go into my 'Software Raid 0' device and view details of 'Software Raid 0 #1854' device template: configuration file for this template ( doesn't exist on my system for some reason. I've looked under /usr/pluto/bin and I can't find it...

I'm running LMCE version 8.10b installed couple of days ago using network installation.

I would appreciate any feedback.

Installation issues / Re: Newbie -> iMON Pad and VFD
« on: July 01, 2009, 11:40:49 pm »
So you'll need to do exactly the same thing...

Re-compile lirc to at least 0.8.4a version. As far as i remember that's when support for iMON pad starts.

When you do that, make sure that lirc creates two lircX instances under /dev. To check that execute this command:

ls -al /dev/ | grep lirc

you should see something like:


and that's the problem. iMON 0038 creates two instances of /dev/lircX.

Now you'll need to modify LIRC_DCE code and change default command that executes lircd for each remote from:

/usr/local/sbin/lircd --driver=default --device=/dev/lirc0 /etc/lirc/lircd.conf

to something like:
/usr/local/sbin/lircd --driver=default --device=/dev/lirc0 --pidfile=/var/run/ --listen=8765 /etc/lirc/lircd.conf
/usr/local/sbin/lircd --driver=default --device=/dev/lirc1 --pidfile=/var/run/ --output=/dev/lircd --connect=localhost:8765 /etc/lirc/lircd.conf

(read about multiple remote controls supported by lircd)

I hope this will help.

Developers / Re: VFD/LCD diplay - lcdproc client device
« on: July 01, 2009, 09:50:04 pm »
files don't exist any more...

Users / Re: PCI card for UI2 ... possible?
« on: July 01, 2009, 09:28:36 pm »
Krys, any of them in Alpha Blending?

I just found this: It looks promising...

Low profile in gx520 is a limitation for me.

What cards do you use? fx5200/5500/6200 ?

Users / PCI card for UI2 ... possible?
« on: July 01, 2009, 08:34:32 pm »
Yesterday when I was clearing my cupboard (I keep tons of IT junk in it) I found almost brand new and unused Dell Optiplex gx520 and I though that I could use it as my Media Directory, but... it doesn't have any sensible slots to connect good graphic card. It has only one PCI slot!!

Hence my question... do you know if any PCI cards (I would like to stick with nvidia) would run UI2 smoothly? I was thinking on getting GF 5200fx but it has to be low profile as well!

Nice PC but crap slots inside! What a bummer!

Installation issues / Re: Newbie -> iMON Pad and VFD
« on: July 01, 2009, 08:13:51 pm »
What version of iMON do you have?

I own 15c2:0038 (IR/LCD) and it's a trouble maker...

TO get this one going I had to manualy build lirc and LIRC_DCE from lmce source.

Have a look on my post:

Installation issues / Re: 0810 Install #2
« on: June 28, 2009, 04:01:24 pm »
Hi marcel.

I had similar problems after upgrading from 710 to 810. I'll try to explain what I did to get rid some of them.

Asterisk Manager Connection Failure
Failed to connect to the Asterisk manager through port: 5038

- check your /etc/asterisk/manager.conf file and make sure that the following options are set correctly:

enabled = yes
port = 5038
bindaddr =

you might need to restart asterisk if you made any changes: /etc/init.d/asterisk restart
- check your /etc/amportal.conf and make sure that:
- now try re-loading FreePBX

Could not reload FOP server
Could not reload the FOP operator panel server using the script. Configuration changes may not be reflected in the panel display.
I believe that FOP is not included in standard LinuxMCE installation (it wasn't in mine anyway). Normally it should be located in /var/www/htdoc/panel. At the moment I'm trying to add this option manually to my lmce 810 to get rid of yellow warning "OP Panel" button in FreePBX GUI and this error message.

symlink from modules failed
retrieve_conf failed to sym link the /etc/asterisk/sip.conf file from modules
Do the following:

mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.old
mv /etc/asterisk/iax.conf /etc/asterisk/iax.conf.old
mv /etc/asterisk/extensions.conf /etc/asterisk/extensions.conf.old
mv /var/lib/asterisk/bin/ /var/lib/asterisk/bin/


Failed to copy from module agi-bin
Retrieve conf failed to copy file(s) from a module's agi-bin dir: copy(/usr/share/asterisk/agi-bin/list-item-remove.php): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/dialparties.agi): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/recordingcheck): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/checksound.agi): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/directory): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/fixlocalprefix): failed to open stream: Permission denied
copy(/usr/share/asterisk/agi-bin/enumlookup.agi): failed to open stream: Permission denied

This one is tricky. There is two ways to solve this problem. You can either change apache to run as asterisk in in /etc/apache2/envvars or what I did:
- add www-data to asterisk group:
adduser www-data asterisk
- change folder permissions:
chown www-data.asterisk -R /usr/share/asterisk
- and add two additional lines at the end of /etc/amportal.conf file:

Default SQL Password Used
You are using the default SQL password that is widely known, you should set a secure password

This is just a warning message. I think it's just a matter of changing user name and password in /etc/amportal.conf and in mysql database (using phpMyAdmin for example). I'll post an update when I do that on mine.

No email address for online update checks
You are automatically checking for online updates nightly but you have no email address setup to send the results. This can be set on the General Tab. They will continue to show up here.
Go to "General Settings" on FreePBX GUI and:
either disable Check for Updates option or insert your e-mail address.

I hope this will help.

Hi Tom,

That's what I get when I change .mkv file type back to 'LinuxMCEVideo File' and try to open it in Xine:
Code: [Select]
05      06/15/09 18:30:55.874           Xine_Player::CMD_Play_Media() called for id 1001 filename: /home/public/data/videos/films/PlanetEarth/PlanetEarth.Caves.1080i.DivX.AC3.mkv () <0xb6ce0b90>
05      06/15/09 18:30:55.875           Xine_Player::CMD_Play_Media() stopping PSS <0xb6ce0b90>
05      06/15/09 18:30:55.875           Xine_Stream_Factory::GetStream streamID is 0 <0xb6ce0b90>
05      06/15/09 18:30:56.053           Created new stream with ID=1001 deint 0  100 0 <0xb6ce0b90>
05      06/15/09 18:30:56.053           Xine_Player::CMD_Play_Media() set stream 1001 as last rendering to screen. <0xb6ce0b90>
05      06/15/09 18:30:56.053           Xine_Player::CMD_Play_Media() called for id 1001 filename: /home/public/data/videos/films/PlanetEarth/PlanetEarth.Caves.1080i.DivX.AC3.mkv () with corresponding stream 0x8434800. <0xb6ce0b90>
05      06/15/09 18:30:56.053           Opening media without chapters/title position: 'file:///home/public/data/videos/films/PlanetEarth/PlanetEarth.Caves.1080i.DivX.AC3.mkv'  <0xb6ce0b90>
05      06/15/09 18:30:56.117           Xine_Stream::changePlaybackSpeed no running seekers found <0xb6ce0b90>
05      06/15/09 18:30:56.117           Xine engine set new zoom level to X:100, Y:100 <0xb6ce0b90>
05      06/15/09 18:30:56.127           Read media A/V information: []/[] => []/[] <0xb16f0b90>
05      06/15/09 18:30:56.127           Xine_Player::EVENT_Playback_Started(streamID=1001) <= AV info <0xb16f0b90>
05      06/15/09 18:30:56.128           Read media A/V information: []/[] => []/[] <0xb16f0b90>
05      06/15/09 18:30:56.128           Xine_Player::EVENT_Playback_Started(streamID=1001) <= AV info <0xb16f0b90>
05      06/15/09 18:30:56.834           Read media A/V information: [A/52 5.1]/[ISO MPEG-4 (DivX5, ffmpeg), 1920x1080] => [dolby digital 5]/[16:9] <0xb6ce0b90>
05      06/15/09 18:30:56.835           Xine_Player::EVENT_Playback_Started(streamID=1001) <0xb6ce0b90>
05      06/15/09 18:30:56.887           Xine_Stream::changePlaybackSpeed no running seekers found <0xb16f0b90>
05      06/15/09 18:30:56.888           Xine_Player::EVENT_Playback_Completed(streamID=1001) <0xb16f0b90>
05      06/15/09 18:30:57.034           [ID: 1001]  CHAPTER:0 POS:0 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:0 (seek 0) t.c. ctr 0 freq 1, <0xb0cffb90>
05      06/15/09 18:30:57.035           DisplayOSDText() : Attempting to display 0x     0:00 <0xb0cffb90>
05      06/15/09 18:30:57.535           DisplayOSDText() : Attempting to display 0x     0:00 <0xb0cffb90>
05      06/15/09 18:30:57.835           Xine_Player::CMD_Play_Media() ended for filename: /home/public/data/videos/films/PlanetEarth/PlanetEarth.Caves.1080i.DivX.AC3.mkv with stream 0x8434800. <0xb6ce0b90>
05      06/15/09 18:30:57.836           Xine_Player::CMD_Stop_Media() with corresponding stream id 1001 0x8434800. <0xb6ce0b90>
05      06/15/09 18:30:57.836           Xine_Stream::changePlaybackSpeed no running seekers found <0xb6ce0b90>
05      06/15/09 18:30:57.837           Xine_Player::EVENT_Playback_Completed(streamID=1001) <0xb6ce0b90>
05      06/15/09 18:30:57.936           XineStreamEventListener called on non-initialized stream - aborting command <0xb16f0b90>
05      06/15/09 18:30:58.099           Closed stream AV with ID=1001 <0xb6ce0b90>
It gives me GREEN screen for about 1sec and then goes back to screen saver...

Any idea what could cause this?

Installation issues / Re: LIRC with rebuilt kernel- working!
« on: June 14, 2009, 10:11:52 pm »

I've managed to get my iMon 0038 working on 7.10 by updating Lirc to 0.8.4a (and 0.8.5 as well) and re-compiling LIRC_DCE with additional options. It's not the best solution but it worked fine for me.
What I did is basically hard coded commands to execute lirc in LIRC_DCE. By default LIRC_DCE executes this command to start lircd:
Code: [Select]
/usr/local/sbin/lircd --driver=default --device=/dev/lirc0 /etc/lirc/lircd.conf

and because iMon 0038 creates two devices: /dev/lirc0 and /dev/lirc1 I've decided to change it to:
Code: [Select]
/usr/local/sbin/lircd --driver=default --device=/dev/lirc0 --pidfile=/var/run/ --listen=8765 /etc/lirc/lircd.conf
/usr/local/sbin/lircd --driver=default --device=/dev/lirc1 --pidfile=/var/run/ --output=/dev/lircd --connect=localhost:8765 /etc/lirc/lircd.conf

I need to find a better way of solving this problem...

Installation issues / MPlayer won't play HD files in 8.10 alpha 2.22?
« on: June 14, 2009, 09:48:36 pm »
Hi guys,

I finally managed to find some spare time and install 8.10alpha on one of my spare disks.
Until now, I was using 7.10 which was quite stable - only few little issues.

So far I've noticed that my LMCE won't play any HD content from HDD. I've tried HD DVD (I've copied it onto my HDD) and few .mkv files and every time I try any of them, I get:

- .mkv files (after forcing it to play via MPlayer by changing 'Type' option of this file to 'LinuxMCE HD-DVD'):

Code: [Select]
05      06/14/09 20:40:48.088           MPlayer_Player::Log I'm a child <0xb7263b90>
05      06/14/09 20:40:48.089           MPlayer_Player::Log Starting mplayer <0xb7263b90>
05      06/14/09 20:40:48.089           MPlayer_Player::Log execle() failed <0xb7263b90>
05      06/14/09 20:40:48.092           MPlayer_Player::Log I'm a parent <0xb7263b90>
05      06/14/09 20:40:48.092           MPlayer_Player::Log [EngineOutputReader] EngineOutputReader - started <0xb6261b90>
01      06/14/09 20:40:58.103           MPlayer engine didn't set up within 10 seconds, something is wrong <0xb7263b90>
Return code: 141
3       06/14/09 20:40:58       25 (spawning-device)    Device died... count=2/50 dev=25
Sun Jun 14 20:40:58 BST 2009 died
========== NEW LOG SECTION ==========
1       06/14/09 20:41:08       25 (spawning-device)    Starting... 3
1       06/14/09 20:41:08       25 (spawning-device)    Found ./MPlayer_Player
05      06/14/09 20:41:08.336           MPlayer_Player::CMD_Stop aborts because Player Engine is not initialized <0xb71f5b90>

- HD-DVD content (from hdd):
Code: [Select]
05      06/14/09 20:42:17.299           Socket::ReceiveData 0x82fd028 failed, bytes left 0 start: 10000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 6 Command_Impl1 Dev #25 <0xb71f5b90>
05      06/14/09 20:42:17.299           Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Command_Impl1 Dev #25 <0xb71f5b90>
01      06/14/09 20:42:17.299           Receive string failed in HandleRequestSocket 18:ReceiveData failed Command_Impl1 Dev #25 <0xb71f5b90>
05      06/14/09 20:42:17.299           Dumping 1 locks <0xb71f5b90>
05      06/14/09 20:42:17.299           finished check for exceptions <0xb71f5b90>
05      06/14/09 20:42:17.299           OL: (0x82fd174) (>75) MessageQueue Command_Impl.cpp l:822 time: 1:00:00a (1245008537 s) thread: 3080678288 Rel: Y Got: Y <0xb71f5b90>
05      06/14/09 20:42:18.295           Dropping all sockets... <0xb79f76c0>
05      06/14/09 20:42:18.295           Done dropping sockets! <0xb79f76c0>
Return code: 2
2       06/14/09 20:42:18       25 (spawning-device)    Device requests restart... count=3/50 dev=25
Sun Jun 14 20:42:18 BST 2009 Restart
========== NEW LOG SECTION ==========
1       06/14/09 20:42:26       25 (spawning-device)    Starting... 3
1       06/14/09 20:42:26       25 (spawning-device)    Found ./MPlayer_Player
1       06/14/09 20:42:29 25 (spawning-device)    1203 Dev: 25; Already Running list: 15,17,26,27,16,18,20,34,21,29,22,24,25,
1       06/14/09 20:42:29 25 (spawning-device)    1203 Device 25 was marked as 'running'. Not starting
1       06/14/09 20:42:29 25 (spawning-device)    1203 Dev: 25; Exiting because not starting

Xine seams to work well, it's only MPlayer that gives me a headache... ;]

I would appreciate any help... Thanks.

Installation issues / Re: apt-get update problem`
« on: June 11, 2009, 09:28:08 pm »
I'm experiencing exactly the same problem when executing apt-get update...

Code: [Select]
Err replacements_debian/main Packages
  404 Not Found [IP: 80]

W: Failed to fetch  404 Not Found [IP: 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.

Users / Re: HDHomeRun DVB-T version....
« on: April 06, 2009, 03:49:17 pm »
Any news about DVB-T version and Linux MCE 7.10?

Is it supported/difficult to setup?

I had that problem on my LinuxMCE 7.10 as well.

This message indicates that your ARP cache table if full basically. You could either change the size of it (increase it) or find out what is causing this problem.
To change default size of ARP table you need to do the following:

Code: [Select]
echo 1024 > /proc/sys/net/ipv4/neigh/default/gc_thresh1
echo 2048 > /proc/sys/net/ipv4/neigh/default/gc_thresh2
echo 4096 > /proc/sys/net/ipv4/neigh/default/gc_thresh3

On my system it was caused by nbtscan used by script.
Basically nbtscan scans the whole local network for active IP addresses on the network, it tries to communicate with each IP and ARP is catching it and storing in cache table. Because I've changed my local network from to it was scanning the whole /16 network, thats 65536 IP addresses...

What I did (which is not a great solution!), I manually edited /usr/pluto/ script and changed the following line:

Code: [Select]
IntNetwork="${IntIP}/$(netmaskLen "${IntNetmask}")"

Code: [Select]

which will force nbtscan to scan only /24 network

Installation issues / Re: LIRC with rebuilt kernel- working!
« on: December 18, 2008, 04:44:37 pm »
I'll look into patching LIRC_DCE but first I need to find out how to build it from source.

Pages: [1] 2