[Solution] ALSA lib conf.c:4514:(parse_args) Unknown parameter AES0

August 20th, 2011 No comments

I would get this error while trying to watch certain movies over HDMI with XBMC on my tv and no audio would be available.

ALSA lib conf.c:4514:(parse_args) Unknown parameter AES0
ALSA lib conf.c:4647:(snd_config_expand) Parse arguments error: No such file or directory
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM plughw:0,0,AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2

My solution to this error is in audio settings section under passthrough output device choose custom and enter whatever output you use for your HDMI mine is “plughw:1,7″. To my understanding it’s an ALSA issue with ac3 where it passes the wrong output parameters, and the AES0 parameter is supposed to set the digital audio output connector in the right mode. Thats my understanding from what I have read about it so google it if you want to find out more on this. As for me am content that it all works and I can stream all my stuff with sound to my tv.

Gnome Shell

June 5th, 2011 No comments

I upgraded to Fedora 15 yesterday and I like gnome shell, sure it’s different to the old gnome but that’s why we upgrade software. I also like the fact that you can alt tab all the way to other workspaces nice!!. Personally I don’t miss the status bar and according to the word online, some features are already being added to Gnome3.2 which are missing currently, so for the first release this is pretty awesome work congrats Gnome team.
Personally the only thing I would like is for it to be easier to customize, but I see their is already an app Gnome Tweak Tool to help you customize your setup. The fact that the UI has moved away from all that windows like look is a great plus, this is Linux after all and we pride ourselves in being different.

Categories: Computer, Linux Tags: ,

HTTPService get with parameters

June 4th, 2011 No comments

I was trying to put together a simple HTTPService Get service and most of the tutorials online did not work for me, as most of them are get calls without parameters and I needed to pass 2 to 3 arguments with my get call. Below is sample code for my get call.

<mx:HTTPService id="GetMyListing"
        url="{hostname}/rs/client/listing"
        result="handleResult(event)"  method="GET"
        fault="handleFault(event)"
        resultFormat="e4x" showBusyCursor="true"  >
        </mx:HTTPService>

private function getListings():void
{
   var params:Object = new Object;
   params["Input"] = txtInput.text;
   params["Index"] = new String(cmbSample.selectedIndex);
   GetMyListing.send(params);
}

How does this work
When the HTTPService executes it will convert the above call to

http://localhost/rs/client/listing?Input=sometxt&Index=sometxt

This way am not having to do a post call just to send two parameters.

The ResourceConfig instance does not contain any root resource classes

May 19th, 2011 2 comments

I have finished building a web service several times start up tomcat and get the above error even though my classes have @path annotations and my web.xml is properly setup for web services.

Here is a solution I found out, make sure to do a manual project build from Eclipse when you are done working on it. For some unknown reason even though the project is on auto build, the resource configurator did not pick up my new restful project until I did a manual build. The manual build is only required the first time you need to add the restful service to your resources, the servlet entry below is all you need to add to your web.xml to enable restful services to be configured by resource locator.

<servlet>
    <servlet-name>rest</servlet-name>
    <servlet-class>
            com.sun.jersey.server.impl.container.servlet.ServletAdaptor</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
  <servlet-mapping>
    <servlet-name>rest</servlet-name>
    <url-pattern>/rs/*</url-pattern>
  </servlet-mapping>

javax.xml.stream.XMLStreamWriter cannot be resolved

January 4th, 2011 No comments

solution add jsr173_api.jar to you java build path.

an unknown item is declared as the root

December 1st, 2010 No comments

If you get this error after changing flex/flash versions, in eclipse go to window -> preferences -> flex/flash -> Installed Flex SDKs -> Reset SDK list choose the sdk to use hit apply and restart eclipse.

Categories: Old Tags:

My First 10k run

September 9th, 2010 No comments

Today I ran my first ever official 10k and it was something else, I have run the same distance several times myself while just jogging but it was different while doing it for competition, and the course was not forgiving at all which I had heard from a few people who had participated at the us10k classic before. I was happy with my results though coming in at 500 0f  2998 timed racers, I was able to set a personal best time of 50 min my earlier record was 1h2min for the same distance and my race number is here just so I can always remember. After the race I got to learn that the lady who was first in women had parked her car at the finish line jogged to the start line started with everyone and finished fourth overall in a time of 35min, it felt impossible for me to comprehend this especially since I felt as if my body was about to fall apart and I had only ran half the distance she ran this morning.

Next am looking forward to my first half marathon.

Categories: Health, Life Tags:

p7zip Command Line

September 9th, 2010 No comments

In CentOS to use p7zip  from command line the cmd is 7za and not p7zip or 7z, I wasted some time on this as most manuals online tell you to use p7zip [options] filename.

To extract a file you would do:

7za x filename.7z

You can substitute the .7z extension with whatever archive extension you are trying to xtract e.g tar,gz,zip etc as long as its an extension that can be handled by 7zip which should be most of the common formats.

Categories: Computer, Linux, Software Tags: , , ,

Going Raw

September 8th, 2010 No comments

After reading several articles on this topic I decided to try it, so I went to the local grocery store and bought some sprouts, started up my blender to make my smoothie as usual but this time I added raw sprouts into the mix. To tell you the truth the first few days do take some getting used to. The raw sprouts have a distinct flavor and smell which can take some adjusting to. Right now am on my second week and I can drink it without a problem. I have come to love sandwiches from mellow mushroom as they add sprouts to their veggie sandwiches.

Categories: Health, Life Tags:

Black screen FreeNX/NX

August 26th, 2010 No comments

I have been running my FreeNX for several years with no problem then all of a sudden I tried to log in today and I received a black screen. After several searches I found out that it’s a problem with the window manager temporary files being corrupt. Just to test I changed the settings on my nx client to use another window manager “KDE” in the system and it worked. To resolve the issue I SSHed into the box and deleted all gconfd, orbit and mapping tmp folders/files for the affected user. Tried to reconnect again and it worked.

Categories: Old Tags: , ,