FunctionFS: Provide device and configdescriptor from user mode application?

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

 



Hi!
Sorry, I posted before but forgot the subject.
I am running the test application "ffs-test.c" in user space and I want to
write the descriptors to ep0.
However, it seems that I can only write interface descriptors
and enpoint descriptors.
What about device and configdescriptors? When I put those in the
"descriptor" struct I get an EINVAL (22, invalid parameter) error:

"ffs-test: info: ep0: writing descriptors"
"ffs-test: crit: ep0: write: descriptors: (-22) Invalid argument"
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux