Comment 6 for bug 241379

Revision history for this message
Mathias Hasselmann (hasselmm) wrote :

Ok, that's the content of the info structure passed to the failing snd_ctl_hw_elem_info() call:

$1 = {id = {numid = 21, iface = 2, device = 0, subdevice = 0,
    name = "Master Playback Volume", '\0' <repeats 21 times>, index = 0}, type = 0, access = 0,
  count = 0, owner = 0, value = {integer = {min = 0, max = 0, step = 0}, integer64 = {min = 0,
      max = 0, step = 0}, enumerated = {items = 0, item = 0, name = '\0' <repeats 63 times>},
    reserved = '\0' <repeats 127 times>}, dimen = {d = {0, 0, 0, 0}, d_ptr = 0x0},
  reserved = '\0' <repeats 55 times>}

Seems SNDRV_CTL_IOCTL_ELEM_LIST reports existance of a "Master Playback Volume" channel, but SNDRV_CTL_IOCTL_ELEM_INFO cannot retreive the details.