Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396365 - app-crypt/ccid-1.4.5-r1: ebuild and patch with support for Broadcom BCM5880 Unified Security Hub
Summary: app-crypt/ccid-1.4.5-r1: ebuild and patch with support for Broadcom BCM5880 U...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2011-12-28 22:12 UTC by Martin Samek
Modified: 2011-12-29 22:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch adds support for BCM5800 (broadcom_5800.patch,1.50 KB, patch)
2011-12-28 22:13 UTC, Martin Samek
Details | Diff
Ebuild with patch and composite-dev use flag (ccid-1.4.5-r1.ebuild,1.04 KB, text/plain)
2011-12-28 22:14 UTC, Martin Samek
Details
Output of lsusb -v -d 0a5c:5801 (lsusb_out,8.29 KB, text/plain)
2011-12-29 18:13 UTC, Martin Samek
Details
Output of pcscd (pcscd_out,7.86 KB, text/plain)
2011-12-29 18:19 UTC, Martin Samek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Samek 2011-12-28 22:12:15 UTC
I have updated patch for ccid driver. This patch add support for Broadcom BCM5880 Unified Security Hub. This composite SmartCard contact/contactless reader can be found at some Dell Latitude laptops etc. There is also update ebuild for ccid with use flag composite-dev which enables support for multi readers (BCM5880 has SM contact slot, RFID contactless reader and fingerprint reader].

Reproducible: Always

Actual Results:  
BCM5880 is not supported

Expected Results:  
Support for BCM5880
Comment 1 Martin Samek 2011-12-28 22:13:36 UTC
Created attachment 297253 [details, diff]
Patch adds support for BCM5800
Comment 2 Martin Samek 2011-12-28 22:14:32 UTC
Created attachment 297255 [details]
Ebuild with patch and composite-dev use flag
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-12-29 16:30:56 UTC
Is this really needed? I have a BCM5880 myself and it seems to work properly out of the box nowadays (it didn't work, I had to fix it a long time ago). I also really don't want to enable the composite-as-multislot support, which I discussed with Ludovic before.

Can you provide a bit more detail on why do you recon the BCM5880 is not supported?
Comment 4 Martin Samek 2011-12-29 18:11:57 UTC
I'm sorry, but on my Sandy Bridge based Latitude E6420 laptop the contactless reader is not recognized by the ccid driver 1.4.5 from Portage tree. The contactless reader works for me with this patch applied and composite-as-multislot option enabled.

Output of my lsusb -v -d 0a5c:5801 is in the attached file.
Comment 5 Martin Samek 2011-12-29 18:13:30 UTC
Created attachment 297323 [details]
Output of lsusb -v -d 0a5c:5801
Comment 6 Martin Samek 2011-12-29 18:19:50 UTC
Created attachment 297325 [details]
Output of pcscd
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-12-29 20:50:16 UTC
emerge -pv pcscd please

I'm afraid that you're using the old libusb compatibility code that upstream basically does not support, try with udev.

Are you also sure it does not work? It might just find a single device, but have you tried with an RFID card at all?
Comment 8 Martin Samek 2011-12-29 21:41:44 UTC
Yes, that is the point. I recompiled pcsc-lite with udev -libusb. Now two devices are recognized and contactless reader is able to get data from RFID card. ccid 1.4.5 from portage.

Sorry for false bug.
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-12-29 22:53:22 UTC
I'd suggest sending the patch upstream so that Ludovic can integrate it, but I really would like not to add a patch for this or another USE flag.

I'll write down to enable the composite option when libusb is enabled in the next version bump, as both features are not suggested.