discover: Add device_{request,release}_write