Re: [v4l/dvb] identification/ fixed registration order of DVB cards

2010-10-07 Thread Matthias Weber
Ok, this was a typo. # Create a symlink /dev/dvb/adapter100 pointing to dvb card with PCI bus id 04:00.0 SUBSYSTEM=="dvb", KERNEL==":04:00.0", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter100/%%s $${K#*.}'", SYMLINK+="%c" It works for creating a SYMLINK, so adapter0 and adapter

Re: [v4l/dvb] identification/ fixed registration order of DVB cards

2010-10-07 Thread Matthias Weber
>Can't this be forced using udev rules? udev seems to be a good way. I tried several different configurations.. my last one (file called '50-dvb_cards.rules'): # Create a symlink /dev/dvb/adapter104 pointing to dvb card with PCI bus id 04:00.0 SUBSYSTEM=="dvb", KERNEL==":04:00.0", PROGRAM="

[v4l/dvb] identification/ fixed registration order of DVB cards

2010-10-06 Thread Matthias Weber
Hello, we are using two identical DVB cards (TT-budget S2-1600) in one system. How can we assure that the same card always are assigned to the same device file /dev/dvb/adapter0 (/dev/dvb/adapter1 respectively). Short example: Is the card in the first PCI slot always /dev/dvb/adapter0 and th

Re: libdvbsec - trying to control DiSEqC positioner

2010-08-12 Thread Matthias Weber
Hi. We are trying to use the libdvbsec-api from the dvb-apps package (/dvb_apps/lib/libdvbsec) to build our own DiSEqC positioner control. It's going to implement a kind of USALS/GotoX/GotoXX/DiSEqC1.3, whatever you want to call it (there's no hardware receiver provided atm). But at the moment th