[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: ioctl returning -32 ENODEV
Hi,
> I'm writing an app like USBHSET but for linux, when I issue some kind
> of control msg (which is an ioctl()) it's returning -32 ENODEV. But
> when I issue usb_reset() (another ioctl()) it's working fine.
Looks like you are either issuing a wrong ioctl (the driver does not understand the ioctl), or issuing ioctl against the wrong device node.
> Where can I find the definition for ioctl() and when does it
> returns ENODEV???
May be you should check in the driver source code?
Thanks,
Rajat
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