User avatar
startrek.steve
Posts: 386
Joined: Thu Aug 30, 2012 7:19 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Fri Jan 22, 2016 11:53 am

I have Picoreplayer running (after trying many other packages) I'm running LMS on my Ubuntu Desktop with 60 GB of music, Picoreplayer 2.00 on a Pi1 with a Cmedia CM108 USB sound card (99p from Ebay)
No hissing through the HiFi amp, lovely sound, controlled by either the LMS android app or the Squeezer Android App. I can also play Podcasts and streaming internet radio through it. The only thing I could get working properly was the wifi, it connected up fine, but when I unplugged the ethernet cable, it wouldnt reconnect to the wifi.

Steve
Pi 2 running LibreElec Krypton, Pi 2 running Wheezy Desktop, Pi 1 headless Wheezy, downloading Radio, Pi 1 running Picore headless Media Server, Pi Zero to be an Old Time Radio Project. Pi 3 testing. Pi Zero W downloading Radio shows headless.

User avatar
Greg Erskine
Posts: 157
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Sun Jan 24, 2016 11:43 am

hi Steve,

Did you reboot after removing the ethernet cable?

If you go into [Beta] mode, the Wifi settings page will now have a [Diagnostics] button.

regards
Greg
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

User avatar
startrek.steve
Posts: 386
Joined: Thu Aug 30, 2012 7:19 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Wed Feb 03, 2016 9:49 am

Hi Greg, swapped out the wifi dongle for a Realtek, worked first time.

Its wierd, on Picore on WifI, all the green lights go out, all I get is the red (Power?) LED and the flashing blue on the WiFi dongle.
Is this normal? on wired theres all sorts of leds flashing on the board.
Steve
Pi 2 running LibreElec Krypton, Pi 2 running Wheezy Desktop, Pi 1 headless Wheezy, downloading Radio, Pi 1 running Picore headless Media Server, Pi Zero to be an Old Time Radio Project. Pi 3 testing. Pi Zero W downloading Radio shows headless.

drgeoff
Posts: 11128
Joined: Wed Jan 25, 2012 6:39 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Wed Feb 03, 2016 6:01 pm

The green LED ACT on a RPi B indicates SD card activity. Once booted, piCoreplayer runs entirely from RAM. Ergo, unless you are playing media on the SD card, the LED remains off.
Quis custodiet ipsos custodes?

User avatar
Greg Erskine
Posts: 157
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Thu Feb 04, 2016 5:36 am

hi Steve,

Great to see your wifi adaptor is working!

I think, on the older RPi's, 2 of the 4 of LEDs are to do with the Ethernet port. On the newer RPi's, the 2 Ethernet LEDs are on the actual Ethernet socket. When using wireless these LEDs are out.

Just looked at mine, one red LED. So drgeoff's explanation sounds good to me. :D

regards
Greg
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

User avatar
karrika
Posts: 1192
Joined: Mon Oct 19, 2015 6:21 am
Location: Finland

Re: piCorePlayer a dedicated microcore and squeezelite playe

Thu Feb 04, 2016 6:47 am

Does the piCorePlayer contain support for ENC28J60 Ethernet? I would like to try to use the PiZero Miscap combo for getting sound and Ethernet in a small package.

Image

sbp
Posts: 128
Joined: Wed Sep 26, 2012 7:54 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Thu Feb 04, 2016 9:14 am

Hi.

That is an interesting HAT you have developed.
I have not tried a ENC28J60 to Ethernet adaptor, but I think it might work as we have build the kernel with this option:
CONFIG_ENC28J60=m

If you are missing some modules when testing, please report back, and I will try to make a package for you with the missing items.

Regards
Steen
piCorePlayer webpage: https://sites.google.com/site/picoreplayer/home

User avatar
startrek.steve
Posts: 386
Joined: Thu Aug 30, 2012 7:19 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Thu Feb 04, 2016 9:27 am

My next project is to connect a bluetooth speaker to the Picore installation, will a bluetooth dongle work with it? Im toying with the idea of making it portable, the only wires connected to it now are power and audio out of the usb soundcard.

Steve
Pi 2 running LibreElec Krypton, Pi 2 running Wheezy Desktop, Pi 1 headless Wheezy, downloading Radio, Pi 1 running Picore headless Media Server, Pi Zero to be an Old Time Radio Project. Pi 3 testing. Pi Zero W downloading Radio shows headless.

User avatar
karrika
Posts: 1192
Joined: Mon Oct 19, 2015 6:21 am
Location: Finland

Re: piCorePlayer a dedicated microcore and squeezelite playe

Thu Feb 04, 2016 3:01 pm

sbp wrote:Hi.

That is an interesting HAT you have developed.
I have not tried a ENC28J60 to Ethernet adaptor, but I think it might work as we have build the kernel with this option:
CONFIG_ENC28J60=m

If you are missing some modules when testing, please report back, and I will try to make a package for you with the missing items.

Regards
Steen
I found the mention of
modules.order:kernel/drivers/net/ethernet/microchip/enc28j60.ko

but the file was not included in the distribution.

Another thing is that I need to set the audio pins to the headphone socket. Does the distribution support changing the sound to ALT pins?

Code: Select all

/* PWM */

  fragment@4 {
      target = <&gpio>;
      __overlay__ {
         pwm_pins: pwm_pins {
            brcm,pins = <12 13>;
            brcm,function = <4 4>; /* Alt0 */
         };
      };
   };

   fragment@5 {
      target = <&pwm>;
      __overlay__ {
         pinctrl-names = "default";
         pinctrl-0 = <&pwm_pins>;
         status = "okay";
      };
   };

sbp
Posts: 128
Joined: Wed Sep 26, 2012 7:54 pm

Re: piCorePlayer a dedicated microcore and squeezelite playe

Thu Feb 04, 2016 7:22 pm

Hi

I made the module for you, you can get it here:
https://www.dropbox.com/sh/jcl52tm7dqyu ... GRm5a?dl=0

These two files should be copied into:
/mnt/mmcblk0p2/tce/optional/

Then edit
/mnt/mmcblk0p2/tce/onboot.lst
and add the line:
ENC28J60-4.1.13-piCore+.tcz

save file exit editor and do a backup:
sudo filetool.sh -b
then reboot

and now the module should be loaded.
Steen
piCorePlayer webpage: https://sites.google.com/site/picoreplayer/home

User avatar
karrika
Posts: 1192
Joined: Mon Oct 19, 2015 6:21 am
Location: Finland

Re: piCorePlayer a dedicated microcore and squeezelite playe

Thu Feb 04, 2016 8:17 pm

Thank you Steen.

After boot I had to give "modprobe enc28j60" but then it appeared in lsmod.

The setup was not able to write in /opt so I did a "chmod -R a+rw /opt" to set the static IP address.

Got to take a break. My wife and kids drop in to eat...

gozkil
Posts: 1
Joined: Tue Aug 20, 2013 9:27 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Tue Feb 09, 2016 6:38 pm

Great distro! it loads fast and works fine on Lan.

But I have hard time figuring how to get the wifi running. I have the standard dongle from rs (the one with the raspberry on it) which seems to have a Broadcom chip. I fiddled with the beta settings on the browser interface and it seems firmware doesn't load, and I can't find the extension to be downloaded through search.

Perhaps I'm missing something?

Once the wifi actually works, the next two things are, to figure out how to setup wpa enterprise (eduroam), and how to use the wiringpi/interrupts for volume control with a rotary encoder.

Any help will be greatly appreciated !

User avatar
Greg Erskine
Posts: 157
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Tue Feb 09, 2016 9:43 pm

gozkil wrote:Great distro! it loads fast and works fine on Lan.

But I have hard time figuring how to get the wifi running. I have the standard dongle from rs (the one with the raspberry on it) which seems to have a Broadcom chip. I fiddled with the beta settings on the browser interface and it seems firmware doesn't load, and I can't find the extension to be downloaded through search.

Perhaps I'm missing something?

Once the wifi actually works, the next two things are, to figure out how to setup wpa enterprise (eduroam), and how to use the wiringpi/interrupts for volume control with a rotary encoder.

Any help will be greatly appreciated !
hi gozkil,

I am fairly sure we haven't got the drivers for the "official" wifi adaptor available. I will add it onto the list of things to do. In the mean time, the simplest solution is to get a cheap Ralink 5370 wifi adaptor.

Just a word of warning about buying wifi adaptors, you don't always get the advertised chipset.

When adding things to piCore remember it is very minimal, you will need to look at loading the appropriate extensions. In the last few releases there is micropython available in the base core which may work with wiriingPi after you download it.

For setting up wpa enterprise I would ignore piCorePlayer wifi setup and do it all yourself manually. I found this a good reference:

http://processors.wiki.ti.com/index.php ... Supplicant

regards
Greg
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

User avatar
Greg Erskine
Posts: 157
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite playe

Mon Jun 20, 2016 10:03 am

New version 2.06

Please try the new version piCorePlayer 2.06.

This is a essentially a bug-fix version. A major part of the underlying code has been rewritten, but the appearance have not changed much.

Changes:
  • piCore updated - now the libstdc++ exception bug is fixed.
  • Improved ALSA settings on the Squeezelite page.
  • Fixed the issue when trying to move LMS cache to attached Fat based USB disk.
  • Improved the update process further.
  • Numerous small bug-fixes.
NB: Please notice that you will need to install this version from 2.05. In addition, it is not possible to downgrade to a previous version anymore.

This will probably be the latest release based on kernel 4.1.

We have now started working on a major pCP update based on kernel 4.4 that contains a lot of interesting and important fixes for I2S-audio DACs.

The pCP team
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

User avatar
Greg Erskine
Posts: 157
Joined: Sat Sep 15, 2012 4:20 am

Re: piCorePlayer a dedicated microcore and squeezelite player

Sun Sep 24, 2017 11:13 pm

23 Sept 2017 - piCorePlayer 3.22

The pCP team has released a minor update.

Here are the major changes:
  • Kernel 4.9.50.
  • RPi Firmware Sept 14, 2017.
  • Changed default governor to performance. This was accidentally dropped when we changed to 4.9.y kernels.
  • Updated RPi wifi and bluetooth firmware. Fixes BroadPwn vulnerability.
  • Updated to squeezelite 1.8.7-999.
  • Updated Allo PianoPlus drivers.
  • Add back missing hiface support. (Missing in 4.9.y kernels).
  • Allow for spaces in remote network shares.
  • Increased samba share path field length, and improved tool tips.
  • Add support for exFat file systems.
  • Fixed wifi SSID with spaces when using newconfig.cfg method.
Notes:
  • Insitu Update is available, but for those that are using older images with 25MB boot partitions, pCP3.22 boot partition will no longer fit. You will need to start with a new image.
  • LMS in repo updated to Logitech Media Server Version: 7.9.1 - 1505480690.
The released versions can be downloaded here.
The pCP team
Paul, Greg, Ralphy and Steen
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

Return to “Media centres”