summaryrefslogtreecommitdiff
path: root/v4l2-apps/util/v4l2-sysfs-path.c
AgeCommit message (Collapse)Author
2009-08-26v4l2-sysfs-path: fix compile warning.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-08-23v4l2-sysfs-path: print device minor/major of the associated devicesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Instead of just printing the associated devices, go further and display the device major/minors and the associated event interface. The output will look like: device = /dev/video0 bus info = usb-0000:00:1d.7-8 sysfs path = /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-8 Associated devices: usb_endpoint:usbdev1.8_ep00 (dev 252,20) i2c-adapter:i2c-4 input:input9:event6 (dev 13,70) sound:pcmC1D0c (dev 116,9) sound:dsp1 (dev 14,19) sound:audio1 (dev 14,20) sound:controlC1 (dev 116,10) sound:mixer1 (dev 14,16) dvb:dvb0.frontend0 (dev 212,0) dvb:dvb0.demux0 (dev 212,1) dvb:dvb0.dvr0 (dev 212,2) dvb:dvb0.net0 (dev 212,3) Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-22v4l2-sysfs-path: print the subdevs associated with that deviceMauro Carvalho Chehab
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>
2009-02-13v4l2-apps: rename v4l2_sysfs_path to v4l2-sysfs-pathHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> All other tools use - instead of the awkward-to-type underscore, so rename v4l2_sysfs_path to be consistent with the others. Please pay attention to existing nameing conventions the next time someone adds a tool. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>