Re: [SlimDevices: Unix] Which Linux varient has "best" support for SBS (will be running as VM instance)

2013-05-24 Thread kappclark

I currently run Vortexbox upstairs in a VM on ax XP Host ... 

where will all your music be stored ? If it is currently stored on the
windows machine, you will need to connect/mount that folder , or simply
copy the library.



kappclark's Profile: http://forums.slimdevices.com/member.php?userid=29572
View this thread: http://forums.slimdevices.com/showthread.php?t=91429

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-05-24 Thread hagensieker

Nerdwebber wrote: 
> Thanks to you all for trying to helping me out.
> 
> This is what I get:
> 
> tc@box:~$ cat /proc/asound/card0/pcm0p/sub0/hw_params
> access: MMAP_INTERLEAVED
> format: S16_LE
> subformat: STD
> channels: 2
> rate: 48000 (48000/1)
> period_size: 1024
> buffer_size: 16384
> tc@box:~$
> 
> Does this mean that my DAC plays in 16b 48K?
> But how do I get 24b96K then?
> Greetz Willem

Correct.  You are in 16 bit mode. Back up one page and look at patap's
answer to me asking the same question.

Basically you have to tell the card to run in 24_3 when squeezelite
starts.  

I put this command in my /etc/rc.local and then commented everything out
in /etc/default/squeezelite

squeezelite -n UpSqueeze -o hw:CARD=DAC,DEV=0 -a 20:4:24_3:1 -d
all=debug

Then I made a file:

nano /root/check_services

Pasted this in:

/usr/bin/pgrep squeezelite || squeezelite -n UpSqueeze -o
hw:CARD=DAC,DEV=0 -a 20:4:24_3:1 -d all=debug

Then did a

chmod 700 /root/check_services

Then do 

crontab -e

Add this

*/5 * * * * /bin/bash /root/check_services

That will check every 5 minutes to see if the squeezelite process is up
and if it isn't it will restart it.

I've found I can keep my headless player up without rebooting like this
because sometimes Squeezelite will die.  I think it has to do with the
Raspberry Pi and USB issues that haven't been resolved.  For example I
woke up this morning and top revealed squeezelite had only been up 35
minutes.


John



hagensieker's Profile: http://forums.slimdevices.com/member.php?userid=59959
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-05-24 Thread Triode

hagensieker wrote: 
> I have an issue where I seem to be stuck in 16 bit mode.  I have a
> HiFiMeDIY Sabre DAC which should play 24/96
> 
> Playback:
> Status: Running
> Interface = 3
> Altset = 1
> Packet Size = 388
> Momentary freq = 48000 Hz (0x30.)
> Interface 3
> Altset 1
> Format: S16_LE
> Channels: 2
> Endpoint: 3 OUT (ADAPTIVE)
> Rates: 8000, 16000, 32000, 44100, 48000, 96000
> Interface 3
> Altset 2
> Format: S24_3LE
> Channels: 2
> Endpoint: 3 OUT (ADAPTIVE)
> Rates: 8000, 16000, 32000, 44100, 48000, 96000
> 
> Capture:
> Status: Stop
> Interface 2
> Altset 1
> Format: S16_LE
> Channels: 2
> Endpoint: 2 IN (ADAPTIVE)
> Rates: 8000, 16000, 32000, 44100, 48000, 96000
> Interface 2
> Altset 2
> Format: S24_3LE
> Channels: 2
> Endpoint: 2 IN (ADAPTIVE)
> Rates: 8000, 16000, 32000, 44100, 48000, 96000
> 
> And I'm getting this at the command line:
> 
> root@squeezeplug:~# squeezelite -o hw:CARD=DAC,DEV=0 -a 20:4:24:0
> [17:55:10.845129] alsa_open:262 unable to open audio device requested
> format: S24_LE
> 
> So it is obviously kicking it back to 16 bit.
> 
> Help.  Really want to get 24/96 playback.  Not because things don't
> sound great now but because I can't stand not knowing why I can't.
> 
> Edited to add:  Looking back through this thread I see I have almost the
> exact same problem as albertone74 in around page 90 of this thread. 
> Same slimproto failure and everything.  I have another RPi laying around
> and tomorrow I will start fresh with it

Your dac supports 24_3 not 24 bit mode, so the command line option would
be -a 20:4:24_3:0



Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Community Squeeze OS R3

2013-05-24 Thread Triode

albertone74 wrote: 
> Hi Clive,
> 
> I have noticed that if I power my DAC on soon after powering the
> wandboard on, the Squeezelite service gets dead and I have to restart
> the service from the CSOS Web Configuration to get it up and running. To
> be honest with you it is not a big deal, it is just a thought..
> 
> Thanks.

The output device needs to be opened at squeezelite startup to identify
the max sample rate and report this to the server.  If you include a -r
option in the squeezelite command line then this step is bypassed and
the max rate set via this parameter is used.  This will allow
squeezelite to startup without the dac being present.  For example:

./squeezelite -r 96000



Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=98544

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-05-24 Thread patap

Julf wrote: 
> Ah, a line that warms the heart of an old UNIX geek... :)

Loving *NIX too.

BTW 

Triode, Thank you for Squeezelite!



patap's Profile: http://forums.slimdevices.com/member.php?userid=60045
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-05-24 Thread Nerdwebber

