Finally had the appetite to look into this issue.

Still not working :( my investigations so far:

Folder permissions:
By default
/dev/dvb is root root
/dev/dvb/adapter0 is root root

/dev/dvb/apater0/demux0 is root video
/dev/dvb/apater0/dvr0 is root video
/dev/dvb/apater0/frontend0 is root video
/dev/dvb/apater0/net0 is root video

I created a udev rule in 41-mythtv-permissions.rules
SUBSYSTEM=="dvb", GROUP="mythtv"

I then ran:
sudo udevadm test /sys/class/dvb/dvb0.frontend0/

I could see the group being set in the test results, and then being set back in 
a subsequent rule (rule 50)

So I renamed the rule to 51-mythtv-permissions.rules

I ran the test again, this time my group was set last, yay :)

Rebooted the box, the permissions now are:
/dev/dvb is root root

/dev/dvb/adapter0 is root root


/dev/dvb/apater0/demux0 is root mythtv

/dev/dvb/apater0/dvr0 is root mythtv

/dev/dvb/apater0/frontend0 is root mythtv

/dev/dvb/apater0/net0 is root mythtv

So I feel upbeat and try Mythfrontend and I get the dreaded "all tuners busy"  
:(


Now I'm just confused! Maybe the video group was just fine all along?? Maybe 
the issue is a mythtv configuration issue? is it trying to access 
/dev/dvb/adapter0 but it should be trying to access /dev/dvb/adapater0/dvr0 ??

Yours,
      Perplexed!!






> To: ubuntu-mythtv@lists.ubuntu.com
> From: e...@shubes.net
> Date: Sat, 26 May 2012 12:00:05 -0700
> Subject: Re: [ubuntu-mythtv] Your post: Upgraded to 12.04 and now having DVB 
> permission issues - I have the same issue...
> 
> http://www.reactivated.net/writing_udev_rules.html#ownership
> 
> On 05/24/2012 01:22 PM, Mario Limonciello wrote:
> > Paul,
> >
> > I actually don't have the problem, I was trying to help someone on that
> > thread who was having it.  Don't really have a solution right now.  What
> > did you upgrade from that didn't have it?  Maybe the best thing to do is
> > isolate when it was working last so can find out how it broke to
> > determine how to fix it.
> >
> > On Wed, May 23, 2012 at 4:15 PM, Paul Clark
> > <p...@aghast.co.uk
> > <mailto:p...@aghast.co.uk>> wrote:
> >
> >     Hello
> >
> >     I hope you don't me emailing you directly.  I discovered your post
> >     when googling and I'm having exactly the same issue.  After
> >     upgrading to 12.04 my /dev/dvb device permissions are set to
> >     root:root after a reboot which causes a 'all tuners busy' problem in
> >     MythTV.  Like you I worked out I could fix this by doing a chmod but
> >     the permissions get reset after a reboot.
> >
> >     I've tried to work out how to change this using udev but nothing
> >     seems to work.
> >
> >     Did you find a solution to the problem?
> >
> >     Cheers, Paul
> >
> >
> >
> >
> >
> > --
> > Mario Limonciello
> > supe...@gmail.com <mailto:supe...@gmail.com>
> >
> >
> 
> 
> -- 
> -Eric 'shubes'
> 
> 
> -- 
> Ubuntu-mythtv mailing list
> Ubuntu-mythtv@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-mythtv
                                          
-- 
Ubuntu-mythtv mailing list
Ubuntu-mythtv@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mythtv

Reply via email to