FalconChristmas / fpp

Falcon Player
http://FalconChristmas.com
Other
550 stars 193 forks source link

V2.x FPP does not appear to recognize when PiFace I/O cards are attached. #387

Closed patdelaney closed 5 years ago

patdelaney commented 6 years ago

In 1.x software FPP was able to tell

if a PiFace card was attached and then it adjusted GPIO setup screen to add the GPIs that the card supported. v2.x does not appear to. I have tested with PiFace and PiFace digital.

gpio1_8

gpio2 x

patdelaney commented 5 years ago

Version 1.10 boot up image

Version 2.x boot up (looks like it skips the step) image

If you need access to the Pi with a PiFace attached let me know and I can set up up to ssh in.

patdelaney commented 5 years ago

I accidentally closed this the other day. It is Still and issue and I think needs to be addressed soon.

dkulp commented 5 years ago

That stuff won't be on the console with Stretch. If you run "sudo journalctl -u fppinit" you should see: "FPP - Checking for PiFace". That said, it looks like the PiFace and wiringPi "gpio" utility no longer work well together: https://www.element14.com/community/thread/64502/l/piface-digital2-no-longer-works-with-wiringpi-246-under-current-raspbian-2018-06-27?displayFullThread=true

Can you send me the output of "ls -lR /sys/class/gpio/" on a system with the PiFace installed?

patdelaney commented 5 years ago

Here you go:

fpp@FPP6:~ $ sudo ls -lR /sys/class/gpio/ /sys/class/gpio/: total 0 -rwxrwx--- 1 root gpio 4096 Sep 19 08:28 export lrwxrwxrwx 1 root gpio 0 Sep 19 08:28 gpiochip0 -> ../../devices/platform/soc/20200000.gpio/gpio/gpiochip0 -rwxrwx--- 1 root gpio 4096 Sep 19 08:28 unexport fpp@FPP6:~ $

On Wed, Sep 19, 2018 at 10:28 AM, Daniel Kulp notifications@github.com wrote:

That stuff won't be on the console with Stretch. If you run "sudo journalctl -u fppinit" you should see: "FPP - Checking for PiFace". That said, it looks like the PiFace and wiringPi "gpio" utility no longer work well together: https://www.element14.com/community/thread/64502/l/ piface-digital2-no-longer-works-with-wiringpi-246-under- current-raspbian-2018-06-27?displayFullThread=true

Can you send me the output of "ls -lR /sys/class/gpio/" on a system with the PiFace installed?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/FalconChristmas/fpp/issues/387#issuecomment-422846989, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxSA8C52JlKEbkd48Qd6tnv68HbHjbeks5ucmKGgaJpZM4Vpnmo .

dkulp commented 5 years ago

Darn. Thats not helpful. :( Not sure we can detect it from the command line anymore. May need to just add a "PiFace Enabled" checkbox someplace.

patdelaney commented 5 years ago

send me a private email and I can give you the IP address that you can ssh in ... Ben Shaver uses it when we do testing. I have a BBB with port forwarding on off the firewall. From there you can ssh into the unit with the PIFace.

pat_delaney@colonydrive.com

On Wed, Sep 19, 2018 at 11:14 AM, Daniel Kulp notifications@github.com wrote:

Darn. Thats not helpful. :( Not sure we can detect it from the command line anymore. May need to just add a "PiFace Enabled" checkbox someplace.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/FalconChristmas/fpp/issues/387#issuecomment-422864327, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxSAzmOgayVfACbHQik2Qe32QAQka7bks5ucm17gaJpZM4Vpnmo .

dkulp commented 5 years ago

Should now be fixed in 9bc39906927e0f2123b4b054a345b1666d91d65b