Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
Sorry, the harder I try, the more I confuse people. :o I've had this problem for a long time now. :D See step 1 to step 3. https://www.element14.com/community/docs/DOC-78156?ICID=rpimain-related-prods Looking at these pictures it is supposed to be on the bottom. Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
atrocity wrote: > Mine is more near the middle. Picture: http://www.wywh.com/PiTouch/20170124_190339.jpg atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
Greg Erskine wrote: > My ribbon cable is at the top, so I would like to know is that normal or > not. Mine is more near the middle. atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
Greg Erskine wrote: > > Do most people have the "newer" screen and have to rotate it all the > time? > > Are your cables on top? I got my official Pi 7" touchscreen at Fry's on Saturday so I assume it's reasonably new. I had no idea at the time that there was an available enclosure, so I just had it propped up using the Pi and HiFiBerry Digi+ as the stand. I quickly learned of the existence of the Smart Pi Touch enclosure, so I picked one up the next day. When assembled and placed normally, the cables come out of the bottom. So now I need to see if I can snag a right-angle digital coax. It's a bit too tight for my taste with a normal cable in there. I'm sure setting it up properly is more stable, but I actually didn't mind just turning the whole thing upside down and propping the stand up on a Cubox i4Pro. Because, of course, in my bedroom a have a Cubox i4Pro, a Squeezebox Touch, the above-mentioned Pi B+ and a Wandboard. Because everyone does that and I'm totally normal and not obsessed. atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
Thanks, I meant the flat ribbon cable between screen and screen PCB. My ribbon cable is at the top, so I would like to know is that normal or not. From what I remember, the first screen support hardware had the screen upside down. I think it would be clearer if we had on the web interface 0 or 180 degrees. regards Greg Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
Greg Erskine wrote: > Hi guys, RE: screen rotation. > > What is normal now? > > The "original" screen was upside down but we made the default to rotate > it (even though SCREENROTATE="no"). > > Do most people have the "newer" screen and have to rotate it all the > time? > > Are your cables on top? > > regards I got the screen for Christmas, so I presume it's the newer screen. The power and audio cables are at the bottom. Everything works perfectly well now with the default rotate setting, but it was a nonsensical process to get there. First boot - upside down. Change to 'rotate screen' and reboot - still upside down. Change back to default and reboot - display is correct. AngloCuencano's Profile: http://forums.slimdevices.com/member.php?userid=64040 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
Greg Erskine wrote: > Hi guys, RE: screen rotation. > > What is normal now? > > The "original" screen was upside down but we made the default to rotate > it (even though SCREENROTATE="no"). > > Do most people have the "newer" screen and have to rotate it all the > time? > > Are your cables on top? > > regards I have the 7" official touchscreen with case where if using a HiFi Berry DAC the RCA connectors are on top and never had to rotate screen as it's always been the right way up only time i've had to rotate is when using just Raspbian Eyerex's Profile: http://forums.slimdevices.com/member.php?userid=65695 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
Hi guys, RE: screen rotation. What is normal now? The "original" screen was upside down but we made the default to rotate it (even though SCREENROTATE="no"). Do most people have the "newer" screen and have to rotate it all the time? Are your cables on top? regards Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Can't connect to LMS after reboot
LMS_safe = 'logitechmediaserver' plus the '_safe' suffix. Which The _safe task is a process watcher which would restart the main task if needed. You should always see both of them, or something's wrong. I think the LMS executable is stored in /usr/sbin or /usr/local/sbin. Could you try to run this from the command line with the additional --d_startup --debug=server parameters? Anything interesting there? -- Michael ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
Ah cool I've found the filter settings for my DAC they are in the PiCore player web-UI already :) sorry for the noise . The same chip as the HiffiBerry so you get : http://archimago.blogspot.se/2016/10/measurements-hifiberry-dac-pro-pcm5122.html Next thing to experiment with resampling in squeezelite with some attenuation (-3,-6dB) as the TI DAC does not take care of intersample overs in any way in it's oversampler Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (spares Touch, SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
ziegelstein wrote: > Update: > 1. when i stop the actual squeezelite instance > 2. i can start several new instanzes in terminal with: > > Code: > > sudo /usr/local/bin/squeezelite -n "Küche" -o Küche -a 80:::0: -m ab:cd:ef:12:34:60 -z > > > > Code: > > sudo /usr/local/bin/squeezelite -n "EG_Diele" -o Diele -a 80:::0: -m ab:cd:ef:12:34:61 -z > > > 3. Backup via: > > Code: > > sudo filetool.sh -b > > > > But: > after reboot all instances are lost. > I also tried to work with "User command section of the tweaks web > page" --> instances were lost too after reboot. > > So it seems to me that there is a need for a startupscribt update - > but for me as a "NOOB" :o not possible without help. > > so please - is there anybody out there? > > regards, > S Hi S, Processes run from the command line will disappear after a reboot, that is a given. Try something like this in User Commands. Code: /usr/local/bin/squeezelite -n EG_Diele -o Diele -a 80:::0: -m ab:cd:ef:12:34:61 As mentioned in the More > Help " and & are invalid characters. The -z in not needed as all User commands are backgrounded. regards Greg Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Can't connect to LMS after reboot
Ok I think we are getting away from the point a little here. A couple of things: init.d still works, systemd is required to run non-compliant init.d scripts just like before. Unless someone has modified the LMS startup to deliberately bolt into systemd then its behaviour will still be dictated by the presence or otherwise of files in init.d. Second Telnet is more a generic TCP connection method than a terminal. If port 9000 responds to your web browser, it will respond to telnet. If it doesn't respond to telnet you are pretty sure there's nothing listening on port 9000. Something of course changed, but you need to get a log of a failed LMS startup to debug it. Fwiw my Debian OS on my server has been continuously upgraded since around 2004, through numerous hardware upgrades and I've never had to even consider a fresh install. (There are orphaned config files from a decade ago, seriously. I know, I should clean up, but I now wear this cruft with some pride! :) ) Dpkg is very good at handling upgrades.. -- Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0 Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums.. drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498 View this thread: http://forums.slimdevices.com/showthread.php?t=106864 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Can't connect to LMS after reboot
MartinK wrote: > Apart from that there have been absolutely no hacks on the system. ok - just thought there is some text like > deleting the user and group settings everything and as admin@work i do really know the stories from the customers who told me "i didnt change anything" so i tought i am prepared when you wrote your story (thats just the start). Ubuntu / debian 8 didnt use Sysvinit anymore - they use systemd. If you "hacking" inside /etc/init.d thats not the way. Whats happen if you reinstall the server, stop the server (not the hardware - only lms) and restart the lms server? What told you *systemctl status* ? i think - fastet way to solve your problem is start from scratch and i would recommend a lts Version of ubuntu like 16.04 instead of a shorttermsupport version like 16.10. DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=106864 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
sckramer wrote: > FYI, did a quick vid on this awhile ago... might help you (and shows how > it ties together). The IQaudio is PCM51xx based also, so it's the same > as the D+PRO > > https://www.youtube.com/watch?v=blbcsKjLaOY Nice Video thanks , where did you find all this information well documented . That was a pointer in the rigth direction ... Thankyou again. I've now found a pdf manual at the IQaudio site that explains some of this with pictures . Similar to your Video PiCore Player says this > > Set ALSA control for volume adjustment (-V) > > Use ALSA control for volume adjustment otherwise use software volume > adjustment. > > Select and use the appropiate name of the possible controls from the > list below. > > Note: Not supported with -U option. > > You have the following audio cards/controls: > > Card 0: ALSA - Control: PCM > Card 1: IQaudIODAC - Control: DSP Program Analogue Analogue Playback > Boost Auto Mute Auto Mute Mono Auto Mute Time Left Auto Mute Time Right > Clock Missing Period Deemphasis Digital Max Overclock DAC Max Overclock > DSP Max Overclock PLL Volume Ramp Down Emergency Rate Volume Ramp Down > Emergency Step Volume Ramp Down Rate Volume Ramp Down Step Volume Ramp > Up Rate Volume Ramp Up Step I see that "Digital" is a reported control of this card . Is this possible to list in more human readable form :) a linux command some documentation ?? This corresponds to what alsmixer shows me ,I have two kinds of analogue volume a normal and some "boost" and a Digital volume and some possibilities to set step size in volume . I can change filters "DSP" . I see the same thing regarding Volume . But as i understands it "Analogue" toggles -6,0 dB on and off "Analogue Boost" toggles +0.80 dB Digital is a real volume control . I can see that in the alsamixer ? IQaudio claim that the card has hardware volume control . Can I assume that choosing "Digital" means that i use the volume of the IQ audio DAC ? *Also in IQaudios pdf* i can that they explain analogue better it's simply a switch between 1.0 vrms and 2.0 vmrms output . Same in *Texas instruments pdf of the DAC* chip They claim that both analogue and analogue boost shall be on and that digital is the master volume ? The "boost" is not on per default inPicore ? I'll trust their judgement here . Reagarding PiCore players advanced squeezelite/alsa options So the Alsa volume field or various with -V gives me hardware volume . Can i use the various settings field to gain access to other settings like the DSP filters ? the DAC has 4 of them ? Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (spares Touch, SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Can't connect to LMS after reboot
DJanGo wrote: > Ubuntu 16.10 (Yakkety Yak) was released @ 13.10.2016 your*- forever > -*seems not long ago? > > port 9000 is used from the webfrontend not from telnet. > > > ok thats a pretty strange idea - i would not recommend that... > > I would say - your system has some nice -addons- / -hacks- and its worth > to start from scratch without doing such cool things:o > > lms runs fine if the operating system is fine. Sure. Let me clarify >> But port 9000 should still be accessible right? When it says refused connection there is something not OK. Regardless of whether you can telnet into that port or not. I upgraded gradually from years back and now I'm on 16.10. Maybe i dragged something along. ?? Renaming logitechmediaserver in init.d was meant to prevent automatic start at boot and allow for manual start to make sure the network was up and running without deleting the original file. I have no idea where the startup script came from. My idea was that LMS installation puts it there. Can't remember I ever put it there. Apart from that there have been absolutely no hacks on the system. Besides there are no errors in the logs whatsoever MartinK's Profile: http://forums.slimdevices.com/member.php?userid=66540 View this thread: http://forums.slimdevices.com/showthread.php?t=106864 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
AngloCuencano wrote: > I've had some strange behaviour with screen rotation with my Pi 2B. On > first boot the display is upside down. Select 'rotate screen' and reboot > - still upside down. Select normal rotation and reboot - everything is > fine and continues to be with further reboots. Makes no sense to me. Wow, you're right! I gave it a try this morning. Initial bootup text and piCorePlayer splash screen were still inverted, then suddenly I saw a right side up clock. Thank you! atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
paul- wrote: > > If you are testing from command line, you need to sudo to get permission > for audio.Once you get it figured out, then you can put it in User > command section of the tweaks web page. The user commands in the web > interface will run with root permissions by default. Update: 1. when i stop the actual squeezelite instance 2. i can start several new instanzes in terminal with: Code: sudo /usr/local/bin/squeezelite -n "Küche" -o Küche -a 80:::0: -m ab:cd:ef:12:34:60 -z Code: sudo /usr/local/bin/squeezelite -n "EG_Diele" -o Diele -a 80:::0: -m ab:cd:ef:12:34:61 -z 3. Backup via: Code: sudo filetool.sh -b But: after reboot all instances are lost. I also tried to work with "User command section of the tweaks web page" --> instances were lost too after reboot. So it seems to me that there is a need for a startupscribt update - but for me as a "NOOB" :o not possible without help. so please - is there anybody out there? regards, S ziegelstein's Profile: http://forums.slimdevices.com/member.php?userid=66538 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Can't connect to LMS after reboot
MartinK wrote: > i've recently updated my old LMS installation to 7.9 on my ubuntu server > (16.10) which i've had forever. Ubuntu 16.10 (Yakkety Yak) was released @ 13.10.2016 your*- forever -*seems not long ago? > But still telneting into port 9000 shows connection refused port 9000 is used > from the webfrontend not from telnet. > renamed the startup script in init.d ok thats a pretty strange idea - i would > not recommend that... I would say - your system has some nice -addons- / -hacks- and its worth to start from scratch without doing such cool things:o lms runs fine if the operating system is fine. DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=106864 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10
AngloCuencano wrote: > I've had some strange behaviour with screen rotation with my Pi 2B. On > first boot the display is upside down. Select 'rotate screen' and reboot > - still upside down. Select normal rotation and reboot - everything is > fine and continues to be with further reboots. Makes no sense to me. I recall having the same process occur... screen was upside-down, changed configuration and was still upside down, changed back, and it was correct! tcutting's Profile: http://forums.slimdevices.com/member.php?userid=17402 View this thread: http://forums.slimdevices.com/showthread.php?t=106755 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Can't connect to LMS after reboot
drmatt wrote: > (I believe LMS_safe is the parent script that kicks off the main > daemons. It's what you might see in the process table if LMS main thread > fails to start. I've seen this a few times when I was fighting Perl > version mismatches.. :) ) Perl on my system (ubuntu64 16.10) This is perl 5, version 22, subversion 2 (v5.22.2) built for x86_64-linux-gnu-thread-multi (with 67 registered patches, see perl -V for more detail) Copyright 1987-2015, Larry Wall MartinK's Profile: http://forums.slimdevices.com/member.php?userid=66540 View this thread: http://forums.slimdevices.com/showthread.php?t=106864 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Can't connect to LMS after reboot
Sorry for not being more specific. The system is intel based D510MO board with 2 x1TB disks. LVM configuration. There are no errors in the system logs. LMS_safe = 'logitechmediaserver' plus the '_safe' suffix. Which apparently is needed to reconnect to mysql if I correctly understood the code in the startup script (the one that goes into init.d). Hence my suspicion that the original server had crashed. But since there is no log file I can't tell for sure. I can see LMS is running because it shows in htop and after doing a full apt-get purge i see the scanner is running and the data base is being populated. (so i guess the link to mysql is working). Not sure about the network though, but I have temporarily renamed the startup script in init.d and started LMS manually, alas to no avail. Although starting manually shows a normal version of the server (without the _safe). But still telneting into port 9000 shows connection refused. (9090, 3483s). There is nothing else beside the LMS running on the server except for samba sharing the media directory to my windows machine. Which is no longer connected. And also Webmin is running off port 1. Which by the way is working. (there is no firewall or iptables settings ). Maybe the problem is related to the fact the the overall system configuration dates back to an old 11.04 version that has gradually been upgraded. Although everything else seems to be working and I don't have any errors in the log and there is no /var/log/squeezebox.log or similar. Doing a complete reinstall over an existing installation picks up all the data and gives a system running perfectly normal - until I reboot MartinK's Profile: http://forums.slimdevices.com/member.php?userid=66540 View this thread: http://forums.slimdevices.com/showthread.php?t=106864 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Can't connect to LMS after reboot
(I believe LMS_safe is the parent script that kicks off the main daemons. It's what you might see in the process table if LMS main thread fails to start. I've seen this a few times when I was fighting Perl version mismatches.. :) ) -- Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with Debian+LMS 7.9.0 Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k albums.. drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498 View this thread: http://forums.slimdevices.com/showthread.php?t=106864 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Can't connect to LMS after reboot
everything !! However, when I reboot LMS comes up as LMS_safe and I can What is this LMS_safe? no longer connect to port 9000. Although, the server appears to be running. There is no firewall and I can ping the outside world in all How do you find out about the server being active? directions. I have tried this several times, deleting and purging LMS, deleting the startup script in init.d, deleting the user and group settings everything. Again, after a fresh install everything works until i reboot. Tell us a little more about your system: what platform, what network etc. It might be LMS is being started before the network was ready? I think somebody mentioned somewhere adding a dependency on the network (somehow, don't remember the details). -- Michael ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] Can't connect to LMS after reboot
i've recently updated my old LMS installation to 7.9 on my ubuntu server (16.10) which i've had forever. After doing the installation everything works perfectly - music found, prefs found, player found, scan perfect, everything !! However, when I reboot LMS comes up as LMS_safe and I can no longer connect to port 9000. Although, the server appears to be running. There is no firewall and I can ping the outside world in all directions. I have tried this several times, deleting and purging LMS, deleting the startup script in init.d, deleting the user and group settings everything. Again, after a fresh install everything works until i reboot. Strangely I don't find a log file under /var/logs/ and I have 2 instances of Squeezeboxserver running - one normal one _safe. It almost seems like LMS is crashing immediately and restarting. Shurely that's not right? I remember from long ago there used to be a page with a detailed installation guide and how to setup init.d and all the rest (including iptables and Sqlite) I wonder where all that has gone? MartinK's Profile: http://forums.slimdevices.com/member.php?userid=66540 View this thread: http://forums.slimdevices.com/showthread.php?t=106864 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix