Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpiochipN number going up indefinitely. #29

Open
mjsir911 opened this issue Mar 9, 2024 · 1 comment
Open

gpiochipN number going up indefinitely. #29

mjsir911 opened this issue Mar 9, 2024 · 1 comment

Comments

@mjsir911
Copy link

mjsir911 commented Mar 9, 2024

Hi,

Every time I unplug / replug in my ch341 the /dev/gpiochipN number is incremented by one. I'm pretty sure this isn't standard/expected behaviour, should probably recycle / use the lowest number.

@mjsir911
Copy link
Author

it seems that removing the mfd_add_hotplug_devices from gpio-ch341.c fixes this, although breaks spi...

mjsir911 added a commit to mjsir911/ch341-i2c-spi-gpio that referenced this issue Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant