• Igor Kotrasinski's avatar
    usbip: vudc: Add SysFS infrastructure for VUDC · ea6873a4
    Igor Kotrasinski authored
    Add sysfs attributes to allow controlling vudc from usbip tools.
    
    dev_desc - device descriptor of current gadget. This is required to
    	 be consisten with current usbip protocol and allow to list
    	 exportable devices on given machine.
    
    usbip_sockfd - allows to pass socket to kernel to start usbip transfer.
    
    usbip_status - currnent status of device
    
    This commit is a result of cooperation between Samsung R&D Institute
    Poland and Open Operating Systems Student Society at University
    of Warsaw (O2S3@UW) consisting of:
    
        Igor Kotrasinski <ikotrasinsk@gmail.com>
        Karol Kosik <karo9@interia.eu>
        Ewelina Kosmider <3w3lfin@gmail.com>
        Dawid Lazarczyk <lazarczyk.dawid@gmail.com>
        Piotr Szulc <ps347277@students.mimuw.edu.pl>
    
    Tutor and project owner:
        Krzysztof Opasiak <k.opasiak@samsung.com>
    Signed-off-by: default avatarIgor Kotrasinski <i.kotrasinsk@samsung.com>
    Signed-off-by: default avatarKarol Kosik <karo9@interia.eu>
    [Various bug fixes, improvements and commit msg update]
    Signed-off-by: default avatarKrzysztof Opasiak <k.opasiak@samsung.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    ea6873a4
vudc_sysfs.c 5.34 KB