versions puzzle with mifare card reader

92 views
Skip to first unread message

toni incog

unread,
Apr 1, 2016, 5:40:27 AM4/1/16
to BeagleBoard
Hi,
I have a  working acr122U usb card reader @bbb|g:

1.bbb, wheezy, kernel 4.1.18-r56
2.bbg, wheezy, kernel 3.8.13-bone71.1 (ex works Debian Image 2015-03-01)

with following recipe:

modprobe.d/rfid-blacklist
blacklist pn533
blacklist nfc

apt-get install libpcsclite1 pcsc-tools pcscd libacsccid1

nice.

But now I pimped a bbg to jessie and latest kernel and it fails:

sudo pcscd -f --error
00000935 ifdwrapper.c:371:IFDStatusICC() Card not transacted: 612
00000555 eventhandler.c:233:EHSpawnEventHandler() Initial Check Failed on ACS ACR122U 00 00
00000514 readerfactory.c:361:RFAddReader() ACS ACR122U init failed.
00042066 hotplug_libudev.c:501:HPAddDevice() Failed adding USB device: ACS ACR122U
03016030 ccid_usb.c:798:ReadUSB() read failed (1/4): -7 Resource temporarily unavailable

Seems the only diff is jessie vs wheezy. But somehow it can't read the usb like the blacklist didn't work.

Ideas? I'm out of.

toni incog

unread,
Apr 1, 2016, 6:58:12 AM4/1/16
to BeagleBoard
fired-up an amd64 jessie and that is working even without libacsccid1, puzzling.

Joshua Datko

unread,
Apr 1, 2016, 9:08:03 AM4/1/16
to beagl...@googlegroups.com

Maybe another option is to use libnfc? IIRC, that was all user space and didn't require the kernel driver.

On Apr 1, 2016 04:58, "toni incog" <toni....@gmail.com> wrote:
fired-up an amd64 jessie and that is working even without libacsccid1, puzzling.

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

toni incog

unread,
Apr 1, 2016, 10:32:05 AM4/1/16
to BeagleBoard
pcsc-lite is a userspace solution, the blacklist is to prevent kernel modules interfering. It's libnfc that's using the kernel drivers?
Anyway, thanks but I can fall back to wheezy. Just curious where it goes bananas. Now trying latest 'offical' jessie release.

google asking me to post again? I really don't get this webbased eventually inconsistent crap. And why 2 post buttons.. Well here we go (again)

Josh Datko

unread,
Apr 1, 2016, 12:51:35 PM4/1/16
to beagl...@googlegroups.com
On Fri, 2016-04-01 at 07:32 -0700, toni incog wrote:
> pcsc-lite is a userspace solution, the blacklist is to prevent kernel
> modules interfering. It's libnfc that's using the kernel drivers?
> Anyway, thanks but I can fall back to wheezy. Just curious where it
> goes bananas. Now trying latest 'offical' jessie release.

Ah ok. I've been playing around with the Adafruit PN532 breakout shield
and their FDTI cable (not on a BBB, but soon I'll migrate to that) with
libnfc.

The card emulation example worked which was cool. I have a low
expectation of nfc things working on linux though :)

My use case is pretty simple, read a NDEF text message from a forum 2
tag and write a NDEF text message to a forum 2 tag.

This info may not be interesting/helpful to you but I've encountered
few NFC hackers out there so I'd figured I'd share.

>
> google asking me to post again? I really don't get this webbased
> eventually inconsistent crap. And why 2 post buttons.. Well here we
> go (again)

Yeah, google groups :( If you subscribe you can pretty much respond to
mail the old fashion way in a old-school mail client though and not
bother with any of the google stuff.


toni

unread,
Apr 1, 2016, 2:48:10 PM4/1/16
to beagl...@googlegroups.com
On 01-04-16 18:51, Josh Datko wrote:
> The card emulation example worked which was cool. I have a low
> expectation of nfc things working on linux though :)

For simple read/write via java pcsc-lite works like a charm for mifare
cards. It only takes a lot of time to figure out those silly protocols.

> Yeah, google groups :( If you subscribe you can pretty much respond to
> mail the old fashion way in a old-school mail client though and not
> bother with any of the google stuff.

That is a good idea! thx!

I now have tested/concluded that all jessie version are broken w.r.t.
acr122u. Somehow the driver (libacsccid1) isn't used..



Reply all
Reply to author
Forward
0 new messages