AP_HAL RCInput @ NAVIO won't work

The example in the AP_HAL/RCInput won’t work on NAVIO board (with RPI2), but the example in the RC_Channel works fine. Also the RCOutput works fine. Any suggestions what could be wrong ?

For some reason hal.rcin->num_channels() returns 0