[mythtv-users] Ceton Infinitv USB issues

Krys Allen allen.krys at gmail.com
Fri Feb 22 19:42:42 UTC 2013


Great info guys, ill see if I can't scratch something together.


On Fri, Feb 22, 2013 at 12:51 PM, Mike Perkins <mikep at randomtraveller.org.uk
> wrote:

> On 22/02/13 18:00, Ronald Frazier wrote:
>
>> On Fri, Feb 22, 2013 at 12:56 PM, Kris Jensen <kris.jensen.knj at gmail.com>
>> wrote:
>>
>>>
>>> On Fri, Feb 22, 2013 at 12:48 PM, Kris Jensen <kris.jensen.knj at gmail.com
>>> >
>>> wrote:
>>>
>>>>
>>>> On Fri, Feb 22, 2013 at 12:38 PM, Krys Allen <allen.krys at gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>> kris,
>>>>> very interesting, thanks... any chance I could see the rule you wrote
>>>>> for
>>>>> yours?
>>>>> thanks,
>>>>> -Krys
>>>>>
>>>>>
>>>>>
>>>>> mythtv-users mailing list
>>>>> mythtv-users at mythtv.org
>>>>> http://www.mythtv.org/mailman/**listinfo/mythtv-users<http://www.mythtv.org/mailman/listinfo/mythtv-users>
>>>>>
>>>>>
>>>> Sure. Keep in mind I am using the internal card version of the Ceton
>>>> Infinitv and not the USB version so the rule well differ (a lot).
>>>>
>>>> [/code_start]
>>>>
>>>> # MythTV Backend service
>>>>
>>>> description     "MythTV Backend"
>>>> author          "Mario Limonciello <superm1 at ubuntu.com>"
>>>>
>>>> start on (local-filesystems and net-device-up IFACE!=br0 and
>>>> ctn91xx-device-added KERNEL=ctn91xx_ctl1 and net-device-added
>>>> INTERFACE=br0
>>>> and started udev-finish)
>>>> stop on runlevel [016]
>>>>
>>>> kill timeout 10
>>>> respawn
>>>> respawn limit 2 3600
>>>>
>>>> pre-start script
>>>>      [ -x /usr/sbin/mysqld ] || exit 0
>>>>      for i in `seq 1 30` ; do
>>>>         /usr/bin/mysqladmin --defaults-file=/etc/mysql/**debian.cnf
>>>> ping &&
>>>> exit 0
>>>>         sleep .5
>>>>      done
>>>> end script
>>>>
>>>> script
>>>>          test -f /etc/default/locale && . /etc/default/locale || true
>>>>          LANG=$LANG exec /usr/bin/mythbackend --syslog local7 --user
>>>> mythtv
>>>> end script
>>>>
>>>>
>>>> [/code_end}
>>>>
>>>> Hope it helps.
>>>>
>>>
>>>
>>> Sorry I just realized that's not actually the udev rule. Its my back end
>>> start up script that I had to edit to start up the back end correctly
>>> with
>>> the Ceton card.
>>>
>>>   the is the udev rule.
>>>
>>> [/code-start]
>>>
>>> KERNEL=="ctn91xx_*", SYMLINK+="ceton/%k",
>>> MODE="0666",OWNER="root",**GROUP="root"
>>>
>>> [/Code_end]
>>>
>>>
>>> Hope it helps.
>>>
>>>
>> Note: that script will not work for the USB devices, as the ctn91xx*
>> dev entries do not get created. Those entries are only created for the
>> PCIe version. Now, there might be some alternate /dev entry you could
>> use to detect it, but I don't know what it would be
>>
>>  USB devices can always be picked out by subsystem and have an
> identifying "subsystem_vendor" and "susbsystem_device" code which can be
> used to nail them exactly. These codes are issued by the vendor so should
> never change.
>
> To find them, check dmesg for when the USB subsystem picks them up during
> boot. That will give you the values to use in your rule. There are example
> rules in that web page I pointed you to which link USB tuners.
>
> --
>
> Mike Perkins
>
>
> ______________________________**_________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/**listinfo/mythtv-users<http://www.mythtv.org/mailman/listinfo/mythtv-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130222/1c6560e4/attachment.html>


More information about the mythtv-users mailing list