Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread alkjones

alkjones wrote: 
 Greg / Steen / Pascal
 
 Thanks for responding.
 
 I think the problem here, and perhaps why I'm eliciting some confusion
 in your guys, is that I don't actually know what I'm doing. As I said, I
 looked around for a decent power switch and found the ATXRASPI. I've
 bought one, and an LED button too and I'm awaiting delivery. I had
 assumed that this was the best way to shut down the RPI / PICO player -
 this is clearly incorrect. A clean shutdown is a good way to shutdown a
 PI that DOESNT run this flavour of linux. As you say, with the Pico
 player, you can just yank the power (which is essentially what I've been
 doing with my remote power switches).
 
 OK, so now that I've got it straight in my head, and already have an LED
 button in bound (two - silver and black..I couldn't make up my mind on
 which colour aluminium box to use..) I'll go down the route of a switch
 and some resistors just to kill the power to the Pi. howeverplease
 refer to my first comment. Though is clearly outside the scope of this
 forum, and your software, could you point me in the direction on some
 instructions on how to do that? google yields gabillions of results for
 configuring a SAFE shutdown switch, but i cant find anything on wiring
 up something that will just kill the power (especially using an LED
 power button..)
 
 CHeers
 Alastair

Thanks for replying. Unfortunately I have no idea what this means which
is why I'm after a tutorial or something on line that I can wade through
and learn..

thanks
Alastair



alkjones's Profile: http://forums.slimdevices.com/member.php?userid=63912
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread markiii

surely you just need a single pole switch in the +ve power supply line?



Transporter (Lounge)
Touch (Office)
Touch (Kitchen)
Radio (Bedroom)
Radio (Garage)
SqueezePlay 7.8 on 2 x Windows 7 PCs

LMS 7.7.3 on DIY UnRaid NAS now upgraded to 7.8 (06/01/2015)

Squeeze user since the SB1

markiii's Profile: http://forums.slimdevices.com/member.php?userid=63801
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread nietgiftig

Greg Erskine wrote: 
 Hi tparvais,
 
 I think Raspberry Pi's only boot from SD-cards.
 
 regards
 Greg

Correct, but there is a way around this.
Do not know if it is necessary for the piCo but it is possible to use a
USB stick for the Linux part of the SD card
http://www.raspberrypi.org/forums/viewtopic.php?p=351659#p351659



nietgiftig's Profile: http://forums.slimdevices.com/member.php?userid=29921
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread alkjones

Greg Erskine wrote: 
 Thanks Alastair,
 
 First off the scripts are basic scripts that will run on piCorePlayer
 with little or no modification. Most of the scripts I looked at are just
 shell scripts, although wiringPi was used in one, it is unnecessary.
 
 I don't really understand why you need the extra hardware. All you need
 is a pushbutton, a led and a few resistors.
 
 Please state exactly what you want to achieve, I might of missed the
 point. :confused:
 
 regards
 Greg

Greg / Steen / Pascal

Thanks for responding.

I think the problem here, and perhaps why I'm eliciting some confusion
in your guys, is that I don't actually know what I'm doing. As I said, I
looked around for a decent power switch and found the ATXRASPI. I've
bought one, and an LED button too and I'm awaiting delivery. I had
assumed that this was the best way to shut down the RPI / PICO player -
this is clearly incorrect. A clean shutdown is a good way to shutdown a
PI that DOESNT run this flavour of linux. As you say, with the Pico
player, you can just yank the power (which is essentially what I've been
doing with my remote power switches).

OK, so now that I've got it straight in my head, and already have an LED
button in bound (two - silver and black..I couldn't make up my mind on
which colour aluminium box to use..) I'll go down the route of a switch
and some resistors just to kill the power to the Pi. howeverplease
refer to my first comment. Though is clearly outside the scope of this
forum, and your software, could you point me in the direction on some
instructions on how to do that? google yields gabillions of results for
configuring a SAFE shutdown switch, but i cant find anything on wiring
up something that will just kill the power (especially using an LED
power button..)

CHeers
Alastair



alkjones's Profile: http://forums.slimdevices.com/member.php?userid=63912
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread alkjones

Pascal Hibon wrote: 
 You need a toggle switch and not just a push button. Also, some LED
 equipped switches already have resistors in them. 
 Can you post a link to the button you have bought? This way we can
 tell you exactly how you need to wire it.

http://www.ebay.co.uk/itm/311132559144?_trksid=p2059210.m2749.l2649var=610352246911ssPageName=STRK%3AMEBIDX%3AIT

and

http://www.ebay.co.uk/itm/281382981679?_trksid=p2059210.m2749.l2649ssPageName=STRK%3AMEBIDX%3AIT

Cheers!
Alastair



alkjones's Profile: http://forums.slimdevices.com/member.php?userid=63912
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread Man in a van

Greg Erskine wrote: 
 hi schlaubi666,
 
 
 Where we can, we will add things to make it easier for unconventional
 setups. 
 
 regards
 Greg


Thanks for this, and for trying to please all the people, all the time,
but lets us not loose sight that a camel is a racehorse designed by a
committee :p

mixed metaphor message

atb

Ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread Greg Erskine

alkjones wrote: 
 Greg / Steen / Pascal
 
 Thanks for responding.
 
 I think the problem here, and perhaps why I'm eliciting some confusion
 in your guys, is that I don't actually know what I'm doing. As I said, I
 looked around for a decent power switch and found the ATXRASPI. I've
 bought one, and an LED button too and I'm awaiting delivery. I had
 assumed that this was the best way to shut down the RPI / PICO player -
 this is clearly incorrect. A clean shutdown is a good way to shutdown a
 PI that DOESNT run this flavour of linux. As you say, with the Pico
 player, you can just yank the power (which is essentially what I've been
 doing with my remote power switches).
 
 OK, so now that I've got it straight in my head, and already have an LED
 button in bound (two - silver and black..I couldn't make up my mind on
 which colour aluminium box to use..) I'll go down the route of a switch
 and some resistors just to kill the power to the Pi. howeverplease
 refer to my first comment. Though is clearly outside the scope of this
 forum, and your software, could you point me in the direction on some
 instructions on how to do that? google yields gabillions of results for
 configuring a SAFE shutdown switch, but i cant find anything on wiring
 up something that will just kill the power (especially using an LED
 power button..)
 
 CHeers
 Alastair

hi Alastair,

If you have bought the ATXRASPI I would use that. It will save you
having to work out what to do, just follow their instructions. A safe
shutdown is still a nice way of stopping the CPU/GPU. There will still
be power to the Raspberry Pi PCB though. You will need to remove then
reapply power to get the Raspberry Pi going again.

Alternately, most Raspberry Pi's have a place to add a reset header.
If you wire this up with a momentary push button, it will restart the
Raspberry Pi. If you press the reset button while the Raspberry Pi is
going it will stop immediately, no operating system shutdown.

Place the ATXRASPI shutdown script in the /opt or /home/tc directories
and press backup on the Main page. Both these directories get backed up
and then restored during a reboot.

The push buttons you have bought are on/off switches, so they can go on
the +ve wire between the PSU and Raspberry Pi. So when you press the
button it will remove power from the Raspberry Pi PCB and stop
everything without a safe shutdown. Pressing the button again, will
apply power to the Raspberry Pi and it will boot. The PSU will always be
powered in this situation.

If you decide to start playing around with GPIOs, just remember to use
3.3v NOT 5v and use current limiting resistors.

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread Greg Erskine

schlaubi666 wrote: 
 how do i become root ? some files are owned by root ( config.cfg )

Hi schlaubi666,

If you are trying to edit config.cfg, just do this:


Code:

sudo vi config.cfg



sudo gives you root access for one command.

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread Greg Erskine

