LinHES Forums http://forums.linhes.org/ |
|
Saving test_ioctl changes? http://forums.linhes.org/viewtopic.php?f=1&t=114 |
Page 1 of 1 |
Author: | Galaga [ Thu Nov 13, 2003 10:51 pm ] |
Post subject: | Saving test_ioctl changes? |
How do I save changes made with test_ioctl over reboots? -Galaga |
Author: | voltCraft [ Fri Nov 14, 2003 8:21 am ] |
Post subject: | |
You can write test_ioctl including your options, in the .xinitrc. Every time X11 starts test_ioctl applies your parameters. Rene |
Author: | Galaga [ Sat Nov 15, 2003 10:05 am ] |
Post subject: | |
So i created a file called .xinitrc Put this command in it: test_iotcl -y mute=0 and saved it in the MythTv user's home directory. Doesn't seem to work. Where should i put this file? |
Author: | cesman [ Sat Nov 15, 2003 1:55 pm ] |
Post subject: | |
Put it in ~/.fvwm/.fvwm2rc Place it before:KnoppMyth-run cesman |
Author: | Dale [ Sat Nov 15, 2003 8:48 pm ] |
Post subject: | |
cesman wrote: Put it in ~/.fvwm/.fvwm2rc
Place it before:KnoppMyth-run cesman Is this the place for it, cesman?? Or is /etc/modutils/User the right place ?? |
Author: | cesman [ Sat Nov 15, 2003 9:36 pm ] |
Post subject: | |
For backup purposes it is probably best there. cesman |
Author: | ken [ Tue Nov 18, 2003 11:08 am ] |
Post subject: | |
cesman wrote: Put it in ~/.fvwm/.fvwm2rc
Place it before:KnoppMyth-run cesman I did exactly that and it still does not set the mute to 0 when I reboot. This is what I have at the end of my /home/mythtv/.fvwm/.fvwm2rc file exec xset -dpms s off & #Remove the comment to start motion #exec motion #Remove the comment to start irxevents #exec irxevent & exec test_ioctl -y mute=0 exec KnoppMyth-run # End Is their something in the boot process that always sets the value mute=1? |
Author: | cesman [ Tue Nov 18, 2003 12:08 pm ] |
Post subject: | |
ken wrote: Is their something in the boot process that always sets the value mute=1?
No. I don't know why some folks are having this problem while others are not. I myself have never seen this issue. Please check the ivtv archive to see how this may be solved. http://www.poptix.net/ivtv/ cesman |
Author: | zaphod [ Tue Nov 18, 2003 5:30 pm ] |
Post subject: | |
Good info on creating Debian equivalent of rc.local: http://www.desktop-linux.net/debian-rclocal.htm |
Author: | sanborn [ Fri Dec 19, 2003 1:12 am ] |
Post subject: | mute=1 problem |
I have a pvr 350 with the same issue. The way i fixed it (don't tell anyone, this sucks but it works) is by renaming mythfrontend to mythfrontend.org and created a new script called mythfrontend in its place and put this in it: /usr/local/bin/test_ioctl -y mute=0 /usr/bin/mythfrontend.org Make sure the file is chmod 755 and that will fix your problem for now. Just remember that any update to Myth will overwrite your file. sorry for the sucky fix. |
Author: | britthouser [ Thu Jan 22, 2004 7:37 pm ] |
Post subject: | |
I tried editing the /etc/init.d/set_ivtv_params to set the mute off when the system booted up. This worked, but only temparily. As soon as KnoppMyth-run ran, it reset back to muted. So I edited /usr/local/bin/KnoppMyth-run file and changed line 15 from: CMD2='sleep 2 ; killall xawtv ; sleep 1 ; exec mythfrontend ' to: CMD2='sleep 2 ; killall xawtv ; sleep 1 ; test_ioctl -y mute=0; sleep 1; exec mythfrontend ' That should be all on one line BTW. This seemed todo the trick. Again another hack, but it works! |
Author: | zardoz [ Fri Jan 23, 2004 5:41 am ] |
Post subject: | |
i had the same issue, and this /home/mythtv/.fvwm/.fvwm2rc solved my problem : ---[SNIP]--- exec /usr/local/bin/test_ioctl -d /dev/video0 -u 0xff exec /usr/local/bin/test_ioctl -d /dev/video16 -u 0xff exec /usr/local/bin/test_ioctl -d /dev/video32 -u 0xff exec /usr/local/bin/test_ioctl -d /dev/video224 -u 0xff exec /usr/local/bin/test_ioctl -y mute=0 exec mythfrontend --logfile /var/log/mythtv/mythfrontend.log #exec KnoppMyth-run # End the 0xff stuff is for PAL-countrys. hth zardoz |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |