decode USBDEVFS_* ioctl args

Dmitry V. Levin ldv at altlinux.org
Thu Nov 15 18:24:23 UTC 2018


Hi,

On Thu, Nov 08, 2018 at 11:07:03PM +0000, Дементьев Максим wrote:
> Hi,
> 
> Is there a support for USBDEVFS_* ioctl args decoding? As far as I can see, there isn't.

I don't see it either.

> I saw this post on the libusb mail-list a quite long time ago:
> 
>      https://sourceforge.net/p/libusb/mailman/message/25668364/
> 
> And I wonder how it is possible to decode arguments (primitive types or structures) of USBDEVFS_* ioctl in the output of strace?

strace has decoders for various ioctl commands, so it should be possible
for USBDEVFS_* as well.  Somebody would have to contribute a patch. :)


-- 
ldv


More information about the Strace-devel mailing list