Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 4.0.0
Can I upgrade from 3.5 straight to 4.1 or is it a full reinstall? ryangodammit's Profile: http://forums.slimdevices.com/member.php?userid=67252 View this thread: http://forums.slimdevices.com/showthread.php?t=109404 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite and (hopefully) Screen Switcher Applet
Baxxy wrote: > Sounds very good. Can you please explain how can i do that? Take winSCP, SSH into your Touch and go to the following path: /usr/share/jive/applets Select the folder "ScreenSwitcher" and copy it to your PC. Close the connection. SSH into your PicorePlayer and go to: /home/tc/.jivelite/userpath/applets Copy the said folder there, close the connection. Go on your Picoreplayer to settings/piCoreplayer and save the settings (just to be shure). Reboot. On the Screen Saver-screen there should be the ScreenSwitcher settings. Set your screens and times. Go back to settings/piCoreplayer and save the settings (again, just to be shure). Reboot (to be shure). Again, SSH into your PicorePlayer and go to: /home/tc/.jivelite/userpath/settings There should be a new file "ScreenSwitcher.lua" with your settings. If not, copy this file from your Touch to the piCorePlayer. Good luck. Pi3-7"+pCP+LMS | Transporter | 2x Touch | 2x Classic | 2x Boom | 2x Radio | iPeng | Odroid U3+m2p+LMS | Pi3B+LMS bluetdi's Profile: http://forums.slimdevices.com/member.php?userid=20633 View this thread: http://forums.slimdevices.com/showthread.php?t=110089 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Joggler
I've started again from a fresh copy of the raw Bionic image, but I still get the same error. Here are the steps I've taken to get to that point, after logging in as root over SSH: Code: apt-get update apt-get install build-essential apt-get install automake libtool apt-get install git-core apt-get install libluajit-5.1-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libexpat1-dev git clone git://github.com/kergoth/tslib.git cd tslib ./autogen.sh ./configure make sudo make install sudo cp -P /usr/local/lib/libts* /lib/i386-linux-gnu/ wget https://www.libsdl.org/release/SDL-1.2.15.tar.gz tar -xvzf SDL-1.2.15.tar.gz cd SDL-1.2.15/ mkdir build cd build ../configure --enable-input-tslib=yes cd mkdir luajit cd luajit git clone http://luajit.org/git/luajit-2.0.git cd luajit-2.0 make sudo make install sudo ldconfig cd git clone https://github.com/ralph-irving/jivelite.git cd jivelite sudo make PREFIX=/usr/local #Edit /usr/local/etc/ts.conf to contain only module_raw input module linear #Use cat '/proc/bus/input/devices' to find event number for TSLIB_TSDEVICE. Look for the section 'N: Name="AmSC OpenPeak Touchscreen Hyup05_3"', then get the event number from the line starting with 'H:', e.g. 'H: Handlers=mouse0 event3 js0' TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CALIBFILE=/etc/pointercal TSLIB_CONFFILE=/usr/local/etc/ts.conf TSLIB_PLUGINDIR=/usr/local/lib/ts ts_calibrate #Make a $HOME/.jivelite/userpath/logconf.lua file with the contents as supplied by Ralphy above. TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event3 TSLIB_CALIBFILE=/etc/pointercal TSLIB_CONFFILE=/usr/local/etc/ts.conf TSLIB_PLUGINDIR=/usr/local/lib/ts /root/jivelite/bin/jivelite After doing all that, I still get the JiveLite splash screen for a moment, and the last two lines of the logfile are: Code: 20190127 22:04:46.397 ERROR jivelite.ui.draw - jive_surface_set_video_mode:855 SDL_SetVideoMode(640,480,0): Couldn't set console screen info 20190127 22:04:46.397 ERROR jivelite.ui.draw - jiveL_set_video_mode:902 Video mode not supported: 640x480 The joggler screen is 800x480, so which part of this setup is responsible for asking for 640x480? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110040 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer
You can only promote a plugin top menu to Home menu. Click and HOLD the "RemoteControl" menu and you should get a popup with an option to add to Home menu. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=109642 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer
edwin2006 wrote: > I used a power extension cord with master / slave. Amp in master, rest > in slave. When I power up the amp the rest (incl SB) follows and > vicaversa. Very low tech but works great. But do you have to physically turn on the cord? I'm hoping to put a menu item on the Picoreplayer so I don't have to physically bend over to the power cord (so much work!) or even have to be in the room. This plugin is getting me close to just having to tap on a web page, or my phone's Squeeze Controler, or the touchscreen. So, any idea how I can promote it to the main Jivelite screen? andrewhess's Profile: http://forums.slimdevices.com/member.php?userid=68598 View this thread: http://forums.slimdevices.com/showthread.php?t=109642 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Turning on stereo from piCorePlayer
I used a power extension cord with master / slave. Amp in master, rest in slave. When I power up the amp the rest (incl SB) follows and vicaversa. Very low tech but works great. *SqueezeBoxes:* 2x SB2 (Living room and study), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Bedroom) *Server:* LMS on Pi3 7.9.1. on PcP 3.21 *Network:* AVM Fritzbox, D-Link Smart Switch 24p, 3x Ubiquity edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926 View this thread: http://forums.slimdevices.com/showthread.php?t=109642 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite and (hopefully) Screen Switcher Applet
Baxxy wrote: > Sounds very good. Can you please explain how can i do that? You will find the solution here: http://wiki.slimdevices.com/index.php/Screen_Switcher_applet lalu01's Profile: http://forums.slimdevices.com/member.php?userid=30852 View this thread: http://forums.slimdevices.com/showthread.php?t=110089 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer v4.1.0 odd Date & Time
slimhase wrote: > I googled, followed instructions and think I have my local PC > (192.168.1.4) now setup as a local ntp server. > 1) When I now do (on pCP): > sudo /usr/sbin/ntpd -w -p 192.168.1.4 > I get this: > ntpd: reply from 192.168.1.4: peer is unsynced > > 2) When enter 192.168.1.4 in pCP bootcodes as ntpserver and reboot & > refresh pCP webpage, I am still in the seventies... :-( *update* I now did a fresh install of pCP 4.1 (I also tried 4.0) - same result: Date is the original 1970s Totally strange - however, as no one else reports this issue, this must be something specific to my setup. slimhase's Profile: http://forums.slimdevices.com/member.php?userid=31958 View this thread: http://forums.slimdevices.com/showthread.php?t=110094 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Joggler
ralphy wrote: > My jivelite sources have all logging off by default except for the > version. do you at least see > > JiveLite 0.1.0 > > on the console? > > If you do, then copy the attached file into > $HOME/.jivelite/userpath/logconf.lua of the user you run JL as. > > I recommend redirecting the output to a file so you can wade through it > afterward. ie. > > jivelite > jivelite.log 2>&1 Thanks Ralphy. Yes, I do get that message on the screen, but nothing else. With that logconf file in place I now get a tonne of output! I guess these last two lines are the important ones: Code: 20190127 14:52:59.312 ERROR jivelite.ui.draw - jive_surface_set_video_mode:855 SDL_SetVideoMode(640,480,0): Couldn't set console screen info 20190127 14:52:59.312 ERROR jivelite.ui.draw - jiveL_set_video_mode:902 Video mode not supported: 640x480 EDIT: This is without rebuilding SDL of course. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110040 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Joggler
ralphy wrote: > Check if your SDL library even has support for tslib built in I suspect > probably not. None of the intel systems I checked were linked against > libts. > Code: joggler@openframe:/usr/lib/i386-linux-gnu$ ldd libSDL-1.2.so.0.11.4 linux-gate.so.1 (0xb77c5000) libasound.so.2 => /usr/lib/i386-linux-gnu/libasound.so.2 (0xb75f4000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb74f2000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb74ed000) libpulse-simple.so.0 => /usr/lib/i386-linux-gnu/libpulse-simple.so.0 (0xb74e7000) libpulse.so.0 => /usr/lib/i386-linux-gnu/libpulse.so.0 (0xb748d000) libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb7343000) libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb732e000) libcaca.so.0 => /usr/lib/i386-linux-gnu/libcaca.so.0 (0xb7264000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7245000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7069000) librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb705d000) /lib/ld-linux.so.2 (0xb77c6000) libpulsecommon-11.1.so => /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-11.1.so (0xb6fd) libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0xb6f75000) libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb6f49000) libslang.so.2 => /lib/i386-linux-gnu/libslang.so.2 (0xb6d6f000) libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xb6d39000) libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xb6d16000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6cf7000) libsystemd.so.0 => /lib/i386-linux-gnu/libsystemd.so.0 (0xb6c67000) libwrap.so.0 => /lib/i386-linux-gnu/libwrap.so.0 (0xb6c5c000) libsndfile.so.1 => /usr/lib/i386-linux-gnu/libsndfile.so.1 (0xb6bcb000) libasyncns.so.0 => /usr/lib/i386-linux-gnu/libasyncns.so.0 (0xb6bc4000) libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb6bc) libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb6bb9000) liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xb6b8d000) liblz4.so.1 => /usr/lib/i386-linux-gnu/liblz4.so.1 (0xb6b77000) libgcrypt.so.20 => /lib/i386-linux-gnu/libgcrypt.so.20 (0xb6a96000) libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xb6a7b000) libFLAC.so.8 => /usr/lib/i386-linux-gnu/libFLAC.so.8 (0xb6a1c000) libogg.so.0 => /usr/lib/i386-linux-gnu/libogg.so.0 (0xb6a13000) libvorbis.so.0 => /usr/lib/i386-linux-gnu/libvorbis.so.0 (0xb69e6000) libvorbisenc.so.2 => /usr/lib/i386-linux-gnu/libvorbisenc.so.2 (0xb695a000) libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xb6942000) libbsd.so.0 => /lib/i386-linux-gnu/libbsd.so.0 (0xb6927000) libgpg-error.so.0 => /lib/i386-linux-gnu/libgpg-error.so.0 (0xb690f000) Looks like you've pinpointed the (or at least 'a') problem :) chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110040 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer v4.1.0 odd Date & Time
paul- wrote: > Ntp is a picky program. I believe if the answer takes too long to > return, ntp will throw the answer out. > > Anyway you can run a local ntp server to test? I googled, followed instructions and think I have my local PC (192.168.1.4) now setup as a local ntp server. 1) When I now do (on pCP): sudo /usr/sbin/ntpd -w -p 192.168.1.4 I get this: ntpd: reply from 192.168.1.4: peer is unsynced 2) When enter 192.168.1.4 in pCP bootcodes as ntpserver and reboot & refresh pCP webpage, I am still in the seventies... :-( slimhase's Profile: http://forums.slimdevices.com/member.php?userid=31958 View this thread: http://forums.slimdevices.com/showthread.php?t=110094 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer v4.1.0 odd Date & Time
Ntp is a picky program. I believe if the answer takes too long to return, ntp will throw the answer out. Anyway you can run a local ntp server to test? 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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=110094 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Joggler
chill wrote: > all I get is the JiveLite splash screen before it drops back to a > command line prompt without an error message. What would cause this? > Is there something wrong with my Lua setup perhaps, or my tslib setup? My jivelite sources have all logging off by default except for the version. do you at least see JiveLite 0.1.0 on the console? If you do, then copy the attached file into $HOME/.jivelite/userpath/logconf.lua of the user you run JL as. I recommend redirecting the output to a file so you can wade through it afterward. ie. jivelite > jivelite.log 2>&1 +---+ |Filename: logconf.lua.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=26636| +---+ Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=110040 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Joggler
Thanks Ralphy - I'll look into that. chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110040 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Joggler
Check if your SDL library even has support for tslib built in I suspect probably not. None of the intel systems I checked were linked against libts. >From picoreplayer Code: tc@rpibp-wls:/opt/jivelite/lib$ ldd libSDL-1.2.so.0.11.4 libm.so.6 => /lib/libm.so.6 (0xb6e6a000) *libts-1.0.so.0 => /usr/local/lib/libts-1.0.so.0 (0xb6e56000)* libdl.so.2 => /lib/libdl.so.2 (0xb6e43000) libpthread.so.0 => /lib/libpthread.so.0 (0xb6e19000) librt.so.1 => /lib/librt.so.1 (0xb6e02000) libc.so.6 => /lib/libc.so.6 (0xb6cc4000) /lib/ld-linux-armhf.so.3 (0xb6f5f000) You'll need to build SDL and enable tslib support using the same tslib that you built previously using --enable-input-tslib=yes when you run configure. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=110040 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer v4.1.0 odd Date & Time
slimhase wrote: > This is possible - I have a pretty stupid router ("Speedport LTE 2" / > Huawei B593-s12), which probably has an internal firewall, but no way to > see / adjust its setting... > The odd thing is that I *think* that a couple of weeks ago it still > worked - i.e. LMS logs showed the correct time. But I am not 100% > sure... Upon further investigation, I know now that its not the router / firewall. On my windows PC (connected to the internet through the same Router) I did: w32tm /stripchart /computer:pool.ntp.org and get the correct time feedback: pool.ntp.org wird verfolgt [37.247.53.178:123]. Es ist 27.01.2019 13:08:57. 13:08:57, d:+00.0642486s o:-03.1442045s [ *| ] So, if I dont misunderstand anything, the problem has to be within my pCP setup slimhase's Profile: http://forums.slimdevices.com/member.php?userid=31958 View this thread: http://forums.slimdevices.com/showthread.php?t=110094 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Jivelite on a Joggler
I've built Jivelite on the Bionic stick, using the same instructions as previously, and I've also built tslib again, and I can run ts_calibrate to create the /etc/pointercal file. The command I used to run ts_calibrate was: Code: TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event2 TSLIB_CALIBFILE=/etc/pointercal TSLIB_CONFFILE=/etc/ts.conf TSLIB_PLUGINDIR=/usr/local/lib/ts /usr/bin/ts_calibrate But if I run JiveLite using the command: Code: TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event2 TSLIB_CALIBFILE=/etc/pointercal TSLIB_CONFFILE=/etc/ts.conf TSLIB_PLUGINDIR=/usr/local/lib/ts /home/joggler/jivelite/bin/jivelite then all I get is the JiveLite splash screen before it drops back to a command line prompt without an error message. What would cause this? Is there something wrong with my Lua setup perhaps, or my tslib setup? chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110040 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer v4.1.0 odd Date & Time
bits wrote: > I bet you have port 123 blocked but allow ICMP, 80 and 443. > > Firewall issue. This is possible - I have a pretty stupid router ("Speedport LTE 2" / Huawei B593-s12), which probably has an internal firewall, but no way to see / adjust its setting... The odd thing is that I *think* that a couple of weeks ago it still worked - i.e. LMS logs showed the correct time. But I am not 100% sure... slimhase's Profile: http://forums.slimdevices.com/member.php?userid=31958 View this thread: http://forums.slimdevices.com/showthread.php?t=110094 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer v4.1.0 odd Date & Time
I bet you have port 123 blocked but allow ICMP, 80 and 443. Firewall issue. bits's Profile: http://forums.slimdevices.com/member.php?userid=13375 View this thread: http://forums.slimdevices.com/showthread.php?t=110094 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCorePlayer v4.1.0 odd Date & Time
Greg Erskine wrote: > Hi slimhase, > > The web server on pCP starts before the time is set. So this means it is > possible for any pCP setup to access a setup web page before ntp has > done its thing. This will result the epoch date displaying on the web > pages. Usually a refresh is all that is required. As this is reasonably > rare it was decided that waiting for ntp to complete before starting the > web server was not warranted. > > So we are looking for something different with your pCP setup or an > issue with your network. > > Try tis, what is the result? > > > Code: > > sudo /usr/sbin/ntpd -w -p pool.ntp.org > > > > regards > Greg Thanks, Greg! The above command results in this response: ntpd: timed out waiting for 193.183.98.38, reach 0x00, next query in 2s So, in this case, it looks like it can not reach the ntp server. However, when I do (from the same ssh session): ping pool.ntp.org I get: PING pool.ntp.org (193.183.98.38): 56 data bytes 64 bytes from 193.183.98.38: seq=0 ttl=52 time=66.725 ms So in this case, it seems to see the server. How can that be? Still very puzzeled slimhase's Profile: http://forums.slimdevices.com/member.php?userid=31958 View this thread: http://forums.slimdevices.com/showthread.php?t=110094 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix