Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread Michael Herger

On LMS info page  under *"Helper Applications Folder"* I have following
Synology 'internal' paths :
-"/lms/Bin/x86_64-linux, /lms/Bin, /usr/local/sbin, /usr/local/bin,
/usr/sbin, /usr/bin, /sbin, /bin, /usr/libexec.."-
Do I have to back up those folders too or  just  '/config' content ?


The binary folders are part of the image, no need to back the up (you 
can't, actually). You can only back up what is outside the container - 
which is the folder you map to /config.


--

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


Re: [SlimDevices: Unix] [How To] Using the Argon One case for the Pi 4B together with piCorePlayer (7.x)

2021-01-07 Thread paul-


You are missing information to determine if UASP is used/supported

1 - Check to see how it is detected.

Code:


  tc@Pi4-aarch64-Devel:/mnt/build/aarch64$ lsusb
  Bus 002 Device 003: ID 04e8:4001 Samsung Electronics Co., Ltd<<--- 
this is my SSD, sitting on Bus 002, Device 003
  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 001 Device 005: ID 1a86:e050 QinHeng Electronics
  Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
  Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  
  tc@Pi4-aarch64-Devel:/mnt/build/aarch64$ lsusb -t
  /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
  |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=uas, 5000M
  <<---Bus2, Port 3 is shown using the uas driver.
  /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
  |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
  |__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
  |__ Port 1: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M
  |__ Port 1: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 12M
  |__ Port 1: Dev 5, If 2, Class=Human Interface Device, Driver=usbhid, 12M
  |__ Port 1: Dev 5, If 3, Class=Human Interface Device, Driver=usbhid, 12M
  



2 - To examine the drive capabilities

Code:


  tc@Pi4-aarch64-Devel:/mnt/build/aarch64$ lsusb -v -d 04e8:4001 | grep -i 
interface<<-enter the : device identifier shown from lsusb
  bDeviceClass0 (Defined at Interface level)
  bNumInterfaces  1
  Interface Descriptor:
  bInterfaceNumber0
  bInterfaceClass 8 Mass Storage
  bInterfaceSubClass  6 SCSI
  bInterfaceProtocol 80 Bulk-Only
  iInterface  0
  Interface Descriptor:
  bInterfaceNumber0
  bInterfaceClass 8 Mass Storage
  bInterfaceSubClass  6 SCSI
  bInterfaceProtocol 98   <<-- Interface Protocol 
98 means the device supports UASP
  iInterface  0
  




piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread V12


mherger wrote: 
> > Could it be so, that in the LMS docker version there is some 'hard
> > coding' for the directories that could be linked to /music? Something
> > like /volume1/music, volume1/pictures and /volume1/video?
> No. The software running inside Docker has no idea what is outside. It 
> only sees /music. What that it is on the outside it can't know.
> 
> -- 
> 
> Michael

So, is it so, that the only possible directory to link is the
/volume1/music in the Synology, and it could be linked only to /music at
the container?



V12's Profile: http://forums.slimdevices.com/member.php?userid=71202
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread V12


Jaca wrote: 
> You keep comparing Docker LMS to package LMS.  I'm afraid package is
> dead. Official was dead while ago and pinkdot just stopped his package
> due to forthcoming changes in DMS7. 
> So Docker is now your only option. I did have same requirement and also
> been using package before like you.. I suggested symlink only because it
> was only way I had success with when mounting multiple source folders on
> synology docker LMS

Comparing and comparing... I know the package is dead, and it's the
reason I'm running the docker version.
I'm only giving examples how it was done earlier system. That was a good
way to do the mounting.



V12's Profile: http://forums.slimdevices.com/member.php?userid=71202
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread V12


mherger wrote: 
> 
> 
> And it only can access what exists in the container. AFAIK you can't 
> mount a folder on the host to a path which does not exist in the 
> container. Trying to mount /volumes/moremusic to /music2 in the 
> container won't work, as /music2 does not exist.
> 
> -- 
> 
> Michael

Actually the mounting /volume1/moremusic -> /music2 works when creating
the docker container. The directory /music2 could be seen and listed at
the dockers console.



V12's Profile: http://forums.slimdevices.com/member.php?userid=71202
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread Jaca


Hey Michael, I just tried docker image update as previously discussed
and all went good :D 
I'm just not sure about backup (which I would like to do before updates)
.. 
On LMS info page  under *"Helper Applications Folder"* I have following
Synology 'internal' paths : 
-"/lms/Bin/x86_64-linux, /lms/Bin, /usr/local/sbin, /usr/local/bin,
/usr/sbin, /usr/bin, /sbin, /bin, /usr/libexec.."-
Do I have to back up those folders too or  just  '/config' content ?
Thanks



3x Squeezebox Touch, 3x Squeezebox Radio, Squeezelite (RPi with
HiFiBerry DAC+Pro), Material Skin Apk, Squeeze Commander, Logitech Media
Server Version: 8.2.0 with Material Skin

Jaca's Profile: http://forums.slimdevices.com/member.php?userid=58187
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-07 Thread jeroen2


paul- wrote: 
> when I upload triggerhappy, the extension name will be triggerhappy.tcz



paul- wrote: 
>  Triggerhappy should be the only thing you need, other than making
> scripts for trigger happy to call.

I ordered one of the USB volume devices and expect to have it before the
weekend. I plan to use it on a bare PiZero player with HifiBerry Amp and
unpowered speakers. Will let you know if it worked. (Triggerhappy seems
pretty straightforward, but curious to see if the power supply holds)



jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418
View this thread: http://forums.slimdevices.com/showthread.php?t=113605

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread paul-


USB dacs will present themselves to the Operating system with different
options.   Any yes, they can do different things.

Expand that output setting and find everything associated with the DAC. 
Try them all.   As for sample rate,  if the audio file is only 44.1k,
then squeezelite will only send 44.1k to your DAC.  Upsampling requires
different settings.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] [How To] Using the Argon One case for the Pi 4B together with piCorePlayer (7.x)

2021-01-07 Thread chill


Thanks Ronnie - I'll have a read.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113575

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread Man in a van


vco1 wrote: 
> I'm not on the beta tab. Should I? Will that change something on pCP or
> only reveal some extra settings?
> I'm using piCorePlayer v7.0.0 (64bit)


Don't hurt to look :)

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=113628

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


Re: [SlimDevices: Unix] [How To] Using the Argon One case for the Pi 4B together with piCorePlayer (7.x)

2021-01-07 Thread Man in a van


chill wrote: 
> I just connected the new M.2 SSD to a Windows laptop (I removed the
> rigid USB link and used a male-to-male USB3 cable), so that I could use
> Western Digital's Dashboard software to inspect the drive.  I learned
> that, under Windows at least, the drive+adapter support TRIM and UASP. 
> That was all I was able to check, because Windows doesn't recognise the
> EXT4 partition on the drive.  So it seems like I need to investigate
> further on the RPi.  Maybe I'll give a Raspberry Pi OS installation a
> go.

There are several threads on the rpi forum about SSD and trim

here is just one

https://www.raspberrypi.org/forums/viewtopic.php?f=91=281278=65f0ded2f66a87729b3315060c8cc375=25

and a blog

https://www.jeffgeerling.com/blog/2020/enabling-trim-on-external-ssd-on-raspberry-pi

https://www.raspberrypi.org/forums/viewtopic.php?f=29=275713=175

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=113575

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


Re: [SlimDevices: Unix] In ceiling set up with Pis

2021-01-07 Thread gregklanderman


Thank you Gary, I'll keep you posted.. probably at least a few weeks
before I get to that part of it..
I got more of my parts, and will start with getting everything working
and testing the long HDMI/USB
cables with the HDMI version, it turned out to be almost 10m needed..
fun time crawling around in the crawlspace...  for the DSI version I
just needed 200mm but ended up buying a 300mm one.  Also need to get the
rotary encoder working and tested with a 10m run.  Still waiting on the
RemotePi but should be here soon, reached NYC Tuesday (from Thailand).

Post a photo of your hifi unit if you have a moment!



gregklanderman's Profile: http://forums.slimdevices.com/member.php?userid=3524
View this thread: http://forums.slimdevices.com/showthread.php?t=113022

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread Jaca


V12 wrote: 
> It's not that symlink is going somewhere, its more question are  these
> 'made symlinks' so permanent, that they exist after major version
> upgrade (like upgarding to DMS 7).I'm not going to worry about it now.. Will 
> have to cross that bridge
when we get there. Technically LMS comes without any guarantees and it
is still running and thriving only thanks to community developers. It's
very fluent enviroment and constantly changing anyway.. I mean I'm not
planning to now worry that Michael and others going to Sonos next year
;p
I'm just grateful my system is still awesome even when I have to give it
a little attention once a while



3x Squeezebox Touch, 3x Squeezebox Radio, Squeezelite (RPi with
HiFiBerry DAC+Pro), Material Skin Apk, Squeeze Commander, Logitech Media
Server Version: 8.0.0 with Material Skin

Jaca's Profile: http://forums.slimdevices.com/member.php?userid=58187
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] [How To] Using the Argon One case for the Pi 4B together with piCorePlayer (7.x)

2021-01-07 Thread chill


I just connected the new M.2 SSD to a Windows laptop (I removed the
rigid USB link and used a male-to-male USB3 cable), so that I could use
Western Digital's Dashboard software to inspect the drive.  I learned
that, under Windows at least, the drive+adapter support TRIM and UASP. 
That was all I was able to check, because Windows doesn't recognise the
EXT4 partition on the drive.  So it seems like I need to investigate
further on the RPi.  Maybe I'll give a Raspberry Pi OS installation a
go.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113575

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread Jaca


V12 wrote: 
> Unfortunately the problem still occurs.
> 
> Even though the setup (like /volume1/music -> /music/music1 and
> /volume1/somedirectory/anothermusic -> /music2) looked OK, the LMS
> scanned only the directory /music/music1. It did the same, even I set
> the directory to be scanned as /music.
> The directory /music/music2 get 'scanned', but the system finds only 0
> files. (The Synology package LMS version 7.9.1 works OK).
> 
> I even tried to link the /volume1 to /music, but only useful directories
> which were visible, were: music, pictures and videos. No other shared
> directories, like those I've made, were able to be selected.
> I also tried to link /volume1/somedirectory/anotherdirectory -> /music,
> but then not even the music directory exists at the selection window.
> 
> Could it be so, that in the LMS docker version there is some 'hard
> coding' for the directories that could be linked to /music? Something
> like /volume1/music, volume1/pictures and /volume1/video?

You keep comparing Docker LMS to package LMS.  I'm afraid package is
dead. Official was dead while ago and pinkdot just stopped his package
due to forthcoming changes in DMS7. 
So Docker is now your only option. I did have same requirement and also
been using package before like you.. I suggested symlink only because it
was only way I had success with when mounting multiple source folders on
synology docker LMS



3x Squeezebox Touch, 3x Squeezebox Radio, Squeezelite (RPi with
HiFiBerry DAC+Pro), Material Skin Apk, Squeeze Commander, Logitech Media
Server Version: 8.0.0 with Material Skin

Jaca's Profile: http://forums.slimdevices.com/member.php?userid=58187
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread Michael Herger

Could it be so, that in the LMS docker version there is some 'hard
coding' for the directories that could be linked to /music? Something
like /volume1/music, volume1/pictures and /volume1/video?
No. The software running inside Docker has no idea what is outside. It 
only sees /music. What that it is on the outside it can't know.


And it only can access what exists in the container. AFAIK you can't 
mount a folder on the host to a path which does not exist in the 
container. Trying to mount /volumes/moremusic to /music2 in the 
container won't work, as /music2 does not exist.


When you fail to see things in /music that you mounted there, then this 
almost certainly is due to permissions. The Docker container can't 
access everything on your system. Make sure you set up the user ID 
correctly.


--

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread V12


Unfortunately the problem still occurs.

Even though the setup (like /volume1/music -> /music/music1 and
/volume1/somedirectory/anothermusic -> /music2) looked OK, the LMS
scanned only the directory /music/music1. It did the same, even I set
the directory to be scanned as /music.
The directory /music/music2 get 'scanned', but the system finds only 0
files. (The Synology package LMS version 7.9.1 works OK).

I even tried to link the /volume1 to /music, but only useful directories
which were visible, were: music, pictures and videos. No other shared
directories, like those I've made, were able to be selected.
I also tried to link /volume1/somedirectory/anotherdirectory -> /music,
but then not even the music directory exists at the selection window.

Could it be so, that in the LMS docker version there is some 'hard
coding' for the directories that could be linked to /music? Something
like /volume1/music, volume1/pictures and /volume1/video?



V12's Profile: http://forums.slimdevices.com/member.php?userid=71202
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread V12


Jaca wrote: 
> Well, while I see where you are coming from I don't see harm using
> symlink even if one day it may not work anymore(very unlikely IMO).
> I believe symlinks are excluded from most backup solutions so
> duplicates wont be problem. Saying that I probably have to double check
> it with Synology Hyper Backup I'm using. :confused:

It's not that symlink is going somewhere, its more question are  these
'made symlinks' so permanent, that they exist after major version
upgrade (like upgarding to DMS 7).



V12's Profile: http://forums.slimdevices.com/member.php?userid=71202
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread Jaca


Jaca wrote: 
> Well, while I see where you are coming from I don't see harm using
> symlink even if one day it may not work anymore(very unlikely IMO).
> I believe symlinks are excluded from most backup solutions so
> duplicates wont be problem. Saying that I probably have to double check
> it with Synology Hyper Backup I'm using. :confused:

Just to confirm Synology Hyper Backup ignores symlinks as expected. No
duplicates where made in process :P
I assume its the case with all backup software.



3x Squeezebox Touch, 3x Squeezebox Radio, Squeezelite (RPi with
HiFiBerry DAC+Pro), Material Skin Apk, Squeeze Commander, Logitech Media
Server Version: 8.0.0 with Material Skin

Jaca's Profile: http://forums.slimdevices.com/member.php?userid=58187
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread Jaca


V12 wrote: 
> The practice from larger systems tells, that a workaround can't be a
> permanent solution. Especially if you need tot do changes to the outside
> system, like here in the Synology.
> It's possible that this kind of workaround is not effective after
> upgrade.
> 
> Of course everybody is free to do with their devices what ever they
> want, but I don't want to temper with production system with over 17TB
> of data, where whole backup to USB3 takes over 4 whole days.

Well, while I see where you are coming from I don't see harm using
symlink even if one day it may not work anymore(very unlikely IMO).
I believe symlinks are excluded from most backup solutions so
duplicates wont be problem. Saying that I probably have to double check
it with Synology Hyper Backup I'm using. :confused:



3x Squeezebox Touch, 3x Squeezebox Radio, Squeezelite (RPi with
HiFiBerry DAC+Pro), Material Skin Apk, Squeeze Commander, Logitech Media
Server Version: 8.0.0 with Material Skin

Jaca's Profile: http://forums.slimdevices.com/member.php?userid=58187
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread vco1


Man in a van wrote: 
> 
> Are you on the "beta" tab at the bottom of the pCP web gui MainPage ?
> 
> If so, what is the expanded view of 
> 
> ...
> 
> and which version pCP ?
> 
I'm not on the beta tab. Should I? Will that change something on pCP or
only reveal some extra settings?
I'm using piCorePlayer v7.0.0 (64bit)



vco1's Profile: http://forums.slimdevices.com/member.php?userid=68036
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread Jaca


