RE: ioctl returning -32 ENODEV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux