You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am seeing unrecognized IOCTL error reports from the FUSB302 USBMISC driver recently. I suspect there's a recent change that has caused this and am looking for suggestions as to where to look to investigate.
It happens if (for example) I run a ping from nsh (albeit via a CDC/NCM usb connection so there is a relevance).
The IOCTL is 0x30a which I think is a file system IOCTL, FIONBIO, so not sure why this driver is being sent this?
FIONBIO is a general ioctl which may be called from the common code, the driver should ignore any ioctl(include FIONBIO) which can't handle and return -ENOTTY without any other side effect.
FIONBIO is a general ioctl which may be called from the common code, the driver should ignore any ioctl(include FIONBIO) which can't handle and return -ENOTTY without any other side effect.
OK no worries - it does ignore it and return -ENOTTY as expected: I had turned on USB debug features which would be what caused this to show, didn't remember it from before.
Description / Steps to reproduce the issue
I am seeing unrecognized IOCTL error reports from the FUSB302 USBMISC driver recently. I suspect there's a recent change that has caused this and am looking for suggestions as to where to look to investigate.
It happens if (for example) I run a ping from nsh (albeit via a CDC/NCM usb connection so there is a relevance).
The IOCTL is 0x30a which I think is a file system IOCTL, FIONBIO, so not sure why this driver is being sent this?
This is the call stack. Can anyone advise?
On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Ubuntu 22.04.5 LTS
NuttX Version
Master
Issue Architecture
[Arch: arm]
Issue Area
[Area: Drivers]
Verification
The text was updated successfully, but these errors were encountered: