Em Sat, 18 Jul 2009 14:22:51 -0400 acano@xxxxxxxxxxx escreveu: > How do you control the i2s volume output on empia boards? the em28xx chip doesn't control volume. This is done at the audio chip. For ac97 chips, the volume is inside the em28xx driver, since we don't have a v4l2 device driver for it yet. On the cases where the volume is on an i2s chips like msp34xx, the volume control is done at the i2c driver, that should be exporting such controls via v4l2 dev/subdev API, by calling: v4l2_device_call_all(&dev->v4l2_dev, 0, core, s_ctrl, ctrl); This way, any application can control the volume via the proper ioctl's. While trying to see why are you asking this, I noticed that the em28xx driver, due to historic reasons, had an implementation that may cause confusion. I just add there two patches that will make it clearer. There aren't any functional changes with those patches (I tested here on devices with msp34xx and with ac202 ac97), except for the fact that now the qv4l2 will show the volume as a slider. Cheers, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html