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

Pages: [1]
1
Installation issues / MySQL failure. Any advice?
« on: October 27, 2011, 01:10:11 am »
Hi all,

My core power supply was having problems last night which meant that the core was instantly losing power and would need to be manually restarted. This happened a few times before I realised what was happening. I have now replaced the power supply and seems to be stable from that perspective - but it looks to have corrupted the databases.

mysqld will not start and when attempts are made to start it manually it fails after attempting to recover, blurts out a stack trace and advises to look at a couple of websites for more info. The websites just take me through attaching symbols to the stack trace etc which don't really help me at the moment.

Question is; can I somehow reinstall mysql without upsetting the rest of the system and having to do a reinstall? Anyone done anything like this?

regards
Darren

2
Users / MythTV Database out of sync
« on: June 14, 2011, 01:09:02 am »
Hi All,

Weird problem occurred yesterday. Went to update recording schedule via MythWeb last night and got SQL error when saving the recording. Error complains about column not existing.
Additionally, Upcoming recordings is blank.

Then on lounge MD tried to go into TV and myth frontend complains that DB version is not what is expected (it is newer/ later) than expected by 10 (sorry don't have exact numbers at the moment).

Planning to look through the logs etc but I am puzzled about why this has occurred.

The only things I have done that might be relevant are;
* Got a new networked TV which has DLNA support and tried to play a file from MythTV from it (unsuccessfully)
* Tried a similar thing from networked BlueRay player

Could the act of using a DLNA/upnp client have cause the MythTV backend to do a DB upgrade ???

Just looking for direction to track this down - if anyone has seen something similar. Ways to fix?

Regards
Darren

3
Installation issues / Weird sound issue
« on: November 16, 2010, 10:38:27 pm »
Hi,

Setting up an MD on a new core that I have installed at home (one of the latest snapshots)

Everything went ok-ish (once I dealt with the end of life intrepid issues)

Anyway... Setting up a new MD. AVWizard goes through OK. Get to the audio settings and need to turn the volume right up and jump over to a terminal (ctrl-alt-f2) and turn all the levels up in alsamixer. This is not a major issue - it seems to be fine I can hear the sample music at the required volume. Finish the wizard and assign the room etc, screens are generated etc All seems pretty normal.

Reboot the MD and go to watch tv, video or audio and there is no sound. So I switch to another console terminal to see if the sound card levels are wrong or have been muted and as soon as I switch consoles I can hear the sound. I switch back to the X screen and the sound stops. This consistently happens for all media types and all consoles. ie: I hear the sound that is playing when I switch to any other console screen other than F7 but when I go into that the sound stops.

Ideas please?

4
Users / Android Touch Orbiter
« on: October 11, 2010, 02:21:13 pm »
Hi,

Managed to get a little bit of time tonight so got to use my DEV machine. I thought I would make available a test version of Android Touch Orbiter so that some people can have a play/test.

Please download apk from http://filebin.ca/cdxej/AndroidTouchOrbiter.apk or http://filebin.ca/cdxej

It is still pretty raw but I have tested it on the emulator and my phone (HTC Tattoo). You will need to find the port number of your proxy orbiter which is available through the web admin screens. Port is set through the menu settings and you will need to kill the app to get the settings recognised.

Try and get the source attached to a trac or something whenever I get a moment but interested if this works for anyone and what issues are encountered.
Wil also try and write up some details in a wiki page.

If you are able to get logcat outputs then that would be good if you are reporting a problem.

Have fun
Regards
Darren


5
Developers / Dev environment setup for just compiling
« on: July 01, 2009, 04:58:56 am »
Hi all,

Has someone recently setup a dev environment for 810 that can assist with this question?

I assumed I could just setup an environment for just compiling the current SVN codebase. (ie: Just code compile, no packaging/ CD creation/ DB build etc). This was certainly previously possible but has this now changed?

I have had a go at it but had some problems with unmet dependancies. I have just found the list of 'build-packages' so that might solve that when I get home.

I was just questioning on whether this is how any of the developers on 810 were working or are you all building everything as per the build scripts (and wiki instructions)

Regards
Darren

6
Users / Dead MD
« on: March 19, 2009, 10:23:18 pm »
I had my main lounge MD give up last night on me. It has been working pretty faultlessly probably for over a year and a half.

It was turned off by holding down the power button and then wouldn't turn back on again.

Symptoms are;
-no front light coming on or fans starting up when the power button is pressed
- motherboard (M2NPV-VM) light is coming on

I have already tried a new power supply and checked the power switch connections but I am stuck and what to do next.
What are some ideas for diagnosing this? Ideas?


7
Developers / Implementation of Device Templates
« on: February 11, 2009, 06:12:10 am »
Hi,

Is there a way in web admin to determine if there is an implementation Or intended to be) for a particular device template.

