Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-04-21 Thread Greg Erskine


You could be lucky but I expect further issues.

Can RasPi Check issue a "sudo -s" as the first command?

I use this to elevate tc to root in winSCP.



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

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-04-21 Thread MichaelPr


Greg Erskine wrote: 
> piCorePlayer uses piCore which may not be compatible with RasPi Check. I
> suspect RasPi Check was written assuming your Raspberry Pi was using a
> "normal" Linux distribution with bash included and the additional RPi
> utilities already included.
> 
> Ask the RasPi Check developers if it is compatible with piCore.

Thanks for the reply - what I learned from the RasPi Check debug
messages - they just use vcgencmd without sudo. So my plan was to add
the user 'tc' to sudoiers but that's the point I struggle see Post
https://forums.slimdevices.com/showthread.php?113512-ANNOUNCE-piCorePlayer-7-0-0&p=1019791&viewfull=1#post1019791

I may be wrong - but from my point of view it could work - if I knew how
to add 'tc' and use vcgencmd without sudo.



lms:
version: 8.2.0 - 1616690655 @ thu mar 25 18:15:21 cet 2021
on rpi4/ raspbian buster 10 pointed (nfs) to musiclibrary on qnap ts212


squeeze-players:
duet - cntrl-fw: 8.0.1-r16844/ receiver-fw: 77
2x radio - fw: 8.0.1-r16844
rpi 2b - pcp 7.0.1/ squeezelite  v1.9.9-1372-pcp
transporter - fw: 87
softsqueeze 3.9.2 on win 10 / squeezeplay 8.0.1r1343 on win 10
squeeze player 1.3.21 on s7/android 8.0.0 

controller:
android phone - squeezer 2.2.4/ material skin 2.3.5

MichaelPr's Profile: http://forums.slimdevices.com/member.php?userid=68465
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-04-21 Thread chazza


I have a RPI 2B with PCP 7.0.0 and Jivelite running nicely on a 3.5 inch
Waveshare LCD (Wav35Skin)

However, I think i need to edit ClockApplet.lua to get the clock
screensaver working as there is no entry in the script for the Wav35skin
and, of course, when setting the screensaver to e.g. DotMatrix or
digital clock, there is no display.

I think all i need to do is add 'Wav35Skin' to the _isWQVGASkin function
as per below:

local function _isWQVGASkin(skinName)
if skinName == 'WQVGAsmallSkin' or skinName == 'WQVGAlargeSkin' or
skinName == 'Wav35Skin' then
return true
end
end

But, because the mounted FS is read only i am stuck - i cant find any
way to edit this file - help please :-) !

Thanks



chazza's Profile: http://forums.slimdevices.com/member.php?userid=64267
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-04-21 Thread Greg Erskine


MichaelPr wrote: 
> Hi together - first of all thanks so much for the great piCorePlayer!
> 
> To control my Raspis I'm using the Android App RasPi Check -
> unfortunately I can't use for the Tiny Core Linux because I get an (!)
> Oops
> > 
Code:

  >   > "The tool 'vcgencmd' was not found!
  > on your Pi. Make sure it is located
  > und '/usr/bin or '/opt/vc/bin/' and
  > your SSH user is in group 'video'

> > 
> 
> Because I guess vcgencmd  is provided by  rpi-vc.tcz I added this
> package but I failed with
> > 
Code:

  >   > sudo usermod -aG video tc

> > 
> 
> because the 'usermod' is not known.  Also with 'sudo addgroup tc
> video' I had no success. It seems the user 'tc' is in the group
> 'video
> 
> > 
Code:

  >   > tc@piCorePlayer:~$ id
  > uid=1001(tc) gid=50(staff) groups=44(video),50(staff)

> > 
> 
> but 'vcgencmd' still fails :(
> > 
Code:

  >   > tc@piCorePlayer:~$ vcgencmd
  > VCHI initialization failed

> > 
> 
> Can somebody with a bit more linux skills/TinyCore support me? Thanks
> a lot :)

piCorePlayer uses piCore which may not be compatible with RasPi Check. I
suspect RasPi Check was written assuming your Raspberry Pi was using a
"normal" Linux distribution with bash included and the additional RPi
utilities already included.

Ask the RasPi Check developers if it is compatible with piCore.



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

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


[SlimDevices: Unix] PiCorePlayer - JiveLite brightness settings menu

2021-04-21 Thread chazza


Hi there, i am almost done putting the following together: RPi2 +
Waveshare 3.5" TScreen + DAC + IR remote - but .

I have hacked the Touchscreen as descrbied in the forums with a
transistor and i have the pigpio extension added and it works through
the brightness settings control - hurrah !

However, once i am in the brightness menu, i can't get out as i am using
a Slim Devices remote. The display says to use Home or Escape to exit
!!

I had a look at PiCorePlayer Applet in the repo and it looks like i need
to shange the following lines - but i'm not sure how to -> I guess i
want to use the left / back button the remote to exit as per all other
menus - Help please ?

popup:addActionListener("back", self,
cancelBrightnessAction)
popup:addActionListener("go_home", self,
cancelBrightnessAction)
popup:addActionListener("scanner_rew", self,
cancelBrightnessAction)

Thanks



chazza's Profile: http://forums.slimdevices.com/member.php?userid=64267
View this thread: http://forums.slimdevices.com/showthread.php?t=114429

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-04-21 Thread Greg Erskine


papaiannis wrote: 
> Are there any plans to provide a driver dedicated to the Audiophonics
> AK4493 DAC board?
> I currently use the generic "rPi DAC" driver, and it works well. Is
> there a better choice?

Usually the manufacturers get their drivers included in Raspberry Pi OS.
Once it has been included, we make it available in the next version of
piCorePlayer.



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

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-04-21 Thread MichaelPr


Paul Webster wrote: 
> -h is not recognised by vcgencmd
> Try
> sudo vcgencmd commands
> 
> https://www.raspberrypi.org/documentation/raspbian/applications/vcgencmd.md

Thanks a lot - that works


Code:

tc@piCorePlayer:~$ sudo vcgencmd measure_temp
  temp=54.6'C
  


But I'm struggle with step two - because I can't send a sudo via
RasPiCheck, I did the following

Code:

tc@piCorePlayer:~$ sudo addgroup sudo
  tc@piCorePlayer:~$ sudo adduser tc sudo
  tc@piCorePlayer:~$ sudo backup


reboot

Code:


  tc@piCorePlayer:~$ id tc
  uid=1001(tc) gid=50(staff) groups=50(staff),44(video),1000(sudo)
  


But it does not work :( Still need the sudo to execute vcgencmd



lms:
version: 8.2.0 - 1616690655 @ thu mar 25 18:15:21 cet 2021
on rpi4/ raspbian buster 10 pointed (nfs) to musiclibrary on qnap ts212


squeeze-players:
duet - cntrl-fw: 8.0.1-r16844/ receiver-fw: 77
2x radio - fw: 8.0.1-r16844
rpi 2b - pcp 7.0.1/ squeezelite  v1.9.9-1372-pcp
transporter - fw: 87
softsqueeze 3.9.2 on win 10 / squeezeplay 8.0.1r1343 on win 10
squeeze player 1.3.21 on s7/android 8.0.0 

controller:
android phone - squeezer 2.2.4/ material skin 2.3.5

MichaelPr's Profile: http://forums.slimdevices.com/member.php?userid=68465
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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


Re: [SlimDevices: Unix] Alpine Linux on Dell M300

2021-04-21 Thread sodface


pseudov wrote: 
> 
> Thanks again, sodface and ralphy :)

Cool! I was watching this thread but didn't have any ideas to jump in
with, glad you got it working. Your timing is funny because I was just
thinking about the stack of M300's I have and whether I should go back
and update all the armel packages to see if I was still having the data
corruption issues that made me give up the first time around.

@ralphy, are you still using the M300's with Alpine? Any issues?



sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=111730

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


Re: [SlimDevices: Unix] Alpine Linux on Dell M300

2021-04-21 Thread pseudov


Dug through the /var/log/message file on rootfs, turns out the pogoplug
could not get a DHCP address from the router.

Assigned a static one at /etc/network/interfaces, and lo and behold:


Code:

Welcome to Alpine!
  
  The Alpine Wiki contains a large amount of how-to guides and general
  information about administrating Alpine systems.
  See .
  
  You can setup the system with the command: setup-alpine
  
  You may change this message by editing /etc/motd.
  



Thanks again, sodface and ralphy :)



pseudov's Profile: http://forums.slimdevices.com/member.php?userid=71686
View this thread: http://forums.slimdevices.com/showthread.php?t=111730

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-04-21 Thread Paul Webster


-h is not recognised by vcgencmd
Try
sudo vcgencmd commands

https://www.raspberrypi.org/documentation/raspbian/applications/vcgencmd.md



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla
finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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


Re: [SlimDevices: Unix] Alpine Linux on Dell M300

2021-04-21 Thread pseudov


Thanks for the quick reply.

I believe sodface's armel_genrootfs.sh already enables PermitRootLogin.

I also tried adding those 4 lines to /etc/securetty, but still couldn't
ssh.

Here's how the boot process goes on the pogoplug_v4:
1. power up, blinking green led light
2. netconsole begins to display u-boot log | blinking green led light,
pogoplug can be pinged
3. after netconsole logs end with "Starting kernel...", led light turns
to solid orange, pogoplug cannot be pinged (Destination Host
Unreachable)
4. after a while, led light turns solid green, but pogoplug still cannot
be pinged



pseudov's Profile: http://forums.slimdevices.com/member.php?userid=71686
View this thread: http://forums.slimdevices.com/showthread.php?t=111730

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-04-21 Thread MichaelPr


paul- wrote: 
> run vcgencmd with sudo

Thanks for the reply. I did... no success :-(


Code:

tc@piCorePlayer:~$ sudo vcgencmd
  tc@piCorePlayer:~$ sudo vcgencmd -h
  error=1 error_msg="Command not registered"
  tc@piCorePlayer:~$
  



sudo vcgencmd seems to do nothing. I'll tried to pipe the output into a
file - but also empty. So what package do I missing?

On the other hand I'm not sure how to send a sudo via RaspiCheck. The
only thing in the setup I see is to put in a sudo password... could I
avoid the sudo somehow?



lms:
version: 8.2.0 - 1616690655 @ thu mar 25 18:15:21 cet 2021
on rpi4/ raspbian buster 10 pointed (nfs) to musiclibrary on qnap ts212


squeeze-players:
duet - cntrl-fw: 8.0.1-r16844/ receiver-fw: 77
2x radio - fw: 8.0.1-r16844
rpi 2b - pcp 7.0.1/ squeezelite  v1.9.9-1372-pcp
transporter - fw: 87
softsqueeze 3.9.2 on win 10 / squeezeplay 8.0.1r1343 on win 10
squeeze player 1.3.21 on s7/android 8.0.0 

controller:
android phone - squeezer 2.2.4/ material skin 2.3.5

MichaelPr's Profile: http://forums.slimdevices.com/member.php?userid=68465
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-04-21 Thread psketch


papaiannis wrote: 
> Are there any plans to provide a driver dedicated to the Audiophonics
> AK4493 DAC board?
> I currently use the generic "rPi DAC" driver, and it works well. Is
> there a better choice?

'This '
(https://www.audiophonics.fr/en/dac-and-interfaces-for-raspberry-pi/dac-ak4493-module-for-raspberry-pi-i2s-32bit-384khz-dsd128-p-13907.html?search_query=AK4493&fast_search=fs)
suggests you might want to give the Hifiberry DAC driver a go ...



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

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-04-21 Thread papaiannis


Are there any plans to provide a driver dedicated to the Audiophonics
AK4493 DAC board?
I currently use the generic "rPi DAC" driver, and it works well. Is
there a better choice?



papaiannis's Profile: http://forums.slimdevices.com/member.php?userid=55671
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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


[SlimDevices: Unix] LMS / PCP / UPnP - Ocean Digital

2021-04-21 Thread nowhinjing


I recently bought an Ocean Digital Internet radio - WR210N - in
anticipation of (finally) being able to travel again (one day!). It's a
nice piece of kit - reasonable sound - good battery life and eminently
portable, I use it a lot around the house. 

I wondered if I could connect it to my music collection, currently
hosted on a PI3B+ running PCP + LMS, so I installed Andy Grundman's
UPnP/DNLA plugin, tried to connect to my LMS server and got nothing,
nada, ziltch !

I bit of trawling through the net with Google finally gave me this post,
which beautifully explains the problem and outlines the solution.


Code:


  
https://forums.slimdevices.com/showthread.php?110925-UPnP-DLNA-Media-Interface-1-0-must-listen-to-port-1900-with-Ocean-Digital-WR-230S
  



So I decided to see if I could implement the suggested fix and check
whether it works. 

Good News, it does. :D  I can now connect to my music collection. 

Basically what I have done is to unpack slimserver.tcz from the SD card,
modify Discovery.pm, and pack it all back again. Works like a charm, the
only caveat is the you have to do it every time there is a new LMS
version. 

Perhaps someone a little more savvy than I could look at parameterising
the plugin to achieve the same result.

However, this is what I did using a Deepin 20.2 virtual machine :-


Code:


  # Mount your SD card - not detailed as it depends on your set-up
  
  # Get root access
  sudo su
  
  # Enter password to allow root operations
  
  # Change to root level
  cd /  
  
  # Make a work Directory
  mkdir /home/user/Documents/TCZ
  
  # Copy slimserver.tcz to your work area
  cp /media/user/PCP_ROOT/tce/optional/slimserver.tcz 
/home/user/Documents/TCZ/slimserver.tcz
  
  # Unsquash it
  unsquashfs -d /home/user/Documents/TCZ/squashfs-root 
/home/user/Documents/TCZ/slimserver.tcz
  
  # Rename the original file (just in case)
  mv /home/user/Documents/TCZ/slimserver.tcz 
/home/user/Documents/TCZ/slimserver-orig.tcz
  
  # Edit Discovery.pm
  nano 
/home/user/Documents/TCZ/squashfs-root/usr/local/slimserver/Slim/Plugin/UPnP/Discovery.pm
  
  # Find the Lines
  # DLNA 7.2.3.5, ignore M-SEARCH with source port 1900 or <1024
  if ($port == 1900 || $port <= 1024) {
  # And Change to read
  # DLNA 7.2.3.5, ignore M-SEARCH with source port 1900 or <1024
  #if ($port == 1900 || $port <= 1024) {
  # DLNA 7.2.3.5, ignore M-SEARCH with source port <1024 (Allow 1900 for Ocean 
Digital, etc.)
  if ($port <= 1024) {
  # NOTE: if statements DO NOT have a leading #
  
  # Resquash it
  mksquashfs /home/user/Documents/TCZ/squashfs-root 
/home/user/Documents/TCZ/slimserver.tcz
  
  # Create an MD5 Checksum
  md5sum /home/user/Documents/TCZ/slimserver.tcz > 
/home/user/Documents/TCZ/slimserver.tcz.md5.txt
  
  # Now copy the new files 
  cp /home/user/Documents/TCZ/slimserver.tcz 
/media/user/PCP_ROOT/tce/optional/slimserver.tcz
  cp /home/user/Documents/TCZ/slimserver.tcz.md5.txt 
/media/user/PCP_ROOT/tce/optional/slimserver.tcz.md5.txt
  
  # Tidy up
  rm -r /home/user/Documents/TCZ/*
  



This bodge should work with any UPnP player that relies on port 1900 for
M-Search to look for a suitable server.

I hope it will be of use to someone.

NWJ



nowhinjing's Profile: http://forums.slimdevices.com/member.php?userid=64754
View this thread: http://forums.slimdevices.com/showthread.php?t=114427

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


Re: [SlimDevices: Unix] Alpine Linux on Dell M300

2021-04-21 Thread ralphy


Looks like the boot loader was successful.

That's all the messages you'll get using netconsole.  Output from the
kernel booting is not displayed.


Did you enable ssh connections as root by adding

PermitRootLogin yes

in /etc/ssh/sshd_config

and these lines to the bottom of /etc/securetty

pts/0
pts/1
pts/2
pts/3

in the rootfs before trying to boot?



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=111730

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


Re: [SlimDevices: Unix] piCorePlayer/squeezelite and Bluetooth media control?

2021-04-21 Thread Paul Webster


carsten_h wrote: 
> 
> 
> I had a quick look at the code and at first glance it looks like it
> finds LMS on the network and then issues commands to it ... which
> implies to me it would work with any player ... although I presume it is
> looking for the player that matches the system that this code is running
> on.
> https://github.com/hifiberry/lmsmpris/blob/master/lmsmpris.py#L192



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla
finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=114424

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


Re: [SlimDevices: Unix] piCorePlayer/squeezelite and Bluetooth media control?

2021-04-21 Thread carsten_h


It seems there is lmsmpris (from Hifiberry OS):
https://github.com/hifiberry/lmsmpris which can control squeezelite.
But maybe it needs to run on the LMS Server, which is of no use for a
simple client.



pi4 4gb picoreplayer with lms and squeezelite for usb inside an argon
one case
pi3b+ (7\" display, hifiberry dac+ pro) picoreplayer with
squeezlite/jivelite for hifiberry and bluetooth headphone inside a
smartipi touch case
two airport express
ikea symfonisk

carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=114424

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


[SlimDevices: Unix] piCorePlayer/squeezelite and Bluetooth media control?

2021-04-21 Thread carsten_h


Hello!

I searched a little bit for Bluetooth media controls in Linux because it
would be great to use the media controls on my headphone to control my
piCorePlayer.
What I found is this:
https://wiki.archlinux.org/index.php/MPRIS#Bluetooth

So it seems that the mpris-proxy has to be started to receive the
bluetooth media controls.
But I don't know if squeezelite can receive something from mpris, as it
is not mentioned as a supported client.

Maybe someone with knowledge in this parts can look at this.

Or isn't there any interest in using this?



pi4 4gb picoreplayer with lms and squeezelite for usb inside an argon
one case
pi3b+ (7\" display, hifiberry dac+ pro) picoreplayer with
squeezlite/jivelite for hifiberry and bluetooth headphone inside a
smartipi touch case
two airport express
ikea symfonisk

carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=114424

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