* [PATCH] ccid: Update to version 1.3.10
@ 2009-04-08 16:13 Dirk 'Virk' Van Haerenborgh
2009-04-08 16:32 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Dirk 'Virk' Van Haerenborgh @ 2009-04-08 16:13 UTC (permalink / raw)
To: openembedded-devel
---
conf/checksums.ini | 4 ++++
recipes/ccid/ccid_1.3.10.bb | 21 +++++++++++++++++++++
2 files changed, 25 insertions(+), 0 deletions(-)
create mode 100644 recipes/ccid/ccid_1.3.10.bb
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 2e8e264..08f9892 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -3326,6 +3326,10 @@ sha256=015c4237a532b873990aeeecdf351138ce5a811d062d6db73c611a4985de5435
md5=b8c51a2e3cccb381428426c0fc543244
sha256=f1e44d628cc4cbac192bf33f492ad8d1e1988cae576924128df36f3638e9a485
+[http://alioth.debian.org/download.php/2924/ccid-1.3.10.tar.bz2]
+md5=92220d7b7b0aae7bc141b09ba529458c
+sha256=54610f1a6cd65e8d2b5cb9f7917e509ebcdf130a565e71e06ad4e65ed0dad5ec
+
[http://alioth.debian.org/download.php/2482/ccid-1.3.8.tar.bz2]
md5=ebb5fc927d73cd63737a9114481e8957
sha256=8cb892ef36321069eff7826aa732f1481715fe54bf96346fae1d25565b44c536
diff --git a/recipes/ccid/ccid_1.3.10.bb b/recipes/ccid/ccid_1.3.10.bb
new file mode 100644
index 0000000..37f74eb
--- /dev/null
+++ b/recipes/ccid/ccid_1.3.10.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Generic USB CCID smart card reader driver"
+HOMEPAGE = "http://pcsclite.alioth.debian.org/ccid.html"
+LICENSE = "GPL"
+PR = "r0"
+
+DEPENDS = "libusb pcsc-lite"
+RDEPENDS = "pcsc-lite"
+
+SRC_URI = "http://alioth.debian.org/download.php/2924/ccid-${PV}.tar.bz2"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-udev"
+
+do_install_append () {
+ install -d "${D}/etc/udev/rules.d"
+ install -m 644 "${S}/src/pcscd_ccid.rules" "${D}/etc/udev/rules.d/85-pcscd_ccid.rules"
+}
+
+FILES_${PN} += "${libdir}/pcsc/"
+FILES_${PN}-dbg += "${libdir}/pcsc/drivers/*/*/*/.debug"
--
1.6.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ccid: Update to version 1.3.10
2009-04-08 16:13 [PATCH] ccid: Update to version 1.3.10 Dirk 'Virk' Van Haerenborgh
@ 2009-04-08 16:32 ` Koen Kooi
2009-04-08 17:03 ` Stanislav Brabec
2009-04-09 10:02 ` Stanislav Brabec
0 siblings, 2 replies; 4+ messages in thread
From: Koen Kooi @ 2009-04-08 16:32 UTC (permalink / raw)
To: openembedded-devel
On 08-04-09 18:13, Dirk 'Virk' Van Haerenborgh wrote:
> +++ b/recipes/ccid/ccid_1.3.10.bb
> @@ -0,0 +1,21 @@
> +PR = "r0"
Drop that
> +DEPENDS = "libusb pcsc-lite"
> +RDEPENDS = "pcsc-lite"
> +EXTRA_OECONF = "--enable-udev"
Shouldn't something like RRECOMMENDS_${PN} = "udev" be there as well?
regards,
Koen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ccid: Update to version 1.3.10
2009-04-08 16:32 ` Koen Kooi
@ 2009-04-08 17:03 ` Stanislav Brabec
2009-04-09 10:02 ` Stanislav Brabec
1 sibling, 0 replies; 4+ messages in thread
From: Stanislav Brabec @ 2009-04-08 17:03 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-devel
Koen Kooi wrote:
> > +DEPENDS = "libusb pcsc-lite"
> > +RDEPENDS = "pcsc-lite"
>
> > +EXTRA_OECONF = "--enable-udev"
>
> Shouldn't something like RRECOMMENDS_${PN} = "udev" be there as well?
Yes. But actually even better would be upgrade of pcsc-lite. New
pcsc-lite version has hotplug support (udev/hal) and hotplug should work
even without 85-pcscd_ccid.rules. At least "opensc-tool -l" will see the
reader immediately. I have a reader, but no supported card. I will be
glad if you can confirm that in a real application.
Another question is DEPENDS for libusb or libusb1? With libusb you will
not have interrupt transfers. With libusb1 it should be able to use
interrupt transfers, but some people reported problems.
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz
Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ccid: Update to version 1.3.10
2009-04-08 16:32 ` Koen Kooi
2009-04-08 17:03 ` Stanislav Brabec
@ 2009-04-09 10:02 ` Stanislav Brabec
1 sibling, 0 replies; 4+ messages in thread
From: Stanislav Brabec @ 2009-04-09 10:02 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-devel
Koen Kooi wrote:
> > +DEPENDS = "libusb pcsc-lite"
> > +RDEPENDS = "pcsc-lite"
>
> > +EXTRA_OECONF = "--enable-udev"
>
> Shouldn't something like RRECOMMENDS_${PN} = "udev" be there as well?
Yes. But I think that the latest pcsc-lite itself has hotplug support
via udev or hal and hotplug should work without 85-pcscd_ccid.rules. At
least "opensc-tool -l" see the reader immediately. I have a reader, but
no supported card. I will be glad if you can confirm that in a real
application.
Another question is DEPENDS. Should it be libusb or libusb1? With libusb
you will not have interrupt transfers enabled. With libusb1 it should be
able to use interrupt transfers, but some people reported problems in
past. In the final 1.0 version it should be fixed.
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz
Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-09 10:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-08 16:13 [PATCH] ccid: Update to version 1.3.10 Dirk 'Virk' Van Haerenborgh
2009-04-08 16:32 ` Koen Kooi
2009-04-08 17:03 ` Stanislav Brabec
2009-04-09 10:02 ` Stanislav Brabec
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.