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

Fix "Inappropriate ioctl for device" Error #43

Closed
TekuConcept opened this issue Jan 31, 2016 · 2 comments · Fixed by #75
Closed

Fix "Inappropriate ioctl for device" Error #43

TekuConcept opened this issue Jan 31, 2016 · 2 comments · Fixed by #75
Milestone

Comments

@TekuConcept
Copy link
Contributor

If the Arduino crashes or is unplugged when the application is running, this error occurs. The current solution is to reboot the machine, or in a worst case scenario, require a power-cycle.

Perhaps restarting the USB device interface will resolve the issue.

(a less common condition is when the USB hardware shuts down and the drivers are still functional)

@nfcopier nfcopier modified the milestones: General Cleanup, Backlog Feb 1, 2016
@TekuConcept
Copy link
Contributor Author

I may have found a solution to this:
root@BoneCentral:/# echo -n "1-1:1.0" > /sys/bus/usb/drivers/cdc_acm/unbind
root@BoneCentral:/# echo -n "1-1:1.0" > /sys/bus/usb/drivers/cdc_acm/bind

@TekuConcept
Copy link
Contributor Author

This solution works but the tty device is created with a new number.

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

Successfully merging a pull request may close this issue.

2 participants