Potential eid-mw/MacOS issue with 2 readers connected to a 4-port USB hub.

224 views
Skip to first unread message

r9zv9n

unread,
May 8, 2018, 9:56:15 AM5/8/18
to eID Middleware Dev
Hello, 

Environment: 

I'm using a 4 port USB hub to which I connect 2 readers (readers are the same make and model). The hub plugs into a MacBook USB-C port. 

Issue: 

Depending on the ports used I either get the "expected" result below, which is fine, or the "actual" result below, which is not fine as the MW won't manage to read data off of the card. Please note that it's not always the same 2-port combination that gives the issue. Are there any known issues with multiple readers plugged into multi-port USB hubs? I exclude an actual hardware error with the hub ports as the MW works fine if using a single reader in all 4 ports. 

USB System Info: 

USB 3.0 Bus:


  Host Controller Driver: AppleUSBXHCISPTLP

  PCI Device ID: 0x9d2f 

  PCI Revision ID: 0x0021 

  PCI Vendor ID: 0x8086 


USB3.0 Hub:


  Product ID: 0x0620

  Vendor ID: 0x05e3  (Genesys Logic, Inc.)

  Version: 93.01

  Speed: Up to 5 Gb/sec

  Manufacturer: GenesysLogic

  Location ID: 0x14500000 / 35

  Current Available (mA): 900

  Current Required (mA): 0

  Extra Operating Current (mA): 0


USB2.0 Hub:


  Product ID: 0x0610

  Vendor ID: 0x05e3  (Genesys Logic, Inc.)

  Version: 93.01

  Speed: Up to 480 Mb/sec

  Manufacturer: GenesysLogic

  Location ID: 0x14100000 / 34

  Current Available (mA): 500

  Current Required (mA): 100

  Extra Operating Current (mA): 0


Smart Card Reader USB:


  Product ID: 0x3021

  Vendor ID: 0x076b  (HID Global GmbH)

  Version: 3.02

  Speed: Up to 12 Mb/sec

  Manufacturer: OMNIKEY AG

  Location ID: 0x14130000 / 39

  Current Available (mA): 500

  Current Required (mA): 100

  Extra Operating Current (mA): 0


Smart Card Reader USB:


  Product ID: 0x3021

  Vendor ID: 0x076b  (HID Global GmbH)

  Version: 3.02

  Speed: Up to 12 Mb/sec

  Manufacturer: OMNIKEY AG

  Location ID: 0x14120000 / 40

  Current Available (mA): 500

  Current Required (mA): 100

  Extra Operating Current (mA): 0


Expected behaviour: 

Found readers: 
(
    "OMNIKEY AG CardMan 3121 01",
    "Card reader #-1758445976"

with slot numbers (
    0,
    1
).

Actual behaviour: 

Found readers:
 (
    "Card reader #-1758445976",
    "Card reader #-1758445976"

with slot numbers (
    0,
    0
).

Thank you,
Razvan. 

Frederik Vernelen

unread,
May 8, 2018, 10:02:49 AM5/8/18
to r9zv9n, eID Middleware Dev
Hello,

Is that an unpowered hub you are using?

We've seen similar issues where a macbook air couldn't supply enough power to support multiple devices attached to a usb hub.(e.g. usb hard disk, mouse, card reader).
Only the card reader attached would work fine however, powering the usb hub also worked.

Wkr,
 Frederik

--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-dev+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

r9zv9n

unread,
May 8, 2018, 10:09:23 AM5/8/18
to eID Middleware Dev
Thanks for the prompt reply. 

- It sometimes works -- that is, the two readers are recognised properly as per the "Expected Behaviour" and inserting the card in one of them will lead to the MW reading the data, and 
- It's not always the same two ports that give the issue. 

I was unable to find an exact flow to follow to reproduce the issue. It seems to be pretty random so far. 

Is there any specific test(s) you want me to run that could provide you more info? 

Thanks, 
Razvan. 

r9zv9n

unread,
May 8, 2018, 10:10:52 AM5/8/18
to eID Middleware Dev
USB hub's *not* powered (somehow I removed this from my previous reply :)). 

Wouter Verhelst

unread,
May 8, 2018, 10:12:03 AM5/8/18
to eid-middl...@googlegroups.com

In that case, please try with a powered hub? If that fixes the issue, then... well ;-)

Yes, even if you've tried more readers in the past, that may still be the reason. Hardware sucks :-(

--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-...@googlegroups.com.

Razvan Popescu

unread,
May 8, 2018, 10:14:05 AM5/8/18
to Wouter Verhelst, eid-middl...@googlegroups.com
I don’t have one atm, will try that as soon as I can get my hands on one, thanks. 

Razvan. 

Razvan Popescu

unread,
May 9, 2018, 8:06:06 AM5/9/18
to Wouter Verhelst, eid-middl...@googlegroups.com
[Haven't got a powered USB hub yet but] note the following -- when the MW replies with: 

Found readers:
 (
    "Card reader #-1758445976",
    "Card reader #-1758445976"

with slot numbers (
    0,
    0
).

if I do an [eIDOSLayerBackend selectReader: 1]; // Note selecting 1 here even though the MW reports slot 0 twice. 

then the MW is able to read the data off of the card just fine. 

Thanks, 
Razvan. 
Reply all
Reply to author
Forward
0 new messages