View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Nov 13, 2003 10:51 pm 
Offline
Joined: Tue Nov 11, 2003 9:13 am
Posts: 15
How do I save changes made with test_ioctl over reboots?

-Galaga


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 14, 2003 8:21 am 
Offline
Joined: Sun Nov 09, 2003 7:10 am
Posts: 11
You can write test_ioctl including your options, in the .xinitrc. Every time X11 starts test_ioctl applies your parameters.

Rene


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 15, 2003 10:05 am 
Offline
Joined: Tue Nov 11, 2003 9:13 am
Posts: 15
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?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 15, 2003 1:55 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Put it in ~/.fvwm/.fvwm2rc

Place it before:KnoppMyth-run

cesman


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 15, 2003 8:48 pm 
Offline
Site Admin
Joined: Fri Oct 31, 2003 11:40 pm
Posts: 357
Location: Irvine, Ca
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 ??


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 15, 2003 9:36 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
For backup purposes it is probably best there.

cesman


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 18, 2003 11:08 am 
Offline
Joined: Wed Nov 05, 2003 8:37 pm
Posts: 4
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?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 18, 2003 12:08 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 18, 2003 5:30 pm 
Offline
Joined: Sat Sep 27, 2003 9:46 am
Posts: 10
Good info on creating Debian equivalent of rc.local:

http://www.desktop-linux.net/debian-rclocal.htm


Top
 Profile  
 
 Post subject: mute=1 problem
PostPosted: Fri Dec 19, 2003 1:12 am 
Offline
Joined: Sun Dec 14, 2003 4:10 pm
Posts: 6
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 22, 2004 7:37 pm 
Offline
Joined: Thu Jan 22, 2004 7:13 pm
Posts: 11
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!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 23, 2004 5:41 am 
Offline
Joined: Sun Jan 11, 2004 3:01 pm
Posts: 25
Location: germany
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


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 58 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu