Forum Audiophonics.fr

Forum du site de vente en ligne Audiophonics.fr : Pour les amateurs de Home Audio, de Connectique et de DIY
Nous sommes actuellement le Mer 18 Oct 2017 17:39

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 31 message(s) ]  Aller vers la page 1, 2  Suivant
Auteur Message
Message Publié : Mer 10 Août 2016 18:43 
Hors-ligne

Inscription : Mer 10 Août 2016 18:14
Message(s) : 13
Hello,

I am writing in English since my French is unfortunately nonexistent. ;) For a poor French translation via Google Translate see below.

I am a proud and happy owner of the latest Audiophonics RaspDAC (http://www.audiophonics.fr/en/appareils-hifi-dac/audiophonics-raspdac-network-player-raspberry-pi-20-dac-sabre-v3-p-11135.html).

I installed the provided RuneAudio image (https://mega.nz/#!EEBjWbjC!r5cNR2vrXuwisvUGdu_2aflWkoXlusgnjh66LFWDob0) which works nicely with the pre-configured Power Button and OLED Display scripts. However, I very much want to use the (very excellent) Max2Play OS (https://www.max2play.com/) instead of RuneAudio or Volumio, since it allows the easy installation and use of the Logitech Media Server (LMS) directly on the Raspberry Pi. I have a very large music collection, 3500+ albums in FLAC and MP3, and the LMS has much, much more advanced and comfortable library search and playlist creation functions, Soundcloud plugins, and more. Even though the interface looks very old compared to RuneAudio, the LMS functionality is fantastic.

For the RaspDAC, have installed the Max2Play Hifiberry image (https://www.max2play.com/max2play-image/) and configured the Logitech Media Server. This part was easy, and listening to music works - but of course I have the familiar issues of the blinking power button and dead, non-functioning OLED display.

In summary: I need help getting the RaspDAC Power Button and OLED display to work with Max2Play. I am hoping that I am not the only one in this predicament, and would be very happy if any of the experts here - dhrone? rikardo1979? - could have a look and help out. I am new to this, and desperate. ;)

Many thanks!

.........................................................

(Warning - ROBOT FRENCH) ;)

Bonjour,

Je suis un propriétaire fier et heureux de la dernière AudioPhonics RaspDAC (http://www.audiophonics.fr/en/appareils-hifi-dac/audiophonics-raspdac-network-player-raspberry-pi-20-dac-sabre-v3-p-11135.html).

Je l'ai installé l'image RuneAudio fourni (https://mega.nz/#!EEBjWbjC!r5cNR2vrXuwisvUGdu_2aflWkoXlusgnjh66LFWDob0), qui fonctionne bien avec le bouton d'alimentation pré-configuré et OLED Display scripts. Cependant, je tiens beaucoup à utiliser le (très bon) Max2Play OS (https://www.max2play.com/) au lieu de RuneAudio ou Volumio, car il permet l'installation et l'utilisation du Logitech Media Server (LMS) facile directement sur le Raspberry Pi. J'ai une très grande collection de musique, 3500+ albums en FLAC et MP3, et le LMS a beaucoup, beaucoup plus de fonctions avancées et confortables recherche de la bibliothèque et de création de playlist, plugins Soundcloud, et plus encore. Même si l'interface est très ancienne par rapport à RuneAudio, la fonctionnalité LMS est fantastique.

Pour le RaspDAC, ont installé l'image Max2Play Hifiberry (https://www.max2play.com/max2play-image/) et configuré le Logitech Media Server. Cette partie était facile, et écouter de la musique fonctionne - mais bien sûr, je les questions familières du bouton d'alimentation clignote et morte affichage, non-fonctionnement OLED.

En résumé: Je dois aider à obtenir le bouton RaspDAC alimentation et écran OLED de travailler avec Max2Play. J'espère que je ne suis pas le seul dans cette situation, et je serais très heureux si l'un des experts ici - dhrone? rikardo1979? - Pourrait avoir un coup d'oeil et aider. Je suis nouveau à cela, et désespéré. ;)

Merci beaucoup!


Haut
 Profil  
 
Message Publié : Mer 10 Août 2016 19:18 
Hors-ligne
Avatar de l’utilisateur

Inscription : Sam 09 Avr 2016 08:39
Message(s) : 134
Localisation : UK
jcu-muc a écrit :
Hello,

I am writing in English since my French is unfortunately nonexistent. ;) For a poor French translation via Google Translate see below.

I am a proud and happy owner of the latest Audiophonics RaspDAC (http://www.audiophonics.fr/en/appareils-hifi-dac/audiophonics-raspdac-network-player-raspberry-pi-20-dac-sabre-v3-p-11135.html).

I installed the provided RuneAudio image (https://mega.nz/#!EEBjWbjC!r5cNR2vrXuwisvUGdu_2aflWkoXlusgnjh66LFWDob0) which works nicely with the pre-configured Power Button and OLED Display scripts. However, I very much want to use the (very excellent) Max2Play OS (https://www.max2play.com/) instead of RuneAudio or Volumio, since it allows the easy installation and use of the Logitech Media Server (LMS) directly on the Raspberry Pi. I have a very large music collection, 3500+ albums in FLAC and MP3, and the LMS has much, much more advanced and comfortable library search and playlist creation functions, Soundcloud plugins, and more. Even though the interface looks very old compared to RuneAudio, the LMS functionality is fantastic.

For the RaspDAC, have installed the Max2Play Hifiberry image (https://www.max2play.com/max2play-image/) and configured the Logitech Media Server. This part was easy, and listening to music works - but of course I have the familiar issues of the blinking power button and dead, non-functioning OLED display.

In summary: I need help getting the RaspDAC Power Button and OLED display to work with Max2Play. I am hoping that I am not the only one in this predicament, and would be very happy if any of the experts here - dhrone? rikardo1979? - could have a look and help out. I am new to this, and desperate. ;)

Many thanks!

.........................................................

(Warning - ROBOT FRENCH) ;)

Bonjour,

Je suis un propriétaire fier et heureux de la dernière AudioPhonics RaspDAC (http://www.audiophonics.fr/en/appareils-hifi-dac/audiophonics-raspdac-network-player-raspberry-pi-20-dac-sabre-v3-p-11135.html).

Je l'ai installé l'image RuneAudio fourni (https://mega.nz/#!EEBjWbjC!r5cNR2vrXuwisvUGdu_2aflWkoXlusgnjh66LFWDob0), qui fonctionne bien avec le bouton d'alimentation pré-configuré et OLED Display scripts. Cependant, je tiens beaucoup à utiliser le (très bon) Max2Play OS (https://www.max2play.com/) au lieu de RuneAudio ou Volumio, car il permet l'installation et l'utilisation du Logitech Media Server (LMS) facile directement sur le Raspberry Pi. J'ai une très grande collection de musique, 3500+ albums en FLAC et MP3, et le LMS a beaucoup, beaucoup plus de fonctions avancées et confortables recherche de la bibliothèque et de création de playlist, plugins Soundcloud, et plus encore. Même si l'interface est très ancienne par rapport à RuneAudio, la fonctionnalité LMS est fantastique.

Pour le RaspDAC, ont installé l'image Max2Play Hifiberry (https://www.max2play.com/max2play-image/) et configuré le Logitech Media Server. Cette partie était facile, et écouter de la musique fonctionne - mais bien sûr, je les questions familières du bouton d'alimentation clignote et morte affichage, non-fonctionnement OLED.

En résumé: Je dois aider à obtenir le bouton RaspDAC alimentation et écran OLED de travailler avec Max2Play. J'espère que je ne suis pas le seul dans cette situation, et je serais très heureux si l'un des experts ici - dhrone? rikardo1979? - Pourrait avoir un coup d'oeil et aider. Je suis nouveau à cela, et désespéré. ;)

Merci beaucoup!

so kind of you calling me an expert :D but I can assure you that I am not an expert :) Actually I am far from that level.
I am just stupid enough to try anything and I like challenges

Unfortunately I have no experience with max2play so I can not really help. By quick looking I understand it is an headless OS, with no web GUI. All these scripts for power management and OLED, they have been written for OS's like Volumio, RuneAudio, MoodeAudio, which all have web GUI.

There is an post of one user over on RuneAudio forum http://www.runeaudio.com/forum/audiopho ... tml#p16607
This guy makes an script for OpenELEC, which has no web GUI. So maybe you can try these steps?

_________________
~~~~>>>Please always follow rules and read before you post<<<~~~~


Haut
 Profil  
 
Message Publié : Jeu 17 Nov 2016 14:02 
Hors-ligne
Avatar de l’utilisateur

Inscription : Lun 24 Jan 2011 12:55
Message(s) : 862
We are going to work with them more closely in the coming weeks and are hoping to bring screen and power management to Max2play asap.

Stay tuned.

_________________
David


Haut
 Profil  
 
Message Publié : Jeu 17 Nov 2016 14:08 
Hors-ligne

Inscription : Mer 10 Août 2016 18:14
Message(s) : 13
Hi David,

That sounds great, many thanks. Please have a look at the great work Dhrone has done already at

https://github.com/dhrone/Raspdac-Display

which includes configs and instructions for Max2Play.

I have a RaspDAC V3 and using his work I have been able to get it all up and running beautifully using Logitech Media Server on the RPi as music source.

Best regards,
Jason


Haut
 Profil  
 
Message Publié : Mar 13 Déc 2016 11:32 
Hors-ligne

Inscription : Ven 04 Nov 2016 21:29
Message(s) : 15
Hi there,

I am also using the kit with Runeaudio and I am very happy with the sound quality and performance so far. However, I am also finding the music library management options quite limited, the search functions and playlist creation/management are a little bit of a pain compared with kodi, for example.
So it sounds like Max2play would solve the library management part and still have power management/display support for the RaspDac, which is exactly what I am after. The question is: how about sound quality?. I am usually a little skeptical regarding serious differences on SQ among very related software distros, but I have seen that @rikardo1979 and others recommend Moodeaudio as noticeably better. I thought I would ask first before moving to Max2Play: I really want something more usable to handle a large NAS full of Flac albums without stepping below optimum quality. I am not into the hi-end hype but I do use a linear power supply for the RaspDac, a valve preamp and some decent headphones and speaker columns.


Dernière édition par Baldo_Mero le Mar 13 Déc 2016 15:08, édité 1 fois.

Haut
 Profil  
 
Message Publié : Mar 13 Déc 2016 13:14 
Hors-ligne
Avatar de l’utilisateur

Inscription : Sam 09 Avr 2016 08:39
Message(s) : 134
Localisation : UK
Baldo_Mero a écrit :
Hi there,

I am also using the kit with Runeaudio and I am very happy with the sound quality and performance so far. However, I am also finding the music library management options quite limited, the search functions and playlist creation/management are a little bit of a pain compared with kodi, for example.
So it sounds like Max2play would solve the library management part and still have power management/display support for the RaspDac, which is exactly what I am after. The question is: how about sound quality?. I am usually a little skeptical regarding serious differences on SQ among quality on very related software distros, but I have seen that @rikardo1979 and others recommend Moodeaudio as noticeably better. I thought I would ask first before moving to Max2Play: I really want something more usable to handle a large NAS full of Flac albums without stepping below optimum quality. I am not into the hi-end hype but I do use a linear power supply for the RaspDac, a valve preamp and some decent headphones and speaker columns.

I have tested all available players out there and MoodeAudio is still on top. Give it a try to experience on your ears ;)
If you have a huge music library stored localy I would highly recommend you try Roon Labs. Therer is probably nothing better than that. It comes with price but is well worth every penny ;) If you love music you will even more with this. And you start search and listen to even more, new music, new artists, etc.


_________________
~~~~>>>Please always follow rules and read before you post<<<~~~~


Haut
 Profil  
 
Message Publié : Mar 13 Déc 2016 14:15 
Hors-ligne

Inscription : Ven 04 Nov 2016 21:29
Message(s) : 15
Thank you rikardo1979, but this does not seem to answer my question. If I understand it correctly Roon looks very nice but there does not seem to be support for the power+LCD management of RaspDac. In addition, no idea of how the quality would compare with MoodeAudio or RuneAudio. Out of the box, max2play appears to offer the best library management options /player GUI for a headless audio distro for RBPi. The thing is, how does it stand in terms of sound quality?


Haut
 Profil  
 
Message Publié : Mar 13 Déc 2016 14:50 
Hors-ligne
Avatar de l’utilisateur

Inscription : Sam 09 Avr 2016 08:39
Message(s) : 134
Localisation : UK
Baldo_Mero a écrit :
Thank you rikardo1979, but this does not seem to answer my question. If I understand it correctly Roon looks very nice but there does not seem to be support for the power+LCD management of RaspDac. In addition, no idea of how the quality would compare with MoodeAudio or RuneAudio. Out of the box, max2play appears to offer the best library management options /player GUI for a headless audio distro for RBPi. The thing is, how does it stand in terms of sound quality?

no, you got it wrong.
Roon is just an server aplication running on your network for indexing and catalogue your music. Than you use it with any network player/streamer you like.
So if you dont like how MoodeAudio, RuneAudio, Volumio or any other system serve your music, you use Rune Labs to do it

_________________
~~~~>>>Please always follow rules and read before you post<<<~~~~


Haut
 Profil  
 
Message Publié : Mar 13 Déc 2016 16:41 
Hors-ligne

Inscription : Mer 10 Août 2016 18:14
Message(s) : 13
Hello all,

@ rikardo1979 - hey there, long time no see! ;)

@ Baldo_Mero -

I have a RaspDAC with display & power button just as you do, and have tried RuneAudio and Max2Play on it. I have not tried MoodeAudio as rikardo1979 has, primarily because it appeared to have the same or very similar library handling as RuneAudio - and with my large collection I needed and wanted the very flexible LMS (Logitech Media Server)

Trying to keep this short, let's see if I manage... I don't consider myself an Audiophile nut, but sound quality is very important to me. My two separate RPi setups (RaspDAC vs. RPi3 with IQaudIO Pi-DAC+) feed into a Linn Majik Kontrol preamp --> Linn Majik power amp --> Linn Majik 109 speakers (Aktiv). I also dabble about with linear power supplies etc., so you decide the degree of my affliction. ;)

Sound quality RuneAudio vs. Max2Play on a RaspDAC:

I initially found them to be about the same, using Max2Play with Logitech Media Server and Squeezelite player (all easily installed with Max2Play with a few clicks). However, I recently tweaked the setup according to these instructions: https://www.max2play.com/en/wiki/optimi ... e-control/

This command line option effectively bypasses Squeezelite's default software volume control and connecting directly to the hardware output of your sound card. I found this to make a big difference, i.e. fuller, richer, warmer sound, and I don't think I was imagining it.

So if you'd like to give it a go with your RaspDAC, you'll need the Max2Play HiFiBerry Image from here: https://www.max2play.com/en/max2play-image/

Install it, and then update it to the current version 2.39. This new version allows you to finally select the Audiophonics I-Sabre V3 as a preconfigured DAC!

Now comes the fun part - to get the display and power button working, dhrone has provided a great working set of files and instructions here: https://github.com/dhrone/Raspdac-Display (Instructions for installing and configuring the scripts for Max2Play are near the bottom).

In summary, I am now VERY pleased with the RaspDAC sound quality with Max2Play particularly after the hardware volume tweak. I cannot say with certainty there is nothing better out there, that depends of course on so many factors. But I can say with 100% certainty that with 40,000+ tracks in FLAC (16/24) and MP3, I cannot do without LMS's library management, search and playlist functionality as well as its effortless handling of Soundcloud accounts and any type of stream you can throw at it. Max2Play also has Airplay support which I do not use, but in case you do...

The best mobile device controls for LMS are iPeng (iPhone) and Squeezer (Android). iPeng is brilliant and costs I think 6 EUR and Squeezer is free but quite basic.

PS - I hear from Max2Play that Audiophonics is in touch with Max2Play (or vice-versa) - so there may be a ready-to-use image or plugin on its way. But don't hold your breath, isn't that right rikardo? ;)

PS PS - Roon Labs looks very interesting indeed, but I am currently on a bit of a budget. When that changes, I will certainly give it a go.

All the best,
JCU


Haut
 Profil  
 
Message Publié : Mar 13 Déc 2016 17:01 
Hors-ligne
Avatar de l’utilisateur

Inscription : Sam 09 Avr 2016 08:39
Message(s) : 134
Localisation : UK
jcu-muc a écrit :
Hello all,

@ rikardo1979 - hey there, long time no see! ;)

@ Baldo_Mero -

I have a RaspDAC with display & power button just as you do, and have tried RuneAudio and Max2Play on it. I have not tried MoodeAudio as rikardo1979 has, primarily because it appeared to have the same or very similar library handling as RuneAudio - and with my large collection I needed and wanted the very flexible LMS (Logitech Media Server)

Trying to keep this short, let's see if I manage... I don't consider myself an Audiophile nut, but sound quality is very important to me. My two separate RPi setups (RaspDAC vs. RPi3 with IQaudIO Pi-DAC+) feed into a Linn Majik Kontrol preamp --> Linn Majik power amp --> Linn Majik 109 speakers (Aktiv). I also dabble about with linear power supplies etc., so you decide the degree of my affliction. ;)

Sound quality RuneAudio vs. Max2Play on a RaspDAC:

I initially found them to be about the same, using Max2Play with Logitech Media Server and Squeezelite player (all easily installed with Max2Play with a few clicks). However, I recently tweaked the setup according to these instructions: https://www.max2play.com/en/wiki/optimi ... e-control/

This command line option effectively bypasses Squeezelite's default software volume control and connecting directly to the hardware output of your sound card. I found this to make a big difference, i.e. fuller, richer, warmer sound, and I don't think I was imagining it.

So if you'd like to give it a go with your RaspDAC, you'll need the Max2Play HiFiBerry Image from here: https://www.max2play.com/en/max2play-image/

Install it, and then update it to the current version 2.39. This new version allows you to finally select the Audiophonics I-Sabre V3 as a preconfigured DAC!

Now comes the fun part - to get the display and power button working, dhrone has provided a great working set of files and instructions here: https://github.com/dhrone/Raspdac-Display (Instructions for installing and configuring the scripts for Max2Play are near the bottom).

In summary, I am now VERY pleased with the RaspDAC sound quality with Max2Play particularly after the hardware volume tweak. I cannot say with certainty there is nothing better out there, that depends of course on so many factors. But I can say with 100% certainty that with 40,000+ tracks in FLAC (16/24) and MP3, I cannot do without LMS's library management and playlist functionality as well as its effortless handling of Soundcloud accounts and any type of stream you can throw at it. Max2Play also has Airplay support which I do not use, but in case you do...

PS - I hear from Max2Play that Audiophonics is in touch with Max2Play (or vice-versa) - so there may be a ready-to-use image or plugin on its way. But don't hold your breath, isn't that right rikardo? ;)

All the best,
JCU


very nice post here ;) going to help a few folks here for sure

But honest, if you have a spare SD card for your Pi or time to backup your setup, I highly recommend you to try MoodeAudio. You have a very decent setup so this going to make a big difference to sound quality of your music.

It does on my, which consist
RaspDAC(RPi2)>(DIY interconnects based on Van Damme Silver line Lo-Cap)>Sugden A21a Signature>Chord Epic Twin>Spendor D7

I do have some files stored localy but most of the music is streamed from Qobuz Sublime(16/44.1 FLAC) or I use to have Tidal HiFi

Image

_________________
~~~~>>>Please always follow rules and read before you post<<<~~~~


Haut
 Profil  
 
Message Publié : Mar 13 Déc 2016 17:02 
Hors-ligne

Inscription : Ven 04 Nov 2016 21:29
Message(s) : 15
@JCU, that is a really encouraging answer, thank you. Sounds like I am going to follow your path and have some fun this evening. I am not familiar with LMS but I am sure that it will be better than Rune/moode/volumio flavors as a player/manager. As a matter of fact I would love to use OSMC interface because I am used to it and has a great community standing (to me the sound quality is good enough) , but unfortunately it seems that there is no support for RaspDac Power/display


Haut
 Profil  
 
Message Publié : Mar 13 Déc 2016 17:16 
Hors-ligne

Inscription : Mer 10 Août 2016 18:14
Message(s) : 13
@ rikardo1979 - beautiful setup, beautiful living room, I am very impressed! (as well as a little envious...) ;) Regarding Moode, I will take your word for it and give it a go on a spare SD to listen for any differences in sound quality - and will report back here. I won't be able to do that for a few days though, busy times here.

@ Baldo_Mero - happy to have been of some help. I'm confident you will be pleased with the results, let us know how you managed and your impressions. Important note - there are 1 or 2 minor typos in the dhrone instructions for Max2Play on GitHub. Please see the last post in this thread for the corrections (the important stuff is in English): https://www.max2play.com/en/forums/topi ... ay-script/

Best regards,
JCU


Haut
 Profil  
 
Message Publié : Mar 13 Déc 2016 21:31 
Hors-ligne

Inscription : Ven 04 Nov 2016 21:29
Message(s) : 15
I have been trying and.... very frustrating experience so far. Install max2play, boot, update, very nice interface and lots of options (a little overwhelming), i-Sabre v3 DAc card is listed under the raspberry settings menu (Choose Soundcard to load on boot (device tree overlay)) but I choose and when I hit save the selection does not hold: it goes back to none. Have been trying different things to no avail. ALso, it keeps reminding me that I need to purchase a license for certain options but it is not obvious which ones and if this simple configuration is one of them. I'll keep digging around a little but I am not loving it.


Haut
 Profil  
 
Message Publié : Mar 13 Déc 2016 21:48 
Hors-ligne

Inscription : Mer 10 Août 2016 18:14
Message(s) : 13
Hello,

sorry you are having a hard time. Please note that after selecting the I-Sabre on the Raspberry Settings tab, the HiFiBerry tab will continue to say "none" -since the I-Sabre is not a HiFiBerry Dac - but uses the HiFiBerry I2S driver. Please see the last three posts on this page: https://www.max2play.com/en/forums/topi ... 9023-tcxo/

I think that probably everything is working on your end but the "none" label is misleading. I asked the same question to M2P myself. ;)


Haut
 Profil  
 
Message Publié : Mer 14 Déc 2016 00:11 
Hors-ligne

Inscription : Ven 04 Nov 2016 21:29
Message(s) : 15
Thanks jcu, the problem is that that after selecting the I-Sabre on the Raspberry Settings tab, it does not stay selected and when I go to the audiopayer tab, advanced settings, the output device list, there is not any "sysdefault snd_hifiberry_dac" to choose (as it should according to the thread that you linked): only lots of ALSA options.

I am not even talking about the "hifiberry Tab", the i-sabre does not stay in the audioplayer tab as I understand it should. I only get audio output through the HDMI

EDIT: Started from scratch and it worked all right, the dac sounds. now I am unable to mount my NAS disk. I'll leave it for tomorrow...


Haut
 Profil  
 
Message Publié : Jeu 15 Déc 2016 11:57 
Hors-ligne

Inscription : Ven 04 Nov 2016 21:29
Message(s) : 15
The difficulties continue, I managed to get sound through the card and to install the LMS, everything works very well and the sound quality on a first glimpse is good. For some reason the system does not connect to my NAS share and does not find it in the network, have to look into that, but the LMS does connect to the music share all right and looks very good.

The problem is that I have followed the instructions to get RaspDac's power management & display working but I didn't get it. I did not get any obvious mistakes following dhrone's instructions with the corrections posted at max2play forum that you kindly linked, although I did find some inconsistencies between the instructions given at both sites. Specifically, the main difference is that at the Max2play forum post, you say:

*****************************************************************************
BUG in file “sds.service” – needs to be fixed before performing steps in B.

Der folgende Fix ist besonders wichtig, da das falsche File referenziert wird!

CODE:
Code :
OLD: ExecStart=/usr/local/bin/sds.sh
NEW: ExecStart=/usr/local/bin/sdsmax.sh


****************************************************************************

Whereas I did not find any reference to this command, or the need to do it before steps in B, at Dhrone's GitHub instructions.

Nevertheless, I did not get any error, however, after rebooting everything is the same (button blinking and display off)

I guess I'll retry tonight.


Haut
 Profil  
 
Message Publié : Jeu 15 Déc 2016 15:57 
Hors-ligne

Inscription : Mer 10 Août 2016 18:14
Message(s) : 13
Hi Baldo_Mero,

Glad you have made some progress and are at least initially happy with the sound quality.

Citer :
Whereas I did not find any reference to this command, or the need to do it before steps in B, at Dhrone's GitHub instructions.


The devil is in the details... :)

The file sds.service itself contains a typo and needs to be changed as stated:

Code :
IS: ExecStart=/usr/local/bin/sds.sh
CHANGE TO: ExecStart=/usr/local/bin/sdsmax.sh


See the difference? The line in sds.service is trying to execute sds.sh - but for Max2Play it should be executing sdsmax.sh

Edit sds.service accordingly and then follow the steps in B:

B. Files for the power management function (RaspDac version V3 only)

Code :
sudo cp sds.service /etc/systemd/system/
sudo cp sdsmax.sh /usr/local/bin/
chmod +x /usr/local/bin/sdsmax.sh
systemctl enable sds.service


Good luck!
JCU


Haut
 Profil  
 
Message Publié : Jeu 15 Déc 2016 20:53 
Hors-ligne

