SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't change channels in MythTV! (Was: Where's /etc/security/console.perms?)
I am currently setting up a system for MythTV. Everything's fine except I can't change channels! I read a thing on how to fix this, and it says to modify /etc/security/console.perms but it's not there, and the tutorial said this was known to work with Mandrakelinux. What's the Slackware equivalent of this file?
Last edited by NetRAVEN5000; 06-15-2005 at 10:53 AM.
There is no Slackware equivalent, unless you are running Dropline or have manually added PAM yourself.
Your problem would appear to be a permissions based one, based on you trying to resolve it with PAM. What device are you trying to modify the permissions for? Use udev or manually change the permissions of that device, depending on the kernel you are running.
Just add the user you wish to run as (mythuser or whatever name you decided to use) to the "video" group. udev already place v4l devices in the video group.
Then reboot.
Option 2: (the not quite as easy way)
open up /etc/udev/rules.d/udev.rules. Find a section that looks like this:
We don't like to edit this file directly, as this would lose our changes when we do future upgrades, so we copy that section to /etc/udev/rules.d/local.rules. The rules in local.rules are parsed before the rules in udev.rules, so the udev.rules ones are ignored.
Now, just change the group to some group your user is a member of. Or you can just add ", MODE="0777"" to the end of those lines. That would be a pretty terrible solution, though, so if you use it, try to tone the permissions down a bit.
The try as root to determine if it is a permissions issue. If it works for root, the problem is 99.99% permissions. If it doesn't work for root, you don't have the same problem that the solution you are looking at resolves, since the original resolution you posted was a fix for permission problems.
I'd offer some thoughts on what else it might be, but I had no trouble with mine in this regard. None that I know of, anyway. It may be a moot point for you, as it is for me. I change the channels externally, using one of the supplied scripts. The script I use changes the channel on my digital cable box via a serial cable (luckily, my motorola set top box accepts serial input, no IR blaster required).
Have you checked out the forums for users with the same tuner card?
Hmmm. . . I added mythtv to the "video" group but I still can't change channels. . .
Maybe the wrong tuner is used,
how does your /etc/modules.conf (kernel 2.4)
or /etc/modprobe.conf (2.6) look like ?
Also what is your TV card, chipset
(dmesg | grep bttv; lsmod)
Are you trying to tune OTA channels, or do you have cable hooked up? My regular TV's don't get mre than 2-4 channels that aren't static anyway, so I wouldn't expect much more from a tuner.
If you have standard cable, you will be using the tuner to change channels. Same with OTA. With Digital cable (I'd guess it's the same for Dish and DirectTV) you need to pass through the set top box first. This means you won't change channels with the tuner card, anyway.
shilo - what's OTA? The cable is hooked up directly to the tuner card, if that's what you're asking. There is no set top box for me to change channels with - my TV gets hooked directly to the cable. And I don't have digital cable or satellite TV - just standard cable.
If it helps to figure out the problem at all, "tvtime" works perfect. Also, I don't think I need the "ivtv" driver for my TV card, but I don't have it so I'll try it out.
Last edited by NetRAVEN5000; 06-20-2005 at 04:10 PM.
The [WWW]ATI drivers provide a kernel module for basic V4L support which allows for capturing video from the device as it is playing. They do not, however, provide the tuner functions necessary for MythTV to select channels. Instead, they implement their channel tuning using the Xv extensions of X-Windows. A solution might be to patch the MythTV source code to recognize the ATI hardware and use Xv frequency changing to change the channel rather than solely relying on the V4L tuning functions. Then it would depend on whether the V4L support for capture is adequate enough in the ATI drivers for MythTV to work. It also might be possible to use an externally called Xv channel changing utility to change the channels. The ATI All-in-Wonder card cannot (it is said elsewhere on the internet) send video across the PCI bus. It can only show video on the VGA output on the card. It is on this basis that neither the card nor drivers are appropriate for use with mythtv.
Though that is for the ATI All-in-Wonder cards, and your card (ATi TV Wonder Pro) is listed as working with the bttv driver. Are you using the bttv driver?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.