Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 11 FirstFirst 1234 ... LastLast
Results 11 to 20 of 103
  1. #11
    Quote Originally Posted by shunte88 View Post
    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

  2. #12
    that's the same library I had problems with on pCP 4.0.0 but did not encounter problems on 5 or 6

    I'd assumed that bundled with wiringpi

    Let me do some digging and I'll get back to you ASAP

  3. #13
    a quick scan of the forum it looks like the library is included in extension i2c-tools-dev

    add the extension and then check that *all* libraries are available with the following


    Code:
    ldd lmsmonitor
    look for this line in the output

    libi2c.so.0 => /usr/local/lib/libi2c.so.0

    if that looks good run the gomodule script

    Code:
    /mnt/mmcblk0p2/tce/gomonitor sa
    let me know how you get on

  4. #14
    Quote Originally Posted by shunte88 View Post
    a quick scan of the forum it looks like the library is included in extension i2c-tools-dev

    add the extension and then check that *all* libraries are available with the following


    Code:
    ldd lmsmonitor
    look for this line in the output

    libi2c.so.0 => /usr/local/lib/libi2c.so.0

    if that looks good run the gomodule script

    Code:
    /mnt/mmcblk0p2/tce/gomonitor sa
    let me know how you get on
    Sorry to tell you some file is missing

    linux-vdso.so.1 (0x7ecff000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x76ed7000)
    librt.so.1 => /lib/librt.so.1 (0x76ec0000)
    libwiringPi.so => /usr/local/lib/libwiringPi.so (0x76ea1000)
    libArduiPi_OLED.so.1 => not found
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x76d54000)
    libm.so.6 => /lib/libm.so.6 (0x76ce7000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x76cb8000)
    libc.so.6 => /lib/libc.so.6 (0x76b77000)
    /lib/ld-linux-armhf.so.3 (0x76f00000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x76b38000)

  5. #15
    the OLED library is included in the archive and is copied to the shared library folder when you execute the gomonitor script

    check where the files where extracted, and ensure they are located in /mnt/mmcblk0p2/tce/

    note that I updated the binaries with the gomonitor edit as well as adding a little more feedback for command line arguments as I noticed you'd copied the command I used in my example including the name of my squeeze device; if you use gomonitor the name is picked up from configuration

    if the library is not where you extracted repeat the wget op that is specified in the github repo, make sure you're in the /mnt/mmcblk0p2/tce/ folder when you do so.

    my folder looks like this:

    Code:
    tc@aardvark001:/mnt/mmcblk0p2/tce$ pwd && ls -ltra /mnt/mmcblk0p2/tce/
    /mnt/mmcblk0p2/tce
    total 811
    -rwxrwxr-x    1 tc       staff          273 Dec 31  1969 onboot.lst
    -rw-rw-r--    1 tc       staff         4455 Dec 31  1969 pcp_resize.log
    -rw-rw-r--    1 tc       staff          675 Dec 31  1969 pcp_insitu_upgrade.log
    drwxrwxr-x    2 tc       staff         1024 Jun  8  2019 ondemand/
    drwxr-xr-x    3 root     root          1024 Jun  8  2019 ../
    lrwxrwxrwx    1 tc       staff           30 Feb 16 17:05 squeezelite -> /usr/local/bin/squeezelite-dsd
    drwxrwxr-x    2 tc       staff         7168 Mar 14 20:51 optional/
    -rwxrwxr-x    1 tc       staff        58328 Mar 14 22:04 libArduiPi_OLED.so.1
    -rwxrwxr-x    1 tc       staff         1603 Mar 16 00:29 gomonitor
    -rwxr-xr-x    1 tc       staff       333492 Mar 16 19:51 lmsmonitor
    drwxrwxr-x    4 tc       staff         1024 Mar 16 19:51 ./
    -rw-rw-r--    1 tc       staff       344856 Mar 16 19:51 mydata.tgz

  6. #16
    Quote Originally Posted by shunte88 View Post
    the OLED library is included in the archive and is copied to the shared library folder when you execute the gomonitor script

    check where the files where extracted, and ensure they are located in /mnt/mmcblk0p2/tce/

    note that I updated the binaries with the gomonitor edit as well as adding a little more feedback for command line arguments as I noticed you'd copied the command I used in my example including the name of my squeeze device; if you use gomonitor the name is picked up from configuration

    if the library is not where you extracted repeat the wget op that is specified in the github repo, make sure you're in the /mnt/mmcblk0p2/tce/ folder when you do so.

    my folder looks like this:

    Code:
    tc@aardvark001:/mnt/mmcblk0p2/tce$ pwd && ls -ltra /mnt/mmcblk0p2/tce/
    /mnt/mmcblk0p2/tce
    total 811
    -rwxrwxr-x    1 tc       staff          273 Dec 31  1969 onboot.lst
    -rw-rw-r--    1 tc       staff         4455 Dec 31  1969 pcp_resize.log
    -rw-rw-r--    1 tc       staff          675 Dec 31  1969 pcp_insitu_upgrade.log
    drwxrwxr-x    2 tc       staff         1024 Jun  8  2019 ondemand/
    drwxr-xr-x    3 root     root          1024 Jun  8  2019 ../
    lrwxrwxrwx    1 tc       staff           30 Feb 16 17:05 squeezelite -> /usr/local/bin/squeezelite-dsd
    drwxrwxr-x    2 tc       staff         7168 Mar 14 20:51 optional/
    -rwxrwxr-x    1 tc       staff        58328 Mar 14 22:04 libArduiPi_OLED.so.1
    -rwxrwxr-x    1 tc       staff         1603 Mar 16 00:29 gomonitor
    -rwxr-xr-x    1 tc       staff       333492 Mar 16 19:51 lmsmonitor
    drwxrwxr-x    4 tc       staff         1024 Mar 16 19:51 ./
    -rw-rw-r--    1 tc       staff       344856 Mar 16 19:51 mydata.tgz
    However when I type sudo ./lmsmonitor -n {your squeezelite name here} -rcxtiv -m sa the out come are all good except the Player IP is pointing to another player even the MAC address is correct! (I have several players in the house.)

  7. #17
    I do try this but still no display!/mnt/mmcblk0p2/tce$ pwd && ls -ltra /mnt/mmcblk0p2/tce/
    /mnt/mmcblk0p2/tce
    total 604
    -rw-rw-r-- 1 tc staff 57 Jan 1 1970 onboot.lst
    -rw-rw-r-- 1 tc staff 2824 Jan 1 1970 pcp_resize.log
    drwxrwxr-x 2 tc staff 4096 Mar 8 09:05 ondemand/
    drwxr-xr-x 3 root root 4096 Mar 8 09:05 ../
    -rwxr-xr-x 1 tc staff 58328 Mar 15 13:04 libArduiPi_OLED.so.1
    -rwxr-xr-x 1 tc staff 1603 Mar 16 15:29 gomonitor
    -rwxr-xr-x 1 tc staff 333492 Mar 17 10:51 lmsmonitor
    drwxrwxr-x 2 tc staff 4096 Mar 18 03:24 optional/
    -rw-rw-r-- 1 tc staff 18475 Mar 18 03:37 mydata.tgz
    -rw-rw-r-- 1 tc staff 0 Mar 18 03:43 not
    -rw-rw-r-- 1 tc staff 169462 Mar 18 09:58 lmsmonitorpcp.tgz
    drwxrwxr-x 4 tc staff 4096 Mar 18 09:58 ./

  8. #18
    looks like I have a typo in the gomonitor script, I'll fix this shortly; but to get you up abd running

    copy manually with:

    Code:
    sudo cp /mnt/mmcblk0p2/tce/libArduiPi_OLED.so.1 /lib/
    followed by the gomonitor command you've been trying

  9. #19
    when you specify the command you would replace the {your squeezelite name here} with the name of the player you wish to monitor

    the gomonitor script takes care of this for you

    on the LMS you'll see the name in the drop down, example:



    either use gomonitor, or manually specify the name you see in the dropdown - not aardvark001 or {your squeezelite name here}

    if you re-install I added extra validation for this specific issue

    hope that gets you out of the woods

  10. #20
    Quote Originally Posted by shunte88 View Post
    when you specify the command you would replace the {your squeezelite name here} with the name of the player you wish to monitor

    the gomonitor script takes care of this for you

    on the LMS you'll see the name in the drop down, example:



    either use gomonitor, or manually specify the name you see in the dropdown - not aardvark001 or {your squeezelite name here}

    if you re-install I added extra validation for this specific issue

    hope that gets you out of the woods
    I have tried 2 times new install and follow all your instructions, the commands are all as your result but no display! If I put mine old image with old lmsmonitor the display is working. BTW I am using the 0.96" mono colour and 4 pin connects.
    I hope others people can try it out.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •