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

Pages: 1 2 [3] 4 5 6
Developers / trunk or charon-merge?
« on: July 02, 2008, 01:45:28 pm »
At what point do we start using trunck as apposed to the charon-merge branch?

I've spent the last several days fixing the bugs in the web admin playlist editor, and designed a new over/under layout that will make the playlist editor much more user-friendly. The code is fixed, and the layout design is done, but I am no artist. I'm looking for someone that can use my place-holder graphics as templates and make something that is a little more visually appealing.

Below is the layout rendered in firefox. Any volunteers?

Developers / Lets Discuss UpdateEntArea changes/additions
« on: June 26, 2008, 08:48:25 pm »
I think its time that we discuss some enhancements to UpdateEntArea (auto generated scenarios and event responses)

1) Its current implementation is very clean in regards to scenario generation, but messy when it comes to events. This is because scenario generation each section (lighting, media, climate, etc.) has 1 file dealing with the creation of scenarios. Responses to events, however, are all crammed into one file for all of the sections. I propose that we separate this out and put the relavent parts in the other separated files where the scenarios are generated. This way, everything regarding lighting (scenario creation, responses to events with its criteria etc.. for lighting will all be in UpdateEntArea_Lighting.cpp). It might not really be needed at this moment, but if we start adding a lot of logic to auto-generate other things, it will become very important when it comes to maintaining all of this logic.

2) It has been mentioned before - some users want to be able to turn off auto-generation. This would be *very* easy to implement, both in the source code, and in a web admin page to change the settings. I propose a step further.. Lets break auto-generation down into 3 categories:
a) Basic scenarios (scenarios that are crutial to LMCE functioning the way we know it, like Lights On/Off buttons appearing for a room when a lighting device is added)
b) Advanced Scenarios (eye-candy scenarios like Showtime, etc...)
c) Responses to events (the user wants a Showtime scenario, but doesn't want it executing when they start media)
This would not be hard to implement. A new table in the database with a few booleans, a check in each of the UpdateEntAreas_* files, and a web admin interface. Then the user will have ultimate control, allowing LMCE to create basic scenarios, advanced scenarios, and event responses, or any combination of them PER SECTION. For example, the web admin page might have:

Code: [Select]
Enable Autogenerated:
[ ] Basic Lighting Scenarios        [ ] Basic Climate Scenarios       [ ] Basic Media Scenarios
[ ] Advanced Lighting Scenarios     [ ] Advanced Climate Scenarios    [ ] Advanced Media Scenarios
[ ] Lighting Event Responses        [ ] Climate Event Responses       [ ] Media Event Responses
Of course, the default would be for all of them to be on. This would allow a tremendous amount of flexibility for all LMCE users

3) Lets start making a list of more auto-generated scenarios/event responses - I mean there is'nt a single auto-generated climate scenario! Other areas are lacking as well.

These are just some of my thoughts on this - I'd like to see the ball get rolling.

What do you guys think? What can you add/take away from this?

Developers / Logger levels
« on: June 25, 2008, 08:46:45 pm »
Now that I'm digging into fixing some code again, I've noticed that the logging level has changed since 0704.

What does everyone else do - change the logging level all together, or just change the level passed to each LoggerWrapper call when you want to use the logger for debugging purposes?

Where is the global logging level set? (i breezed through /DCE/Logger.cpp and nothing popped out at me)

Users / Best mobile orbiter? (cell phone)
« on: June 24, 2008, 03:47:24 pm »
Now that there are options with Symbian MO and Java MO - i'm in the market for a new cell phone. But now I have some questions -
Which is the best cell phone to get? For instance, Symbian orbiter can show streaming video from your cameras - can JavaMO do this as well?
Can both SymbianMO and JavaMO be used over bluetooth, wifi and gprs?

Basicaly, is there still any kind of advantage the SymbianMO has over JavaMO at this point?

Anyone using the Nokia E65? The built-in VOIP phone is quite interesting...

any comments appreciated

Users / W800RF32A (x10 wireless receiver)
« on: June 19, 2008, 10:58:34 pm »
I noticed the other day that the W800RF32 was listed in the Interfaces while browsing some device templates, so I bought one.
I just hooked it up today. After seeing that it was not working, I took a look at the device template and it doesn't appear to have any ruby codes at all.

So am I correct in assuming that this device template was never finished?

For those that aren't familiar with this interface, the w800RF32 receives wireless signals from all X10 devices, such as Palm Pad remotes, Keychain remotes, Motion Sensors on all house codes, and even their 32 bit RF signals for things such as their security stuff like door/window sensors etc..) People also claim they have incredible range of over 300+ feet. I'm extremely interested in getting this device working!

I just added information to the wiki on how to get climate and security device support for your CM11A. It only involves a few modifications to 2 device templates, and is pretty easy to do. This will allow you to:
-Use cheap x10 motion detectors (like the MS16A) to interface with the security system
-Use X10 wall outlets under the Climate category

Some may be wondering why having wall outlets under the Climate category is important (most people just add them as light switches)
The reason is that there are a lot of auto generated scenarios and event responses LMCE does when you add a new device. If you add an X10 outlet as a light device, then some of these scenarios and event responses will have unexpected results. For example:
You install an X10 outlet in your livingroom and add it as a light switch. You connect an Air Conditioner to the X10 Outlet. Now, when you leave the house and arm your security system, it will shut off automatically because LMCE thinks its a light. By using the Climate section for X10 outlets, this is avoided.

Just thought those using X10 devices would enjoy the extra freedom these simple modifications bring out.
I have started 2 mantis reports to have these changes made permanent in the next version.

For now, just follow the wiki if you want this functionallity now

Users / More software RAID problems
« on: June 15, 2008, 12:45:31 am »
I'm having problems with the software RAID (again) -

In my previous setup, after installing the RAID, LMCE automatically added symbolic links between my RAID directories and my Home directories. For example, my directory structure with my old RAID setup was:
Code: [Select]
                    Software Raid [28]   <---This was a link to /mnt/raid_device/Public/Data/Videos

In fact, in my old setup, each and every directory had these links to navigate through the directory structure
However, after the 2nd time of adding my software raid in 2 days, it still won't completely finish. Attached is a screenshot of my Files->Files and Media Sync admin page. It shows a good overview of the directory structure. If you look on the pane on the left, you will see that a link to my software raid was not created. On the right, you will see that it does know about my software raid, and it wants me to select a type for it, as if it is some type of media.

Any thoughts?
(Attachments are not working, couldn't attach image)

Below is a copy and paste of my Mantis bug report. It details how my 3x1TB RAID 5 array got completely wiped out.
I fell into the trap of thinking that my data (family pictures, etc.) was invincible on a RAID system. Not long ago I moved all of this important data onto my RAID array for this reason, and now its all gone. What a hard lesson learned! I posting this not to complain (i realize my faults in this) - but to help others so that this does not happen to them. A RAID array isn't invincible, and you don't need massive damage to hard drives or anything major to lose your data.

Begin mantis bug report paste:
I have been using a 3-drive (3 x 1TB SATA II Drives) raid array with LinuxMCE for the last 6 months. With over 300 movies on it, my entire music collection and all of our home movies and pictures. I put all of our "sensitive data" on the raid array to be protected from data loss - as of today, it is now all gone - all my family's pictures, home movies, and over 6 months of invested time building my media library. I will explain how this happened, and what needs improved to keep it from happening to other people.

Yesterday, I made a new device template for my VizioVW37L TV. After installing it with the setup wizard, my core/hybrid (An Asus M2NPV-VM with an AMD BE-2400. 2 gb RAM), my system started acting funny, and eventually the screen went black. Looking through the web admin, I saw that my software raid 5 was listed as "Failed". Sure enough, none of my movies were available, none of my pictures (which is why the screensaver went to a pure blank screen) - nothing. Looking at the web admin at the individual drives of the raid array, they were all listed as "Spare" and "Removed" (or similar wording). I let it sit overnight to see if it would pick back up, rebooted and reloaded several times, and still nothing. I unplugged the raid array, rebooted, shut down then replugged it all back in. Still nothing on reboot. The raid screen on the web admin still showed the array as "Failed". No more information, nor options to fix it or anything. In desperation, I deleted the raid array device, and created a new one, using the same 3 disks. (Hoping that this one will be detected and all of my media would be back). Well after several hours, still nothing.

Looking at the web admin at this point, the only thing left to try was the "Create Raid Array" button that was sitting next to my new Raid device that I had re-created earlier. I hit this button obviously thinking that it would try to re-initialize the array or otherwise try to start using it again. After hitting the button, the raid status changed to "Damaged/Repairing" - so I figured that it was checking things over and was going to start using the raid array again. After about 6 hours of "Repairing" I found out that it had wiped out my entire raid array (Did it reformat it??). I can now access and use my newly created raid array just fine and an fdsk shows no errors - so I don't think that my array had actually failed in the first place. (Was it a database error?  I've been having a ton of database problems lately...)

In my opinion, here is what needs fixed with the current system:
- Currently the admin shows no information as to what disk failed, why it failed or any useful information to help find the problem. This information is essential when a scenario like mine happens.
- Currently, there are no options to repair a reported failed/damaged array or try to redetect it etc. Once it fails, there is simply no recourse to fix it.
- Currently, after creating a new Raid Array device, the user has to hit a "Create Raid Array" type of button. As I learned the hard way, this comepletely reformatted all of my disks, with absolutely no messages or prompting. At a bare minimum, the user should be informed that all data will be wiped from their drives. Furthermore, it should also try to detect if there is an array present on the disk and remind the user that this set of disks already appear to have a Raid setup, and if they continue, the disks will be reformatted.

So in the end I found that just because there is a Raid system available, it doesn't guarantee that your data is safe. However, the above listed features are necessary to ensure that accidents don't happen, and that if there is a drive failure, there are things you can do to keep your data from being lost.

Now the good news:
I'm downloading LMCE 0710 rc2, and plan on videotaping a full install (with lots of devices - CM11A, USBUIRTs, 4 Media Directors, 4 15" Touchscreen orbiters, lots of X10 switches and outlets, template creation for my A/V gear, remaking my scenarios and redoing my timed events....) I'm also going to try to get a SATA port multiplexer and add 2 more 1TB drives and run all 5 drives off of one internal SATA port. In the end, this tragedy will turn into something positive. Its just going to take months to get all of my movies copied again.

Users / How to mount LMCE's SMB Share in Ubuntu?
« on: April 28, 2008, 09:19:24 pm »
I use Ubuntu at home. I want each of my Ubuntu computers to use the folder structure of the core to to store media (I.e. Limewire on my Ubuntu box would download files directly to the appropriate /home/public directory on the core. I have been manually syncing files up to this point, and its just too much of a pain. What I would like is a permanently mounted folder in Ubuntu that was linked directly to the folder on the core. How should I go about this?



Users / How to set up a Development Environment (tutorial inside!)
« on: March 21, 2008, 12:36:00 pm »
As someone new to developing in linux, and as someone that spent many hours bugging other members on IRC on how to set things up and spending countless hours in total frustration, I thought I would make a wiki entry on setting up a development environment, making changes to the source, compiling the changes and testing the changes - as well as some helpful hints and tools that will make your life easier.

I am by no means an expert in this field, and I'm sure I'm doing some things the hard way. But for people that want to get involved, I wanted to create instructions that were fairly easy to follow, and that worked. Please see the instructions/tutorial at

And PLEASE, if anybody know of anything I might be missing, better ways of doing things, or some other hints and tips, please add them to the wiki, as the more people we get involved, the better, and I certainly won't be offended as I know my linux experience is very limited! Anything that can be added will only benefit the community as a whole.



Users / How to use top to measure performance of the core...
« on: March 20, 2008, 06:33:53 pm »
Being fairly new to linux, I have been trying to learn more standard commandline tools. Today I have been running top on the core to get an idea of processor usage, etc..  Here is a copy and paste from one of my top sessions:

Code: [Select]
top - 10:29:24 up  2:00,  1 user,  load average: 0.03, 0.15, 0.24
Tasks: 263 total,   1 running, 262 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.8%us,  1.8%sy,  0.0%ni, 96.5%id,  0.0%wa,  0.3%hi,  0.5%si,  0.0%st
Mem:   1933340k total,  1745620k used,   187720k free,   163444k buffers
Swap:  1959888k total,        0k used,  1959888k free,  1011792k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                           
 6236 root      15   0     0    0    0 S    1  0.0   0:04.48 nfsd                                                                                                                                             
 6233 root      15   0     0    0    0 S    0  0.0   0:03.73 nfsd                                                                                                                                             
 6238 root      15   0     0    0    0 S    0  0.0   0:05.10 nfsd                                                                                                                                             
18986 linuxmce  15   0 19216 1468  968 R    0  0.1   0:00.48 top                                                                                                                                               
    1 root      18   0  3964  840  572 S    0  0.0   0:01.65 init                                                                                                                                             
    2 root      10  -5     0    0    0 S    0  0.0   0:00.00 kthreadd                                                                                                                                         
    3 root      RT  -5     0    0    0 S    0  0.0   0:00.07 migration/0                                                                                                                                       
    4 root      34  19     0    0    0 S    0  0.0   0:00.00 ksoftirqd/0                                                                                                                                       
    5 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/0                                                                                                                                       
    6 root      RT  -5     0    0    0 S    0  0.0   0:00.09 migration/1                                                                                                                                       
    7 root      34  19     0    0    0 S    0  0.0   0:00.00 ksoftirqd/1                                                                                                                                       
    8 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/1                                                                                                                                       
    9 root      10  -5     0    0    0 S    0  0.0   0:00.01 events/0                                                                                                                                         
   10 root      10  -5     0    0    0 S    0  0.0   0:00.10 events/1                                                                                                                                         
   11 root      11  -5     0    0    0 S    0  0.0   0:00.00 khelper                                                                                                                                           
   30 root      10  -5     0    0    0 S    0  0.0   0:00.00 kblockd/0                                                                                                                                         
   31 root      10  -5     0    0    0 S    0  0.0   0:00.03 kblockd/1                                                                                                                                         
   32 root      14  -5     0    0    0 S    0  0.0   0:00.00 kacpid                                                                                                                                           
   33 root      14  -5     0    0    0 S    0  0.0   0:00.00 kacpi_notify                                                                                                                                     
  178 root      10  -5     0    0    0 S    0  0.0   0:00.00 kseriod                                                                                                                                           
  213 root      15   0     0    0    0 S    0  0.0   0:00.22 pdflush                                                                                                                                           
  214 root      15   0     0    0    0 S    0  0.0   0:00.00 pdflush                                                                                                                                           
  215 root      11  -5     0    0    0 S    0  0.0   0:00.00 kswapd0                                                                                                                                           
  268 root      11  -5     0    0    0 S    0  0.0   0:00.00 aio/0                                                                                                                                             
  269 root      12  -5     0    0    0 S    0  0.0   0:00.00 aio/1                                                                                                                                             
 2177 root      10  -5     0    0    0 S    0  0.0   0:00.00 ksuspend_usbd                                                                                                                                     
 2178 root      10  -5     0    0    0 S    0  0.0   0:00.00 khubd                                                                                                                                             
 2217 root      10  -5     0    0    0 S    0  0.0   0:00.00 khpsbpkt                                                                                                                                         
 2227 root      10  -5     0    0    0 S    0  0.0   0:00.00 ata/0                                                                                                                                             
 2228 root      10  -5     0    0    0 S    0  0.0   0:00.00 ata/1                                                                                                                                             
 2229 root      20  -5     0    0    0 S    0  0.0   0:00.00 ata_aux                                                                                                                                           
 2326 root      10  -5     0    0    0 S    0  0.0   0:00.00 knodemgrd_0                                                                                                                                       
 2428 root      10  -5     0    0    0 S    0  0.0   0:00.00 scsi_eh_0                                                                                                                                         
 2429 root      10  -5     0    0    0 S    0  0.0   0:00.00 scsi_eh_1                                                                                                                                         
 2523 root      10  -5     0    0    0 S    0  0.0   0:00.00 scsi_eh_2                                                                                                                                         
 2524 root      10  -5     0    0    0 S    0  0.0   0:00.00 scsi_eh_3                                                                                                                                         
 2810 root      10  -5     0    0    0 S    0  0.0   0:02.36 kjournald                                                                                                                                         
 3008 root      11  -4 20188 2016  384 S    0  0.1   0:00.42 udevd                                                                                                                                             
 3613 root      10  -5     0    0    0 S    0  0.0   0:00.32 md1_raid5                                                                                                                                         
 4179 root      12  -5     0    0    0 S    0  0.0   0:00.00 kpsmoused                                                                                                                                         
 4591 dhcp      13  -2 15064  992  472 S    0  0.1   0:00.00 dhclient3                                                                                                                                         
 4612 root      11  -5     0    0    0 S    0  0.0   0:00.00 kjournald                                                                                                                                         
 4795 daemon    15   0  8048  556  432 S    0  0.0   0:00.04 portmap                                                                                                                                           
 4814 statd     24   0 10172  744  612 S    0  0.0   0:00.01 rpc.statd                                                                                                                                         
 4979 root      18   0  3824  572  484 S    0  0.0   0:00.00 getty                                                                                                                                             
 4980 root      18   0  3828  572  484 S    0  0.0   0:00.00 getty                                                                                                                                             
 4982 root      22   0 17536 1596 1216 S    0  0.1   0:00.04 rc                                                                                                                                               
 4985 root      18   0  3824  576  484 S    0  0.0   0:00.00 getty

Does it look normal?
How do I see more pages? (It says there are 263 tasks running, but this one page shows only 40 or so tasks...)
Near the top, what does the "96.5%id" mean? (
Code: [Select]
Cpu(s):  0.8%us,  1.8%sy,  0.0%ni, 96.5%id,  0.0%wa,  0.3%hi,  0.5%si,  0.0%st



I have 0710 beta 4 set up in my house. I have the current setup:

AMD64 core (Asus M2NPV-VM with BE2400 AMD processor, 2GB RAM)
3x i386 MD's (Various - they were all computers I already had)
4x Datalux iPix 15" touchscreen computers running WindowsXP and the XP orbiter

All Media Directors are on a gigabit network with the core. The Datalux orbiters all have wireless cards that connect to an accesspoint running off of the gigabit switch.

I am having a terrible time getting this to run Stable. It runs great and everything works... For a period of time. I get the following problems on a daily basis, and I was wondering if anybody else had any of these problems...

1) Media Directors won't play css encrypted DVDs that have been ripped to the core (the core plays them fine). There is another thread here about that issue

2) I leave the core, media directors and the orbiters on all the time. At night, in my kids' rooms, they will try to start a movie with their orbiters. The orbiters will act like the movie should be playing (the dvd remote page comes up, etc), but the photo screensaver will just continue to cycle through pictures on their TV's. Trying to do a quick reload doesn't fix it, as a warning is displayed saying that there are services or devices which could not start (can't remember the exact verbage at this time). Trying to reboot their media directors does not fix it either, as the same message is displayed here too. In the end, every night I have to turn their media directors off, run back downstairs, reboot the core, run back upstairs.. wait a few minutes, then reboot their media directors. (at this point 15-25 minutes has been killed getting everything running again). After this, everything works great... Until the next night, the whole process starts all over again.

3) My external orbiters (windows XP) end up disconnecting randomly throughout the day.. Seems to be related to reloading the router. When I do a quick reload of the router, not all XP orbiters start back up like they should.

4) Every time I restart the orbiter software on my XP touchscreen orbiters, they want to reload the router, regardless of whether or not anything at all has changed in the configuration. I understand that I can just choose not to reload the router, but the point that it wants to do this any time a start or restart any of my XP orbiters leads me to believe that something is not working as it should.

5) I can't turn off a media director (other than the core/hybrid) with the buttons on external orbiters, or the buttons in the web admin. The only way I can turn them off is by holding the power button in until it shuts off.

6) I can't turn on a media director remotely (there are buttons on the orbiters under the UI1 Power button). Does this rely on Wake on Lan?  Is this supposed to work? (Every MD, including my core, use the same Intel gigabit card which supports Wake on Lan)

There are some other small problems, but the above are the big ones. I have to reboot every media director and the core 2-3 times every day, minimum. Before I had 3 media directors, and only had a hybrid/core, I never had these problems.

Does anyone have a full setup running stable? Am I the only one having these problems?
Can anyone give me some advice on how to troubleshoot these problems so I can at least get some mantis reports in to the get problems fixed?



Users / Private Media
« on: March 08, 2008, 07:35:58 pm »
I have a question regarding private media.

Is it possible to make your private media available to you, and only you?
i'm currently using beta 4 and no matter who logs in to the orbiter, they can pick private media from any user.

The reason I want media to e private is because I have children. in my Public folder, i have movies rated G - PG-13. Anything rated R or above is in my Private folder. The problem is, my kids can still select my private media from their ortbiters.

Is this behavior correct? Is there a way to make your media really private int he way I described?

I combed over the web admin and couldnt't find any options for it...

I was looking at the release notes for the new beta 4. I am currently running Beta 3 AMD64, and would like to upgrade.
I noticed that the Upgrade DVD and the upgrade scripts were released for i386 only. Does this mean that I have to download the entire dual layer dvd install image for AMD64?



Pages: 1 2 [3] 4 5 6