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

Pages: [1]
1
Feature requests & roadmap / Re: Speech Recognition
« on: January 24, 2008, 09:51:46 pm »
That would be awesome.  Then I could go into a room and do the "Computer lights on" or "Illuminate" from Demolition Man.

:)

2
Developers / Re: How's Insteon working?
« on: January 19, 2008, 08:02:47 pm »
Well When it was starting up it was sending out the 02 6B 40 but I was getting back a '00 E0' Response.  Turns out my PLM needs the baud rate set at 19200.  Its working great now.  Discovered my lamplinc and is working perfectly so far.  I'll have to buy a few more fancy modules so I can play some more.

Hodge

3
Developers / Re: How's Insteon working?
« on: January 19, 2008, 12:56:19 am »
Interesting, I must have screwed something up because it had a bunch of extra commands in there.  I created a new group and it didn't have them in there.  Scanning right now.

4
Developers / Re: How's Insteon working?
« on: January 19, 2008, 12:38:55 am »
Finally got around to doing some testing.  Right I have everything configured but I'm getting this error when i view the interfaces page:

COM Port on PC     Error: top parent device not found

Might want to throw something on the wiki to select a room and controller.

Also you have it checking the 'Implements DCE' checkbox and changing 'Comm Method' to  RS232 then edit Ruby.  After the ruby window closes you have them hit F5 to update the Device template window which resets those settings.

Right now this is what I'm getting in the log file..

Quote
2340:01   01/18/08 17:33:19.536      Failed loading code: Error loading code:
error: (eval):2338: compile error
(eval):7: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0689
        ^
(eval):13: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0689
        ^
(eval):19: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0689
        ^
(eval):25: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015  <0xb5846b90>

Its pointing to the D after 0000 006

Hodge

5
Installation issues / Re: AppServer does not start
« on: January 15, 2008, 02:49:17 pm »
Have you had any luck?  I've got my volume to work inside the UI but I cannot mute my card using either the UI or alsamixer itself. 

6
Developers / Re: How's Insteon working?
« on: January 11, 2008, 03:22:11 pm »
PLM and a lamplinc is on the way.  I think I got rid of my old x10 stuff because I can't find it anywhere.   :(

7
Developers / Re: How's Insteon working?
« on: January 08, 2008, 06:28:26 pm »
I'm interested in playing with the home automation section of LinuxMCE, I'll look ta picking up some hardware and give this a try sometime soon.  Used to have an old x10 system back in the day but got rid of it.  I'm interested in trying out Insteon.

8
Installation issues / Re: AppServer does not start
« on: January 04, 2008, 04:02:08 pm »
Glad to hear its loading for you now.  Yea you'll have to do some tweaking to get the mixer to work properly.  I haven't played with the file yet I just copied what they had on the wiki. 

Doing some searching to see what other have done and this is what i've come up with for the audigy LS which I believe is very similar to the value.

http://www.phoronix.com/forums/archive/index.php/t-5933.html
http://blog.ln2.com.ar/2007/10/13/creative-labs-sb-audigy-ls-en-linux/

Good luck,
Hodge

9
Installation issues / Re: AppServer does not start
« on: January 04, 2008, 05:42:48 am »
It doesn't save the mixer on reboot, and you have to play a sound inorder to get it back in there so the App_Server fails on reboot.

I did find that you can issue the command alsactl store stores your current mixer settings and mine were restored on reboot, so everything is working now.

Let me know if this fixes your problem.

hodge

Update:  It loads but you can't control volume, so it will probably need some tweaking.

10
Installation issues / Re: AppServer does not start
« on: January 04, 2008, 05:09:55 am »
Well that seems to be the problem.

RichardP do you want to try the following and see if you can get it to load?

See if this command returns anything:
Code: [Select]
amixer controls | grep -i master
If not that is most likely your problem.  You have to create a new softvol control in ALSA.  Here is a reference link for more information:
http://alsa.opensrc.org/index.php/Softvol
http://alsa.opensrc.org/index.php/How_to_use_softvol_to_control_the_master_volume

Here is what I did to get it to work, as root I created the ~\.asoundrc file and it contained the following:

Code: [Select]
pcm.!default {
    type            plug
    slave.pcm       "softvol"   #make use of softvol
}

pcm.softvol {
    type            softvol
    slave {
        pcm         "dmix"      #redirect the output to dmix (instead of "hw:0,0")
    }
    control {
        name        "Master"       #Create the Master softvol volume control
        card        0
    }
}

Then throw out a speaker test so ALSA reads the .asoundrc file and create the softvol
Code: [Select]
speaker-test -twav -c2 -l1  You should hear it go through a speaker test (the c option is the number of channels) Excute the same command as at the begining to verify you now have a master volume control
Code: [Select]
amixer controls | grep -i master should return something and you should be able to start App_Server. 

I haven't tested this with rebooting but I'm going to do that right now.


11
Installation issues / Re: AppServer does not start
« on: January 04, 2008, 04:03:29 am »
to quote my previous post: iirc the appserver segfaults when using amixer without a sound card. Do you have a sound card?
have been there...
Hari,  I have a sound card, and it works properly, there is audio and everything.
I believe the problem is that according to ALSA:
Quote
The Audigy LS does not have a master volume control. For analog output, use "Analog Front", "Analog Rear" and "Analog Center/LFE" for volume.
  http://alsa.opensrc.org/index.php/Audigyls_playback

From what It looks like the App_Server is trying to access the the Master volume control.

12
Installation issues / Re: AppServer does not start
« on: January 04, 2008, 02:24:56 am »
Okay i threw the core file its dumping into gdb and this is what I found:
Quote
Core was generated by `./App_Server'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7bf4509 in snd_mixer_selem_has_playback_volume () from /usr/lib/libasound.so.2
(gdb) bt
#0  0xb7bf4509 in snd_mixer_selem_has_playback_volume () from /usr/lib/libasound.so.2
#1  0x0806b4de in MasterMix::GetVolumeLimits (this=0x807260c) at amix.cpp:41
#2  0x0806b559 in MasterMix (this=0x807260c) at amix.cpp:20
#3  0x0805b641 in App_Server (this=0x80723c0, DeviceID=0, ServerAddress=@0xbfa5a238, bConnectEventHandler=true, bLocalMode=false, pRouter=0x0)
    at App_Server.cpp:74
#4  0x08057a9e in main (argc=1, argv=0xbfa5a304) at Main.cpp:196

Some random web browsing brought me to the ALSA wiki page for the driver i'm using. http://alsa.opensrc.org/index.php/Audigyls which states:
Quote
WARNING: The Audigy LS is a very basic sound card. It has no hardware mixer, no DSP, and no interpolators.

So right now I'm assuming that the reason it is segfaulting is because the card itself does not have a mixer on it and requires a software mixer inorder to work properly.  Can anyone verify this for me?  I'm going to swap my sound card with another as soon as I get some dinner.


13
Installation issues / Re: AppServer does not start
« on: January 04, 2008, 01:03:56 am »
RichardP

Looked at my hardware and it turns out i have a Creative Labs SB Audigy LS.  Also when I try playing a video in mplayer it says "Alsa-control unable to find simple control 'PCM',0.  I can get it to work by selecting the use a software mixer option but this might be causing some sort of an issue with my system.

Will investigate further, I can control the output using the alsamixer app.

14
Installation issues / Re: AppServer does not start
« on: January 03, 2008, 03:04:41 pm »
There was one log file were I found it trying to start and it was throwing an error code of 139.

I'll have to look into the soundcard thing some more when I get home, maybe amixer is being weird.  Wish work didn't block ssh so I would have something fun to do all day.  I guess thats why its blocked.

15
Installation issues / Re: AppServer does not start
« on: January 03, 2008, 02:23:30 pm »
Hello,

Have you found a solution to your problem?  I seem to be having the same issue as you.  I did notice in the LMCE launcher on the soundcard tab the driver box was blank, but the sound works..  Could this be the issue?  Still trying to find my way around on the system.

I've tried running the App_Server manually and I get a seg fault right away.

If anyone can help point me in the right direction it would be great.

Thanks,
Hodge

Pages: [1]