[prev in list] [next in list] [prev in thread] [next in thread] 

List:       alsa-devel
Subject:    [alsa-devel] ALSA: hda: hdmi: Hint matching between input devices and pcm devices
From:       pierre-louis.bossart () linux ! intel ! com (Pierre-Louis Bossart)
Date:       2011-08-30 13:01:50
Message-ID: 000601cc6714$fc5caa80$f515ff80$ () bossart () linux ! intel ! com
[Download RAW message or body]

Hi Clemens,

> If the driver can detect ELD changes, it must inform userspace that
> the control has changed.  If there is no ELD, the _get callback should
> return an error, and the control should have been set to unreadable.

Bear with my ignorance of controls, but how does the driver 'inform
userspace that the control has changed'?

> > Or is there a way to link a control to a specify PCM device?
> 
> Yes: set .iface to _PCM instead of _MIXER (this will also prevent
> 'normal' mixers from showing this control, but a _BYTE control wouldn't
> be shown anyway), and set .device (and .subdevice, if appropriate) to
> the PCM device's (sub)device number.

This is exactly what I wanted, it makes things simpler. Thanks for the
explanation.
-Pierre


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic