lkml.org 
[lkml]   [2014]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor
    On Mon, Jul 28, 2014 at 08:42:44AM +0200, Marek Szyprowski wrote:
    > Hello,
    >
    > On 2014-07-25 16:15, Michal Nazarewicz wrote:
    > >On Fri, Jul 25 2014, Robert Baldyga wrote:
    > >>This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which
    > >>returns endpoint descriptor to userspace. It works only if function
    > >>is active.
    > >I would argue that user space should never need to know the real
    > >descriptor. Is this ioctl needed for anything in particular?
    >
    > Some proprietary broken usb protocols might embed real physical endpoint
    > (or interface) number into the data stream. In such case functionfs driver
    > is unable to do proper endpoint/interface number fixup.

    Do you have an example of such a messed up thing?

    greg k-h


    \
     
     \ /
      Last update: 2014-07-28 09:21    [W:5.494 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site