Announcement
Collapse
No announcement yet.
[ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi
Collapse
X
-
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.
piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
Comment
-
Originally posted by paul- View PostAre 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/
I sent this command:
[email protected]:~$ sbpd -d -s b,24,PLAY,2,0 -v
Comment
-
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:[email protected]:~$ 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
Comment
-
[email protected]:~$ sbpd -d -s b,24,PLAY,2,0 -v
[email protected]:~$
or with:
[email protected]:~$ 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 [email protected]. If this is not a Raspberry Pi then you
are on your own as wiringPi is designed to support the
Raspberry Pi ONLY.
[email protected]:~$
It's a real Pi4 !!
Comment
-
Originally posted by PaulH View Post[email protected]:~$ sbpd -d -s b,24,PLAY,2,0 -v
[email protected]:~$
or with:
[email protected]:~$ 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 [email protected]. If this is not a Raspberry Pi then you
are on your own as wiringPi is designed to support the
Raspberry Pi ONLY.
[email protected]:~$
It's a real Pi4 !!
Sent from my Pixel 3a using TapatalkLiving Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
Bedroom: Radio
Bathroom: Radio
Comment
-
Originally posted by slartibartfast View Post
-sh: gpio: not found
try to update:
[email protected]:/tmp$ cd /tmp
[email protected]:/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
[email protected]:/tmp$ sudo dpkg -i wiringpi-latest.deb
sudo: dpkg: command not found
Comment
-
Originally posted by PaulH View Post[email protected]:/tmp$ gpio -v
-sh: gpio: not found
try to update:
[email protected]:/tmp$ cd /tmp
[email protected]:/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
[email protected]:/tmp$ sudo dpkg -i wiringpi-latest.deb
sudo: dpkg: command not found
Sent from my Pixel 3a using TapatalkLiving Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
Bedroom: Radio
Bathroom: Radio
Comment
-
Originally posted by slartibartfast View PostThe version for piCorePlayer should be 2.5.4 so it should work with a Pi4.
Sent from my Pixel 3a using Tapatalk
How to display the version ?
Comment
-
Originally posted by PaulH View PostI'm using piCorePlayer 8.1.0
How to display the version ?
Sent from my Pixel 3a using TapatalkLiving Room: Touch or Squeezelite (Pi3B) > Topping E30 > Audiolab 8000A > Monitor Audio S5 + BK200-XLS DF
Bedroom: Radio
Bathroom: Radio
Comment
-
Originally posted by slartibartfast View PostI read in another thread that wiringPi wasn't used any more with piCorePlayer so I wonder where it came from.
Comment
-
Originally posted by chill View PostThat's correct. sbpd now uses pigpio instead of wiringpi. If you install pcp-sbpd.tcz from the piCorePlayer respository, it will install pigpio as a dependency. @PaulH - are you using an older version of sbpd from somewhere?
Code:cd /mnt/mmcblk0p2/tce/optional wget http://downloads.sourceforge.net/project/picoreplayer/beta/sbpd.tcz.md5.txt wget http://downloads.sourceforge.net/project/picoreplayer/beta/sbpd.tcz md5sum sbpd.tcz # make sure the file downloaded correctly f0157164d10b86325b38fee0cb8d709e sbpd.tcz cat sbpd.tcz.md5.txt # does it match the line above? f0157164d10b86325b38fee0cb8d709e sbpd.tcz echo "sbpd.tcz" >> /mnt/mmcblk0p2/tce/onboot.lst pcp rb # you must reboot!
Comment
-
That is many years old.
The only extension you need to load is pcp-sbpd.tcz from our repo.piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
Comment
-
Originally posted by paul- View PostThat is many years old.
The only extension you need to load is pcp-sbpd.tcz from our repo.
[email protected]:~$ wget http://picoreplayer.sourceforge.net/...z/pcp-sbpd.tcz
Connecting to picoreplayer.sourceforge.net (204.68.111.100:80)
saving to 'pcp-sbpd.tcz'
pcp-sbpd.tcz 100% |************************************************* ***************| 192k 0:00:00 ETA
'pcp-sbpd.tcz' saved
[email protected]:~$ sbpd -s b,24,PLAY,2,0 -v
1642930181.4635 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 [email protected]. If this is not a Raspberry Pi then you
are on your own as wiringPi is designed to support the
Raspberry Pi ONLY.
[email protected]:~$
Comment
Comment