On Freitag, 30. Januar 2009, Carsten Meier wrote:
> Am Fri, 30 Jan 2009 03:07:07 +0100
>
> schrieb hermann pitton <hermann-pit...@arcor.de>:
> > Hi,
> >
> > Am Mittwoch, den 28.01.2009, 16:46 +0100 schrieb Carsten Meier:
> > > Hello again,
> > >
> > > now I've managed to obtain syfs-pathes for v4l2-devices. But what
> > > about dvb? I haven't found something like bus_info in the
> > > dvb-api-docs. (I'm new to it) Any hints for this?
> > >
> > > Thanks,
> > > Carsten
> >
> > I'm also still new on it ...
> >
> > Maybe anything useful here?
> >
> > cat /sys/class/dvb/dvb0.frontend0/uevent
> > MAJOR=212
> > MINOR=0
> > PHYSDEVPATH=/devices/pci0000:00/0000:00:08.0/0000:01:07.0
> > PHYSDEVBUS=pci
> > PHYSDEVDRIVER=saa7134
> >
> > Cheers,
> > Hermann
>
> Hi,
>
> IMHO there is no other way (not counting other daemons) than scanning
> the dvb-device-files, stat() them, and compare major and minor numbers
> with sysfs-contents. Anyway, I think I'll switch to HAL for that...
>

One way of asking udev is this:
udevadm info -q path -n /dev/dvb/adapter0/frontend0

Regards
Matthias
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to