Raspberry Pi?

0 Members and 1 Guest are viewing this topic. Read 18928 times.

Chromisdesigns

  • Full Member
  • Posts: 486
  • Darla, our beach cat, contemplating the sea
    • Fine-gemstones.com
Re: Raspberry Pi?
« Reply #20 on: 14 Apr 2013, 08:14 pm »
I was able to find this -- appears to be pretty much exactly what I was looking for!

http://www.raspyfi.com/


chip

  • Full Member
  • Posts: 868
Re: Raspberry Pi?
« Reply #21 on: 26 Apr 2013, 02:54 pm »

mcgsxr

Re: Raspberry Pi?
« Reply #22 on: 26 Apr 2013, 05:09 pm »
There is a guy local to me on Kijiji selling pre configured Pi's for $110.  Ready to plug and play in a case with s/w all installed etc.

I am still playing around with the Pogoplugs, but may toy with one of these at some point.

Chromisdesigns

  • Full Member
  • Posts: 486
  • Darla, our beach cat, contemplating the sea
    • Fine-gemstones.com
Re: Raspberry Pi?
« Reply #23 on: 14 Jun 2013, 05:06 am »
There is a guy local to me on Kijiji selling pre configured Pi's for $110.  Ready to plug and play in a case with s/w all installed etc.

I am still playing around with the Pogoplugs, but may toy with one of these at some point.

Link, please?


Chromisdesigns

  • Full Member
  • Posts: 486
  • Darla, our beach cat, contemplating the sea
    • Fine-gemstones.com
Re: Raspberry Pi?
« Reply #25 on: 14 Jun 2013, 11:12 pm »
The detailed video is here.

http://www.youtube.com/watch?v=wIlj_4mFQwg

Actually, I was looking for the link to the guy selling them ready to go, referred to in the previous post.  Thanks for the video, though! :thumb:

mcgsxr

Re: Raspberry Pi?
« Reply #26 on: 17 Jun 2013, 07:31 pm »
Here in Canada, I see a lot ranging in price from $80-$150 already loaded with XBMC etc.

http://ontario.kijiji.ca/c-buy-and-sell-electronics-raspberry-pi-with-xbmc-media-center-W0QQAdIdZ462472337

Here is one example of one local to me near Toronto.

Chromisdesigns

  • Full Member
  • Posts: 486
  • Darla, our beach cat, contemplating the sea
    • Fine-gemstones.com
Re: Raspberry Pi?
« Reply #27 on: 23 Jun 2013, 01:19 am »
I am thinking I may go with CuBox and this install for my RV server/player, feeding the Pico USB dac/amp.

http://www.solid-run.com/mw/index.php/Squeezebox_music_system

I like the one-box design and small size, even in exchange for somewhat higher price. 


ramsubr

  • Jr. Member
  • Posts: 40
Re: Raspberry Pi?
« Reply #28 on: 25 Jun 2013, 03:45 pm »
I am thinking I may go with CuBox and this install for my RV server/player, feeding the Pico USB dac/amp.

http://www.solid-run.com/mw/index.php/Squeezebox_music_system

I like the one-box design and small size, even in exchange for somewhat higher price.

I got it running using Raspi + picoreplayer + M2tech Hiface II (Backend is LMS running on my PC). It has some issues when switching between radio stations. Outside of that, everything works super great!

http://i.imgur.com/epH9VN9.jpg

[Edited by admin - de-embed gigantic image]
« Last Edit: 6 Jun 2014, 02:41 am by ServerAdmin »

Chromisdesigns

  • Full Member
  • Posts: 486
  • Darla, our beach cat, contemplating the sea
    • Fine-gemstones.com
Re: Raspberry Pi?
« Reply #29 on: 9 Oct 2013, 11:03 pm »
I am thinking I may go with CuBox and this install for my RV server/player, feeding the Pico USB dac/amp.

http://www.solid-run.com/mw/index.php/Squeezebox_music_system

I like the one-box design and small size, even in exchange for somewhat higher price.

Well, I ordered a Cubox today to serve as a portable FLAC server/player in the camper, using LMS and Squeezeplayer.  Now have to await delivery and go through the install process.

Looks like the final config for my RV system will be:

Cubox running LMS and Squeezeplayer, 1 tb pocket portable USB drive with music library in FLAC files

Headamp Pico dac/amp plugged into the 2nd USB port on the Cubox

HD600 cans

Remote control of LMS and Squeezeplayer from an iPad or iPhone, wifi connection to the internal wifi on the Cubox.

I think I will see how it sounds with the 5v supply for the Cubox plugged into the vehicle inverter, before I worry about a battery or 12v adapter.


Eudyptes

  • Jr. Member
  • Posts: 29
Re: Raspberry Pi?
« Reply #30 on: 13 Oct 2013, 11:07 am »
Triode's "local player" plugin" ( squeezelite) is a good alternative to "squeezeplayer" as is ipeng for your  ipad/iphone.

AudioChick88

  • Jr. Member
  • Posts: 3
Re: Raspberry Pi?
« Reply #31 on: 17 Oct 2013, 04:37 pm »
I have...(well, my brother should get the credit).  We (mostly him) started working on building a coupla SqueezeBox replacement for this back during the summer.  We never finished and since we're both away at school now, I can't say that it was easy.

Like, it's small.. and cheap.. but seems to need alot of time.  (Or, Maybe i'm just too dumb for this?  :green:)

Chromisdesigns

  • Full Member
  • Posts: 486
  • Darla, our beach cat, contemplating the sea
    • Fine-gemstones.com
Re: Raspberry Pi?
« Reply #32 on: 30 Oct 2013, 04:57 am »
Triode's "local player" plugin" ( squeezelite) is a good alternative to "squeezeplayer" as is ipeng for your  ipad/iphone.

Well, I made a lot of progress -- hopefully, almost there... :scratch:

Cubox is running LMS 7.7.2, and I can connect to it with web interface and play internet radio.

I went with Squeezelite as a player also on the Cubox, running squeezelite-armv6, with the default setup from the Squeezebox music system file on the SolidRun Cubox wiki; it plays music fine through the HDMI interface.

Squeezelite command string option -o allows you to specify the output device.  I was able to get the DAC1 playing through the lower USB port on the Cubox exactly one time, by entering the linux command "squeezelite-armv6 -o front:CARD=1,DEV=0" while logged in as the superuser connected to the Cubox via SSH.  Soon as this command was entered, the music started playing through the DAC1, but the SSH session hung.

After reconnecting, I edited the /etc/init.d/squeezelite file to include the above string in the "SLOPTIONS" line, as directed in the wiki article.  Rebooted the cubox and player would not work at all.  Restored the init file to original, another reboot, and it works again on HDMI, but not on usb dac, and can't recreate the working instance anymore.

Sigh.  Any suggestions welcomed.  I am trying to contact one of the folks who have already done this and posted about it in some other audio forums, as well.

Here is the link to the Cubox wiki article:

http://www.solid-run.com/mw/index.php/Squeezebox_music_system

--------Update---------

I am again able to get the DAC1 recognized and music playing, but only when logged in NOT as superuser to the Cubox, and after entering the "squeezelite-armv6 -o front:CARD=1,DEV=0" command into my SSH session.  When I do that, the session still hangs, can't get back to the command prompt.  Progress?


Eudyptes

  • Jr. Member
  • Posts: 29
Re: Raspberry Pi?
« Reply #33 on: 30 Oct 2013, 10:23 am »
As you've mentioned editing "/etc/init.d/squeezelite ", you must have installed the squeezelite init script.  If so, squeezelite should start automatically on booting your cubox.  If is already running, using the command ""squeezelite-armv6 -o front:CARD=1,DEV=0" will execute a second instance of the program, you don't want to do that. The correct way to start/stop squeezelite after the init script is installed is to use as root:  "/etc/init.d/squeezelite start" and "/etc/init.d/squeezelite stop".

To check squeezelite is running you can use as root: "ps -A | grep squeezelite".

Using LMS/squeezelite on a PC running Debian, I needed to add the LMS user to the audio group to get it to work. As root use the command: "usermod -aG audio squeezeboxserver".

Chromisdesigns

  • Full Member
  • Posts: 486
  • Darla, our beach cat, contemplating the sea
    • Fine-gemstones.com
Re: Raspberry Pi?
« Reply #34 on: 30 Oct 2013, 03:34 pm »
As you've mentioned editing "/etc/init.d/squeezelite ", you must have installed the squeezelite init script.  If so, squeezelite should start automatically on booting your cubox.  If is already running, using the command ""squeezelite-armv6 -o front:CARD=1,DEV=0" will execute a second instance of the program, you don't want to do that. The correct way to start/stop squeezelite after the init script is installed is to use as root:  "/etc/init.d/squeezelite start" and "/etc/init.d/squeezelite stop".

To check squeezelite is running you can use as root: "ps -A | grep squeezelite".

Using LMS/squeezelite on a PC running Debian, I needed to add the LMS user to the audio group to get it to work. As root use the command: "usermod -aG audio squeezeboxserver".

Hi, thanks for the tips.  So far, I haven't had to do anything with the LMS user.  This morning I got it working better -- apparently, the "-a" and "-o" options in the squeezelite option string were conflicting.  I commented out the "-a" line and it now boots and works, and I don't have to be signed in to the Cubox for it to play.  However, I don't know what the default options for squeezelite are when it comes to buffer size, bits, etc.  It seems to sound fine right now, whatever it is.  Any info on what the defaults are?

Another useful option for squeezelite is "/etc/init.d/squeezelite force-reload".  This stops, reloads, and restarts the service.

Things still to do:  1) get my portable usb drive with all my flac files working with the Cubox -- testing so far has been using internet radio. 

2) figure out why the Cubox occasionally fails to connect to the LAN with ethernet after booting.  When it doesn't connect, unplugging and reconnecting the ethernet cable seems to fix it. 

3)  Sometimes LMS manager seems to find a second instance of squeezelite player, which it calls "squeezelite 2", and which doesn't work.  It may be getting confused with my main system LMS and SB player, because when "squeezelite 2" shows up, it appears to know about my music files (which reside on a windows PC), though it will not play them.  This hasn't happened again since I stopped LMS on the PC. 

For my intended use, the Cubox will be on its own intranet, playing music from the attached USB hard drive, so hopefully this will go away once I disconnect it from the development system I am using.

Eudyptes

  • Jr. Member
  • Posts: 29
Re: Raspberry Pi?
« Reply #35 on: 30 Oct 2013, 06:09 pm »
Dropped Lan? Possible poor physical connection, try a different ethernet cable.

I'm not surprised there was a confusion of squeezelites with two different LMS servers running on the same network. ( Was triode's "local player" installed on one of them?).

Anyway, I'm glad to hear you are getting closer to your goal of music sweet music.

Chromisdesigns

  • Full Member
  • Posts: 486
  • Darla, our beach cat, contemplating the sea
    • Fine-gemstones.com
Re: Raspberry Pi?
« Reply #36 on: 30 Oct 2013, 08:21 pm »
Dropped Lan? Possible poor physical connection, try a different ethernet cable.

I'm not surprised there was a confusion of squeezelites with two different LMS servers running on the same network. ( Was triode's "local player" installed on one of them?).

Anyway, I'm glad to hear you are getting closer to your goal of music sweet music.

Tried a couple known good cables, don't think it's that.  Squeezelite on the Cubox is the only copy running.  The main system is LMS on a Windows PC and an actual SB Touch.

Chromisdesigns

  • Full Member
  • Posts: 486
  • Darla, our beach cat, contemplating the sea
    • Fine-gemstones.com
Re: Raspberry Pi?
« Reply #37 on: 31 Oct 2013, 12:40 am »
Well, the "Squeezelite 2" bug is stil there.  The only LMS stuff running on the LAN is in the Cubox,
LMS and Squeezelite.  Only one copy of squeezelite-arm shows when I check the processes running, but there are two processes connected to LMS,
is this normal?

The only thing that will play when LMS recognizes "squeezelite 2" as the player is whatever was playing the last time "Squeezlite "showed up as
the player.  Not really sure where to go from here!
---UPDATE---

Looks like it may be fixed -- during a search for references to this problem, I came upon a thread where the squeezelite developer mentioned that "LMS will get mighty confused if multiple instances of squeezelite or other SB players are on the same network, as players are identified by mac address, not by name."  Although I don't think there are any other players active, I went ahead and reinstalled LMS, added the -m option specifying the Cubox mac address to the single squeezelite instance options, and it now **SEEMS** to work again.

I think I will stop here for tonight...I had a bad moment earlier when it looked like I may have inadvertently trashed the internal boot flash memory trying to get my usb hard drive working...not sure what happened, but after several retries it booted again and unbuntu seems normal.

Losing the boot memory would not have been fatal, as the Cubox is supposedly brick-proof, but it's a huge pain in the rear to put it back together from scratch.

Have to research what may have happened there a bit more before I try again! :scratch:

« Last Edit: 31 Oct 2013, 04:00 am by Chromisdesigns »

Chromisdesigns

  • Full Member
  • Posts: 486
  • Darla, our beach cat, contemplating the sea
    • Fine-gemstones.com
Cubox music server/player (was:Re: Raspberry Pi?)
« Reply #38 on: 1 Nov 2013, 01:32 am »
Found the problem with booting when external usb drive connected -- default boot sequence (for whatever reason... :scratch:) is usb, micro-SD card, esata.

So it's trying to find a boot partition on the external drive, which of course doesn't exist.  It would **seem** easy enough to change the boot sequence, and there is even a parameter string that controls it, "trydev", but I haven't been able to make enough sense of creating a boot script to try it yet.

http://www.solid-run.com/mw/index.php?title=UBoot#Create_a_boot_script

I'm not entirely happy with having to re-flash the boot loader memory -- very easy to brick it and then have to rebuild the software from scratch again.  Might be easier, if I can't avoid a reflash in order to change the boot order, just to create a boot partition on the external drive, and let it boot from there, as it wants to do!

Any thoughts?


JohnR

Re: Raspberry Pi?
« Reply #39 on: 6 Jun 2014, 02:35 am »
Parts Express are carrying them now -

http://www.parts-express.com/raspberry-pi-pi-b-sd-pi-model-b-with-8gb-sd-card-noobs-pre-installed--320-900

Maybe it's time to take the plunge, been skirting this for a while...