maestro3 hardware volume control
mat at cnd.mcgill.ca
Fri May 27 04:43:16 PDT 2005
On May 27, Pyun YongHyeon wrote:
> hint.pcm.0.hwvol_config="0" : select GD(game port interface) pin 6, 7
> hint.pcm.0.hwvol_config="1" : select GPIO pin 4,5
> If there is no hint the driver select GD pin 6, 7.
> In my system selecting GD pins didn't work and a comment at the
> beginning of the driver source indicates it didn't ever work. So I'd
> like to change to select GPIO pins as a default hardware volume
> control. For users needs to select GD pins it could be easily done
> with hint.pcm.0.hwvol_config="0" in /boot/device.hints file.
> But I think there are no such users since device.hints file had no
> such entry.
Sorry for the second followup. I think the man page could use
the first paragraph. I'm not sure what the policy is for
device.hints, maybe it should have a commented out line as an example,
but you patch should improve thing to have a reasonable default so it
won't be necessary.
More information about the freebsd-multimedia