* Howto obtain sysfs-pathes for DVB devices? @ 2009-01-28 15:46 Carsten Meier 2009-01-30 2:07 ` hermann pitton 0 siblings, 1 reply; 6+ messages in thread From: Carsten Meier @ 2009-01-28 15:46 UTC (permalink / raw) To: linux-media 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Howto obtain sysfs-pathes for DVB devices? 2009-01-28 15:46 Howto obtain sysfs-pathes for DVB devices? Carsten Meier @ 2009-01-30 2:07 ` hermann pitton 2009-01-30 11:19 ` Carsten Meier 0 siblings, 1 reply; 6+ messages in thread From: hermann pitton @ 2009-01-30 2:07 UTC (permalink / raw) To: Carsten Meier; +Cc: linux-media 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Howto obtain sysfs-pathes for DVB devices? 2009-01-30 2:07 ` hermann pitton @ 2009-01-30 11:19 ` Carsten Meier 2009-01-30 11:51 ` Matthias Schwarzott 0 siblings, 1 reply; 6+ messages in thread From: Carsten Meier @ 2009-01-30 11:19 UTC (permalink / raw) To: hermann pitton; +Cc: linux-media Am Fri, 30 Jan 2009 03:07:07 +0100 schrieb hermann pitton <hermann-pitton@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... Cheers, Carsten ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Howto obtain sysfs-pathes for DVB devices? 2009-01-30 11:19 ` Carsten Meier @ 2009-01-30 11:51 ` Matthias Schwarzott 2009-01-30 12:23 ` Carsten Meier 0 siblings, 1 reply; 6+ messages in thread From: Matthias Schwarzott @ 2009-01-30 11:51 UTC (permalink / raw) To: Carsten Meier; +Cc: hermann pitton, linux-media On Freitag, 30. Januar 2009, Carsten Meier wrote: > Am Fri, 30 Jan 2009 03:07:07 +0100 > > schrieb hermann pitton <hermann-pitton@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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Howto obtain sysfs-pathes for DVB devices? 2009-01-30 11:51 ` Matthias Schwarzott @ 2009-01-30 12:23 ` Carsten Meier 2009-01-30 12:45 ` Matthias Schwarzott 0 siblings, 1 reply; 6+ messages in thread From: Carsten Meier @ 2009-01-30 12:23 UTC (permalink / raw) To: Matthias Schwarzott; +Cc: hermann pitton, linux-media Am Fri, 30 Jan 2009 12:51:03 +0100 schrieb Matthias Schwarzott <zzam@gentoo.org>: > On Freitag, 30. Januar 2009, Carsten Meier wrote: > > Am Fri, 30 Jan 2009 03:07:07 +0100 > > > > schrieb hermann pitton <hermann-pitton@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 Ok, then I think I'm gonna use it... :) It's much more simple than struggling through dbus-/hal-libs and the various unfinished c++ bindings, although I normally don't like to start system-tools from c++. Or is there any c-api for it? I haven't found one. Thanks, Carsten ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Howto obtain sysfs-pathes for DVB devices? 2009-01-30 12:23 ` Carsten Meier @ 2009-01-30 12:45 ` Matthias Schwarzott 0 siblings, 0 replies; 6+ messages in thread From: Matthias Schwarzott @ 2009-01-30 12:45 UTC (permalink / raw) To: Carsten Meier; +Cc: hermann pitton, linux-media On Freitag, 30. Januar 2009, Carsten Meier wrote: > Am Fri, 30 Jan 2009 12:51:03 +0100 > > > > One way of asking udev is this: > > udevadm info -q path -n /dev/dvb/adapter0/frontend0 > > > > Regards > > Matthias > > Ok, then I think I'm gonna use it... :) It's much more simple than > struggling through dbus-/hal-libs and the various unfinished c++ > bindings, although I normally don't like to start system-tools from c++. > Or is there any c-api for it? I haven't found one. > There is a in development version of libudev contained since udev-127. But its API is not yet stable I think. Regards Matthias ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-01-30 12:45 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-01-28 15:46 Howto obtain sysfs-pathes for DVB devices? Carsten Meier 2009-01-30 2:07 ` hermann pitton 2009-01-30 11:19 ` Carsten Meier 2009-01-30 11:51 ` Matthias Schwarzott 2009-01-30 12:23 ` Carsten Meier 2009-01-30 12:45 ` Matthias Schwarzott
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox