LinuxMCE Forums
May 24, 2013, 06:55:41 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
  Home Help Search Chat Login Register  
  Show Posts
Pages: 1 2 3 [4] 5 6 ... 8
46  LinuxMCE / Developers / Re: Virtual Sound Cards on: November 29, 2012, 07:41:29 am
Not really. The UE radio uses its own UE media server. Lmce currently uses squeeze server. The 2 are apparently incompatible. That may not mean that UE media server will not be able to make use of squeezeslave and that UE media server cannot be integrated into lmce in the future. The UE devices require an internet connection so that makes one think of where the media server is located and why....
47  LinuxMCE / Developers / Virtual Sound Cards on: November 28, 2012, 04:31:37 am
Hello,

Following L3mce's suggestion I took a look at the most recent version of SetupAudioVideo.sh and noticed some big changes notably a Virtual Sound Card function. he mentioned Radu was working on this. I am working on improving squeezeslave and this appears to be pointed in that direction. I looked at the device templates and the 2223 template does not look like what the code would be looking for so I'm thinking this is still under development. Any word on where this stands? Anything I can do to help? My knowledge of bash in limited but growing.
48  LinuxMCE / Developers / Re: Building From Source on: November 24, 2012, 03:25:27 am
I think I got it but I moved on with your advice. I can revisit adding to the package the new squeezeslave source later. I just hate pushing something I have not yet built and tested 1st.

Thanks for that
49  LinuxMCE / Developers / Re: Building From Source on: November 22, 2012, 04:36:01 pm
Ok thanks for the help.

I noticed "install-build-pkgs.sh" ran into all kinds of trouble. I will try loading them each and see what happens.

Jim
50  LinuxMCE / Developers / Re: Building From Source on: November 22, 2012, 04:45:46 am
Ok commented out "build.sh" and came up with error in "build-makerelease.sh" as
Code:
ERROR: Failed to precompile pluto_main to use for MakeRelease

And a whole bunch of
Code:
.....
Computing dependencies for Table_Command.cpp/bin/sh: g++: not found
 done
Computing dependencies for Table_CommMethod.cpp/bin/sh: g++: not found
 done
Computing dependencies for Table_City.cpp/bin/sh: g++: not found
 done
.....

So I don't think its working. I may try and go further but it looks like something is not right.
I'm doing this on a VM not chrooted but on a fresh install of kubuntu 10.04-4 desktop i386.
I'm going to pull down another copy of kubuntu and see if that helps. Same version.



51  LinuxMCE / Developers / Re: Building From Source on: November 22, 2012, 02:34:01 am
Ok kept moving forward with build.
Ran ./build.sh
Crashed in "build-replacements.sh" with
Code:
dpkg-buildpackage -rfakeroot -us -uc -b -tc
/usr/local/lmce-build/build-scripts/build-replacements.sh: line 44: dpkg-buildpackage: command not found

/usr/local/lmce-build/common/logging.sh: line 38: mail: command not found
I'm going to comment out that and move forward.
52  LinuxMCE / Developers / Re: Building From Source on: November 21, 2012, 09:52:55 pm
Sure...

Working on improving Squeezeslave. It appears, to my limited knowledge, that it is built into the package and loaded when squeeslave device is  added. It looks like the standard app as loaded by apt-get install squeezeslave so I may be wrong. Later versions of squeezeslave have added a select by name for sound output. This I can modify with udev as it is an attrib of the card to be something like attrib + device id. So after reboot you don't need to worry about squeezeslave moving your output device. I am writing a script that will check for squeezeslave version and either build a new one from source or pull in the one from lmce. I'm not sure if the latter is possible yet and I don't want to force an upgrade and brake things.

Am I on the right page here or way off?

Thanks

Update:
I misspoke. The only way to get squeezeslave is to build from source. I discovered that this was the case earlier but just forgot. I suppose I can just add to script to just build from source at add device if no squeezeslave is found. Just takes some time.
53  LinuxMCE / Developers / Re: Building From Source on: November 21, 2012, 05:51:55 pm
Ok that cleared that up.

Moving forward now...still lots of errors but we will see.

Thanks!
54  LinuxMCE / Developers / Re: Building From Source on: November 21, 2012, 02:37:00 pm
Thanks for the help

I'm finding after apt-get update
Code:
W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 272A2CE18103B360

and after apt-get dist-upgrade
Code:
The following packages have been kept back:
  libxine1 libxine1-bin libxine1-console libxine1-misc-plugins libxine1-x

Here is my /etc/apt/sources.list
Code:
root@lmcedev4:/usr/local/lmce-build# cat /etc/apt/sources.list
#deb cdrom:[Kubuntu 10.04.4 LTS _Lucid Lynx_ - Release i386 (20120214.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
 deb http://archive.canonical.com/ubuntu lucid partner
 deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb     http://www.e-tobi.net/vdr-experimental/ sid base
deb     http://deb.linuxmce.org/ubuntu/ lucid beta2
deb     http://deb.linuxmce.org/ubuntu/ 20dev_ubuntu main
deb http://debian.slimdevices.com/ stable main
deb http://www.avenard.org/files/ubuntu-repos/ intrepid release testing
deb http://ppa.launchpad.net/yavdr/stable-vdr/ubuntu/ lucid main


55  LinuxMCE / Developers / Re: Building From Source on: November 21, 2012, 03:39:04 am
Also this:
Code:
********************************************************************************
*** Running: /usr/local/lmce-build/prepare-scripts/cd2-prepare.sh
********************************************************************************
mkdir: created directory `/var/lmce-build/cd2-packages'
mkdir: created directory `/var/lmce-build/cd2-packages/cachecd1-cache'
/var/lmce-build/cd2-packages/cachecd1-cache /usr/local/lmce-build
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information     
Initializing package states... Done
No candidate version found for belocs-locales-bin
No candidate version found for libartsc0
No candidate version found for libfaad0
No candidate version found for libfaad2-0
No candidate version found for libft-perl
blah...

Something is very wrong.
56  LinuxMCE / Developers / Building From Source on: November 20, 2012, 10:30:46 pm
Hello,

Trying to setup build environment. I am following the wiki. My setup is on a VM. I am looking at all the scripts and such to see what is going on but I'm running into problems. I'm sure there is something I'm missing.

When I run
Code:
/install-build-pkgs.sh
I end up with an error
Code:
The following packages have unmet dependencies:
libxine-dev: Depends: libxine2 (=1.2.0~hg20111226.0300-0yavdr0~lucid) but it is not going to be installed

I'm learning this as I go so bear with me.
Thanks
57  LinuxMCE / Users / Re: Startech ICUSBAUDIOB on: November 14, 2012, 06:32:03 pm
Thank you. I will take you up on that.
The whole squeezeslave setup is flawed as it can change on reboot. This can be made better.
I need to better understand how lmce handles new devices first to decide what direction it should go. It should be easily adaptable versus just a udev rule for me.

Thanks for the offer!
58  LinuxMCE / Users / Re: Startech ICUSBAUDIOB on: November 14, 2012, 03:30:00 am
Ok I got it fixed.

One problem was that wav file sample. It is not compatible with squeezeslave.

There is an error in the LaunchSqueezeslave.sh script.

I followed this thread
http://forums.slimdevices.com/showthread.php?97014-Help!-How-do-I-install-SqueezeSlave-on-Ubuntu-Server-12-10-64bit
and got it working.

This setup needs some work. I think some changes to the launch script could make install a bit easier.
I'm going to poke around there and work on a PNP script for the device.
Will be learning bash as I go.
59  LinuxMCE / Users / Re: Startech ICUSBAUDIOB on: November 13, 2012, 01:22:09 am
Ok,

Trying to get this working in squeezebox. I see others have got this to work and others have had problems per this thread
http://forum.linuxmce.org/index.php/topic,12605.0.html

Here's what I have;

lsusb
Code:
dcerouter_1031870:~# lsusb
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 008: ID 046d:c70c Logitech, Inc. BT Mini-Receiver (HID proxy mode)
Bus 002 Device 007: ID 046d:c70b Logitech, Inc. BT Mini-Receiver (HID proxy mode)
Bus 002 Device 006: ID 046d:0b02 Logitech, Inc. BT Mini-Receiver (HID proxy mode)
Bus 002 Device 005: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 004: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 002 Device 003: ID 154b:0048 PNY
Bus 002 Device 002: ID 8087:0024 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0d8c:013c C-Media Electronics, Inc.
Bus 001 Device 002: ID 8087:0024 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

aplay -l
Code:
dcerouter_1031870:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L
Code:
dcerouter_1031870:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC887-VD Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    Front speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC887-VD Digital
    IEC958 (S/PDIF) Digital Audio Output
sysdefault:CARD=Device
    USB PnP Sound Device, USB Audio
    Default Audio Device
front:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    Front speakers
surround40:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    IEC958 (S/PDIF) Digital Audio Output

Code:
dcerouter_1031870:~# aplay -D sysdefault:CARD=Device /home/public/data/audio/windhowl.wav

Produces good sound. This card has the same chip as the 7.1 card but only has stereo output.

squeezeslave -L
Code:
dcerouter_1031870:~# squeezeslave -L
Output devices:
  0: (ALSA) HDA Intel PCH: ALC887-VD Analog (hw:0,0) (11/46)
  1: (ALSA) HDA Intel PCH: ALC887-VD Digital (hw:0,1) (11/46)
  3: (ALSA) USB PnP Sound Device: USB Audio (hw:1,0) (11/46)
  4: (ALSA) sysdefault (42/46)
  5: (ALSA) front (11/46)
  6: (ALSA) surround40 (11/46)
  7: (ALSA) surround41 (11/46)
  8: (ALSA) surround50 (11/46)
  9: (ALSA) surround51 (11/46)
 10: (ALSA) surround71 (11/46)
 11: (ALSA) iec958 (11/46)
 12: (ALSA) spdif (11/46)
 13: (ALSA) spdif_playback (11/46)
 14: (ALSA) asym_spdif (11/46)
 16: (ALSA) asym_analog (42/46)
 17: (ALSA) dmix (42/42)
*18: (ALSA) default (11/46)
 19: (OSS) /dev/dsp (11/46)
 20: (OSS) /dev/dsp1 (11/46)

I followed the wiki closely and have no sound output. The wiki is kind of vague so this is what I did -

Select Device->A/V Equipment
Selected Add Device
Selected SqueezeBox Player template
Selected "Mechanical Room" as room #This is a room with no MD in it
Entered 00:00:00:00:00:01 as mac address
Saved

I believe all the software needed was installed at this point but I'm not sure.

Reloaded Router

Select Device->A/V Equipment
Selected Add Device
Selected Squeezeslave template
Selected "Mechanical Room" as room #This is a room with no MD in it
Entered 00:00:00:00:00:01 as mac address
Selected Advanced
Entered "4" under Alsa Output Device
Saved

Reloaded Router

Rebuilt Orbiters
Reloaded Router

Opened orbiter
Selected "Mechanical Room" as room
Selected wav file under audio
Selected Play
No sound

Opened terminal with ssh
Ran
Code:
dcerouter_1031870:~# /usr/bin/squeezeslave -o4 -m00:00:00:00:00:01 -r5 -M/var/log/squeezeslave.log

Opened orbiter
Selected "Mechanical Room" as room
Selected wav file under audio
Selected Play
No sound

squeezeslave -L is now smaller
Code:
dcerouter_1031870:~# squeezeslave -L
Output devices:
  1: (ALSA) HDA Intel PCH: ALC887-VD Digital (hw:0,1) (11/46)
  3: (ALSA) USB PnP Sound Device: USB Audio (hw:1,0) (11/46)
  4: (ALSA) sysdefault (42/46)
  5: (ALSA) iec958 (11/46)
  6: (ALSA) spdif (11/46)
  7: (ALSA) spdif_playback (11/46)
  8: (ALSA) asym_spdif (11/46)
 10: (ALSA) asym_analog (42/46)
 11: (ALSA) dmix (42/42)
*12: (ALSA) default (11/46)
 14: (OSS) /dev/dsp1 (11/46)

I have also tried this with 3 with same result.

Also upon reboot
Code:
dcerouter_1031870:~# cat /var/log/squeezeslave.log
Retry in 5 seconds.
Retry in 5 seconds.
Retry in 5 seconds.
Retry in 5 seconds.
Retry in 5 seconds.
Retry in 5 seconds.
Error connecting to 127.0.0.1:3483
Retry in 5 seconds.
Error connecting to 127.0.0.1:3483

And
Code:
dcerouter_1031870:~# ps aux | grep squeezeslave
root     14331  0.0  0.0   3320   832 pts/7    S+   19:15   0:00 grep --color=auto squeezeslave

Before running
Code:
dcerouter_1031870:~# /usr/bin/squeezeslave -o4 -m00:00:00:00:00:01 -r5 -M/var/log/squeezeslave.log

After
Code:
dcerouter_1031870:~# ps aux | grep squeezeslave
root     14828  0.4  0.0  43328  1984 ?        SLsl 19:15   0:00 /usr/bin/squeezeslave -o4 -m00:00:00:00:00:01 -r5 -M/var/log/squeezeslave.log
root     15118  0.0  0.0   3320   832 pts/7    S+   19:16   0:00 grep --color=auto squeezeslave

Any thoughts where to go?

Thanks


60  LinuxMCE / Users / Re: LinuxMCE community, lets talk. on: November 11, 2012, 03:01:39 am
I'll 2nd that
Pages: 1 2 3 [4] 5 6 ... 8
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!