Trying to use this fix with Falcon Pi Player (FPP) for a pixel lightshow controller running bbb black with kulp controller cape and it gets errors below:
fpp@FPP-Corner:~/bbbphyfix$ ./install
tmpdir = /tmp/bbbrtc.WaXItG
/tmp/bbbrtc.WaXItG ~/bbbphyfix
Cloning into 'bbbrtc'...
remote: Enumerating objects: 93, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 93 (delta 0), reused 0 (delta 0), pack-reused 92 (from 1)
Receiving objects: 100% (93/93), 58.25 KiB | 817.00 KiB/s, done.
Resolving deltas: 100% (28/28), done.
g++ bbbrtc.c -o bbbrtc
bbbrtc.c: In function ‘unsigned int clock_choice_off(clock_choice_t)’:
bbbrtc.c:409:1: warning: control reaches end of non-void function [-Wreturn-type]
409 | }
| ^
bbbrtc.c: In function ‘const char* clock_choice_name(clock_choice_t)’:
bbbrtc.c:430:1: warning: control reaches end of non-void function [-Wreturn-type]
430 | }
| ^
chmod +x bbbrtc
mkdir -p /usr/sbin
sudo install bbbrtc /usr/sbin/
sudo install bbb-long-reset /usr/sbin/
~/bbbphyfix
rm: remove write-protected regular file '/tmp/bbbrtc.WaXItG/bbbrtc/.git/objects/pack/pack-a6ccc2eb2cce808cc49ec7db7be418c1
8444cf37.pack'? n
rm: remove write-protected regular file '/tmp/bbbrtc.WaXItG/bbbrtc/.git/objects/pack/pack-a6ccc2eb2cce808cc49ec7db7be418c1
8444cf37.idx'? n
rm: cannot remove '/tmp/bbbrtc.WaXItG/bbbrtc/.git/objects/pack': Directory not empty
tmpdir = /tmp/bbbrtc.Z2h8Kg
/tmp/bbbrtc.Z2h8Kg ~/bbbphyfix
Cloning into 'phyreg'...
remote: Enumerating objects: 78, done.
remote: Total 78 (delta 0), reused 0 (delta 0), pack-reused 78 (from 1)
Receiving objects: 100% (78/78), 31.53 KiB | 481.00 KiB/s, done.
Resolving deltas: 100% (37/37), done.
rm -f devmem2
rm -f phyreg
cc -o phyreg phyreg.c
mkdir -p /usr/bin
install phyreg /usr/bin
install: cannot create regular file '/usr/bin/phyreg': Permission denied
make: *** [Makefile:9: install] Error 1
/bbbphyfix
rm: remove write-protected regular file '/tmp/bbbrtc.Z2h8Kg/phyreg/.git/objects/pack/pack-756a37f5cea833be3b24a1ae51c9b404
8be4c575.pack'? n
rm: remove write-protected regular file '/tmp/bbbrtc.Z2h8Kg/phyreg/.git/objects/pack/pack-756a37f5cea833be3b24a1ae51c9b404
8be4c575.idx'? n
rm: cannot remove '/tmp/bbbrtc.Z2h8Kg/phyreg/.git/objects/pack': Directory not empty
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ====
Authentication is required to reload the systemd state.
Authenticating as: Falcon Player,,, (fpp)
Password:
==== AUTHENTICATION COMPLETE ====
cp: cannot create regular file '/usr/sbin/bbb-check-phy': Permission denied
chmod: cannot access '/usr/sbin/bbb-check-phy': No such file or directory
cp: cannot create regular file '/etc/init.d/chkphy': Permission denied
chmod: cannot access '/etc/init.d/chkphy': No such file or directory
update-rc.d: error: unable to read /etc/init.d/chkphy
fpp@FPP-Corner:/bbbphyfix$
Any ideas if I can use this fix as I have to reboot sometimes to get the controller to see the ethernet connection?
Thank you,
John
Trying to use this fix with Falcon Pi Player (FPP) for a pixel lightshow controller running bbb black with kulp controller cape and it gets errors below:
fpp@FPP-Corner:~/bbbphyfix$ ./install
tmpdir = /tmp/bbbrtc.WaXItG
/tmp/bbbrtc.WaXItG ~/bbbphyfix
Cloning into 'bbbrtc'...
remote: Enumerating objects: 93, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 93 (delta 0), reused 0 (delta 0), pack-reused 92 (from 1)
Receiving objects: 100% (93/93), 58.25 KiB | 817.00 KiB/s, done.
Resolving deltas: 100% (28/28), done.
g++ bbbrtc.c -o bbbrtc
bbbrtc.c: In function ‘unsigned int clock_choice_off(clock_choice_t)’:
bbbrtc.c:409:1: warning: control reaches end of non-void function [-Wreturn-type]
409 | }
| ^
bbbrtc.c: In function ‘const char* clock_choice_name(clock_choice_t)’:
bbbrtc.c:430:1: warning: control reaches end of non-void function [-Wreturn-type]
430 | }
| ^
chmod +x bbbrtc
mkdir -p /usr/sbin
sudo install bbbrtc /usr/sbin/
sudo install bbb-long-reset /usr/sbin/
~/bbbphyfix
rm: remove write-protected regular file '/tmp/bbbrtc.WaXItG/bbbrtc/.git/objects/pack/pack-a6ccc2eb2cce808cc49ec7db7be418c1
8444cf37.pack'? n
rm: remove write-protected regular file '/tmp/bbbrtc.WaXItG/bbbrtc/.git/objects/pack/pack-a6ccc2eb2cce808cc49ec7db7be418c1
8444cf37.idx'? n
rm: cannot remove '/tmp/bbbrtc.WaXItG/bbbrtc/.git/objects/pack': Directory not empty
tmpdir = /tmp/bbbrtc.Z2h8Kg
/tmp/bbbrtc.Z2h8Kg ~/bbbphyfix
Cloning into 'phyreg'...
remote: Enumerating objects: 78, done.
remote: Total 78 (delta 0), reused 0 (delta 0), pack-reused 78 (from 1)
Receiving objects: 100% (78/78), 31.53 KiB | 481.00 KiB/s, done.
Resolving deltas: 100% (37/37), done.
rm -f devmem2
rm -f phyreg
cc -o phyreg phyreg.c
mkdir -p /usr/bin
install phyreg /usr/bin
install: cannot create regular file '/usr/bin/phyreg': Permission denied
make: *** [Makefile:9: install] Error 1
/bbbphyfix/bbbphyfix$rm: remove write-protected regular file '/tmp/bbbrtc.Z2h8Kg/phyreg/.git/objects/pack/pack-756a37f5cea833be3b24a1ae51c9b404
8be4c575.pack'? n
rm: remove write-protected regular file '/tmp/bbbrtc.Z2h8Kg/phyreg/.git/objects/pack/pack-756a37f5cea833be3b24a1ae51c9b404
8be4c575.idx'? n
rm: cannot remove '/tmp/bbbrtc.Z2h8Kg/phyreg/.git/objects/pack': Directory not empty
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ====
Authentication is required to reload the systemd state.
Authenticating as: Falcon Player,,, (fpp)
Password:
==== AUTHENTICATION COMPLETE ====
cp: cannot create regular file '/usr/sbin/bbb-check-phy': Permission denied
chmod: cannot access '/usr/sbin/bbb-check-phy': No such file or directory
cp: cannot create regular file '/etc/init.d/chkphy': Permission denied
chmod: cannot access '/etc/init.d/chkphy': No such file or directory
update-rc.d: error: unable to read /etc/init.d/chkphy
fpp@FPP-Corner:
Any ideas if I can use this fix as I have to reboot sometimes to get the controller to see the ethernet connection?
Thank you,
John