Git Product home page Git Product logo

gpioexpander's Introduction

gpioexpander

Buildroot based ethernet gadget which gives a host access to PIGPIO to control GPIO pins

Documentation

See the wiki

gpioexpander's People

Contributors

maxnet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gpioexpander's Issues

Pi Connection via USB fails before x86 raspbian boot

I'm building a system, which needs GPIO access on a x86 machine.
The GPIO access works great. However, it falls apart once reboots come into play:

Plugging the PIZero in, lsusb shows Broadcom Corp.
If rpiboot loaded the OS on the PiZero and the PI is connected to an USB port that remains powered after shutdown, a reboot does not break anything. You can still use pigs for instance, after the x86 raspbian booted.
However, if power is cut or if the Pi is connected without loading the OS via RPIboot prior, then the linux kernel fails to boot properly and throws
device descriptor read/64, error -110
a couple of times with the last error being
device not accepting address 4
and all devices on that USB controller are blocked until the RPI is removed (Mouse / Keyboard are not active on Raspbian desktop).
It does not show up in lsusb and obviously rpiboot fails to find anything. Unplugging and plugging the usb back in solves this beheviour.
If it is still connected and a shutdown is initiated in that state, then the shutdown does not finish and remains stuck until the RPi is disconnected, with the same errors being thrown.

This issue may be a firmware bug and may be related to this issue with similar symptoms: raspberrypi/linux#2684

I want to make an automated system, currently physical interaction is required if the system is unplugged from the wall.
Leaving a Post-it on the machine saying "please unplug und plug back in that USB cord in case the system is moved or unplugged" is not an option ;]

python requirement needs moving to use python3

I was just going through the process of compiling this (trying under Ubuntu in Win10 among others)
It needs python, this at some points needs moving to use python3 so I don't have to install python (I have python3)

Does not work with new 3A+

I just attached my new 3A+ with usb male to male cable to Pi3B+ (with no microsd card and no extra power). I see the popup in raspbian, select gpio expander choice. Then it uploads kernel and gpioexpander rootfs however then the progress bar stops before final step and nothing happens.

I suppose the build (kernel, rootfs) is simply old and does not support pi 3A+ yet?

BTW there was another issue that it didn't work at all previously due to conflict with usb host boot, see https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=227044 however this is not the issue. I clearly see my new PI 3A+ is trying to do usb device boot and I see the popup with rootfs choice and broadcom usb boot device in kernel log on pi3B+.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.