Some device templates do not have code, some are GSD based, some are C++ coded (or expected to be executables).
Is there a way by looking at the device template to determine which is which?

Apologies if I missed something obvious.

My confusion is coming from looking at PVR-250 device template and trying to work out what or where the code is that reads the parameter values and calls the scripts specified in them. Does this default to some generic behaviour, and if so, where is this code?

Regards
Darren

8
Users / Testers wanted for Flash based Orbiter on the Chumby
« on: July 11, 2008, 01:37:13 am »
Hi all,

I have implemented a lightweight flash based orbiter for the intention of running it on the Chumby (see www.chumby.com and http://wiki.linuxmce.org/index.php/Chumby)

It is still pretty rough but I am keen to get some feedback so that it will be usable by others.
Please see http://wiki.linuxmce.org/index.php/ChumbyOrbiter for setup details.

The key thing to note here is that this uses the ProxyOrbiter to do all the real work so it is suggested that before you even attempt to use this one you get the web based orbiter working first.

Then make sure you have a config file with the correct filename and all the settings required.
Resolution should not matter in the orbiter settings as it will scale whatever it gets to 320x240 to suite the chumby anyway.

Error handling is not a strong point at the moment as I was learning actionscript as I developed this.

I will use this forum thread to take feedback on it and try to enhance over the next few weeks. I will try and make myself available on the IRC channel as well but this is likely to only be of an evening Australian eastern time (GMT+10).

Also note - this is just a flash movie so potentially should run on anything that has a flashplayer. I can work with people that want to use it on other platforms (phones, PDAs, embedded in browser etc). I have not tried any of these yet myself though. I will also post the current source onto the wiki when I get a chance.

regards
Darren

9
Developers / LIRC - Learn and Send IR
« on: May 26, 2008, 04:15:13 am »
I thought I would start a discussion on this since I have looked into it and it seems to be a faeture slated for upcoming development.

There are currently a few devices that have implemented the code to receive infrared codes (Learn IR) and then send the appropriate codes out.
The configuartion for these devices and indeed comments in the code indicate that these 'codes' would usually be in the Pronto format. Most (all?) devices to date have implemented conversion routines between their native APIs and the pronto format to achieve this.

Looking at LIRC it intentially abstracts away from the actual devices using drivers and configuration files allowing a set of named know codes that are supported. These are then utilised for both receiving and sending. In turn, the LIRC APIs for receive and send are in terms of the named codes, removing the need to know raw codes or sequences.

To fit LIRC into what we are doing currently with other infrared devices we have a couple of choices. We can stick with conversion to/from Pronto formats and find a way to do this with LIRC. This is difficult and will almost certainly involve a customised version of LIRC. There are people who have done some of the hard work here which may help with the development process.

The other option is to just store the named code that LIRC reports on receiving a signal and use this for sending when needed. This fits nicely with the LIRC API, won't require a customised version and still fits in with the linuxMCE devices. It does stop different devices interoperating however, for instance you will not be able to learn a code with USB_UIRT and send in with LIRC. The development for this mechanism is much simpler however. But this also probably means that the configuration file needs to be maintained seperately and prior to the linuxMCE learning process.

Does this all make sense, and does anyone have any comments on what path should be pursued.

Regards
Darren

10
Users / Current State of VDR vs MythTV
« on: May 05, 2008, 06:27:46 am »
I have decided that I will do a clean install for 710RC1 and I am considering switching to VDR.
I realise the VDR integration has been moving along with each 710 release but would like a few questions answered by someone that is actually using it, preferably in Australia as well (colinjones - I am sure you fit the bill)

Setup is (and will be) dedicated core with 4 (currently) MDs. Core has two DVB cards (Winfast 1000T) -  which are well supported by the current kernel and are autodetected successfully, and work well with MythTV.

Question 1) Does the current VDR integration support having all the tuner cards in a server and then multiple clients (MDs) utilising them - as MythTV does quite well?

Question 2) Does VDR have the same extent of recording options as MythTV for regular recordings (things like Pad the start/end, record from any channel etc. Is the interface for this entirely within linuxMCE?

Question 3) Particularly for Australia - Is the broadcasted EPG guide sufficient? Does it provide enough data or is it/should it/can it be suplemented with an external guide data source?

Question 4) Is viewing of recorded programs entirely though linuxMCE videos interface or can they be browsed/viewed through another interface? Also how does this work for programs that are still recording?

Question 5) Is there the equivalent of MythWeb for web based scheduling of recordings?

I will probably attempt to answer a lot of these with an install and test but I would like to save myself the effort if it is not quite there yet.

Thanks in advance

Darren

11
Developers / Accessing child device properties at startup
« on: March 17, 2008, 11:06:51 pm »
Hi all,

Hopefully someone can help me with this...

Background: I am writing an interface device to support the Phidgets Interface Kit. Primary concern is responding to Analogue sensor changes, communicating with the device using their web service interface. I am using the generic sensor devices that already exist. The code for the device is quite straightforward as the API is fairly comprehensive and maps well to a LMCE device.

Problem: I would like to add an optional property to the sensors which is 'tolerance'. This would basically limit the value changes that would trigger the sending of the "sensor tripped" event that I am sending.

This means that I need to iterate the child devices that have been setup, retrieve the property value if it is set and call an API before I "attach" the device.

It seems that child devices are attached dynamically to their parent device fairly late in the startup lifecycle for a device, which means I am struggling to find somewhere where I can put the above code.

I have tried the code in ;
 getConfig()
 connect()
 postConnect() [ which seems to get called before connect from initial testing ??? ]

Perhaps I need to implement a certain command in processCommandsForChild which occurs when it it created/attached to parent?? This would be fine, expect I am unaware of what command.

Just hoping someone might have some insight of ideas i have not thought of. I assumed there would be other interface devices that do something similar but from my investigations I can't find anything.

My next steps, assuming someone doesn't point me a different way, are;
* Look through the Command_Impl.cpp code more thoroughly as it seems to control the sequence of a lot of the startup calls
* Look through code for some other devices that might do something similar (currently looked at CM11A, EIB, gc100 )
* Investigate handling the child commands that might be called??

Feel free to provide comments.

Darren

ps: Still looking for direction on how I will add the device template that I have developed (and changed ones) back to the build as per a previous post.....

12
Developers / Keyboard Mappings
« on: September 11, 2007, 01:57:36 pm »
Just checking if someone has done the following before I invest any more time in it....

I have purchased a cheap "Windows MCE Compatible" remote which comes with a USB receiver - thinking that this would just work using LIRC and the lirc_mceusb2 driver.
When I plugged it in straight away a few of the things worked and I can basically use it as a mouse but LIRC didn't want anything to do with it.

It turns out that it emulates a keyboard and that it loads a keyboard driver for it. I tried rebuilding the lirc_mceusb2 driver with support for the vendor/device id but it seems that it would prefer to allocate the keyboard driver as a preference.

A few of the keys map to standard keyboard keys like the numbers and the arrow keys, however there is a lot more keys including media control keys like play, pause etc and volume up/down, channel up/down.

So firstly does anyone know if orbiter has keyboard equivalents for media control and if so what are they all? I guess knowing this I can use Xmodmap to assign all the remote keys.

Alternatively, does anyone else have any other ideas before I start looking through code... Anyone looked at this part of the code??

I also have a wireless keyboard that has a bunch of media keys along the top. It would be good to get those working too.

Regards
Darren

Pages: [1]