hw_codec_read_byte
if (hw_codec_read_byte(dev) == 0xaa)
major = hw_codec_read_byte(dev);
minor = hw_codec_read_byte(dev);