All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcus Folkesson <marcus.folkesson@gmail.com>
To: Felipe Balbi <balbi@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jonathan Corbet <corbet@lwn.net>,
	davem@davemloft.net,
	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	Ruslan Bilovol <ruslan.bilovol@gmail.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Kate Stewart <kstewart@linuxfoundation.org>,
	linux-usb@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/3] usb: gadget: ccid: add support for USB CCID Gadget Device
Date: Tue, 10 Jul 2018 20:46:17 +0200	[thread overview]
Message-ID: <20180710184617.GA5839@gmail.com> (raw)
In-Reply-To: <20180622164823.GA5351@gmail.com>

Hi Filipe,

On Fri, Jun 22, 2018 at 06:48:23PM +0200, Marcus Folkesson wrote:
> Hi Filipe,
> 
> On Mon, Jun 18, 2018 at 11:22:04AM +0300, Felipe Balbi wrote:
> > 
> > Hi,
> > 
> > Marcus Folkesson <marcus.folkesson@gmail.com> writes:
> > > Hi Felipe,
> > >
> > > Should I send out v4 or what do you think?
> > 
> > sorry for the delay, have been busy with other tasks.
> > 
> 
> It is no hurry :-)
> 
> > > On Wed, May 30, 2018 at 04:04:15PM +0200, Marcus Folkesson wrote:
> > >> Hi Filipe,
> > >> 
> > >> On Wed, May 30, 2018 at 03:28:18PM +0300, Felipe Balbi wrote:
> > >> > Marcus Folkesson <marcus.folkesson@gmail.com> writes:
> > >> > 
> > >> > > Chip Card Interface Device (CCID) protocol is a USB protocol that
> > >> > > allows a smartcard device to be connected to a computer via a card
> > >> > > reader using a standard USB interface, without the need for each manufacturer
> > >> > > of smartcards to provide its own reader or protocol.
> > >> > >
> > >> > > This gadget driver makes Linux show up as a CCID device to the host and let a
> > >> > > userspace daemon act as the smartcard.
> > >> > >
> > >> > > This is useful when the Linux gadget itself should act as a cryptographic
> > >> > > device or forward APDUs to an embedded smartcard device.
> > >> > >
> > >> > > Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> > >> > 
> > >> > this could be done entirely in userspace with functionfs, why do we need
> > >> > this part in the kernel? It does very little.
> > >> 
> > >> Andrzej pointed this out, and I actually do not have any good answer
> > >> more than that the userspace application could be kept small and the
> > >> important configuration of the CCID device is done with well (I hope)
> > >> documented configfs attributes.
> > 
> > can we use existing open source applications without modification by
> > accepting this glue layer?
> 
> 
> If you mean existing open source application to talk to the "daemon", the answer is
> yes. I have been using PCSC-lite and OpenSC on Linux, and PCSC on
> Windows to communicate with the smartcard.
> 
> If you mean existing application as the "daemon", the answer is probably
> no.


Just sending a friendly ping on this one.
I've sent out v4 as I had it prepared for a long time, just to catch
comments in the meanwhile, but none so far.

> 
> > 
> > -- 
> > balbi
> 
> Thanks,
> 
> Best regards
> Marcus Folkesson
> 

Thanks,

Best regards
Marcus Folkesson
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Marcus Folkesson <marcus.folkesson@gmail.com>
To: Felipe Balbi <balbi@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jonathan Corbet <corbet@lwn.net>,
	davem@davemloft.net,
	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	Ruslan Bilovol <ruslan.bilovol@gmail.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Kate Stewart <kstewart@linuxfoundation.org>,
	linux-usb@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [v3,1/3] usb: gadget: ccid: add support for USB CCID Gadget Device
Date: Tue, 10 Jul 2018 20:46:17 +0200	[thread overview]
Message-ID: <20180710184617.GA5839@gmail.com> (raw)

Hi Filipe,

On Fri, Jun 22, 2018 at 06:48:23PM +0200, Marcus Folkesson wrote:
> Hi Filipe,
> 
> On Mon, Jun 18, 2018 at 11:22:04AM +0300, Felipe Balbi wrote:
> > 
> > Hi,
> > 
> > Marcus Folkesson <marcus.folkesson@gmail.com> writes:
> > > Hi Felipe,
> > >
> > > Should I send out v4 or what do you think?
> > 
> > sorry for the delay, have been busy with other tasks.
> > 
> 
> It is no hurry :-)
> 
> > > On Wed, May 30, 2018 at 04:04:15PM +0200, Marcus Folkesson wrote:
> > >> Hi Filipe,
> > >> 
> > >> On Wed, May 30, 2018 at 03:28:18PM +0300, Felipe Balbi wrote:
> > >> > Marcus Folkesson <marcus.folkesson@gmail.com> writes:
> > >> > 
> > >> > > Chip Card Interface Device (CCID) protocol is a USB protocol that
> > >> > > allows a smartcard device to be connected to a computer via a card
> > >> > > reader using a standard USB interface, without the need for each manufacturer
> > >> > > of smartcards to provide its own reader or protocol.
> > >> > >
> > >> > > This gadget driver makes Linux show up as a CCID device to the host and let a
> > >> > > userspace daemon act as the smartcard.
> > >> > >
> > >> > > This is useful when the Linux gadget itself should act as a cryptographic
> > >> > > device or forward APDUs to an embedded smartcard device.
> > >> > >
> > >> > > Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> > >> > 
> > >> > this could be done entirely in userspace with functionfs, why do we need
> > >> > this part in the kernel? It does very little.
> > >> 
> > >> Andrzej pointed this out, and I actually do not have any good answer
> > >> more than that the userspace application could be kept small and the
> > >> important configuration of the CCID device is done with well (I hope)
> > >> documented configfs attributes.
> > 
> > can we use existing open source applications without modification by
> > accepting this glue layer?
> 
> 
> If you mean existing open source application to talk to the "daemon", the answer is
> yes. I have been using PCSC-lite and OpenSC on Linux, and PCSC on
> Windows to communicate with the smartcard.
> 
> If you mean existing application as the "daemon", the answer is probably
> no.


Just sending a friendly ping on this one.
I've sent out v4 as I had it prepared for a long time, just to catch
comments in the meanwhile, but none so far.

> 
> > 
> > -- 
> > balbi
> 
> Thanks,
> 
> Best regards
> Marcus Folkesson
> 

Thanks,

Best regards
Marcus Folkesson
>
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Marcus Folkesson <marcus.folkesson@gmail.com>
To: Felipe Balbi <balbi@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jonathan Corbet <corbet@lwn.net>,
	davem@davemloft.net,
	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	Ruslan Bilovol <ruslan.bilovol@gmail.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Kate Stewart <kstewart@linuxfoundation.org>,
	linux-usb@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/3] usb: gadget: ccid: add support for USB CCID Gadget Device
Date: Tue, 10 Jul 2018 20:46:17 +0200	[thread overview]
Message-ID: <20180710184617.GA5839@gmail.com> (raw)
In-Reply-To: <20180622164823.GA5351@gmail.com>

Hi Filipe,

On Fri, Jun 22, 2018 at 06:48:23PM +0200, Marcus Folkesson wrote:
> Hi Filipe,
> 
> On Mon, Jun 18, 2018 at 11:22:04AM +0300, Felipe Balbi wrote:
> > 
> > Hi,
> > 
> > Marcus Folkesson <marcus.folkesson@gmail.com> writes:
> > > Hi Felipe,
> > >
> > > Should I send out v4 or what do you think?
> > 
> > sorry for the delay, have been busy with other tasks.
> > 
> 
> It is no hurry :-)
> 
> > > On Wed, May 30, 2018 at 04:04:15PM +0200, Marcus Folkesson wrote:
> > >> Hi Filipe,
> > >> 
> > >> On Wed, May 30, 2018 at 03:28:18PM +0300, Felipe Balbi wrote:
> > >> > Marcus Folkesson <marcus.folkesson@gmail.com> writes:
> > >> > 
> > >> > > Chip Card Interface Device (CCID) protocol is a USB protocol that
> > >> > > allows a smartcard device to be connected to a computer via a card
> > >> > > reader using a standard USB interface, without the need for each manufacturer
> > >> > > of smartcards to provide its own reader or protocol.
> > >> > >
> > >> > > This gadget driver makes Linux show up as a CCID device to the host and let a
> > >> > > userspace daemon act as the smartcard.
> > >> > >
> > >> > > This is useful when the Linux gadget itself should act as a cryptographic
> > >> > > device or forward APDUs to an embedded smartcard device.
> > >> > >
> > >> > > Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> > >> > 
> > >> > this could be done entirely in userspace with functionfs, why do we need
> > >> > this part in the kernel? It does very little.
> > >> 
> > >> Andrzej pointed this out, and I actually do not have any good answer
> > >> more than that the userspace application could be kept small and the
> > >> important configuration of the CCID device is done with well (I hope)
> > >> documented configfs attributes.
> > 
> > can we use existing open source applications without modification by
> > accepting this glue layer?
> 
> 
> If you mean existing open source application to talk to the "daemon", the answer is
> yes. I have been using PCSC-lite and OpenSC on Linux, and PCSC on
> Windows to communicate with the smartcard.
> 
> If you mean existing application as the "daemon", the answer is probably
> no.


Just sending a friendly ping on this one.
I've sent out v4 as I had it prepared for a long time, just to catch
comments in the meanwhile, but none so far.

> 
> > 
> > -- 
> > balbi
> 
> Thanks,
> 
> Best regards
> Marcus Folkesson
> 

Thanks,

Best regards
Marcus Folkesson
> 

  reply	other threads:[~2018-07-10 18:46 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-29 18:50 [PATCH v3 1/3] usb: gadget: ccid: add support for USB CCID Gadget Device Marcus Folkesson
2018-05-29 18:50 ` Marcus Folkesson
2018-05-29 18:50 ` [v3,1/3] " Marcus Folkesson
2018-05-29 18:50 ` [PATCH v3 2/3] Documentation: usb: add documentation " Marcus Folkesson
2018-05-29 18:50   ` Marcus Folkesson
2018-05-29 18:50   ` [v3,2/3] " Marcus Folkesson
2018-05-29 20:27   ` [PATCH v3 2/3] " Randy Dunlap
2018-05-29 20:27     ` Randy Dunlap
2018-05-29 20:27     ` [v3,2/3] " Randy Dunlap
2018-05-30 11:34     ` [PATCH v3 2/3] " Marcus Folkesson
2018-05-30 11:34       ` Marcus Folkesson
2018-05-30 11:34       ` [v3,2/3] " Marcus Folkesson
2018-05-29 18:50 ` [PATCH v3 3/3] MAINTAINERS: add " Marcus Folkesson
2018-05-29 18:50   ` Marcus Folkesson
2018-05-29 18:50   ` [v3,3/3] " Marcus Folkesson
2018-05-30  0:55 ` [PATCH v3 1/3] usb: gadget: ccid: add support for " Andy Shevchenko
2018-05-30  0:55   ` Andy Shevchenko
2018-05-30  0:55   ` [v3,1/3] " Andy Shevchenko
2018-05-30 11:24   ` [PATCH v3 1/3] " Marcus Folkesson
2018-05-30 11:24     ` Marcus Folkesson
2018-05-30 11:24     ` [v3,1/3] " Marcus Folkesson
2018-05-30 11:30     ` [PATCH v3 1/3] " Greg Kroah-Hartman
2018-05-30 11:30       ` Greg Kroah-Hartman
2018-05-30 11:30       ` [v3,1/3] " Greg Kroah-Hartman
2018-05-30 12:13       ` [PATCH v3 1/3] " Marcus Folkesson
2018-05-30 12:13         ` Marcus Folkesson
2018-05-30 12:13         ` [v3,1/3] " Marcus Folkesson
2018-05-30 12:20         ` [PATCH v3 1/3] " Greg Kroah-Hartman
2018-05-30 12:20           ` Greg Kroah-Hartman
2018-05-30 12:20           ` [v3,1/3] " Greg Kroah-Hartman
2018-05-30 12:28 ` [PATCH v3 1/3] " Felipe Balbi
2018-05-30 12:28   ` [v3,1/3] " Felipe Balbi
2018-05-30 14:04   ` [PATCH v3 1/3] " Marcus Folkesson
2018-05-30 14:04     ` Marcus Folkesson
2018-05-30 14:04     ` [v3,1/3] " Marcus Folkesson
2018-06-08 18:54     ` [PATCH v3 1/3] " Marcus Folkesson
2018-06-08 18:54       ` Marcus Folkesson
2018-06-08 18:54       ` [v3,1/3] " Marcus Folkesson
2018-06-18  8:22       ` [PATCH v3 1/3] " Felipe Balbi
2018-06-18  8:22         ` [v3,1/3] " Felipe Balbi
2018-06-22 16:48         ` [PATCH v3 1/3] " Marcus Folkesson
2018-06-22 16:48           ` Marcus Folkesson
2018-06-22 16:48           ` [v3,1/3] " Marcus Folkesson
2018-07-10 18:46           ` Marcus Folkesson [this message]
2018-07-10 18:46             ` [PATCH v3 1/3] " Marcus Folkesson
2018-07-10 18:46             ` [v3,1/3] " Marcus Folkesson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180710184617.GA5839@gmail.com \
    --to=marcus.folkesson@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=balbi@kernel.org \
    --cc=corbet@lwn.net \
    --cc=davem@davemloft.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=kstewart@linuxfoundation.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mchehab+samsung@kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=ruslan.bilovol@gmail.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.