shunte88 wrote:
> two things to check
>
> the script eats any output so we may be throwing an error
>
> first, could you enter the following, it'll tell us if all the
> dependencies are met
>
> >
Code:
--------------------
> > ldd lmsmonitor
--------------------
> >
>
> we should see all dependencies met, something like the following:
>
> >
Code:
--------------------
> > tc@aardvark001:/mnt/mmcblk0p2/tce$ ldd lmsmonitor
> linux-vdso.so.1 (0x7e8bd000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x76f22000)
> librt.so.1 => /lib/librt.so.1 (0x76f0b000)
> libwiringPi.so => /usr/local/lib/libwiringPi.so (0x76eec000)
> libArduiPi_OLED.so.1 => /lib/libArduiPi_OLED.so.1 (0x76ed1000)
> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x76d84000)
> libm.so.6 => /lib/libm.so.6 (0x76d17000)
> libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x76ce8000)
> libc.so.6 => /lib/libc.so.6 (0x76ba7000)
> /lib/ld-linux-armhf.so.3 (0x76f4b000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x76b68000)
> libi2c.so.0 => /usr/local/lib/libi2c.so.0 (0x76b56000)
>
--------------------
> >
>
> note this is on a pi3B+ and there may be minor differences on pi4
>
> if all dependencies look good try running the monitor without the
> wrapper
>
> >
Code:
--------------------
> > sudo ./lmsmonitor -n {your squeezelite name here} -rcxtiv -m sa
--------------------
> >
>
> don't forget sudo as we need permissions to get to shared memory
> the t option will spool track details to the screen
> the i options enables minimal debug
>
> Example:
> >
Code:
--------------------
> > tc@aardvark001:/mnt/mmcblk0p2/tce$ sudo ./lmsmonitor -n aardvark001
-rcxitv -m sa
> This is ./lmsmonitor, compiled Mar 15 2020 18:58:00.
> Sending LMS Discovery ...
> LMS (Server) responded:
> Server IP ....: 192.168.1.25:3483
> Player Name ..: aardvark001
> Player ID ....: bb:aa:ee:77:aa:dd
> Player IP ....: 192.168.1.37
> Initializing SHMEM ...
> SHMEM Actively Monitoring ...
> _____________________
> Lee Scratch Perry
> History, Mystery & Prophesy [US] [162-539 774-2]
> Nice Time
> Lee Scratch Perry, Lee "Scratch" Perry
> _____________________
> Lee Scratch Perry
> History, Mystery & Prophesy [US] [162-539 774-2]
> Tiger Lion
> Lee Scratch Perry, Lee "Scratch" Perry
>
--------------------
> >
>
> track details will display if squeeze is playing
>
> you should also see the details on the OLED
>
> and when not playing the time is displayed
>
> post the output from the ldd command, and any errors you get on
> command line for the monitor
>
> I that didn't work:
>
> - add the startup script as described in the repo
>
> - backup your unit via the web forms
>
> - and then reboot
>
> hopefully that brings it up clean
>
>
> I do have one small edit for the gomonitor script
>
> change the killall line so it reads thus:
>
> >
Code:
--------------------
> > sudo killall -8 lmsmonitor > /dev/null
--------------------
> >
>
> that's a just change of the -1 to -8
>
> we shouldn't need the killall if this is the first time execution, its
> just there so I can roll during testing
>
> I'll update the archive on repo with the same edit early in the AM US
> EST
I have try this but out come is like this
tc@Behringer:/mnt/mmcblk0p2/tce$ sudo ./lmsmonitor -n aardvark001
-rcxitv -m sa
./lmsmonitor: error while loading shared libraries: libi2c.so.0: cannot
open sha red object file: No such file or directory
I am running the version 6.0
------------------------------------------------------------------------
anadigi's Profile: http://forums.slimdevices.com/member.php?userid=65102
View this thread: http://forums.slimdevices.com/showthread.php?t=111790
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix