examples: Modify listdev to exercise getPortNumberList .
Wrap kernel driver auto-detach API.