There is a patch for tvtime to support mixers from alsa devices:
http://www.stapelspeicher.org/tvtime/patches/experimental/
With that patch it supposed that you can use something like:
tvtime --mixer=hw:1/Line
I haven't tried that patch. I made a simple script for volume control
#!/bin/sh DEVICE=hw:CARD=ICH5 CONTROL=iface=MIXER,numid=21 VOL=`amixer -D $DEVICE cget $CONTROL | grep ":" | cut -d"=" -f2 | cut -d"," -f1` zenity --scale --value $VOL --print-partial --min-value=0 --max-value=31 --text Volumen --title "Volumen de TV" | xargs -n 1 amixer -D $DEVICE cset $CONTROL
There is a patch for tvtime to support mixers from alsa devices:
http:// www.stapelspeic her.org/ tvtime/ patches/ experimental/
With that patch it supposed that you can use something like:
tvtime --mixer=hw:1/Line
I haven't tried that patch. I made a simple script for volume control
#!/bin/sh iface=MIXER, numid=21
DEVICE=hw:CARD=ICH5
CONTROL=
VOL=`amixer -D $DEVICE cget $CONTROL | grep ":" | cut -d"=" -f2 | cut -d"," -f1`
zenity --scale --value $VOL --print-partial --min-value=0 --max-value=31 --text Volumen --title "Volumen de TV" | xargs -n 1 amixer -D $DEVICE cset $CONTROL