sparkyuk wrote: 
> You should be able to map multiple host directories in to the container
> /music directory as sub-directories by using additional volumes via the
> docker run command line or docker-compose.yml file.  As an example,
> let's assume you have several directories on your docker host machine
> where there are music files you want to make accessible to LMS
> 
> /data/flac
> /personal/mp3
> /files/cdrips
> 
> You can make these accessible using
> 
> docker run . -c /data/flac:/music/flac -v /personal/mp3:/music/mp3
> -v /files/cdrips:/music/cdrips
> 
> or in your docker-compose.yml under volumes:
> - /data/flac:/music/flac:ro
> - /personal/mp3:/music/mp3:ro
> - /files/cdrips:/music/cdrips:ro
> 
> I do this and see this inside the container
> 
> root@8c1bae8f896f:/music# ls -l /music
> total 12
> drwxr-xr-x 2 squeezeboxserver squeezeboxserver 4096 Jan  6 11:56 flac
> drwxr-xr-x 2 squeezeboxserver squeezeboxserver 4096 Jan  6 11:58 mp3
> drwxr-xr-x 3 squeezeboxserver squeezeboxserver 4096 Dec 28 13:00 cdrips
> 
> Once the container has started you should see all of the directories
> under /music so you can leave LMS to scan from there or delete the
> /music entry and add separate configs for each directory.

Yeah this concept doesn't seems to work on Synology for some reason.. at
least when using GUI, only first /music is included others are ignored. 
Perhaps  command line way works but I haven't tried.



3x Squeezebox Touch, 3x Squeezebox Radio, Squeezelite (RPi with
HiFiBerry DAC+Pro), Material Skin Apk, Squeeze Commander, Logitech Media
Server Version: 8.0.0 with Material Skin

Jaca's Profile: http://forums.slimdevices.com/member.php?userid=58187
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-07 Thread JQW


I forgot about the Duke's finger-clicks on that track!

I can provide other sample files, if needed. I should have something
that's relatively quiet with the clicking obvious. I'll do some testing
with my library tonight and select something else suitable. 

When the clicking is audible there appears to be precisely 10 seconds
between each one, which points to some form of framing or buffering
error.

I'll also attempt to run the 64-bit version of PiCorePlayer on the same
device, although I may not be able to get that installed for a day or
two.



JQW's Profile: http://forums.slimdevices.com/member.php?userid=66930
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] 'Official' docker container for LMS?

2021-01-07 Thread Michael Herger

The practice from larger systems tells, that a workaround can't be a
permanent solution. Especially if you need tot do changes to the outside
system, like here in the Synology.


Experience also shows that more complex and larger systems often don't 
work with the simple package designed to be easy to use. If you have 
special requirements, then you'll have to put in some effort. Whether 
this be what you consider a workaround, or your custom Docker image to 
extend its possibilities is up to you.



It's possible that this kind of workaround is not effective after
upgrade.


Symlinks are a pretty well supported concept in Linux systems. They 
won't go away.


--

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread V12


Jaca wrote: 
> [emoji23] since when workaround isn't solution?
> 
> What's wrong with this particular one?
> I would argue it's better still then package  which potentially could
> expose whole NAS if there were any security holes.. With docker you are
> only providing access to specific shared folders and as read only..
> 
> Just to double check you are aware you not actually change any folder
> structure or duplicate data with symlink? Don't understand why you are
> against that.. It's simple solution to map multiple shared folders to
> LMS / overcome docker LMS limitation

The practice from larger systems tells, that a workaround can't be a
permanent solution. Especially if you need tot do changes to the outside
system, like here in the Synology.
It's possible that this kind of workaround is not effective after
upgrade.

Of course everybody is free to do with their devices what ever they
want, but I don't want to temper with production system with over 17TB
of data, where whole backup to USB3 takes over 4 whole days.



V12's Profile: http://forums.slimdevices.com/member.php?userid=71202
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread V12


mherger wrote: 
> > I think the problem I've described is in the UI. Even with this type
> of
> > linking directories, the selection window don't show any other music
> > directory, than the /music, or its direct sub-directories, not the
> > linked ones.
> 
> Are you saying that navigating to /music would show you... nothing?
> 
No, only the other linked directory (like /music/music2) does not show.
mherger wrote: 
> > I was able to use the other linked directory by manually writing it
> to
> > the directory setting. Now it seems to work OK, although there are
> about
> > 100 000 records totally, including duplicates, so it takes time to be
> > really sure...
> 
> Ok, that's one way to work around it. But you wouldn't need to add them
> 
> all. Just add /music, and LMS will scan all its sub folders anyway.
> 
> -- 
> -- 
> 
> Michael

That's true.



V12's Profile: http://forums.slimdevices.com/member.php?userid=71202
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread Michael Herger

I think the problem I've described is in the UI. Even with this type of
linking directories, the selection window don't show any other music
directory, than the /music, or its direct sub-directories, not the
linked ones.


Are you saying that navigating to /music would show you... nothing?


I was able to use the other linked directory by manually writing it to
the directory setting. Now it seems to work OK, although there are about
100 000 records totally, including duplicates, so it takes time to be
really sure...
Ok, that's one way to work around it. But you wouldn't need to add them 
all. Just add /music, and LMS will scan all its sub folders anyway.


--
--

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-07 Thread V12


sparkyuk wrote: 
> You should be able to map multiple host directories in to the container
> /music directory as sub-directories by using additional volumes via the
> docker run command line or docker-compose.yml file.  As an example,
> let's assume you have several directories on your docker host machine
> where there are music files you want to make accessible to LMS
> 
> /data/flac
> /personal/mp3
> /files/cdrips
> 
> You can make these accessible using
> 
> docker run . -c /data/flac:/music/flac -v /personal/mp3:/music/mp3
> -v /files/cdrips:/music/cdrips
> 
> or in your docker-compose.yml under volumes:
> - /data/flac:/music/flac:ro
> - /personal/mp3:/music/mp3:ro
> - /files/cdrips:/music/cdrips:ro
> 
> I do this and see this inside the container
> 
> root@8c1bae8f896f:/music# ls -l /music
> total 12
> drwxr-xr-x 2 squeezeboxserver squeezeboxserver 4096 Jan  6 11:56 flac
> drwxr-xr-x 2 squeezeboxserver squeezeboxserver 4096 Jan  6 11:58 mp3
> drwxr-xr-x 3 squeezeboxserver squeezeboxserver 4096 Dec 28 13:00 cdrips
> 
> Once the container has started you should see all of the directories
> under /music so you can leave LMS to scan from there or delete the
> /music entry and add separate configs for each directory.

V12 wrote: 
> Actually, I tried that same method, but for some reason it crashed. I'll
> make another try.

Ok, at this time the installation as described here, went through. But
some problem still occurring.
I think the problem I've described is in the UI. Even with this type of
linking directories, the selection window don't show any other music
directory, than the /music, or its direct sub-directories, not the
linked ones.
I was able to use the other linked directory by manually writing it to
the directory setting. Now it seems to work OK, although there are about
100 000 records totally, including duplicates, so it takes time to be
really sure...



V12's Profile: http://forums.slimdevices.com/member.php?userid=71202
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] [How To] Using the Argon One case for the Pi 4B together with piCorePlayer (7.x)

2021-01-07 Thread chill


carsten_h wrote: 
> It is clear why you got the error message. You simply forgot the "sudo"
> in front of the command. The error is that the operation is permitted!
> 

D'Oh!  The correct output supports the original conclusion though.


Code:

tc@pCPServer:~$ sudo fstrim -v /mnt/M2
  fstrim: FITRIM: Operation not supported




chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113575

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


Re: [SlimDevices: Unix] [How To] Using the Argon One case for the Pi 4B together with piCorePlayer (7.x)

2021-01-07 Thread carsten_h


chill wrote: 
> > 
Code:

  >   > tc@pCP:~$ fstrim -v /mnt/m2

> > 

It is clear why you got the error message. You simply forgot the "sudo"
in front of the command. The error is that the operation is permitted!

chill wrote: 
> I found that my old SATA drive achieves a write speed of around 150MB/s
> and read speed of around 210MB/s.
> The new M.2 SATA drive achieves a write speed of around 245MB/s and a
> read speed of around 300MB/s.

Ok, then I don't have to change to the M.2 SSD. It would also be a bit
expensive, as I am using a 2TB SATA SSD.
The longest operation is to create the LMS library completely new and
that is really fast since I changed the USB stick used for the database
(I think it is 30 minutes faster now). It took 48 minutes for ca. 85000
songs.



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=113575

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


Re: [SlimDevices: Unix] [How To] Using the Argon One case for the Pi 4B together with piCorePlayer (7.x)

2021-01-07 Thread chill


My M.2 SSD and adapter have arrived, and I've been investigating with
the tools described in the 'blog post that Paul linked to'
(https://lemariva.com/blog/2020/08/raspberry-pi-4-ssd-booting-enabled-trim).

I first of all investigated my existing Sandisk SATA SSD drive that's
connected via a cheapo SATA-to-USB adapter.  The indications are that
it's unmap-capable (but not enabled), and that it's using 'Bulk-Only
Transport' (BOT) and not UASP.  No great surprises there, and I guess I
could implement unmap as per the instructions in the blog post.


Code:


  tc@pCPServer:/mnt/sdb2/tce$ fstrim -v /mnt/Music
  fstrim: FITRIM: Operation not permitted
  
  tc@pCPServer:/mnt/sdb2/tce$ sg_vpd -p bl /dev/sda
  .
  .
  .
  Maximum unmap LBA count: 4194240
  Maximum unmap block descriptor count: 1
  Optimal unmap granularity: 1 blocks
  Unmap granularity alignment valid: false
  Unmap granularity alignment: 0 [invalid]
  .
  .
  .
  
  
  tc@pCPServer:/mnt/sdb2/tce$ lsusb -v
  
  Bus 002 Device 003: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s 
bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 
6Gb/s bridge
  Device Descriptor:
  .
  .
  .
  Interface Descriptor:
  .
  . 
  bInterfaceClass 8 Mass Storage
  bInterfaceSubClass  6 SCSI
  bInterfaceProtocol 80 Bulk-Only
  .
  .
  .
  



I then used the same commands on the new 'M.2 SATA drive'
(https://www.amazon.co.uk/gp/product/B078WYS5K6) connected via the Argon
adapter.  If I'm reading the output correctly, then this setup is NOT
unmap-capable, and is also using the BOT driver, rather than UASP. 
That's a bit of a surprise, given the blurb on the 'Pi Hut page'
(https://thepihut.com/collections/raspberry-pi-cases/products/argon-one-m-2-raspberry-pi-4-case)
about UASP support.  Perhaps I need to do something to enable it, or
perhaps I'm misreading the output.


Code:

tc@pCP:~$ fstrim -v /mnt/m2
  fstrim: FITRIM: Operation not permitted
  
  tc@pCP:~$ sg_vpd -p bl /dev/sda
  .
  .
  .
  Maximum unmap LBA count: 0 [Unmap command not implemented]
  Maximum unmap block descriptor count: 0 [Unmap command not implemented]
  Optimal unmap granularity: 0 blocks [not reported]
  Unmap granularity alignment valid: false
  Unmap granularity alignment: 0 [invalid]
  .
  .
  .
  
  tc@pCP:~$ lsusb -v
  
  Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s 
bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 
6Gb/s bridge
  Device Descriptor:
  .
  .
  .
  Interface Descriptor:
  .
  . 
  bInterfaceClass 8 Mass Storage
  bInterfaceSubClass  6 SCSI
  bInterfaceProtocol 80 Bulk-Only
  .
  .
  .
  



I also did a few rudimentary speed tests, as per the instructions on
'this page' (https://elinux.org/RPi_SD_cards#Terminal_Commands).

I found that my old SATA drive achieves a write speed of around 150MB/s
and read speed of around 210MB/s.
The new M.2 SATA drive achieves a write speed of around 245MB/s and a
read speed of around 300MB/s.

These are all somewhat short of the 5Gbps possible under USB3, but hey,
at least the new M.2 drive seems to be about 50% faster than the SSD
I've been using.  And since it's only used to store a largely static
music collection, both drives are more than fast enough.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113575

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread Man in a van


vco1 wrote: 
> I just bought a new Topping D50s (replacing a Cambridge Audio DacMagic)
> and connected this to an RPi 4 running piCorePlayer via USB. One of the
> reasons to get the D50s was to get higher sample rates. The DM was only
> able to get to 44.1KHz on USB.
> /QUOTE]
> 
> Are you on the "beta" tab at the bottom of the pCP web gui MainPage ?
> 
> If so, what is the expanded view of 
> 
> 32875
> 
> and which version pCP ?
> 
> ronnie


+---+
|Filename: squeezelite.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32875|
+---+


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

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread slartibartfast


d6jg wrote: 
> Sometime -r is needed sometimes not. Use the defaults if they actually
> do work.
> 
> By default the Pi will (should) output whatever you throw at it as long
> as the USB DAC is capable of decoding it but it won't upsample.I looked at -r 
> and notice it "allows output to be off when Squeezelite
is started". Does that bring any benefits?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread d6jg


vco1 wrote: 
> No, that's not the default setting. I added this based on the post by
> d6jg about the maximum rate.
> 
> I know deleted this setting and played my 96Khz file, and it still shows
> up as 96Khz. So perhaps the -r setting is not needed. At least, I don't
> see or hear any difference (yet).

Sometime -r is needed sometimes not. Use the defaults if they actually
do work.

By default the Pi will (should) output whatever you throw at it as long
as the USB DAC is capable of decoding it but it won't upsample.



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Boom 
*Kitchen* UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes
Everything controlled by iPeng & Material on iOS

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread vco1


slartibartfast wrote: 
> Is that the default setting. I didn't tweak any of those settings for my
> Topping E30. I added DSD just because I could but don't have any DSD
> files apart from some test files.
> 

No, that's not the default setting. I added this based on the post by
d6jg about the maximum rate.

I know deleted this setting and played my 96Khz file, and it still shows
up as 96Khz. So perhaps the -r setting is not needed. At least, I don't
see or hear any difference (yet).



vco1's Profile: http://forums.slimdevices.com/member.php?userid=68036
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-01-07 Thread trythat


I've managed to fix my Jivelite problems, after a lot of trial and error
:)

I use docker containers to run my LMS, and the problem was I could
access the player from my LMS, but could not get the player to work with
the screen, it would not find a player or LMS. 

I did manage a hack to it, which entailed installing LMS on the player
and then remote mounting my music from my main LMS. But this just seemed
all wrong.

Any way it makes a difference which container you use, as I was using
containers before the lmscommunity/logitechmediaserver container was
made  I used this 1 dlandon/logitechmediaserver. I might well change to
the lmscommunity/logitechmediaserver one yet.

If you compare the 2 run commands you will notice that
lmscommunity/logitechmediaserver has a udp port listed!

And yes that was the missing port, so if you're running a container and
intend to use Jivelite the please make sure these ports are mapped -
-p 9000:9000/tcp, 9090:9090/tcp , 3483:3483/tcp ,3483:3483/udp .

All is working well now!



trythat's Profile: http://forums.slimdevices.com/member.php?userid=66537
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread slartibartfast


vco1 wrote: 
> Turned out it was a 44.1KHz file. I went for a 96KHz file and now the
> DAC is showing 96KHz!
> 
> Current setting is -r 44100-768000 as according to the specs that's what
> the D50s is capable of. Or is it better to use a different setting
> here?
> 
> More tips for tweaking and/or having the correct settings are still
> welcome. But thanks a lot for all your help so far!

Is that the default setting. I didn't tweak any of those settings for my
Topping E30. I added DSD just because I could but don't have any DSD
files apart from some test files.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread vco1


slartibartfast wrote: 
> What is the sample rate of your 24 bit files? The DAC will only display
> the sample rate of the playing track.
> 

Turned out it was a 44.1KHz file. I went for a 96KHz file and now the
DAC is showing 96KHz!

Current setting is -r 44100-768000 as according to the specs that's what
the D50s is capable of. Or is it better to use a different setting
here?

More tips for tweaking and/or having the correct settings are still
welcome. But thanks a lot for all your help so far!



vco1's Profile: http://forums.slimdevices.com/member.php?userid=68036
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread slartibartfast


vco1 wrote: 
> Yes, I do have 24bit hi-res flac's. Will the higher sample rate only be
> shown on the DAC when playing these files? I tested with these b.t.w.What is 
> the sample rate of your 24 bit files? The DAC will only display
the sample rate of the playing track.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread vco1


slartibartfast wrote: 
> Daft question, do you have any tracks at higher sample rates?
> 

Yes, I do have 24bit hi-res flac's. Will the higher sample rate only be
shown on the DAC when playing these files? I tested with these b.t.w.



vco1's Profile: http://forums.slimdevices.com/member.php?userid=68036
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread vco1


d6jg wrote: 
> It should be capable of 192kHz so it is the setup of your card settings
> in piCorePlayer - what do you have as maximum rate?

Nothing (yet). So thank you for pointing that out.

However, I tried both the -r as the -Z setting using 192000 as the
value, but still the display showed 44.1KHz or 48KHz, depending the
output setting. So the question is: how do I set the maximum rate?



vco1's Profile: http://forums.slimdevices.com/member.php?userid=68036
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread slartibartfast

vco1 wrote: 
> I just bought a new Topping D50s (replacing a Cambridge Audio DacMagic)
> and connected this to an RPi 4 running piCorePlayer via USB. One of the
> reasons to get the D50s was to get higher sample rates. The DM was only
> able to get to 44.1KHz on USB.
> 
> However, so far I've been able to "only" get 48KHz on the D50s using the
> "sysdefault:CARD=D50s" Output Setting in pCP. Most other settings result
> in 44.1KHz b.t.w. That 48KHz sample rate may be the maximum possible,
> but it's a tad disappointing to say the least. Especially since I read
> values of 192KHz and above in the USB DAC Google Sheet for DAC's that
> seem less capable than the D50s.
> 
> So, the question is, am I missing something? Do I need to change other
> settings? Is someone having experience with the D50s (or D50) and
> willing to share their settings?
> 
> I'm not an expert on this, so some pointers to get me in the right
> direction – or confirm that 48KHz is really the maximum that can be
> achieved with this setup – would be much appreciated.Daft question, do you 
> have any tracks at higher sample rates?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


Re: [SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread d6jg

vco1 wrote: 
> I just bought a new Topping D50s (replacing a Cambridge Audio DacMagic)
> and connected this to an RPi 4 running piCorePlayer via USB. One of the
> reasons to get the D50s was to get higher sample rates. The DM was only
> able to get to 44.1KHz on USB.
> 
> However, so far I've been able to "only" get 48KHz on the D50s using the
> "sysdefault:CARD=D50s" Output Setting in pCP. Most other settings result
> in 44.1KHz b.t.w. That 48KHz sample rate may be the maximum possible,
> but it's a tad disappointing to say the least. Especially since I read
> values of 192KHz and above in the USB DAC Google Sheet for DAC's that
> seem less capable than the D50s.
> 
> So, the question is, am I missing something? Do I need to change other
> settings? Is someone having experience with the D50s (or D50) and
> willing to share their settings?
> 
> I'm not an expert on this, so some pointers to get me in the right
> direction – or confirm that 48KHz is really the maximum that can be
> achieved with this setup – would be much appreciated.

It should be capable of 192kHz so it is the setup of your card settings
in piCorePlayer - what do you have as maximum rate?



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Boom 
*Kitchen* UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes
Everything controlled by iPeng & Material on iOS

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


[SlimDevices: Unix] piCorePlayer DAC and samplerate

2021-01-07 Thread vco1

I just bought a new Topping D50s (replacing a Cambridge Audio DacMagic)
and connected this to an RPi 4 running piCorePlayer via USB. One of the
reasons to get the D50s was to get higher sample rates. The DM was only
able to get to 44.1KHz on USB.

However, so far I've been able to "only" get 48KHz on the D50s using the
"sysdefault:CARD=D50s" Output Setting in pCP. Most other settings result
in 44.1KHz b.t.w. That 48KHz sample rate may be the maximum possible,
but it's a tad disappointing to say the least. Especially since I read
values of 192KHz and above in the USB DAC Google Sheet for DAC's that
seem less capable than the D50s.

So, the question is, am I missing something? Do I need to change other
settings? Is someone having experience with the D50s (or D50) and
willing to share their settings?

I'm not an expert on this, so some pointers to get me in the right
direction – or confirm that 48KHz is really the maximum that can be
achieved with this setup – would be much appreciated.



vco1's Profile: http://forums.slimdevices.com/member.php?userid=68036
View this thread: http://forums.slimdevices.com/showthread.php?t=113628

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


Re: [SlimDevices: Unix] [How To] Using the Argon One case for the Pi 4B together with piCorePlayer (7.x)

2021-01-07 Thread chill


kidstypike wrote: 
> Hi chill
> 
> I have an Argon one case (no fan), if these are your defaults, I don't
> think your fan will ever turn on. :D

I agree!  The case seems extraordinarily effective without the fan. 
I've yet to test the fan at higher temperatures, but it doesn't seem to
be particularly useful at lower temperatures - when the CPU is sitting
at 40 degrees, if I turn the fan on to 100% it barely drops the
temperature by one or two degrees.  It may be different when the server
is inside my router cupboard though, so I'll treat this as merely a bit
of extra security.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113575

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


Re: [SlimDevices: Unix] [How To] Using the Argon One case for the Pi 4B together with piCorePlayer (7.x)

2021-01-07 Thread kidstypike


chill wrote: 
> 
> #fanconfig = ["65=100", "60=55", "57=30", "55=10", "30=0"]

Hi chill

I have an Argon one case (no fan), if these are your defaults, I don't
think your fan will ever turn on. :D



*Server - LMS 8.2.0 *Pi4B 4GB/Argon one case/pCP v7.0.0 - 74K library,
playlists & LMS cache on SSD (ntfs)
*Study -* Pi3B/pCP 7.0.0/pi screen/Hifiberry DAC HAT Ruark MR1 Mk2
*Lounge* - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Garage* - Squeezebox Boom + Fostex sub
*Dining Room* - Pi3B/Bluetooth/Echo Show 8

*Spares* - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=113575

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


Re: [SlimDevices: Unix] [How To] Using the Argon One case for the Pi 4B together with piCorePlayer (7.x)

2021-01-07 Thread chill


carsten_h wrote: 
> 
> I also don't know python, but I would make it the following way:
> > 
Code:

  >   > while True:
  > temp = os.popen("vcgencmd measure_temp").readline()
  > temp = temp.replace("temp=","")
  > val = float(temp.replace("'C",""))
  > fanconfig = load_config("/home/tc/argononed.conf")
  > block = get_fanspeed(val, fanconfig)
  > if block < prevblock:
  > time.sleep(30)
  > prevblock = block
  > try:
  > bus.write_byte(address,block)
  > except IOError:
  > temp=""
  > time.sleep(30)
  > 

> > 
> 
> But I don't know what happens to the performance then, because every
> 30 seconds the file has to be opened, read and closed.
> You can try it. :-)

This works perfectly.  The argononed.conf file can now be edited while
the script is running, and the changes are applied on the fly.  In fact
I moved the whole fanconfig block inside the loop, so that the script
will continue to operate with the defaults even if the conf file is
deleted.


Code:

def temp_check():
  # fanconfig = ["65=100", "60=55", "57=30", "55=10", "30=0"]
  # tmpconfig = load_config("etc/argononed.conf")
  # tmpconfig = load_config("/home/tc/argononed.conf")
  # if len(tmpconfig) > 0:
  # fanconfig = tmpconfig
address=0x1a
prevblock=0
while True:
fanconfig = ["65=100", "60=55", "57=30", "55=10", "30=0"]
tmpconfig = load_config("/home/tc/argononed.conf")
if len(tmpconfig) > 0:
fanconfig = tmpconfig
temp = os.popen("vcgencmd measure_temp").readline()
temp = temp.replace("temp=","")
val = float(temp.replace("'C",""))
block = get_fanspeed(val, fanconfig)
if block < prevblock:
time.sleep(30)
prevblock = block
try:
bus.write_byte(address,block)
except IOError:
temp=""
time.sleep(30)



This is useful for testing purposes - I changed the conf file to contain
a single entry, '35=100', and within 30 seconds the fan came on at 100%.
I renamed the conf file, and within 30 seconds the fan turned off again
in accordance with the defaults in the python script.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113575

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


Re: [SlimDevices: Unix] [How To] Using the Argon One case for the Pi 4B together with piCorePlayer (7.x)

2021-01-07 Thread chill


paul- wrote: 
> sg3_utils.tcz is uploaded to the repo.
> busybox does have lsusb command, but its limited in output.  You can get
> the USB identifiers from dmesg.or you can download the full bloated
> usbutils.tcz extension.
> I did not build lsscsi, as more than likely you only have one device
> listed, and that info is not even needed for the udev rule.
> 
> Neither of these you will need long term, so you can just download them,
> and load them when you want.
> 
> For those that didn't know
> "tce-load -wi sg3_utils.tcz"  - Will download, install and put this in
> your onboot.lst, so it is automatically loaded every time
> "tce-load -w sg3_utils.tcz"  -  Will just download the extension and
> dependanciesnot do anything more
> "tce-load -i sg3_utils.tcz"   - Will install a previously downloaded
> extension, but does not add to onboot.lst.
> 
> 
> I would recommend this process.
> 1 - Figure out your settings from the instructions.
> 2 - Create the udev rule anywhere on your system.
> 3 - In the file /opt/bootlocal.sh  (Before pCP starts), copy the rule
> from where ever you saved it to /etc/udev/rules.d
> 4 - Reload the udev rules and trigger udev.
> 5 - Create a script to run after pCP starts to run the initial fstrim
> operation, since the unmap data is only maintained in the kernel.
> 6 - Run your periodic fstrim via a cron script.
> 
> Here is my bootlocal
> > 
Code:

  >   > 
  > cp /opt/80-samsung-t5.rules /etc/udev/rules.d/
  > udevadm control --reload-rules
  > udevadm trigger
  > 

> > 
> 
> > 
Code:

  >   > 
  > fstrim -v /mnt/mountpoint > /var/log/pcp_trim.log
  > 

> > 

Excellent - thanks Paul, that's a really useful post.  I've received
word that my M2 SSD and the Argon One adapter/tray will arrive today, so
I'm looking forward to having a play.  In the meantime I'm going to try
this out on my existing SATA SSD.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113575

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