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

Pages: [1] 2 3 ... 6
1
First apologies if this is the wrong place to post this.

After seeing Tschak909's post about simple phone and Phoenix solo:

http://forum.linuxmce.org/index.php/topic,13314.0.html

I thought I would dust mine off and try it. In 8.10 there had been a number of glitches with symbolic links and the version of alsa being used which I was able to fix:

http://forum.linuxmce.org/index.php/topic,10428.15.html

But in 10.04 my Phoenix solo never worked on my Media Director. Back in May 2013 when I first installed the MD I got this after I plugged it in:


dmesg gives this:

[ 9120.397530] usb 2-1: new full speed USB device using uhci_hcd and address 3
[ 9120.608612] usb 2-1: configuration #1 chosen from 1 choice
[ 9120.614550] input: AKM                       AK4571                    as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.3/input/input8
[ 9120.614806] generic-usb 0003:0556:0004.0004: input,hidraw3: USB HID v1.10 Device [AKM                       AK4571                   ] on usb-0000:00:1d.0-1/input3

then when I ran the command:

lsusb:

The MD froze. In other words, the system would initially see the mic and register it, but when I would command line lsusb the whole system froze and you had to do a hard boot.

Now, several update/upgrades later I was hoping this had been fixed: I boot the MD with nothing attached except the USB UIRT, HDMI and network cable (no keyboard, mouse, usb hub etc) and see this with dmesg:

Code: [Select]
[  252.416030] usb 2-2: new full speed USB device using uhci_hcd and address 3
[  252.676833] usb 2-2: configuration #1 chosen from 1 choice
[  252.821353] usbcore: registered new interface driver hidden
if I run aplay -l or lsusb it get this in dmesg:
Code: [Select]
[  317.829503] BUG: soft lockup - CPU#3 stuck for 61s! [modprobe:10775]
[  317.829503] Modules linked in: usbhid(+) snd_usb_audio(+) hid snd_usbmidi_lib nls_utf8 cifs snd_hda_codec_nvhdmi snd_hda_codec_realtek snd_pcm_oss snd_hda_intel snd_mixer_oss snd_hda_codec snd_hwdep snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore snd_page_alloc appletalk ppdev lp parport autofs4 ftdi_sio psmouse asus_atk0110 usbserial serio_raw xhci nvidia(P) nfsd exportfs nfs lockd nfs_acl auth_rpcgss sunrpc raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx raid1 raid0 multipath linear nbd atl1c fbcon tileblit font bitblit softcursor uvesafb ahci r8168 intel_agp agpgart [last unloaded: soundcore]
[  317.829573]
[  317.829573] Pid: 10775, comm: modprobe Tainted: P        W  (2.6.32-46-generic #108-Ubuntu) System Product Name
[  317.829573] EIP: 0060:[<f0621e40>] EFLAGS: 00000282 CPU: 3
[  317.829573] EIP is at find_audio_control_unit+0x30/0x70 [snd_usb_audio]
[  317.829573] EAX: ecd8863d EBX: ed2efd78 ECX: ecd8863d EDX: ecd88677
[  317.829573] ESI: 00000006 EDI: ed2efcd4 EBP: ed2efc4c ESP: ed2efc40
[  317.829573]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[  317.829573] CR0: 8005003b CR2: 223bc2e4 CR3: 2c0d6000 CR4: 000006d0
[  317.829573] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[  317.829573] DR6: ffff0ff0 DR7: 00000400
[  317.829573] Call Trace:
[  317.829573]  [<f0621ead>] check_input_term+0x2d/0x240 [snd_usb_audio]
[  317.829573]  [<f0623c84>] parse_audio_unit+0x5d4/0xce0 [snd_usb_audio]
[  317.829573]  [<c034faea>] ? idr_get_empty_slot+0x9a/0x130
[  317.829573]  [<f0623802>] parse_audio_unit+0x152/0xce0 [snd_usb_audio]
[  317.829573]  [<c0263444>] ? __sysfs_add_one+0x24/0xc0
[  317.829573]  [<c021f035>] ? iput+0x25/0x60
[  317.829573]  [<c0595373>] ? notifier_call_chain+0x43/0x60
[  317.829573]  [<f0624418>] ? snd_usb_create_mixer+0x88/0x370 [snd_usb_audio]
[  317.829573]  [<f06244fa>] snd_usb_create_mixer+0x16a/0x370 [snd_usb_audio]
[  317.829573]  [<f0621637>] usb_audio_probe+0x227/0x7b0 [snd_usb_audio]
[  317.829573]  [<c044feb0>] usb_probe_interface+0xc0/0x180
[  317.829573]  [<c0263a47>] ? sysfs_create_link+0x17/0x20
[  317.829573]  [<c03ebdfd>] really_probe+0x4d/0x140
[  317.829573]  [<c03f270e>] ? pm_runtime_barrier+0x4e/0xc0
[  317.829573]  [<c03ebf2c>] driver_probe_device+0x3c/0x60
[  317.829573]  [<c03ebfd1>] __driver_attach+0x81/0x90
[  317.829573]  [<c03eb413>] bus_for_each_dev+0x53/0x80
[  317.829573]  [<c03ebcce>] driver_attach+0x1e/0x20
[  317.829897]  [<c03ebf50>] ? __driver_attach+0x0/0x90
[  317.829897]  [<c03eb695>] bus_add_driver+0xd5/0x280
[  317.829897]  [<c03ec2ca>] driver_register+0x6a/0x130
[  317.829897]  [<c044fc51>] usb_register_driver+0x81/0xf0
[  317.829897]  [<c01a9337>] ? tracepoint_module_notify+0x27/0x30
[  317.829897]  [<c0595373>] ? notifier_call_chain+0x43/0x60
[  317.829897]  [<f03e503a>] snd_usb_audio_init+0x3a/0x3c [snd_usb_audio]
[  317.829897]  [<c016de44>] ? __blocking_notifier_call_chain+0x54/0x70
[  317.829897]  [<c0101131>] do_one_initcall+0x31/0x190
[  317.829897]  [<f03e5000>] ? snd_usb_audio_init+0x0/0x3c [snd_usb_audio]
[  317.829897]  [<c0183960>] sys_init_module+0xb0/0x210
[  317.829897]  [<c01033ec>] syscall_call+0x7/0xb
[  317.829897]  [<c0590000>] ? acpi_processor_power_init+0x90/0x14b
root@moon104:~
I can take the same Phoenix solo usb mic and run it with no problems on Raspberry Pi or Mac OS 10.9 so I am sure it is not the device itself.

From google I found that there was a bug in 10.04 for usb devices which was fixed by changing the grub script:

http://www.ubuntugeek.com/how-to-fix-usb-stops-working-problem-in-ubuntu.html

or patching the kernel:

https://patchwork.kernel.org/patch/1251681/

But when I start digging into doing this on a MD all of the solutions listed above can not be done from the command line in moon because (I am assuming) of the diskless boot. It turns out that my MD and my core are using different kernels--just to make things more complex.

So, I am wondering what the best way to proceed might be:

1. Upgrade the kernel on the MD?

2. Upgrade a package on the MD?

3. Upgrade (or down grade) alsa on the MD?

4. Change the grub2 script

In all these cases, I need to understand better how you change the image for the diskless boot. While I get hints here and there I can't find anything that allows you to only change the image for the MD without touching what is going on on the core.

Not wanting to destroy everything that is working just for this microphone I am wondering if anyone has experience/suggestions on how best to fix this. Any advice/experience would be greatly appreciated.

2
OK, it took me some time to get back to this and then a bit more time to compare it to 8.10 to see what is wrong. Here are the steps to solve it:

ls -l /usr/share/asterisk/sounds

everything in this directory is listed as root:root in 10.04. In my working version of 8.10 it is listed as asterisk:asterisk. So I first changed ownership of all the gsm files:

chown asterisk:asterisk /usr/share/asterisk/sounds/*.gsm

Then stopped and started asterisk and still no love. Then went to look at the pluto directory and found that it was root:root so changed it:

chown asterisk:asterisk /usr/share/asterisk/sounds/pluto

Stop and start asterisk and dial in. Now asterisk can get into the directory where the files are located and play them. It was that simple. Just make sure that everything in that pluto directory is asterisk:asterisk as pointed out here:

http://forum.linuxmce.org/index.php/topic,13068.0.html

If you have problems with recordings or other things permission related with asterisk I would try this on the folder and contents of the files in question.

I'll file this as a bug. Hope this saves someone else hours of trying to figure this out.

3
Hi,

I followed the thread that was supposed to solve this in January, but it does not work for me in the final release of 10.04:

http://forum.linuxmce.org/index.php/topic,13068.0.html

I've changed the permissions to asterisk:asterisk rebooted asterisk (and the core for good measure) and still nothing happens:

 -- Executing [s@voice-menu-lmce-custom:4] Background("SIP/206.15.148.189-00000002", "pluto/pluto-default-voicemenu")
[May 15 09:56:18] WARNING[11419]: file.c:663 ast_openstream_full: File pluto/pluto-default-voicemenu does not exist in any format
[May 15 09:56:18] WARNING[11419]: file.c:958 ast_streamfile: Unable to open pluto/pluto-default-voicemenu (format 0x8 (alaw)): No such file or directory
[May 15 09:56:18] WARNING[11419]: pbx.c:9781 pbx_builtin_background: ast_streamfile failed on SIP/206.15.148.189-00000002 for pluto/pluto-default-voicemenu
    -- Executing [s@voice-menu-lmce-custom:5] Set("SIP/206.15.148.189-00000002", "TIMEOUT(digit)=10")
    -- Digit timeout set to 10.000
    -- Executing [s@voice-menu-lmce-custom:6] Set("SIP/206.15.148.189-00000002", "TIMEOUT(response)=20")
    -- Response timeout set to 20.000
[May 15 09:56:28] WARNING[11419]: pbx.c:5203 __ast_pbx_run: Don't know what to do with 'SIP/206.15.148.189-00000002'

Also, when I dial *98 I get no voicemail prompts although Asterisk seems to think it is playing them:

    -- Executing [*98@from-internal:2] Wait("SCCP/202-0000000a", "1") in new stack
    -- Executing [*98@from-internal:3] VoiceMailMain("SCCP/202-0000000a", "") in new stack
    -- <SCCP/202-0000000a> Playing 'vm-login.gsm' (language 'en')
  == Manager 'admin' logged on from 127.0.0.1
    -- <SCCP/202-0000000a> Playing 'vm-password.gsm' (language 'en')
    -- Incorrect password '' for user '202' (context = default)
    -- <SCCP/202-0000000a> Playing 'vm-incorrect-mailbox.gsm' (language 'en')
    -- SEP001121116CEB is Onhook
  == SEP001121116CEB: Ending call 10 on line 202 (Connected)

No sound and no password entered....

I'll keep digging but if anyone has fixed this on their own core, I would appreciate any pointers. Thanks in advance.

4
apt-get update then apt-get upgrade from command line.

Does no one else have this issue or am I the only lucky one?

i"ll try installing another diskless MD this weekend and see if the issue is duplicated on that one.


5
There are many great features in 10.4: Installation seems flawless, many of the devices that were laborious to install in 8.10 are PNP in 10.4 (gc-100 and PLM for example) and video streaming of movies and recorded TV seems to work better than ever.

However, there are also a number of surprising things I have been finding out while trying to get 8.10 devices to work on 10.4:

Don't try and upgrade the nvidia driver--it will put you into API mismatch hell

Ctrl alt backspace will not get you out of the x terminal in 10.4--you have to manually go in to the keyboard setup and tell it those keystrokes

The PNP que only gives you so many chances to use a device--use them up and you have to go into mysql and delete all instances of the device in the database so that it can start over.

Drivers that were buggy/non functional in 8.10 may seem functional in 10.4 but may still be buggy--do your research.

A case in point brought me to another surprising discovery: When you go to update a diskless MD (as when you change the buggy Realtek 8169 driver that comes with 10.4 to the updated 8168 driver that works well with 10.4) you run into a conflict between different kernels:

root@dcerouter:/boot# cd /usr/pluto/diskless/
root@dcerouter:/usr/pluto/diskless# chroot 80
root@dcerouter:/# depmod
WARNING: Couldn't open directory /lib/modules/2.6.32-45-generic: No such file or directory
FATAL: Could not open /lib/modules/2.6.32-45-generic/modules.dep.temp for writing: No such file or directory

???
root@dcerouter:/boot# uname -a
Linux dcerouter 2.6.32-45-generic #104-Ubuntu SMP Tue Feb 19 21:21:41 UTC 2013 i686 GNU/Linux

root@dcerouter:/# cd /lib/modules/
root@dcerouter:/lib/modules# ls
2.6.32-46-generic

What is going on? one says 45 and the other is 46.

My workaround (which seems to work so far):

root@dcerouter:/usr/pluto/diskless# chroot 80
root@dcerouter:/# depmod 2.6.32-46-generic
root@dcerouter:/# mkinitramfs -o initrd.img-`uname -r` 2.6.32-46-generic

here is the background on the issue:
http://wiki.linuxmce.org/index.php/Realtek_8168

I've done update and upgrade inside both the core and the MD

I admit profound ignorance when it comes to depmod and the different kernels in play. My question: Is this a bug that needs to be addressed?

Many thanks for any input.

6
Installation issues / Re: [SOLVED] Solo USB microphone problem
« on: November 30, 2012, 08:21:34 pm »
Here is a fix that worked for me when my 8.10 system went down with Sandy and as I rebuilt it I decided to fix all those little things that irritated me along the way:

This problem is apparently a bug that has been documented with other ubuntu users of that era and was successfully fixed by upgrading alsa to later versions. I decided to upgrade to the most recent alsa version after my tv, video etc were all working and I found that when I downgraded, as suggested above, the phone worked but the tv, video sound did not and I didn't want to jump into the morass of an earlier alsa to figure it out.

I worked from the instructions found here:

http://www.webupd8.org/2009/08/how-to-upgrade-to-alsa-1020-on-ubuntu.html

but found that the libncurses-dev file was the wrong one for upgrading the alas-utils. I have changed that in the instructions below:

----------------------------
remove the existing alsa:

apt-get remove alsa-modules-`uname -r`

you can replace it later if you have problems with:

apt-get install alsa-modules-`uname -r`
then reboot
---------------------------------------
now the drivers load, the phone rings, but the video and tv sound don't work
after the reboot:

root@dcerouter:~# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.17.
(the previous version which you just removed was 1.0.23)

so rather than mess around with the old driver lets dive in and try and install the latest alsa driver and see if that improves things:
-----------------------------
Make a directory where you are going to store things initially:

sudo mkdir -p ~/downloads/alsa
---------------------------------
Get all the files you will need to build alsa:

apt-get -y install build-essential libncursesw5-dev get text xmlto

sudo apt-get -y install linux-headers-`uname -r`
---------------------------------------------
Switch into the directory you made and start downloading the alsa files:
cd ~/downloads/alsa

wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.25.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.25.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.25.tar.bz2
---------------------------
make a directory where you will unpack everything

sudo mkdir -p /usr/src/alsa

then copy the files you just downloaded into that directory:

cp * /usr/src/alsa
---------------------------
now unpack:

cd /usr/src/alsa/

sudo tar xjf alsa-driver*

sudo tar xjf alsa-lib*

sudo tar xjf alsa-utils*

----------------------------------
Compile alsa driver:
cd alsa-driver*

sudo ./configure

sudo make
(this takes awhile)
sudo make install
------------------------------------
compile  alsa-lib:
cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install

-------------------------------------
compile alsa-utils
cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install
----------------------------------
reboot

--------------------------------
then:
cat /proc/asound/version

Advanced Linux Sound Architecture Driver Version 1.0.25.

aplay -l


**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: AK4571 [AK4571], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

then go unmute everything in:

alsamixer

(highlight and press m for any columns that are marked MM and use your keyboard arrows to navigate to raise or lower sound levels)
hit esc
play a video, and tv--works
call the MD with the Phoenix Solo--attached speakers work

Hope this helps!


7
Trying to get incoming calls to work on 10.04--even with a fairly good understanding of asterisk and the now missing freepbx--has been frustrating. Here is one clue if you are getting the message "this number is not in service, please check the number and dial again" when you call into your lmce phone:

Apparently the number detection is not yet working--or I haven't found a way to turn it on yet--and so asterisk thinks it is an anonymous call. In /etc/extensions.conf the second line under globals is set to no

 ALLOW_SIP_ANON = no

this kicks any phone call into internal voice message that sounds exactly like a phone provider message informing the dialer that the number is not in service. If you change this to

ALLOW_SIP_ANON = yes

and the do a core restart gracefully inside of asterisk, external phone calls will now be allowed to go in to the system

Of course you are still not "home" yet as the system then tells you that pluto default voice mail does not exist and then just hangs not knowing what to do:


 -- Launched AGI Script /usr/share/asterisk/agi-bin/lmce-callersforme.agi
    -- AGI Script Executing Application: (NoOp) Options: (Finding if unknown is a caller for somebody)
    -- <SIP/206.15.148.221-00000000>AGI Script lmce-callersforme.agi completed, returning 0
    -- Executing [s@voice-menu-lmce-custom:4] Background("SIP/206.15.148.221-00000000", "pluto/pluto-default-voicemenu")
[Sep 16 09:08:59] WARNING[14592]: file.c:663 ast_openstream_full: File pluto/pluto-default-voicemenu does not exist in any format
[Sep 16 09:08:59] WARNING[14592]: file.c:958 ast_streamfile: Unable to open pluto/pluto-default-voicemenu (format 0x8 (alaw)): Permission denied
[Sep 16 09:08:59] WARNING[14592]: pbx.c:9781 pbx_builtin_background: ast_streamfile failed on SIP/206.15.148.221-00000000 for pluto/pluto-default-voicemenu
    -- Executing [s@voice-menu-lmce-custom:5] Set("SIP/206.15.148.221-00000000", "TIMEOUT(digit)=10")
    -- Digit timeout set to 10.000
    -- Executing [s@voice-menu-lmce-custom:6] Set("SIP/206.15.148.221-00000000", "TIMEOUT(response)=20")
    -- Response timeout set to 20.000
[Sep 16 09:09:18] WARNING[14592]: pbx.c:5203 __ast_pbx_run: Don't know what to do with 'SIP/206.15.148.221-00000000'


I'll post here if I find any way around this, but in the meantime, if people call you on your cell and let you know your phone has been taken out of service you will know why.

One more hint: when setting up your phone lines to your sip provider in the "prefix" field you should enter the number you want to dial out before the phone number, as in 91973-xxx-xxxx in the US. This seems like a great feature as it allows you to have several providers and dial automatically to that provider based on where the call is going and which prefix you use. I found this in the forum, but it was not intuitively obvious in the web admin.

Finally, do you think we could get a FAQ going just about how 10.04 asterisk is supposed to work and the gotchas? Searching the forum and/or wiki gives you all the flavors of asterisk used to date and is highly inefficient. Since freepbx is no longer implemented, searching the web isn't useful as it assumes you are using freepbx as part of the solution.

Just my 2 cents.

8
Loaded 10.04 and overall very impressed however I again found a problem detecting hdpvr if you have a new model  "4903"

In all fairness, it looks like the files to make and install the driver are there--it just didn't get compiled against the correct kernel and was never installed. I need to know how to make and install the hdpvr.ko driver agains the current kernel. Since the files are in different places than in 8.10 I'm hesitant to wade in without some guidance.

Background:
When you do a modinfo hdpvr you get:

filename:       /lib/modules/2.6.32-42-generic/kernel/drivers/media/video/hdpvr/hdpvr.ko
description:    Hauppauge HD PVR driver
author:         Janne Grunau
license:        GPL
srcversion:     B206354E5E27473B8EAF8BB
alias:          usb:v2040p4902d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4901d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4900d*dc*dsc*dp*ic*isc*ip*
depends:        videodev,v4l2-common
vermagic:       2.6.32-42-generic SMP mod_unload modversions 586
....

which shows that the driver has loaded but 4903 is not included in the list and it was compiled against the 2.6.32-42-generic kernel.

However, if you go to

/mnt/device/38/copy _root_files/v4l-dvb/v4l

(38 is the device number of my hard drive)

there is another hdpvr.ko which--if you check hdpvr.h--has been compiled to include the 4903 id
The problem is that you can not simply copy it to the folder the system looks for the modules because it is compiled against the wrong version of linux and will not load:

 modprobe hdpvr
FATAL: Error inserting hdpvr (/lib/modules/2.6.32-42-generic/kernel/drivers/media/video/hdpvr/hdpvr.ko): Invalid module format

however, a modinfo reveals what the hdpvr.h file reveals--it is setup for 4903--just the wrong kernel

filename:       hdpvr.ko
description:    Hauppauge HD PVR driver
author:         Janne Grunau
license:        GPL
srcversion:     F6C2EB82D72336F87FBCDC3
alias:          usb:v2040p4982d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4902d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4901d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4903d*dc*dsc*dp*ic*isc*ip*
depends:        usbcore,videodev,v4l2-common
vermagic:       2.6.27-17-generic SMP mod_unload modversions 586

I don't want to mess anything up at this point--so does anyone have a suggestion about how to compile these files agains the current kernel? A simple make does not work even though the makefile is there as it wants a target which I am hesitant to give without some more guidance.

As from my earlier post in 8.10, the problem is that unless LMCE has the correct driver in place it does not see "4903" and the PNP will not detect the device. And please, if any developers are reading this, it looks like everything has been fixed except for compiling/loading the correct driver. Please help!

Here is the link to my 8.10 post:
http://forum.linuxmce.org/index.php/topic,10945.0.html

9
I am seeing a number of conflicting threads/tutorials on this forum about how to do this and wondered if anyone had a solid solution for 8.10. The problem is that mythTV does a better job of playing back these recordings than the current xine player and so I really don't want them cluttering up the dvd collection. Also, I have a huge data disk that I put all the data on and I don't want my startup disk that runs linuxmce to fill up with mythtv recordings before it goes and finds the other disk to download to.

The solutions (and problems) I have found so far:

One tutorial suggests creating a new folder and then "touching" it to keep the media from updating it:

http://wiki.linuxmce.org/index.php/MythTv:_Don%27t_scan_live_tv

However, that suggestion has met with a lot of developer wrath...and would likely need to change the directory of the scripts for installing and maintaing the mythTV databases.

Another suggestion, from CHT, says to put the recordings outside the /public/data directory so it won't be scanned and updated in the database, but, again, that seems to be in conflict with scripts put in place by linuxmce to install and update. I would prefer to make one change that is not overwritten later by a script that runs automatically or is overwritten by and upgrade.

Seems like a trivial problem, but there is enough conflicting info out there that I thought I would ask for your advice first.

In advance, thanks for your suggestions

10
Users / Re: xine-lib and video playback issues?
« on: March 03, 2012, 05:21:07 pm »
Thank you so much! For the first time I can play mythtv recordings that show up in the video list directly through LMCE. This has been a deficiency that has been often commented on but none of the earlier fixes took care of it on my system. Fantastic upgrade for LMCE. Great work.

11
I went to get postfix working based on the wiki tutorial here:

http://wiki.linuxmce.org/index.php/Postfix_configured_with_Gmail_SMTP

the scripts that are supposed to be in a tar download but will not untar:

wget http://donpaul.info/configure_postfix.tar

looks like they have been corrupted or are being seen as cpgz files

I then checked if Configure_Postfix_interactive.sh is installed to  /usr/pluto/bin

Yep, already there. I updated the tutorial

12
Users / Re: Tutorial added to wiki for Insteon Venstar Thermostat
« on: February 10, 2012, 11:36:57 pm »
I read through the wiki tutorial and it mentions that you should have built an configured template 2209 as a preface to the steps. On 8.10 I don't have that template. Could you please post how to create or gain access to the template you refer to?

I read through your threads and it appears I am having the same issue that you were attempting to resolve some time ago: I add template #4 to devices climate and fill in the room and insteon port, the insteon PLM sees it and enters it into the database but when you rebuild all the orbiters to show that a climate device is there, apparently LMCE goes through and checks all the GSD devices and for some reason doesn't see it in the list and then deletes it. This happened 3 times to me until I read through the threads.

If you have worked out a new template that fixes this problem that would be great!

13
Users / Re: xine-lib and video playback issues?
« on: November 11, 2011, 07:09:33 pm »
I went through these instructions and got 8.10 to play flawlessly with the mythtv frontend over hdmi. Thanks!

However when it comes to libxine, xine player crashes when you try and start up a DVD under video with the plea that:

I'm unable to initialize m_pXine's 'alsa' audio driver. <0xb6498b90>

I went back to /etc/pluto/xine.conf and changed the audio.driver setting back to "auto" and it gave me the same plea.

Reading around various posts it seems that it might be caused by another program hijacking alsa and not releasing it (for example mythtv) but without pursuing this further, I wondered it anyone had a similar problem or had ideas about how to overcome it.

I have the 1.0.24.2 alsa drivers installed and the latest libxine2 and pluto-xine dpkg packages from phenigma.

My only other thought is that I have 3 devices available from the NVIDIA driver install, and I have set up one device as default as per the instructions in ~/.asoundrc   and /home/linuxmce/.asoundrc:


pcm.!default {
      type hw
      card 1
      device 7 
}



Would there be a way to tell xine to use a different device, say 1,9? It doesn't work by just going in and setting the audio.alsa setting in xine.conf. 

As you can tell, alsa is a big black box to me so I need some help troubleshooting what went wrong, since mythtv uses this fix so perfectly.

here is my aplay -l if that helps:

root@moon272:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC887 Analog [ALC887 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC887 Digital [ALC887 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Thanks!

14
Users / Re: Latest apt-get upgrade shows 530 files??
« on: November 04, 2011, 05:09:56 pm »
OK, if anyone else has this problem, most of the issues I experienced were from the lucid upgrade knocking out the dhcp server function of LMCE making my GC-100 non functional as well as other devices whose IP lease had expired during the power outage.

The way I fixed it was a bit messy but it may give you an idea of how to go about addressing it on your system should the need arise.
Since I could not restart the dhcp3-server the first thing I tried to do was remove it. Well, this also took out dce-router so that was not so good. I reinstalled dce-router and then tried to reinstall dhcp3-server but got a dependency error that stated that the wrong dhcp3-common file is installed--which is what I suspect the lucid upgrade did. So I removed the dhcp3-common file that was installed and installed the correct one, then reinstalled dhcp3-server. However, the server would not start and gave this error:

Setting up dhcp3-server (3.1.1-1ubuntu2.2) ...
Installing new version of config file /etc/init.d/dhcp3-server ...
dhcpd self-test failed. Please fix the config file.
The error was:
Internet Systems Consortium DHCP Server V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Can't open /etc/bind/rndc.key: Permission denied
invoke-rc.d: initscript dhcp3-server, action "start" failed.

So searching the internet, I found this fix:

I have added these two lines to the dhcp3 profile: /etc/apparmor.d/usr.sbin.dhcpd3
/etc/bind/ r,
/etc/bind/** r,
After restarting apparmor

/etc/init.d/apparmor restart

I am now able to restart dhcp3 without any errors.

then

/etc/init.d/dhcp3-server restart


Which was true, but somehow eth0 had lost its ability to get an ip meaning I had a functional intranet but no internet. So I changed eth0 settings from DHCP to manual and filled them in, and then rebooted hoping for the best.

So far, so good. I don't know if LMCE recognized all the shenanigans I had pulled and reinstalled the correct files or if this actually worked on its on, but when I do an apt-get upgrade nothing shows up, dhcp is assigning addresses again, gc-100 works and I have learned my lesson to never ever upgrade unless you check it out first.




15
Users / Re: Latest apt-get upgrade shows 530 files??
« on: November 04, 2011, 03:27:15 pm »
I guess I did not know how. I guess thought checking the box to share them somehow automatically brought them into the database. Happy to do it. Is there a link somewhere with the instructions?

Pages: [1] 2 3 ... 6