Inscription : Ven 04 Nov 2016 21:29
Message(s) : 15
jcu-muc a écrit :

The devil is in the details... :)

The file sds.service itself contains a typo and needs to be changed as stated:

Code :
IS: ExecStart=/usr/local/bin/sds.sh
CHANGE TO: ExecStart=/usr/local/bin/sdsmax.sh


See the difference? The line in sds.service is trying to execute sds.sh - but for Max2Play it should be executing sdsmax.sh

Edit sds.service accordingly and then follow the steps in B:

JCU


SLowly advancing thanks to your help JCU.

With the suggested correction to sds.service now power management works, which is a fantastic change.

However, I am doing something wrong with the display, since I have carefully repeated all the steps and nothing lights up. I can live without it but is there some way to troubleshoot?

P.S: For some reason, the command that I need to set the volumen control linked to the squeezelite player is not -o hw:0 -V Digital but -o hw:1 -V Digital
That was one of the causes for the lack of sound output through the card.


Haut
 Profil  
 
Message Publié : Jeu 15 Déc 2016 22:00 
Hors-ligne

Inscription : Mer 10 Août 2016 18:14
Message(s) : 13
Hello there,

Excellent, I am happy that you've come one step closer and gotten the power button working. I remember how relieved I was when it finally stopped blinking and worked properly.

Regarding the display, of course I am not certain, but I would expect you might have an error within RaspDacDisplay.py in

Please check the following:

TIMEZONE
MPD_ENABLED (should be False if using LMS)
SPOP_ENABLED (should be False if using LMS)
LMS_ENABLED (should be True if using LMS)
LMS_PLAYER (set this to the MAC address for your Max2Play system if using SqueezeLite)

For your MAC address, an easy way is to to find it is to go to http://max2play/plugins/max2play_settin ... r/Wlan.php and check out the Debug Info at the bottom of the screen.

After you check and save these changes, make sure you sudo cp RaspDacDisplay.py /usr/local/bin/ and reboot.

On my RaspDAC, for whatever reason, every so often when I boot the display does not initialize. When that happens, I shut down with button, wait until the light is off, and start it again with button. Almost every time the display then works again.

Regarding your comment on "-o hw:1" instead of "-o hw:0" -- that could be, particularly if you have not disabled the RPi on board audio on the Raspberry Settings tab. So good for you that you worked that out!

Good luck and hope you can get this working tonight,

JCU


Haut
 Profil  
 
Message Publié : Jeu 15 Déc 2016 23:19 
Hors-ligne

Inscription : Ven 04 Nov 2016 21:29
Message(s) : 15
Yes, I have triple-checked the changes in RaspDacDisplay.py and LMS_ENABLED = True and LMS_PLAYER = correct MAC address. I have tried LMS_SERVER = Localhost and LMS_SERVER = IP address

No luck, display is dead

In addition, I have noticed that power management is not right because the button does not blink, but:

- it does not light off when the system is shutdown via software
- it turns on the system but does not shutdown when pressed (need to hold for a couple of seconds)

All this worked all right with the runeaudio image pre-configured by audiophonics so wiring issues should be disregarded


Haut
 Profil  
 
Message Publié : Ven 16 Déc 2016 17:07 
Hors-ligne

Inscription : Ven 04 Nov 2016 21:29
Message(s) : 15
I don't know whether or not this is relevant, but when following Dhrone's instructions, at the beginning I hit into this complain:

pi@max2play:~/Raspdac-Display $ sudo pip install moment
sudo: pip: command not found

Which is weird, because PIP is needed to instal the other packages immediastely after. Then I proceed to install PIP as in the instrucions for volumio:

pi@max2play:~/Raspdac-Display $ sudo easy_install pip

Which works but with some warnings:

Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 9.0.1
Downloading https://pypi.python.org/packages/11/b6/ ... 4ba69d63c9
Processing pip-9.0.1.tar.gz
Writing /tmp/easy_install-ym1cJA/pip-9.0.1/setup.cfg
Running pip-9.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ym1cJA/pip-9.0.1/egg-dist-tmp-4orlvt
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching '.landscape.yml'
warning: no previously-included files found matching 'pip/_vendor/Makefile'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'dev-requirements.txt'
warning: no previously-included files found matching 'appveyor.yml'
no previously-included directories found matching '.github'
no previously-included directories found matching '.travis'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'contrib'
no previously-included directories found matching 'tasks'
no previously-included directories found matching 'tests'
Adding pip 9.0.1 to easy-install.pth file
Installing pip script to /usr/local/bin
Installing pip2.7 script to /usr/local/bin
Installing pip2 script to /usr/local/bin

Installed /usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip
pi@max2play:~/Raspdac-Display $


Just in case this can contribute to my problem......


Haut
 Profil  
 
Message Publié : Ven 16 Déc 2016 17:39 
Hors-ligne

Inscription : Mer 10 Août 2016 18:14
Message(s) : 13
Hello again,

Try this and see if it works:

Code :
apt-get install python-setuptools && easy_install pip


To be precise, these are the steps I followed and worked for me:

apt-get install python-setuptools && easy_install pip
sudo pip install pylms
sudo pip install moment
sudo pip install python-mpd2

Apologies for this, it's a bit of trial and error but in the end, it will all work... (except for the light staying on if you shutdown via software and not the button itself)


Haut
 Profil  
 
Message Publié : Ven 16 Déc 2016 19:41 
Hors-ligne

Inscription : Ven 04 Nov 2016 21:29
Message(s) : 15
please, it is me who have to apologize. I really thank you for the support.

I believe that PIP is not a problem, but I think that I have some permissions issues of the scripts do not get correctly registered to autostart in the system

I have reached a point when, if I ssh to the system and being in Raspdac-Display folder, I can command:

python RaspDacDisplay.py

And magic starts with display working as it should.

Curiously enough, the command only works in this folder. if I try from the root, I get:

python: can't open file 'RaspDacDisplay.py': [Errno 2] No such file or directory

I am very ignorant on linux but this sounds to me like a problem with the registering of the file. In any case, I need to kill the process to log out and then the display says goodbye and turns off.

Other than this, power management works all right except the blinking if turned off from the software UI.


Haut
 Profil  
 
Message Publié : Sam 17 Déc 2016 04:32 
Hors-ligne

Inscription : Sam 27 Fév 2016 20:51
Message(s) : 39
Good news. It sounds like you are very close to getting this fully working. The fact that you can run the RaspDacDisplay.py script from the Raspdac-Display folder and it works is 98% of the battle. If you are using the provided oled.service file, you now just need to get RaspDacDisplay.py, pages.py, and Winstar_GraphicOLED.py moved to the /usr/local/bin directory. Try issuing the following commands from the Raspdac-Display folder.

Code :
sudo cp RaspDacDisplay.py /usr/local/bin
sudo cp Winstar_GraphicOLED.py /usr/local/bin
sudo cp pages.py /usr/local/bin
sudo cp oled.service /usr/lib/systemd/system/
sudo systemctl enable oled.service


Then issue command...
Code :
sudo systemctl start oled.service

and see if the display starts up.

Good luck!


Haut
 Profil  
 
Message Publié : Sam 17 Déc 2016 11:22 
Hors-ligne

Inscription : Ven 04 Nov 2016 21:29
Message(s) : 15
Wonderful!

There is an error in your code, so if I am not mistaken where you said:

Code :
sudo cp oled.service /usr/lib/systemd/system/

should say:
Code :
sudo cp oled.service /etc/systemd/system/


It works all right now! The only thing is that the power button LED remains ON after a shutwown command via software, which is annoying but a minor thing. Runeaudio or Moodeaudio distros don't do that so I´ll look into this.

Thanks very much dhrone for making public and maintaining the scripts, and thanks to JCU for his help with my problems. You rock!

By the way, so far I have not noticed relevant differences on sound quality between Moodeaudio and Max2Play and the later is so much more convenient for my setup.... As a matter of fact, I have noticed some stuttering glitches while playing particular FLAC and Apple lossless ALA files on Max2Play which I had not suffered on Runeaudio and these seem to be worse on Moodeaudio, to the point that I have a particular song that cannot be played. SO I have to look into that and see if the settings can be tweaked. This is a Pi3 on a wired network so should not be a bandwith problem


Haut
 Profil  
 
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 31 message(s) ]  Aller vers la page 1, 2  Suivant

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 2 invité(s)


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Recherche de :
Aller vers :  
cron
Propulsé par phpBB® Forum Software © phpBB Group
Traduction et support en français • Utiliser phpBB avec un certificat SSL