RE: Configfs composite gadget with CCID and mass storage

2015-10-08 Thread Frans-Pieter van Wyk
I managed to get the implementation working for us using the following dirty patch for kernel 3.14, - diff -u -r a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c ---

RE: Configfs composite gadget with CCID and mass storage

2015-10-06 Thread Frans-Pieter van Wyk
> ConfigFS is used to compose a gadget of existing functions. > As far as I can tell there is no smart card CCID usb function in kernel, so > either you need to have your own out-of-tree implementation or implement it > in userspace with FunctionFS. I also could not find a CCID usb function in

Configfs composite gadget with CCID and mass storage

2015-10-06 Thread Frans-Pieter van Wyk
Hi, I am trying to implement a composite USB device, which consists of a Smart card Chip Card Interface Device (CCID) and a mass storage device, on an embedded platform (ARM processor) using Configfs composite gadget. I was able to successfully setup the mass storage device but I am having