[mythtv-users] tuner numbering

Hika van den Hoven hikavdh at gmail.com
Thu Feb 27 20:57:00 UTC 2014


Hoi Daryl,

Thursday, February 27, 2014, 9:47:31 PM, you wrote:

> On Thu, Feb 27, 2014 at 3:25 PM, Hika van den Hoven <hikavdh at gmail.com> wrote:
>> Hoi Daryl,
>>
>> Thursday, February 27, 2014, 9:20:10 PM, you wrote:
>>
>>> On Thu, Feb 27, 2014 at 1:20 PM, Roger Siddons <dizygotheca at ntlworld.com> wrote:
>>>> On Thu, 27 Feb 2014 16:38:01 -0000, Daryl McDonald <darylangela at gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>> Because it had no positive effect, I've removed the "10-" from the
>>>>> "digital-card.rule" and it would seem to me that:
>>>>
>>>>
>>>> Interesting. All the guides I've seen suggest putting rules at low numbers
>>>> but, after trying it, I agree that it doesn't appear to make any difference.
>>>>
>>>>
>>>>>
>>>>> daryl at daryl-A780L3C:~$ ls -l /dev/dvb*
>>>>> lrwxrwxrwx 1 root root 22 Feb 27 09:33 /dev/dvbHP1250 ->
>>>>> dvb/adapter6/frontend0
>>>>>
>>>>> the above query says that the modprobe option and the symlink script
>>>>> are functional for the HP1250 and not for the PC800i.
>>>>
>>>>
>>>> No. That's probably being created by your capture-card.rules, as Hika
>>>> pointed out.
>>>>
>>>>
>>>>>
>>>>> Clutching at straws here, but does the module blacklist that I have
>>>>> implemented have anything to do with this:
>>>>>
>>>>> #Modules from PCTV tuner that interfere with stb control
>>>>> blacklist rc_pinnacle_pctv_hd
>>>>> ir_lirc_codec
>>>>>
>>>>> Above is the only thing I've done to that card specifically.   Daryl
>>>>
>>>>
>>>> Not sure, but it won't affect your Leadtek Winfast PxDVR3200
>>>>
>>>> What I have just discovered is that running 'udevadm test' with a wildcard
>>>> '*' only seems to report the first adapter found - adapter0 in your case. I
>>>> assumed it would test all adapters. I guess we're not seeing anything
>>>> because the Leadfast is sitting on your other adapter, as that old symlink
>>>> suggests (6? You probably still have some -nr options configured) and the
>>>> 2nd rule isn't yet working because of the incorrect device id.
>>>>
>>>> So;
>>>>
>>>> 1. Fix your device id: 0x08802 -> 0x8802
>>>> 2. Try
>>>>
>>>> udevadm test $(udevadm info -q path -n /dev/dvb/adapter6/dvr0)
>>>> and
>>>> udevadm test $(udevadm info -q path -n /dev/dvb/adapter0/dvr0)
>>>>
>>>> 3. I'm not sure how your capture-cards.rules ended up but it also seems to
>>>> be detecting 'dvb' devices. It would be advisable to disable it (rename it
>>>> to capture-cards.disabled) whilst you're running these tests. Remember to
>>>> enable it again before you reboot though...
>>>>
>>>> 4. As you're on Mythbuntu I'm pretty sure you have /bin/sh installed. Even
>>>> if it wasn't, we would still see the rule reported in
>>>> "udev_rules_apply_to_event"; it just won't create the DEVLINKS
>>>>
>>>> _______________________________________________
>>>> mythtv-users mailing list
>>>> mythtv-users at mythtv.org
>>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>>> MythTV Forums: https://forum.mythtv.org
>>
>>> Hoi Hika, I did try your suggestions and still no symlinks.
>>
>>> Hi Roger, I commented out the changes Hika suggested, corrected the
>>> device ID, disabled my capture-card.(rules), and still the udevadm
>>> tests show no symlinks:
>>
>>> DEVNAME=/dev/dvb/adapter6/dvr0
>>> DEVPATH=/devices/pci0000:00/0000:00:04.0/0000:02:00.0/dvb/dvb6.dvr0
>>> DVB_ADAPTER_NUM=6
>>> DVB_DEVICE_NUM=0
>>> DVB_DEVICE_TYPE=dvr
>>> MAJOR=212
>>> MINOR=2
>>> SUBSYSTEM=dvb
>>> TAGS=:udev-acl:
>>> UDEV_LOG=6
>>> USEC_INITIALIZED=26583154
>>> run: 'udev-acl --action=add --device=/dev/dvb/adapter6/dvr0'
>>> daryl at daryl-A780L3C:~$
>>
>>> DEVNAME=/dev/dvb/adapter0/dvr0
>>> DEVPATH=/devices/pci0000:00/0000:00:14.4/0000:04:01.2/dvb/dvb0.dvr0
>>> DVB_ADAPTER_NUM=0
>>> DVB_DEVICE_NUM=0
>>> DVB_DEVICE_TYPE=dvr
>>> MAJOR=212
>>> MINOR=6
>>> SUBSYSTEM=dvb
>>> TAGS=:udev-acl:
>>> UDEV_LOG=6
>>> USEC_INITIALIZED=28980305
>>> run: 'udev-acl --action=add --device=/dev/dvb/adapter0/dvr0'
>>
>>> Both still showing:
>>
>>> parse_file: reading '/etc/udev/rules.d/digital-card.rules' as rules file
>>> udev_rules_new: rules use 273360 bytes tokens (22780 * 12 bytes),
>>> 45302 bytes buffer
>>> udev_rules_new: temporary index used 77500 bytes (3875 * 20 bytes)
>>> udev_device_new_from_syspath: device 0x7ff54ddc02d0 has devpath
>>> '/devices/pci0000:00/0000:00:14.4/0000:04:01.2/dvb/dvb0.dvr0'
>>> udev_device_new_from_syspath: device 0x7ff54ddd29a0 has devpath
>>> '/devices/pci0000:00/0000:00:14.4/0000:04:01.2/dvb/dvb0.dvr0'
>>> udev_device_read_db: device 0x7ff54ddd29a0 filled with db file data
>>> udev_device_new_from_syspath: device 0x7ff54ddd2fc0 has devpath
>>> '/devices/pci0000:00/0000:00:14.4/0000:04:01.2'
>>> udev_device_new_from_syspath: device 0x7ff54ddd3ae0 has devpath
>>> '/devices/pci0000:00/0000:00:14.4'
>>> udev_device_new_from_syspath: device 0x7ff54ddd4090 has devpath
>>> '/devices/pci0000:00'
>>> udev_rules_apply_to_event: GROUP 44
>>> /lib/udev/rules.d/50-udev-default.rules:46
>>> udev_rules_apply_to_event: RUN 'udev-acl --action=$env{ACTION}
>>> --device=$env{DEVNAME}' /lib/udev/rules.d/70-udev-acl.rules:74
>>> udev_event_execute_rules: no node name set, will use kernel supplied
>>> name 'dvb/adapter0/dvr0'
>>> udev_node_add: creating device node '/dev/dvb/adapter0/dvr0',
>>> devnum=212:6, mode=0660, uid=0, gid=44
>>> udev_node_mknod: preserve file '/dev/dvb/adapter0/dvr0', because it
>>> has correct dev_t
>>> udev_node_mknod: preserve permissions /dev/dvb/adapter0/dvr0, 020660,
>>> uid=0, gid=44
>>> node_symlink: preserve already existing symlink '/dev/char/212:6' to
>>> '../dvb/adapter0/dvr0'  (or "adapter6" in the other case)    Daryl
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>> MythTV Forums: https://forum.mythtv.org
>>
>> Did you only try that test command or did you also try a reboot?
>>
>>
>> Tot mails,
>>   Hika                            mailto:hikavdh at gmail.com
>>
>> "Zonder hoop kun je niet leven
>> Zonder leven is er geen hoop
>> Het eeuwige dilemma
>> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>>
>> De lerende Mens
>> --
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org

> Only test command.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


I've no experience with that test command, but the ultimate test is a
reboot and checking the contents of /dev/dvb/*

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens
--



More information about the mythtv-users mailing list