LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   tvtime and audio (https://www.linuxquestions.org/questions/linux-software-2/tvtime-and-audio-152453/)

salvatore 03-01-2004 10:39 PM

tvtime and audio
 
Background:
OS is Fedora Core 1
Hardware is ATI TV Wonder VE
Software is tvtime 0.9.12
The Goal: To allow all the users of the machine (myself and two other members of the household) to watch tv without having to a) be root, or b) execute a separate command after tvtime exits to kill the audio.

(Snipped) Contents of /etc/modules.conf:
options bttv card=64
options tuner type=2
post-install bttv insmod tuner
post-remove bttv /sbin/rmmod -r bttv

I have the same issue as this post:
http://www.mail-archive.com/psyche-l.../msg18925.html

And have implemented a similar fix. This is the contents of the /usr/bin/run-tvtime file:
#!/bin/sh
tvtime
/sbin/modprobe -r bttv

The problem is that I dont want to run the tvtime app as root, and when I run it as a regular user, I get issues with modprobe. The run-tvtime script outputs on exit:
Thank you for using tvtime.
bttv: Operation not permitted
bttv: Device or resource busy

So the question is: how do I kill the audio as a non-root user?
Thanks.

ilikejam 03-02-2004 02:12 AM

Have you tried xawtv? I've never seen it exibit this sort of problem, unless I kill X with Ctrl-Alt-Backspace..

Dave

salvatore 03-02-2004 07:54 AM

I tried xawtv initially, and like the link I posted, it had the same problem.


All times are GMT -5. The time now is 02:21 PM.