Write class of device

This is needed in order for some devices to see the dongle