[mythtv-users] PATCH for M179 on ivtv-0.6.1

Dennis Lou dlou99 at yahoo.com
Tue Apr 11 06:11:15 UTC 2006

The Aver M179 has a broken volume control.
In earlier versions of ivtv, you could set
the volume but it wouldn't do anything.  It
would always remain at 65535.  In ivtv 0.6.1
volume control for the M179 has been disabled.
However, Myth will abort opening mpeg recorder if
it can't set the volume.  This proposed patch
allows it to continue in this case.


Index: mpegrecorder.cpp
--- mpegrecorder.cpp    (revision 9667)
+++ mpegrecorder.cpp    (working copy)
@@ -363,9 +363,8 @@

     if (ioctl(chanfd, VIDIOC_S_CTRL, &ctrl) < 0)
-        cerr << "Error setting codec params\n";
+        cerr << "Can't set audio volume (are you
using an M179?\n";
-        return false;

     if (vbimode) {

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the mythtv-users mailing list