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

Pages: [1] 2 3
1
Developers / Re: FreePBX upgrade
« on: June 24, 2008, 09:31:57 am »
Hi,

Would you be able to help on how you got into asterisk -r?

I am getting an error message:
linuxmce@dcerouter:/etc$ asterisk -r
Asterisk 1.4.10, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
linuxmce@dcerouter:/etc$ sudo amportal restart


/var/lib/asterisk/bin/freepbx_engine: line 26: [: =: unary operator expected
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in /etc/asterisk/asterisk.conf is set to  but the directory
does not exists. Attempting to create it with: 'mkdir -p '

mkdir: missing operand
Try `mkdir --help' for more information.
**** ERROR: COULD NOT CREATE  ****
Attempt to execute 'mkdir -p ' failed with an exit code of 1
You must create this directory and the try again.
linuxmce@dcerouter:/etc$

I have indicated this error also here: http://forum.linuxmce.org/index.php?topic=5594.0

Thanks.

2
Thanks. I will try to do that. However, would you be able to point me to the right direction. I have been trying to locate all *.conf f Asterisk and seems that I could not find them at all. Or do they actually exists?

I have tried accessing /etc/asterisk directory, even with sudo but to no avail. Are there any special instruction that I should know of?

I am getting these error messages, ssh into LinuxMCE:

linuxmce@dcerouter:/etc$ sudo cd /etc/asterisk
sudo: cd: command not found
linuxmce@dcerouter:/etc$ asterisk -r
Asterisk 1.4.10, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
linuxmce@dcerouter:/etc$ sudo amportal restart


/var/lib/asterisk/bin/freepbx_engine: line 26: [: =: unary operator expected
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in /etc/asterisk/asterisk.conf is set to  but the directory
does not exists. Attempting to create it with: 'mkdir -p '

mkdir: missing operand
Try `mkdir --help' for more information.
**** ERROR: COULD NOT CREATE  ****
Attempt to execute 'mkdir -p ' failed with an exit code of 1
You must create this directory and the try again.
linuxmce@dcerouter:/etc$

I am assuming that somehow the integration (or my installation) of LinuxMCE has a problem.

However, I can create extensions, make a call. I even had LinuxMCE Asterisk registered into my existing Asterisk installation. Thus, I am pretty sure that my installation was successful.

Any idea??

3
use the web admin to modify your asterisk configuration. Look under Advanced > Phone Setup. This will get you to the FreePBX panel.

-Thom

Thanks. But I would like to manually edit extensions.conf or even extensions_additional.conf. I have been using Asterisk/FreePBX, TrixBox/FreePBX, PBX in a Flash for several years and have some "personalized" tweaks on the system. Definitely, FreePBX will not be able to do it.

I have already checked FreePBX in LinuxMCE web admin and obviously, it is has a limited capabilty compared to a fullblown asterisk.

For example, before executing dialparties.agi, I have inserted an exten,xxx,background(some voiceover - like "one moment please, I am connecting your call"). etc...

I understand also that it may be overwritten, if upgrade is being done, but would like to explore and see if I can make the necessary changes.

This was the reason why I asked on how to just interface existing asterisk with LinuxMCE, http://forum.linuxmce.org/index.php?topic=5391.0

Currently, LinuxMCE has some limited asterisk capability but, overall a very good product.

Alternatively,

Is there any way to change the SERVER IP (and indicate my Asterisk Installation) in the Device setup:   Advanced | Device #17: Asterisk

4
Hi,

I am trying to modify extensions.conf so that I can manually configure Asterisk. Please advise where asterisk files are located.

Thanks.

5
Maybe this helps with your problem too: http://forum.linuxmce.org/index.php?topic=5267.msg31656#msg31656


Thanks. But the above did not seem to be applicable since I have only 1 TV tuner (wherein I also disabled the cx88 snd): http://forum.linuxmce.org/index.php?topic=5551.0

This thread detailed on how I installed the tv tuner. My DVD, music, all worked properly, except MythTV Live TV. Thus, Intel HDA  is working perfectly but not in Live TV.


linuxmce@dcerouter:~$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xc6efc000 irq 16

linuxmce@dcerouter:~$ asoundconf set-default-card 0
linuxmce@dcerouter:~$

It only showed that I have only 1 sound card. But still I tried asoundconf to be sure.



6
I have checked also that:
----------------

linuxmce@dcerouter:~$ mplayer -ac help | grep -i dts

ffdts       ffmpeg    working   DTS  [dts]
hwdts       hwac3     working   DTS through S/PDIF

-----------------
linuxmce@dcerouter:~$ mplayer -ac help | grep -i ac3

raatrc      realaud   working   RealAudio ATRAC3  [atrc.so.6.0]
ra10atrc    realaud   working   RealPlayer 10 RealAudio ATRAC3  [atrc.so]
raatrcwin   realaud   working   Win32 RealAudio ATRAC3  [atrc3260.dll]
raatrcmac   realaud   working   Mac OS X RealAudio ATRAC3  [atrc.bundle/Contents/MacOS/atrc]
ffmac3      ffmpeg    untested  Macintosh Audio Compression and Expansion 3:1  [mace3]
a52         liba52    working   AC3-liba52  [liba52]
ac3         libac3    working   AC3-libac3  [libac3]
hwac3       hwac3     working   AC3 through S/PDIF
hwdts       hwac3     working   DTS through S/PDIF
atrac3      acm       problems  Sony ATRAC3  [atrac3.acm]

I also have found these sites, but cannot help my "sound" problem.  Having a fuzzy TV reception at this time is fine, as I am planning to change my TV tuner. But for the spdif,  I need to make it work since my amp is connected via spdif coax.

http://www.gossamer-threads.com/lists/mythtv/users/225533?page=last
http://www.mythtv.org/pipermail/mythtv-users/2006-August/145481.html

Experts, please I need your assistance. Thanks.


7
You could try blacklisting the module in
Code: [Select]
/etc/modules.d/blacklist
Edit that file and add the cx88_alsa in there, reboot and see what happens.
This will prevent kubuntu form loading that particular module.

Regards,

Seth

Thanks, the above did not load cx88_alsa. However, my problem of no sound ONLY in MythTV Live TV exists. My DVD, CD, music, and other sounds are doing all ok...but MYTHTV Live TV.

Hopefully someone can help...I have tried everything -- but all the suggestions from these sites were not successful for me.

http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF
http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound
http://www.gossamer-threads.com/lists/mythtv/users/165712
http://www.mythtv.org/pipermail/mythtv-users/2005-December/113776.html

Thanks.

8
Hi,

Appreciate if you can help advise on how to stopping loading cx88_alsa...this module has a lot of conflict and suspecting causing my MythTV to not use the spdif.

[   37.253159] cx88_alsa: disagrees about version of symbol snd_ctl_add
[   37.253164] cx88_alsa: Unknown symbol snd_ctl_add
[   37.253193] cx88_alsa: disagrees about version of symbol snd_pcm_new
[   37.253195] cx88_alsa: Unknown symbol snd_pcm_new
[   37.253267] cx88_alsa: disagrees about version of symbol snd_card_register
[   37.253269] cx88_alsa: Unknown symbol snd_card_register
[   37.253307] cx88_alsa: disagrees about version of symbol snd_card_free
[   37.253310] cx88_alsa: Unknown symbol snd_card_free
[   37.253499] cx88_alsa: disagrees about version of symbol snd_ctl_new1
[   37.253501] cx88_alsa: Unknown symbol snd_ctl_new1
[   37.253543] cx88_alsa: disagrees about version of symbol snd_card_new
[   37.253545] cx88_alsa: Unknown symbol snd_card_new
[   37.253579] cx88_alsa: disagrees about version of symbol snd_pcm_lib_ioctl
[   37.253581] cx88_alsa: Unknown symbol snd_pcm_lib_ioctl
[   37.253646] cx88_alsa: disagrees about version of symbol snd_pcm_set_ops
[   37.253648] cx88_alsa: Unknown symbol snd_pcm_set_ops
[   37.253783] cx88_alsa: disagrees about version of symbol snd_pcm_hw_constrain
t_integer
[   37.253786] cx88_alsa: Unknown symbol snd_pcm_hw_constraint_integer
[   37.253939] cx88_alsa: disagrees about version of symbol snd_pcm_period_elaps
ed
[   37.253942] cx88_alsa: Unknown symbol snd_pcm_period_elapsed

Any idea on how to turn off this module...This is all related to snd...

I also have tried:

sudo modprobe cx88_alsa

but get this error message:

inuxmce@dcerouter:/etc/udev/rules.d$ sudo modprobe cx88_alsa
[sudo] password for linuxmce:
FATAL: Error inserting cx88_alsa (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/cx88/cx88-alsa.ko): Unknown symbol in module, or unknown parameter (see dmesg)


Thanks.

9
Users / Re: Scanning DVB-C Channels?
« on: June 22, 2008, 05:13:40 am »
Thanks.

I tried installing DVD-utils, but I got an error message. Any idea why?

linuxmce@dcerouter:/usr/share/doc$ sudo apt-get install dvd-utils
[sudo] password for linuxmce:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package dvd-utils
linuxmce@dcerouter:/usr/share/doc$


Thanks again.

10
Users / location of Mythtv directory in Linux MCE??
« on: June 20, 2008, 07:13:20 am »
What's the location of Mythtv directory.  I am trying to locate settings.pro

According to this site: http://www.mmalson.com/mythtv/
-----------------
Configuring the sound card
For some reason, MythTV does not default to using the ALSA sound system. So, I had to edit the settings.pro file in the mythtv directory to uncomment the following lines:
   CONFIG += using_alsa
   ALSA_LIBS = -lasound
---------------
This may solve my problem of not having sound in MythTV Live TV.

or this is really true
http://ubuntuforums.org/showthread.php?t=636118

Thanks.

11
I have this output:
----------------------
linuxmce@dcerouter:~$ aplay -L
front:CARD=Intel,DEV=0
    HDA Intel, ALC880 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC880 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC880 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC880 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC880 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC880 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
    Discard all samples (playback) or generate zero samples (capture)
---------------------------
linuxmce@dcerouter:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC880 Digital [ALC880 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
--------------

Any idea on what to put in the MythTV frontend?

On Mythfrontend Utilities/Setup->Setup-General go to the Audio page and set your audio device as
 Audio output device        = ???
 Passthrough outputdevice   = ???
 Enable AC3 to SPDIF passthrough   check
 Enable DTS to SPDIF passthrough   check


Thanks.

12
I have 1 PCI with sound capability and 1 HDA on-board sound.

1. HDA-Intel
2. Sound ouput of CX23880

What's so confusing is that cx88_also still keeps appearing. I think this is very related so my MythTV sound problem since it is trying to use cx88_alsa -- but I want my MythTV to use HDA-Intel.

(http://forum.linuxmce.org/index.php?topic=5551.0)

[   37.253159] cx88_alsa: disagrees about version of symbol snd_ctl_add
[   37.253164] cx88_alsa: Unknown symbol snd_ctl_add
[   37.253193] cx88_alsa: disagrees about version of symbol snd_pcm_new
[   37.253195] cx88_alsa: Unknown symbol snd_pcm_new
[   37.253267] cx88_alsa: disagrees about version of symbol snd_card_register
[   37.253269] cx88_alsa: Unknown symbol snd_card_register
[   37.253307] cx88_alsa: disagrees about version of symbol snd_card_free
[   37.253310] cx88_alsa: Unknown symbol snd_card_free
[   37.253499] cx88_alsa: disagrees about version of symbol snd_ctl_new1
[   37.253501] cx88_alsa: Unknown symbol snd_ctl_new1
[   37.253543] cx88_alsa: disagrees about version of symbol snd_card_new
[   37.253545] cx88_alsa: Unknown symbol snd_card_new
[   37.253579] cx88_alsa: disagrees about version of symbol snd_pcm_lib_ioctl
[   37.253581] cx88_alsa: Unknown symbol snd_pcm_lib_ioctl
[   37.253646] cx88_alsa: disagrees about version of symbol snd_pcm_set_ops
[   37.253648] cx88_alsa: Unknown symbol snd_pcm_set_ops
[   37.253783] cx88_alsa: disagrees about version of symbol snd_pcm_hw_constrain
t_integer
[   37.253786] cx88_alsa: Unknown symbol snd_pcm_hw_constraint_integer
[   37.253939] cx88_alsa: disagrees about version of symbol snd_pcm_period_elaps
ed
[   37.253942] cx88_alsa: Unknown symbol snd_pcm_period_elapsed


13

After doing a lengthy troubleshooting for my TV tuner to be recognized by LinuxMce/MythTV

http://forum.linuxmce.org/index.php?topic=5545.0

the problem that I am currently encountering are the following:
1. Live TV is fuzzy - but still can see the show.  (To isolate the problem, since I am thinking it might be my cable provider's issue, I booted my system using Windows Vista MCE - that is same hardware, and Live TV in Vista is very very clear). Thus, I am still having problem with the driver.

Is there any other setup I need to do? I did some change in MythTVbackend and Mythtvfrontend.

2. I have no sound on Live TV...Other features of Linux MCE like watching DVD, music do have sound.

I already followed some of the instructions from these sites:
http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound
http://www.mythtv.org/wiki/index.php/Configuring_Digital_Sound_with_AC3_and_SPDIF

Since I am using Digital Coax/SPDIF for my sound system (solved this problem based on this http://forum.linuxmce.org/index.php?topic=5539.0)

Any help or idea? Thanks.

14
Yup, I only have 1 tuner at this point in time.

15
My Linuxmce already recognized my tv tuner. I setup in MythTVbackend Analogue V4l tuner and, video0 (in my case). I was able to scan all the channels.  However, if I am in Linux MCE, and selecting TV -- it will just be a blank screen, and after few seconds, it will just go back to the main Linux mce screen.

Any idea why?

Pages: [1] 2 3