Thanks to you all for trying tim helping me out.

This is what I get:

tc@box:~$ cat /proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384
tc@box:~$

Does this mean that my DAC plays in 16b 48K?
But how do I get 24b96K then?
Greetz Willem



Nerdwebber's Profile: http://forums.slimdevices.com/member.php?userid=55759
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-05-24 Thread Julf

patap wrote: 
> Or if you only want check sampling rate "awk '/^rate/{ print $2 }'
> /proc/asound/card0/pcm0p/sub0/hw_params"

Ah, a line that warms the heart of an old UNIX geek... :)



Julf's Profile: http://forums.slimdevices.com/member.php?userid=42050
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-05-24 Thread patap

Or if you only want check sampling rate "awk '/^rate/{ print $2 }'
/proc/asound/card0/pcm0p/sub0/hw_params"



patap's Profile: http://forums.slimdevices.com/member.php?userid=60045
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Community Squeeze OS R3

2013-05-24 Thread dsdreamer

michaelvv wrote: 
> Hi Michal
> 
> Hijack the Sound with a HDMI splitter and you'll have a very decent
> setup for a cost of only 50£ ekstra...
> 
> /Best Michael

This $42 DAC is another way if you wanted high quality analog audio for
cheap:

http://hifimediy.com/index.php?route=product/product&product_id=83 

In general, the USB of HDMI seems the best bet for the Wandboard until
CSP2 units start to become available.



dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588
View this thread: http://forums.slimdevices.com/showthread.php?t=98544

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-05-24 Thread hagensieker

If you are running in 24 bit you'll see this: (or something like it)

I'm playing a MOG stream now so my rate is 44100. If I were playing a 24
bit FLAC it would say 96000

root@squeezeplug:~# cat /proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S24_3LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 221
buffer_size: 884



hagensieker's Profile: http://forums.slimdevices.com/member.php?userid=59959
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-05-24 Thread psketch

Nerdwebber wrote: 
> Hi.
> In proc/asound/card0/pcm0p/sub0/  i see the file hw_params. But size is
> 0  and there's no information in it.
> I don't see a file "hw_paramsCheck"

just do cat "cat /proc/asound/card0/pcm0p/sub0/hw_params"

They're not real files per se, so don't worry about the file size. This
should show you something like ...

tc@box:~$ cat /proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 1104
buffer_size: 4416

pete S



psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] opensuse 12.2 fails to run logitechmediaserver-7.8.0-0.1.1347896053

2013-05-24 Thread Robinda

I have followed the instructions and have a working system, thanks to
all. However the pause and next track buttons are not working in LMS. I
suspect it is a bug in the nightly that I have used. Has anyone tried
simply removing and then re-installing a new rpm? Does this require the
full process to be followed?

Any comments would be welcomed!

Damian



Robinda's Profile: http://forums.slimdevices.com/member.php?userid=59873
View this thread: http://forums.slimdevices.com/showthread.php?t=96492

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-05-24 Thread Nerdwebber

patap wrote: 
> Check at "cat /proc/asound/card*/pcm0p/sub0/hw_paramsCheck" while
> playing.
> 
> *number according to your card, usualy 0

Hi.
In proc/asound/card0/pcm0p/sub0/  i see the file hw_params. But size is
0  and there's no information in it.



Nerdwebber's Profile: http://forums.slimdevices.com/member.php?userid=55759
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-05-24 Thread patap

Nerdwebber wrote: 
> Hi, I have a  I have a HiFiMeDIY Sabre DAC too. I am a linux noob. How
> can I check to see my DAC is playing 24b 96K?
> I'm using piCoreplayer on my RPI.
> Willem

Check at "cat /proc/asound/card*/pcm0p/sub0/hw_paramsCheck" while
playing.

*number according to your card, usualy 0



patap's Profile: http://forums.slimdevices.com/member.php?userid=60045
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-05-24 Thread Nerdwebber

hagensieker wrote: 
> One remaining issue.
> 
> 
> Anyway as above I'm playing 24 bit FLAC files in 96000 24 bit now.  Very
> cool.  It's taken me some time to get this far however I feel the dust
> shaking off my long unused Linux knowledge.
> 
> John


Hi, I have a  I have a HiFiMeDIY Sabre DAC too. I am a linux noob. How
can I check to see my DAC is playing 24b 96K?
I'm using piCoreplayer on my RPI.
Willem



Nerdwebber's Profile: http://forums.slimdevices.com/member.php?userid=55759
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] LMS on Wandboard with Community Squeeze OS R3 - Looking for starter guide

2013-05-24 Thread kesey

gregb wrote: 
> > Fron the Web-GUI Wireless Interface Configuration page, uncheck
> "OnBoot" and save.
> That feature must be in a later release; I'm running R3
> (CSOS-Wandboard-Dual-R3-20130412-1.img). Which leads to the next starter
> guide question: How do I update CSOS?
> Thanks, gregb

try:
[root@fedora ~]# sudo yum --enablerepo=community-squeeze-testing update
logitechmediaserver

http://forums.slimdevices.com/showthread.php?98544-Community-Squeeze-OS-R3/page72



kesey's Profile: http://forums.slimdevices.com/member.php?userid=10786
View this thread: http://forums.slimdevices.com/showthread.php?t=98709

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix