Re: [SlimDevices: Unix] Announce: Slimmer

2018-01-23 Thread piPlayer

Hello Balázs,

it would be nice if you could implement the possibility to open the
playlist folder in the main menu at the next slimmer update.

Best regards
PiPlayer



piPlayer's Profile: http://forums.slimdevices.com/member.php?userid=65280
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] No sound from Allo Piano 1.1 dac with PiCore player

2018-01-23 Thread Wirrunna

I have one of these earlier Piano DAC and it works fine, I'm away from
home and can't access it for a few weeks, but as I recall I used
whatever rPi option for the PCM5122 DAC.



A camel is a racehorse designed by a committee.

Seen sprayed on the outside wall of the local library -
Three things I hate in life :
1. Vandalism
2. Irony
3. Lists

Wirrunna's Profile: http://forums.slimdevices.com/member.php?userid=3225
View this thread: http://forums.slimdevices.com/showthread.php?t=108609

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


Re: [SlimDevices: Unix] LMS start\stop\restart

2018-01-23 Thread steff

Dears,

trying to find how to restart LMS, I got this "solution".

In the pCP TWEAKS page, I put two commands:

User commands
User command #1   sudo killall slimserver.pl
User command #2   /usr/bin/perl /usr/local/slimserver/slimserver.pl
--daemon --user tc --group staff

In this way, at the boot, LMS is started by the normal procedure, then
LMS is stopped and then restarted.
I got the startup command looking at the processes running.

The above procedure WORKS!!!

Now finally I have internet radios available, but... there is another
little problem...
if I visit the pCP web GUI, I see LMS stopped, even if everything seems
running correctly.

This is the difference:
when LMS is started by pCP boot process, this is the running process
{slimserver.pl} /usr/bin/perl /usr/local/slimserver/slimserver.pl
--daemon --user tc --group staff

when the process is killed and then restarted, I get this new running
process
/usr/bin/perl /usr/local/slimserver/slimserver.pl --daemon --user tc
--group staff

any suggestion?



steff's Profile: http://forums.slimdevices.com/member.php?userid=66870
View this thread: http://forums.slimdevices.com/showthread.php?t=108549

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


Re: [SlimDevices: Unix] picoreplayer 3.11 +waveshare 3.5 TFT + jivelite + Raspberry Pi 2B+

2018-01-23 Thread streampunk

Thanks so much for the tutorial. This is the kind of stuff I'd say that
I wouldn't have achieved by myself in a 1000 years...

An addition which might be helpful to all that use USB devices with the
Raspi (there are several posts pointing out that plugging in a mouse or
a keyboard during the setup process causes some confusion with the event
numbers).

The original do_rebootstuff.sh had some lines that dynamically detect
the event number and that are commented out in the tutorial which
hardcodes "event0" instead of "$eventno":


Code:


  if [ "$JIVELITE" = "yes" ]; then
echo -n "${BLUE}Starting Jivelite... ${NORMAL}"
  # eventno=$( cat /proc/bus/input/devices | awk '/*FT5406 memory based 
driver*/{for(a=0;a>=0;a++){getline;{if(/mouse/==1){ print $NF;exit 0;')
  # if [ x"" != x"$eventno" ];then
  # export JIVE_NOCURSOR=1
export TSLIB_TSDEVICE=/dev/input/*event0*
export SDL_MOUSEDRV=TSLIB
export SDL_MOUSEDEV=$TSLIB_TSDEVICE
  # fi
  

 

This is because the search pattern "FT5406" only applies to certain
hardware componenents. But if you know the "name" of your 3.5
touchscreen, you can easily adapt the dynamic event number logic.
You get the name by typing

Code:


  cat /proc/bus/input/devices
  

 at the prompt (via Putty). In my case for example (a 20 Euro display
from Amazon) it reads (no USB device plugged in):

Code:


  tc@piCorePlayer:~$ cat /proc/bus/input/devices
  I: Bus= Vendor= Product= Version=
  N: Name="*ADS7846 Touchscreen*"
  P: Phys=spi0.1/input0
  S: 
Sysfs=/devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input0
  U: Uniq=
  H: Handlers=mouse0 event0
  B: PROP=0
  B: EV=b
  B: KEY=400 0 0 0 0 0 0 0 0 0 0
  B: ABS=103
  



So if I put the name "ADS7846 Touchscreen" into do_rebootstuff.sh,
everything works perfectly, no matter what USB devices are plugged in.
This is the code (which also includes ralphy's patch from post #64:



Code:


  if [ "$JIVELITE" = "yes" ]; then
echo -n "${BLUE}Starting Jivelite... ${NORMAL}"
eventno=$( cat /proc/bus/input/devices | awk '/*ADS7846 
Touchscreen*/{for(a=0;a>=0;a++){getline;{if(/mouse/==1){ print $NF;exit 0;')
if [ x"" != x"$eventno" ];then
export JIVE_NOCURSOR=1
export TSLIB_TSDEVICE=/dev/input/*$eventno*
export SDL_MOUSEDRV=TSLIB
export SDL_MOUSEDEV=$TSLIB_TSDEVICE
fi
export HOME=/home/tc
  # if [ -x /opt/jivelite/bin/jivelite.sh ]; then
  if [ -x /mnt/mmcblk0p2/tce/jivelite.sh ]; then
  echo "${GREEN}Done.${NORMAL}"
  sudo -E -b /mnt/mmcblk0p2/tce/jivelite.sh >/dev/null 2>&1
  elif [ -x /opt/jivelite/bin/jivelite.sh ]; then
echo "${GREEN}Done.${NORMAL}"
sudo -E -b /opt/jivelite/bin/jivelite.sh >/dev/null 2>&1
else
echo "${RED}There is a problem with the Jivelite installation. 
Please remove and reinstall jivelite.${NORMAL}"
fi
  fi
  


Best regards
Martin



PCP (always latest version) on RasPi 3 with PhatDac (player & server)
PCP on several RasPis 2 +3
2 Airplay speakers (Sony SA-NS510) integrated via Airplay Bridge Plugin

streampunk's Profile: http://forums.slimdevices.com/member.php?userid=66210
View this thread: http://forums.slimdevices.com/showthread.php?t=107366

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


Re: [SlimDevices: Unix] No sound from Allo Piano 1.1 dac with PiCore player

2018-01-23 Thread paul-

The other driver was written by someone else (not Allo) and it was
around the time the Piano 2.1 came out.   The Piano 2.1 is dual dacs, so
there may be an issue using that driver on the old Piano.

I would try a driver from one of the other PCM512x cards (hifiberry,
justboom)

Perhaps, drop allo a line and ask them which driver setup to use.



paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=108609

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


Re: [SlimDevices: Unix] No sound from Allo Piano 1.1 dac with PiCore player

2018-01-23 Thread Erenche

paul- wrote: 
> Which dac do you have?  They don't reference a 1.1. on the web site.
> 
> We have tested the Piano 2.1 dac just fine.  (I run the Piano 2.1 dac on
> the AudioCore all the time.)   The error message in dmesg you list is
> completely normal.

It is their earlier model. The driver name is PianoDAC, without the
(Plus). It is within their website, not on the home page menu thou.
Thanks for the info on the dmesg.



Erenche's Profile: http://forums.slimdevices.com/member.php?userid=67778
View this thread: http://forums.slimdevices.com/showthread.php?t=108609

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


Re: [SlimDevices: Unix] No sound from Allo Piano 1.1 dac with PiCore player

2018-01-23 Thread Erenche

Mnyb wrote: 
> Test the normal version instead of the audio version

I’ll test it.



Erenche's Profile: http://forums.slimdevices.com/member.php?userid=67778
View this thread: http://forums.slimdevices.com/showthread.php?t=108609

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