| | |
tvtime and audio
![]() |
•
•
Join Date: Jan 2004
Posts: 5
Reputation:
Solved Threads: 0
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-...m/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.
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-...m/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.
•
•
•
•
Originally Posted by salvatore
So the question is: how do I kill the audio as a non-root user?
Thanks.
You could also install and configure sudo so every user in group wheel can run commands without a password using sudo command (just make sure the users actually belong to group wheel.)
I've never came across this issue, so I don't have a working fix for it (I also don't use RedHat/Fedora) so I don't know all the specifics regarding this, but maybe one of these suggestions helps...
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
•
•
Join Date: Jan 2004
Posts: 5
Reputation:
Solved Threads: 0
Adding the users to the wheel group is the only thing I havent tried, and should only use that as a last resort, as I dont want to allow an accidental: $ sudo rm -Rf
Thanks for the reply.
Thanks for the reply.
Can you specify 'modprobe -r bttv' or just 'modprobe' though in the sudoers file? If you can have any user in a 'tvusers' group to be able to 'modprobe -r bttv' using sudo, that would be your safest bet. (I think.) I'm sure you wouldn't want to have everyone be able to run 'modprobe <any module>'. For obvious reasons.
Even if you are the only user of the machine, it just isn't good practice.
Even if you are the only user of the machine, it just isn't good practice. PARANOIA:
A healthy understanding of the way the universe works.
A healthy understanding of the way the universe works.
![]() |
Similar Threads
- News Story: Google Sounds off on New Audio Search Tool (Search Engine Optimization)
- Capturing CD audio (Game Development)
- amateur coders needed , project in audio streaming (C++)
- audio (Windows 95 / 98 / Me)
Other Threads in the *nix Hardware Configuration Forum
- Previous Thread: Fedora
- Next Thread: stdio.h, makefile, modem driver installation
Views: 7041 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for *nix Hardware Configuration
360 acer amazon amd applications asus babbage blind bluray canon cellphone censorship centrino ces china chips chipset computers console data dell development dvd ebook eeepc environment epson europe fashion flexibleworking free freedom fsc gadget gaming gps gpu graphics handset hardware hd hddvd history homersimpson hp ibm intel japan keyboardpc kindle ladies laptop law linux markets memory microsoft mobile motoring museum netbook news notebook nvidia nvidiago7600 overclocking patents pc peripherals photography playstation politics printer printing processor quadcore quake recycle replication reviews rim robot satnav screenflicker sgi simpsons sony speed spot startrek supercomputing technology tomtom toshiba tv ubuntu usb wireless x-rayspecs xbox





