-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

It's not just the ordering of readers that is the issue. I ran across
this problem just now:

https://paulphilippov.com/articles/how-to-fix-device-not-accepting-address-error

... so plugged the ACS reader into a docking station port, thinking it
would be able to supply more power. The ACS reader started working
again, but even though it is still the first reader in the list, gpg2
can't talk to it:

dmesg output:

[34471.749264] usb 2-1.4: new full-speed USB device number 22 using
ehci-pci
[34471.821260] usb 2-1.4: device descriptor read/64, error -32
[34471.997172] usb 2-1.4: device descriptor read/64, error -32
[34472.173381] usb 2-1.4: new full-speed USB device number 23 using
ehci-pci
[34472.245303] usb 2-1.4: device descriptor read/64, error -32
[34472.421236] usb 2-1.4: device descriptor read/64, error -32
[34472.597175] usb 2-1.4: new full-speed USB device number 24 using
ehci-pci
[34473.002996] usb 2-1.4: device not accepting address 24, error -32
[34473.077029] usb 2-1.4: new full-speed USB device number 25 using
ehci-pci
[34473.482909] usb 2-1.4: device not accepting address 25, error -32
[34473.484910] usb 2-1-port4: unable to enumerate USB device
[34765.026312] usb 1-1.1.2: new full-speed USB device number 9 using
ehci-pci
[34765.121888] usb 1-1.1.2: New USB device found, idVendor=072f,
idProduct=90cc
[34765.121898] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[34765.121903] usb 1-1.1.2: Product: CCID USB Reader
[34765.121907] usb 1-1.1.2: Manufacturer: ACS


agallagher@itchy:~$ opensc-tool -l
# Detected readers (pcsc)
Nr.  Card  Features  Name
0    Yes             ACS ACR 38U-CCID 00 00
1    No              Broadcom Corp 5880 [Contacted SmartCard]
(0123456789ABCD) 01 00
agallagher@itchy:~$ gpg2 --card-status
gpg: selecting openpgp failed: Card not present
gpg: OpenPGP card not available: Card not present
agallagher@itchy:~$ opensc-explorer
OpenSC Explorer version 0.14.0
Using reader with a card: ACS ACR 38U-CCID 00 00
OpenSC [3F00]> ls
FileID  Type  Size
 004F    wEF    16
 005E    wEF     0
[0065]    DF    28
[006E]    DF   217
[007A]    DF     5
 00C4    wEF     7
 0101    wEF     0
 0102    wEF     0
 5F50    wEF    46
 5F52    wEF    10
 7F21    wEF     0
[A400]    DF   527
 A401    wEF   527
[B600]    DF   527
 B601    wEF   527
[B800]    DF   527
 B801    wEF   527


Unfortunately it seems that since kernel 2.6.38 there is no longer a
reliable way to cut power to an internal USB device, so I can now only
use my PGP card with a 50% success rate on this machine - short of
cracking open the case and disconnecting the internal broadcom reader.

This basically screws my intended use of this PGP card.

- -- 
Andrew Gallagher
Internetworking and Security Engineer, Ward Solutions Ltd.
Unit 2054 Castle Drive, Citywest, Dublin 24
+353 87 1200174
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJVQOmCAAoJENW/k7AUpJcAra4H/2OdYKakHJ1DsQOPvrc9prJ6
juiiXV+EqiBjpA32gbZUUjbGv/bW8MfylkXic0cJAWikFsvJAMvAB016F3Y6O2rK
jbLgvD/hhBWjHn6KjanjvmgyML5XTtYSGbWN1D00ojvOzlclWDaJo0CnCLyRz6Us
nwVPJXPDx85OLAy9jSvuVjse9Z+AxkgaxMbetbJHkJ0CLC1Ni4HtXueAIejYx57C
o/RvR+CyyizJFXSwRRaVanR7fu10CZCHXs+G2fYf3MGlIhp6UC+ArdK7X73UAkYW
TiVqJS6cd+zS1h1vE3D7z8bRg5tcV9OK9iyMKmMZSJULMD6fp+EnBvBaL3nemaA=
=p5nQ
-----END PGP SIGNATURE-----

The information in this email and any attachments contain confidential 
information and is intended only for the individual named. If you are not the 
named addressee you should not disseminate, distribute or copy this e-mail, the 
attachments or any part thereof. Please notify the sender immediately by e-mail 
if you have received this e-mail by mistake and delete this e-mail from your 
system. E-mail transmission cannot be guaranteed to be secure or error-free as 
information could be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete, or contain viruses. The sender therefore does not accept liability 
for any errors or omissions in the contents of this message which arise as a 
result of e-mail transmission. If verification is required please request a 
hard-copy version. Unless expressly stated, this email is not intended to 
create any contractual relationship. If this email is not sent in the course of 
the senders employment or fulfilment of his/her duties to Ward Solutions, Ward 
Solutions accepts no liability whatsoever for the content of this message or 
any attachment(s). Ward Solutions Ltd. Registered in Republic of Ireland at 
2054 Castle Drive, CityWest Business Campus, Dublin 24 Reg. No. 316165. 

Reply via email to