Implement availablePorts

Implement availablePorts for udev version.
Update portinfo.di.