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

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

After seeing Tschak909's post about simple phone and Phoenix solo:,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:,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:


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

or patching the kernel:

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.


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:,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/", "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/ for pluto/pluto-default-voicemenu
    -- Executing [s@voice-menu-lmce-custom:5] Set("SIP/", "TIMEOUT(digit)=10")
    -- Digit timeout set to 10.000
    -- Executing [s@voice-menu-lmce-custom:6] Set("SIP/", "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/'

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

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

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:

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.

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


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


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/>AGI Script lmce-callersforme.agi completed, returning 0
    -- Executing [s@voice-menu-lmce-custom:4] Background("SIP/", "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/ for pluto/pluto-default-voicemenu
    -- Executing [s@voice-menu-lmce-custom:5] Set("SIP/", "TIMEOUT(digit)=10")
    -- Digit timeout set to 10.000
    -- Executing [s@voice-menu-lmce-custom:6] Set("SIP/", "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/'

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.

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.

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:,10945.0.html

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:

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

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

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


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

I then checked if is installed to  /usr/pluto/bin

Yep, already there. I updated the tutorial

Installation issues / Roaming Orb and iPad2
« on: September 29, 2011, 09:56:22 pm »
Has anyone noticed that the default screen orientation on the iPad2 for Roaming Orb is upside down--if you are using the magnetic iPad cover? It will not reverse if you orient the ipad the other way. (This is not the case for the Dianemo orbiter, but since the Dianemo orbiter is significantly slower I would prefer to use the Roaming orb.)

Is there an easy work around for this or do I need to make a request to the developer to reorient the default screen 180 degrees?

Thanks in advance!

My formerly perfectly functional 8.10 loads all the way to "Orbiter Generation Done" and then hangs with a mouse pointer on a black background after I did a apt-get update/ upgrade today. I tried the black screen approach and successfully loaded the correct screen and audio settings again. So that is not it.

From Web admin /Wizard/Devices/Orbiters it says all the MD orbiters have regen'd 100% but it just hangs there (I deleted the iphone orbiter because it was getting stuck at 5%.) Web admin will not let me do a quick reload router or any other function that might break it free.

Does anyone else have this experience or suggestions about how I might fix it? Many thanks in advance..

Here is what I updated:

 apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
The following packages will be upgraded:
  lmce-mediatomb lmce-skins-titanium pluto-asterisk pluto-boot-scripts
  pluto-dcerouter pluto-orbiter pluto-plutodhcp pluto-plutoutils
  pluto-pnp-detection pluto-proxy-orbiter pluto-std-plugins
  pluto-system-database pluto-website-admin
13 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 136MB of archives.
After this operation, 295kB of additional disk space will be used.
Do you want to continue [Y/n]?

Users / Am I the only one who can not play .m2ts? SOLVED!
« on: January 30, 2011, 09:48:10 pm »
I've been bugged for several months that 8.10 lets me play everything, including .mkv files through xine, everything except for .m2ts files (no video, but perfect sound) and h264 files recorded by MythTV (HD video but no sound) through mplayer. No one seems to have this problem in the forum recently (it seems that every else had problems playing .mkv files in the past). Granted, I found a post from Sept. 2010 that said mplayer did not support .m2ts files (with a work around), but I assumed that this had been fixed since then and hate messing around with the work arounds unless absolutely necessary:

If it is still not working, please, could someone let me know that this is the case--no .m2ts until further notice?

If it has been fixed and someone can help me get it working here is my situation:
I'm running VDPAU with the a nvidia GEForce 9600GT PCIe card and the lastest nvida driver 260.19.36 and I allowed nvida xconfig to overwrite my /etc/X11/xorg.conf. I'm pretty sure VDPAU is working because when I run top from the command line and play a file in either xine or mplayer it uses about 1% of the cpu.

But when I run (as root):
mplayer -vc ffh264vdpau -vo vdpau /home/public/data/videos/THE_AVIATOR/BDMV/STREAM/00000.m2ts

I get:

MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/public/data/videos/THE_AVIATOR/BDMV/STREAM/00000.m2ts.
TS file format detected.
VIDEO VC1(pid=4113) AUDIO A52(pid=4353) NO SUBS (yet)!  PROGRAM N. 1
Searching for VC1 sequence header... found
VIDEO:  VC-1  1920x1080, 23.976 fps, header len: 33
Error opening/initializing the selected video_out (-vo) device.
Forced audio codec: mad
Trying to force audio codec driver family hwac3...
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 640000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 640.0 kbit/41.67% (ratio: 80000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
[AO_ALSA] alsa-lib: conf.c:3843:(parse_args) Unknown parameter AES0
[AO_ALSA] alsa-lib: conf.c:3969:(snd_config_expand) Parse arguments error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2205:(snd_pcm_open_noupdate) Unknown PCM hw:0,1,AES0=6
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
Video: no video
Starting playback...
A:  23.7 (23.7) of 282943.1 (78:35:43.0)  0.7%

In other words: The sound plays and there is no video because it can not open the video out device:
Error opening/initializing the selected video_out (-vo) device.

When I run:
mplayer -vo help

to determine what is available as a vo I get:
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Available video output drivers:
   xmga   Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)
   mga   Matrox G200/G4x0/G550 overlay (/dev/mga_vid)
   tdfxfb   3Dfx Banshee/Voodoo3/Voodoo5
   3dfx   3dfx (/dev/3dfx)
   xv   X11/Xv
   x11   X11 ( XImage/Shm )
   xover   General X11 driver for overlay capable video output drivers
   gl   X11 (OpenGL)
   gl2   X11 (OpenGL) - multiple textures version
   dga   DGA ( Direct Graphic Access V2.0 )
   sdl   SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
   ggi   General Graphics Interface (GGI) output
   fbdev   Framebuffer Device
   fbdev2   Framebuffer Device
   svga   SVGAlib
   aa   AAlib
   caca   libcaca
   dxr3   DXR3/H+ video out
   v4l2   V4L2 MPEG Video Decoder Output
   xvidix   X11 (VIDIX)
   cvidix   console VIDIX
   null   Null video output
   xvmc   XVideo Motion Compensation
   mpegpes   Mpeg-PES to DVB card
   yuv4mpeg   yuv4mpeg output for mjpegtools
   png   PNG file
   jpeg   JPEG file
   gif89a   animated GIF output
   tga   Targa output
   pnm   PPM/PGM/PGMYUV file
   md5sum   md5sum of each frame

Telling me there is no vdpau. Okay, fair enough. So let's try it with gl which is in the list:
mplayer -vc ffh264vdpau -vo gl /home/public/data/videos/THE_AVIATOR/BDMV/STREAM/00000.m2ts
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/public/data/videos/THE_AVIATOR/BDMV/STREAM/00000.m2ts.
TS file format detected.
VIDEO VC1(pid=4113) AUDIO A52(pid=4353) NO SUBS (yet)!  PROGRAM N. 1
Searching for VC1 sequence header... found
VIDEO:  VC-1  1920x1080, 23.976 fps, header len: 33
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
vo: couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.

So now it can't open the X11 display, OK, how about gl:nomanyfmts? nope, same problem. OK, how about xv? nope, same problem.x11? nope.

I went to the nvidia team ppa and added their debs to my sources.list, but when I went to install vdpauinfo--it told me it was already there, so I didn't want to mess about with what has been installed and stopped to write this.

If anyone has any hints, suggestions, etc. many thanks in advance.

I got the Hauppauge hdpvr ID 4903 to load in LMCE by tweaking the hdpvr driver to recognize the ID (waiting to see if the next update from developers fixes this detection issue of this ID before posting a how to).

Overall,  the hdpvr functions extremely well when recorded material is played from the mythtv frontend. The problem is when I select the same file to play from the orbiter under media video (the files are being written to /home/public/data/pvr and LMCE is picking them up in that directory.) The file plays with the same image quality but there is no sound. I'm using VDPAU and S/PDIF from the motherboard to a receiver. I have followed the various posts in this forum and the wiki and tried the variations in the web admin for the media director, but this doesn't seem to be the problem. MY DVD, audio files, and live TV streamed through the HDPVR are all fine when selected from the orbiter--it is just the recorded h264 which is transcoded to a mpg file by mythtv that will not play back sound.

Since mythtv uses its own player for playback, I'm starting to think that Xine in LMCE does not have the right drivers loaded and perhaps I need to patch or update Xine. I also saw a post that mplayer is capable of playing blu ray decoded disks with some tweaking so I am wondering if I should focus on this as a better alternative for playing back these files.

If anyone could shed some light on what might be going on here and how to approach the problem I would be very grateful. Thanks in advance.

Update2: From looking at the templates for the hdpvr device in lmce and the some instructions for compiling the driver from the mythTV wiki ( , it seems like I may have been hit by the need to update the driver to 4903 instead of 4902 or 4901--which are currently listed in the template. Compounding that, the changes in the sources.list for the downloads of the ivtv-utils may be affecting some of the scripts that are supposed to load ivtv-utils at boot. (if it can't download it, it can't load it.)

Has anybody some insight into if this might be the case and how to fix one or both? It seems like the first step to testing this would be to recompile the hdpvr driver  with/for dkms. Having never done this, it would be great to get a confirmation that this is (could be) the problem.

first update here:

Update: after searching around on the web, it appears that the reason I'm not getting a /dev/videox when the hdpvr driver is loading is because the driver is loading improperly or is outdated.

I went through the drivers that interacted with hdpvr one by one and found that the cx88-dvb.ko driver, even though it showed that it was present in the dkms directory (/lib/modules/2.6.27-17-generic/updates/dkms/) where all the other drivers were loading from, would not load:

root@dcerouter:/lib/modules/2.6.27-17-generic/updates/dkms# modprobe cx88-dvb
FATAL: Error inserting cx88_dvb (/lib/modules/2.6.27-17-generic/updates/dkms/cx88-dvb.ko): No such device

So my question is, not being familiar with how dkms works in LinuxMCE, can I move this directory so that the other drivers I have compiled with the kernel (see below) will work as is suggested by mythtv wiki:

"In Ubuntu, the module may fail to load and refer you to the dmesg command. If this happens, reboot and see if the error resolves itself. It is also possible that Ubuntu is prioritizing another, older copy of the v4l-dvb modules above the one you just installed, and the hdpvr will fail because the two versions do not match. Try a command like:

locate cx88-dvb.ko |grep `uname -r`

This will search for the cx88-dvb kernel module, which is provided in the Hg tree you just built, and also in default Ubuntu installs. If you see more than one copy of this file, you may need to move the older versions out of the way. In at least one case, alternate versions of all the modules were located in "/opt/ltsp/amd64/lib/modules/kernel version number/ubuntu/". The symbol mismatch was solved by moving the "/opt/ltsp/amd64/lib/modules/kernel version number/ubuntu/media" directory into a backup directory in the user's home, then rebooting. " from

Or, will that kill LinuxMCE? Alternatively, is there a way to replace the driver that does not load? Just copying it in give me a whole series of mismatches in dmesg.

Any help greatly appreciated. This is killing me that the driver loads with very little trace of why it will not create the /dev/videox link I need to get this thing working. It seems so close...

Original post begins here:

Emboldened by this link that says it works:

I manually created a device from the template and followed the instruction in the wiki for enabling S/PDIF

I then went to the MythTV wiki page which was a link in the Wiki:

From there, I updated the firmware to 1.5.7 as suggested and for good measure, installed and tested it on Win XP. Everything worked fine. BTW, my unit is rev. F1

I then went to the section on HD-PVR Driver Compilation Howto and looked through the directions. Since I had previously had problems compiling and installing an updated network driver I thought I would just see if an existing driver could be located.

modprobe hdpvr
it installed with no problems that I could detect so I did a

modinfo hdpvr

and got back that it was in the dkms folder under updates

filename:       /lib/modules/2.6.27-17-generic/updates/dkms/hdpvr.ko
description:    Hauppauge HD PVR driver
author:         Janne Grunau
license:        GPL
srcversion:     FA2DE51489C7F30C23989B9
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:v2040p4900d*dc*dsc*dp*ic*isc*ip*
depends:        usbcore,videodev,v4l2-common
vermagic:       2.6.27-17-generic SMP mod_unload modversions 586
parm:           video_nr:video device number (-1=Auto) (array of int)
parm:           hdpvr_debug:enable debugging output (int)
parm:           default_video_input:default video input: 0=Component / 1=S-Video / 2=Composite (uint)
parm:           default_audio_input:default audio input: 0=RCA back / 1=RCA front / 2=S/PDIF (uint)
parm:           boost_audio:boost the audio signal (bool)

when I went to dmesg I got:

14519.552800] usb 5-4: new high speed USB device using ehci_hcd and address 6
[14519.716586] usb 5-4: configuration #1 chosen from 1 choice


[11655.462505] usbcore: registered new interface driver hdpvr


Bus 005 Device 006: ID 2040:4903 Hauppauge

all seemed like this was going to be the easiest install ever until I ran

ls -l /dev/video*

ls: cannot access /dev/video*: No such file or directory

Which indicated to me that even though modprobe loaded hdpvr and it was registered, the driver was not loading properly

Thinking something was either missing or being duplicated I did:

locate cx88-dvb.ko |grep `uname -r`


suggesting there was only one copy installed

So, I thought that the kernel did need to be updated after all and followed the directions on the mythtv wiki:

sudo apt-get install build-essential mercurial linux-headers-`uname -r`

hg clone

cd v4l-dvb
sudo make install

sudo modprobe hdpvr

hdpvr loaded, but when I did modinfo I found it was the same hdpvr that was loaded initially.

So...going back to first principles, I went to the LinuxMCE template for the HDPVR and found that the file Name and path script had apparently not run

sh /usr/pluto/bin/

gave me the error that /usr/pluto/bin/ line 18: v4l2-ctl: command not found

running v4l2-ctl gave me

The program 'v4l2-ctl' is currently not installed.  You can install it by typing:
apt-get install ivtv-utils
bash: v4l2-ctl: command not found

But wait, didn't LinuxMCE tell me it was starting ivtv-utils during the messages at start up?

Sure enough modprobe ivtv loaded

Thinking I needed to install a newer version I did the

apt-get install ivtv-utils

I got these error messages, apparently because I had changed the sources.list to old-releases where ever there was an "archives" or "security" in the URL as per  this post:

But I have no idea where to get ivtv-utils or even if this is the problem at this point so I did not pursue it.

So now I am in a loop where I get no /dev/video loading apparently because v4l2-ctl is not installed, even though ivtv-utils is installed, but is not upgradeable.

Anyone who has installed hdpvr or knows how the ivtv-utils is supposed to work in loading the /dev/video or anything else I've missed willing to give me some ideas how to get this to work?

Many thanks in advance. Hopefully, once I get this sorted, I can put these instructions in the wiki for others to follow.

Recently, looks like squeezebox server (slimserver) was updated on 8.10 to the new 7.5.1 version through an apt-get upgrade. I  subsequently got two squeezebox radios and tried to get the whole house music working between them as outlined in the wiki:

The squeezeboxes are recognized and added to the system, but when I add them to separate rooms and then try and use the floorplan under the media map to connect them, there is no control--no on off, no/volume, no channel either singularly or together--with either the media director interface or the quite nice Roaming Orb app for the iPhone. So far, only thing I have tried to rectify the situation was based on this post that said I should change the port from the default 9090 to 7890 on the CLI settings plugin--but still no joy:

BTW, I didn't do any of the setup outlined for 7.10 using the net UDAP utility as it seems like all this was done through the interface on each device:

Since the two squeezebox device are controllable from the squeezebox server on 8.10, it seems like I'm missing something in the setup/configuration in the web admin.

Has anyone successfully used the new squeezebox server with 8.10 and, if so, what are the magic steps?

Thanks in advance!

After what I thought was a complete cloning of my primary drive (see the only thing that does not work is my voice mail accounts for each user. If you dial *98 and enter the user's voicemail account number as it shows up in wizard\basic info\users as the user name and use the same number for the password you get a voice message telling you that it was the wrong username and password. In the web admin, if you go to telecom\my voicemail or \General voicemail you get a screen that says incorrect user name or password with the opportunity to log in again. Since it is supposed to give you a link showing your voicemails and settings based on your login info to the web admin I am guessing that that somehow the link between the users and the voicemail was broken--and I can not discover how to reset it.

I tried deleting users or adding users from the startup wizard and from the web admin and this did not fix the problem.
I looked at the index.php link for the voicemail section and the other php pages that form this section and nothing seemed out of order.

Is it possible that there is a mysql table that is used for the lookup in asterisk that has missing or corrupted data? Is there a specific .sh script I can run to link these back up? Any help greatly appreciated.

For many linux users this will be trivial, but I had enough problems that I thought I would show one way to do it that worked for me.
My original drive was 80gb and perhaps through all the experimentation I had done with it and despite the fact that I had tons of other drives to store data, it kept giving me the "you are nearly out of disk space" message. This was an old IDE drive that I had used originally to test the idea of LinuxMCE and once I got it working I had added things like doorbells that ring asterisk and hylafax, so doing a simple reinstall would have forced me to retrace a lot of old (and partially forgotten) steps.
Grabbing a new 500 gb SATA drive I partitioned it according to this tutorial:

Please note that in my case, the padding in the dd command seems to have expanded what is written to the new drive as a percentage of what was used on the old drive, so you may want to make the new drive partition only slightly larger than the original and then once everything is copied, reboot into gparted, expand the new partition and then add the extended partition as outlined. This is what I had to do.

However, instead of doing this manually, I used g-parted live CD which gave me a graphical interface and just set it up as suggested:

The reason I partitioned it this way in advance was that my IDE drive had bad sectors that I could not seem to fix and also a major superblock error which prevented me from just cloning the drive to the SATA drive and getting it to work--the superblock error would show up in the new drive as well.

After setting up the new SATA drive as described in the tutorial, I opened a terminal in g-parted live and used the dd command to copy the original drive to the SATA drive.

The command I used was dd if=/dev/hda1 of=/dev/sda1 bs=32256 conv=noerror,sync

dd= data dump, the linux command that reads the binary file from the input and writes it to the output

if= input file, your original drive which you are copying from. You can easily see it in g-parted. I decided to copy only the first partition because it had all that I needed to get a new drive running and the drive had a lot of problems as outlined above

of= output file, the drive you are copying to-also easily determined in g parted. I copied only to sda1 because of the errors mentioned above. So this was a partition to partition copy instead of a whole drive to whole drive copy.

bs= block size, in this case it is 63 sectors each with 512 bytes in each transfer--this is supposed to be optimum, but you can research it if you want to try something else.
conv=noerror,sync converts the sectors without stopping when it finds errors. The sync pads the sector where the errors are so that the clone will be the same size as the original. As state above, because the original drive had errors I had to use this

Once everything is set up, you hit enter and the terminal command begins to run. When it finds an error, it will print it out in terms of input and output and number of bytes written. Be careful, because the program is not through at this point, and there is really no feedback about how long it will take other than a suggestion of how long it took to write the first transfer before finding an error. Wait until you have a new command prompt and the info above it tells you that it wrote the original used capacity of the drive and the process completed before doing anything else. In my case 70 gb took about 70 minutes.

Once this is done, exit g-parted and pull the power to your original drive keeping the new drive connected. Now you must install grub on the new drive so that it will boot properly. In my case, I used the kubuntu 7.10 live cd to do this:

I booted into the live cd and then followed the instructions for installing grub found here:

For some reason, when I went into terminal and got a grub prompt and typed in the find /boot/grub/stage1 what was returned (hd0,0) would not work in the following steps unless I copied and pasted it from the terminal into the command. It kept giving me an error -11.

Once I completed the steps for installing grub outlined in the arsgeek article, I rebooted into the new SATA drive, it found grub, gave me a few errors and then ran. So far, the only thing I have found that LinuxMCE does not recognize the users in the telecom voicemail. The doorbell, phones, and hylafax all seem to work fine. I think running through the setup wizard again should be able to fix this telecom problem.

Hope this helps. If someone has a better method, please let us all know.

Pages: [1] 2