Home of the Squeezebox™ & Transporter® network music players.
Page 46 of 50 FirstFirst ... 364445464748 ... LastLast
Results 451 to 460 of 491
  1. #451
    Senior Member
    Join Date
    Jan 2022
    Location
    Switzerland
    Posts
    146
    Quote Originally Posted by paul- View Post
    Post the output of the command.
    How ?


    Quote Originally Posted by paul- View Post
    I hope you are using a button and not just touching wire and pins.
    yes there is a switch between PIN24 and GND

  2. #452
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,834
    Are you doing your testing with a keyboard and monitor connected to your pi?

    Connect to your device with ssh and then copy and paste into a message here.

    https://docs.picoreplayer.org/how-to...s_pcp_via_ssh/
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #453
    Senior Member
    Join Date
    Jan 2022
    Location
    Switzerland
    Posts
    146
    Quote Originally Posted by paul- View Post
    Are you doing your testing with a keyboard and monitor connected to your pi?

    Connect to your device with ssh and then copy and paste into a message here.

    https://docs.picoreplayer.org/how-to...s_pcp_via_ssh/
    It's connected by SSH with Terminal on my MAC

    I sent this command:
    tc@pCP:~$ sbpd -d -s b,24,PLAY,2,0 -v

  4. #454
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    4,834
    And nothing at all is printed on the screen when you enter that command? You should see all of this output.

    drop the -d, as you don't want the command to demonize either.

    Code:
    tc@piTouch:~$ sbpd -s b,24,PLAY,2,0 -v
    1642868732.5499 6 sbpd.c,316: Options parsing: Set verbose mode
    1642868732.5502 6 sbpd.c,505: Using builtin button configuration
    1642868732.5502 6 control.c,108: Adding Command PLAY: Fragment ["pause"]
    1642868732.5503 6 control.c,108: Adding Command VOL+: Fragment ["button","volup"]
    1642868732.5503 6 control.c,108: Adding Command VOL-: Fragment ["button","voldown"]
    1642868732.5504 6 control.c,108: Adding Command PREV: Fragment ["button","rew"]
    1642868732.5504 6 control.c,108: Adding Command NEXT: Fragment ["button","fwd"]
    1642868732.5504 6 control.c,108: Adding Command POWR: Fragment ["button","power"]
    1642868732.5505 6 GPIO.c,312: Initializing GPIO
    1642868732.5545 6 control.c,262: Button defined: Pin 24, BCM Resistor: up, Short Type: LMS, Short Fragment: ["pause"] , Long Type: unused, Long Fragment: (null), Long Press Time: 3000
    1642868732.5548 6 discovery.c,385: MAC address found: b8:27:eb:d9:dd:0e
    1642868732.5548 6 servercomm.c,176: Initializing CURL
    1642868732.5699 6 sbpd.c,264: Starting main loop polling
    1642868732.5705 6 discovery.c,238: Found server 8D00A8C0. A new address
    1642868732.6710 6 discovery.c,349: discovery packet: port: 9000, name: NUC-Devel, uuid: d6d706ce-3908-479c-8158-5c9058697319
    1642868732.6712 6 discovery.c,130: Squeezebox control port found: 9000
    1642868732.6712 6 discovery.c,149: Server address found: 192.168.0.141
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #455
    Senior Member
    Join Date
    Jan 2022
    Location
    Switzerland
    Posts
    146
    tc@pCP:~$ sbpd -d -s b,24,PLAY,2,0 -v
    tc@pCP:~$

    or with:

    tc@pCP:~$ sbpd -s b,24,PLAY,2,0 -v
    1642871394.5050 6 GPIO.c,219: Initializing GPIO
    Unable to determine hardware version. I see: Hardware : BCM2711
    ,
    - expecting BCM2708, BCM2709 or BCM2835.
    If this is a genuine Raspberry Pi then please report this
    to projects@drogon.net. If this is not a Raspberry Pi then you
    are on your own as wiringPi is designed to support the
    Raspberry Pi ONLY.
    tc@pCP:~$

    It's a real Pi4 !!

  6. #456
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    9,105
    Quote Originally Posted by PaulH View Post
    tc@pCP:~$ sbpd -d -s b,24,PLAY,2,0 -v
    tc@pCP:~$

    or with:

    tc@pCP:~$ sbpd -s b,24,PLAY,2,0 -v
    1642871394.5050 6 GPIO.c,219: Initializing GPIO
    Unable to determine hardware version. I see: Hardware: BCM2711
    ,
    - expecting BCM2708, BCM2709 or BCM2835.
    If this is a genuine Raspberry Pi then please report this
    to projects@drogon.net. If this is not a Raspberry Pi then you
    are on your own as wiringPi is designed to support the
    Raspberry Pi ONLY.
    tc@pCP:~$

    It's a real Pi4 !!
    Which version of wiringPi do you have?
    http://wiringpi.com/wiringpi-updated...spberry-pi-4b/

    Sent from my Pixel 3a using Tapatalk

  7. #457
    Senior Member
    Join Date
    Jan 2022
    Location
    Switzerland
    Posts
    146
    Quote Originally Posted by slartibartfast View Post
    Which version of wiringPi do you have?
    http://wiringpi.com/wiringpi-updated...spberry-pi-4b/

    Sent from my Pixel 3a using Tapatalk
    tc@pCP:/tmp$ gpio -v
    -sh: gpio: not found

    try to update:
    tc@pCP:/tmp$ cd /tmp
    tc@pCP:/tmp$ wget https://project-downloads.drogon.net...gpi-latest.deb
    Connecting to project-downloads.drogon.net (188.246.205.22:443)
    wget: can't open 'wiringpi-latest.deb': File exists

    tc@pCP:/tmp$ sudo dpkg -i wiringpi-latest.deb
    sudo: dpkg: command not found

  8. #458
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    9,105
    Quote Originally Posted by PaulH View Post
    tc@pCP:/tmp$ gpio -v
    -sh: gpio: not found

    try to update:
    tc@pCP:/tmp$ cd /tmp
    tc@pCP:/tmp$ wget https://project-downloads.drogon.net...gpi-latest.deb
    Connecting to project-downloads.drogon.net (188.246.205.22:443)
    wget: can't open 'wiringpi-latest.deb': File exists

    tc@pCP:/tmp$ sudo dpkg -i wiringpi-latest.deb
    sudo: dpkg: command not found
    The version for piCorePlayer should be 2.5.4 so it should work with a Pi4.
    https://github.com/piCorePlayer/wiri...master/VERSION

    Sent from my Pixel 3a using Tapatalk

  9. #459
    Senior Member
    Join Date
    Jan 2022
    Location
    Switzerland
    Posts
    146
    Quote Originally Posted by slartibartfast View Post
    The version for piCorePlayer should be 2.5.4 so it should work with a Pi4.
    https://github.com/piCorePlayer/wiri...master/VERSION

    Sent from my Pixel 3a using Tapatalk
    I'm using piCorePlayer 8.1.0

    How to display the version ?

  10. #460
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    9,105
    Quote Originally Posted by PaulH View Post
    I'm using piCorePlayer 8.1.0

    How to display the version ?
    No idea but if it came from the pcp repository it "should" be OK. Hopefully someone who knows will comment.

    Sent from my Pixel 3a using Tapatalk

Posting Permissions

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