[mythtv-users] Backend consolidation, round 3.

Nick Rout nick.rout at gmail.com
Wed Jul 21 06:53:20 UTC 2010


On Wed, Jul 21, 2010 at 5:39 PM, Clay <ctmythtv at pacbell.net> wrote:
> Nick Rout wrote:
>>
>> On Wed, Jul 21, 2010 at 3:20 PM, Nick Rout <nick.rout at gmail.com> wrote:
>>>
>>> On Wed, Jul 21, 2010 at 3:02 PM, Clay <ctmythtv at pacbell.net> wrote:
>>>>
>>>> New Asus P5KPL, new E5400...
>>>> Installed, imported DB... fought mysql for a couple hours. PVR-150s are
>>>> working. Enough for one night. Gave up @ 0300. Deal with the DVB cards
>>>> tomorrow...
>>>>
>>>> Get home tonight. Fresh recordings. oh boy! Everything is wonderful on
>>>> the
>>>> analog side.
>>>>
>>>> Delete all the cards, sources, etc. (want the DVB cards first).
>>>>
>>>> Now none of the fucking cards are recognized...
>>>>
>>>> mythtv-setup... failed to open could not get card info for card
>>>> /dev/dvb/bla
>>>>
>>>> cat: /dev/video0: Permission denied
>>>>
>>>> What the fuck is going on?
>>>>
>>>> Why the fuck this work last night and not today.
>>>>
>>>> I never should have fuckin upgraded...
>>>>
>>>> fuckit I'll fix that fucking permission denied shit.
>>>>
>>>> sudo chown -R /dev/video*
>>>>
>>>> and, now for another night of googling
>>>
>>> what are the dvb cards?
>>>
>>> what does dmesg tell you about detection of the cards?
>>>
>>> Did you cold boot so that any firmware would be loaded afresh?
>>>
>>> Distro?
>>>
>>> what permissions/ownership DOES /dev/vidoe0 have (the user you are
>>> loggged in as may not have permission to go there, it's the user that
>>> runs mythbackend that needs to!)
>>>
>>> Sorry some of these questions may be answered in your earlier threads,
>>> but I see no reason to search them out. :)
>>>
>>
>> Oh and PS, your chown script will not survive a reboot, the
>> permissions are set by your udev system. Most myth distros set them
>> right.
>
> Doesn't matter anyway... I see the PVR-150s get random assignments every
> time I reboot. If I ever get this pos close enough to call it good I'll be
> exploring udev rules (and never restarting or updating...)

I can see you are understandably frustrated.

A couple of pointers arising out of your last two messages:

1. mythbuntu runs with mythbackend running as user mythtv. user mythtv
is a member of the video group and your setup shows that group has rw
access to /dev/video{0,1,2}

2. it also runs with the user you create on install running
mythfrontend. So the backend and frontend run as different users.

3.  You have 3 /dev/video{0,1,2} - do you have 3 pvr150s or is there
another device which comes up as /dev/videoN ?? If so then the order
they come up in can indeed be a problem. If you have a webcam or
something, unplug it until you sort everything else then adjust your
udev rules so you get consistent naming.

4. I am not familiar with ATSC cards, but I do have DVB-S cards. The
do not create /dev/videoX nodes, but rather /dev/dev/adapterX nodes
(that have other dirs and nodes below too). Again you may be getting
naming issues depending what order they come up in.


More information about the mythtv-users mailing list