diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-08-22 23:17:30 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-08-22 23:17:30 -0300 |
commit | acfae2a2f2799047a9856f48803ed9d13d7f0e66 (patch) | |
tree | 9889212154d1ff511af1c613e500619d415a8442 /v4l2-apps/util/v4l2-dbg-ac97.h | |
parent | 0cba7f108664f9efc0e34a388c51cb943c72d68b (diff) | |
download | mediapointer-dvb-s2-acfae2a2f2799047a9856f48803ed9d13d7f0e66.tar.gz mediapointer-dvb-s2-acfae2a2f2799047a9856f48803ed9d13d7f0e66.tar.bz2 |
v4l2-sysfs-path: print the subdevs associated with that device
From: Mauro Carvalho Chehab <mchehab@redhat.com>
The sysfs interface stores links to the other devices associated with a
V4L link.
Improves this util to display those associated subdevices. This small
tool can be used inside other V4L applications to properly associate
audio, input, sound and dvb devices with a /dev/video? file.
device = /dev/video0
bus info = usb-0000:00:1d.7-8
sysfs path = /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-8
Subdevs: usb_endpoint:usbdev1.8_ep00 i2c-adapter:i2c-4 input:input8
sound:pcmC1D0c sound:dsp1 sound:audio1 sound:controlC1 sound:mixer1
dvb:dvb0.frontend0 dvb:dvb0.demux0 dvb:dvb0.dvr0 dvb:dvb0.net0
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l2-apps/util/v4l2-dbg-ac97.h')
0 files changed, 0 insertions, 0 deletions