Püppchen wrote: 
 Hi.
 I use an external DAC with output hw:CARD=PCM2702. I set this up and
 everything is fine and a Logi Media Server can stream to my piCoPlayer.
 
 I logged in and did an reboot via picoreplayer. After that I couldn't
 stream anymore. The piCoPlayer is recognized by the server but the
 streaming isn't even starting.
 Tried to restart squeezelite but did nothing. Than I have changed one
 option of squeezelite (doesn't matter what) and restarted squeezelite -
 now it worked again. Until I do a reboot.
 
 Any ideas? Whay does it happend? What is different of restarting
 squeezelite and changing one parameter and restarting squeezelite?

Hi Püppchen,

Sorry for your troubles. It sounds like a problem with your
configuration file. Are you using unusual characters or spaces in your
player name? 

Can you PM me your config.cfg? You can cut and paste it from the About
page.

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread P�ppchen

Hi.
I use an external DAC with output hw:CARD=PCM2702. I set this up and
everything is fine and a Logi Media Server can stream to my piCoPlayer.

I logged in and did an reboot via picoreplayer. After that I couldn't
stream anymore. The piCoPlayer is recognized by the server but the
streaming isn't even starting.
Tried to restart squeezelite but did nothing. Than I have changed one
option of squeezelite (doesn't matter what) and restarted squeezelite -
now it worked again. Until I do a reboot.

Any ideas? Whay does it happend? What is different of restarting
squeezelite and changing one parameter and restarting squeezelite?



Püppchen's Profile: http://forums.slimdevices.com/member.php?userid=63923
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread schlaubi666

Hi,

i use 3-4 instances of the player, by starting them manually. 

It is possibel to enhance the gui to configure  start  stop  restart
the players ?

the stucture is not that easy to understand.



schlaubi666's Profile: http://forums.slimdevices.com/member.php?userid=63457
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread Pascal Hibon

alkjones wrote: 
 and already have an LED button in bound (two - silver and black..I
 couldn't make up my mind on which colour aluminium box to use..) I'll go
 down the route of a switch and some resistors just to kill the power to
 the Pi. howeverplease refer to my first comment. Though is clearly
 outside the scope of this forum, and your software, could you point me
 in the direction on some instructions on how to do that? google yields
 gabillions of results for configuring a SAFE shutdown switch, but i cant
 find anything on wiring up something that will just kill the power
 (especially using an LED power button..)
 


You need a toggle switch and not just a push button. Also, some LED
equipped switches already have resistors in them. 
Can you post a link to the button you have bought? This way we can
tell you exactly how you need to wire it.



'M-DAC' (http://www.audiolab.co.uk/M-DAC%20Series.aspx?lang=En) -
'Cambridge Audio Azur 840E'
(http://www.cambridgeaudio.com/products/azur-840e-pre-amplifier) -
'Focal MP1200' (http://www.mp1200.co.nf/) - 'Focal Electra 1028 Be'
(http://www.focal.com/en/electra-1000-be-2/209-electra-1028-be-3544053695099.html)
1 x SB3, 1 x SB Boom, 1 x SB Radio and 2 x SB Touch - all wireless
1 x Wandboard Dual behind the bedroom ceiling
1 x Wandboard Dual for 'msqueeze' (http://www.msqueeze.co.nf/index.html)
project
1 x Wandboard Quad (will eventually become my LMS server)
ReadyNAS NVX running LMS 7.8.1. - 1402661598
iPeng 7 on iPhone.
SqueezePad  iPeng 7 on iPad.
http://www.last.fm/user/phibon

Pascal Hibon's Profile: http://forums.slimdevices.com/member.php?userid=7969
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread Greg Erskine

schlaubi666 wrote: 
 Hi,
 
 i use 3-4 instances of the player, by starting them manually. 
 
 It is possibel to enhance the gui to configure  start  stop  restart
 the players ?
 
 the stucture is not that easy to understand.

hi schlaubi666,

Unfortunately, this would require a redesign of piCorePlayer. It was
really written with a single instance of squeezelite in mind.

Where we can, we will add things to make it easier for unconventional
setups. For example, we are testing a feature to allow user commands
to be added to the boot process.

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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


Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2015-01-22 Thread schlaubi666

Greg Erskine wrote: 
 hi schlaubi666,
 
 Unfortunately, this would require a redesign of piCorePlayer. It was
 really written with a single instance of squeezelite in mind.
 
 Where we can, we will add things to make it easier for unconventional
 setups. For example, we are testing a feature to allow user commands
 to be added to the boot process.
 
 regards
 Greg

how do i become root ? some files are owned by root ( config.cfg )



schlaubi666's Profile: http://forums.slimdevices.com/member.php?userid=63457
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

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