Re: [PATCH 08/12] usbip: vudc: Add SysFS infrastructure for VUDC

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

 



W dniu 27.04.2016 o 00:19, Greg KH pisze:
> On Tue, Mar 08, 2016 at 09:49:03PM +0100, Krzysztof Opasiak wrote:
>> From: Igor Kotrasinski <i.kotrasinsk@xxxxxxxxxxx>
>>
>> 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
>
> For new sysfs files, we need entries in Documentation/ABI/ can you
> provide those for these files in a follow-on patch?
>
> thanks,
>
> greg k-h
I have a question regarding the dev_desc attribute. I pass binary data
(the USB descriptor) through it to userspace. Should I make the
attribute binary with BIN_ATTR?

Igor Kotrasiński
--
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