LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-14-2005, 09:27 PM   #1
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Rep: Reputation: 30
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.
 
Old 06-14-2005, 09:36 PM   #2
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
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.
 
Old 06-14-2005, 09:45 PM   #3
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
The devices I want to change permissions for are the ones in the /dev/v4l directory.

How do I do this with udev?
 
Old 06-14-2005, 09:57 PM   #4
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Option 1: (the easy way)

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:

Code:
# v4l devices
KERNEL="video[0-9]*",	NAME="v4l/video%n", SYMLINK="video%n", GROUP="video"
KERNEL="radio[0-9]*",	NAME="v4l/radio%n", GROUP="video"
KERNEL="vbi[0-9]*",	NAME="v4l/vbi%n", SYMLINK="vbi%n", GROUP="video"
KERNEL="vtx[0-9]*",	NAME="v4l/vtx%n", GROUP="video"
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.
 
Old 06-15-2005, 10:52 AM   #5
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Hmmm. . . I added mythtv to the "video" group but I still can't change channels. . .
 
Old 06-15-2005, 04:57 PM   #6
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
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.
 
Old 06-18-2005, 12:27 AM   #7
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
No, root can't do it either. Hmm. . .
 
Old 06-18-2005, 03:44 AM   #8
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
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?

http://www.mythtvtalk.com/forum/viewforum.php?f=7
http://www.gossamer-threads.com/lists/mythtv/
 
Old 06-18-2005, 04:04 AM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
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)
 
Old 06-20-2005, 12:50 PM   #10
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Which sort of tuner card are you using?
 
Old 06-20-2005, 01:05 PM   #11
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
I'm using an ATi TV Wonder Pro.

I didn't mention this, but I actually did get it to where I could change channels - but I get nothing but fuzz on all but two of them.
 
Old 06-20-2005, 02:54 PM   #12
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
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.
 
Old 06-20-2005, 03:02 PM   #13
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
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.
 
Old 06-20-2005, 03:22 PM   #14
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
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.
 
Old 06-20-2005, 04:11 PM   #15
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
OTA = Over The Air

Maybe the problem has something to do with this:

http://www.mythtv.info/moin.cgi/Hard...eoCaptureCards

Note:


Quote:
ATI All-in-Wonder cards

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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changing perms on hd bernstein DamnSmallLinux 6 04-04-2005 09:47 PM
Change security level via console? jdupre Fedora 6 03-10-2005 09:24 AM
Xserver screen locking/virtual console security rfarma5 Linux - Security 2 06-23-2004 05:36 PM
cdrw perms doralsoral Linux - Software 0 05-06-2004 10:26 PM
ripperX perms doralsoral Linux - Software 5 05-02-2004 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration