library/epb: make data inout