How to enumerate video devices?
Hi,
What is the best method to enumerate video devices, so that a program
can display a list of present hardware in/outputs? Just iterating over /dev/video0 to /dev/videoSomeHighNumber seems a bit 'unprofessional'.
(BTW I'm also looking for the right way of enumerating framebuffer
devices...)
I didn't find anything in the api-spec nor at google (perhaps I had
the wrong searchphrases?).
Please enlighten me. ;-)
Lars.
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
Hi Lars,
Quoted 6 lines · Lars Hanisch
Hi,
What is the best method to enumerate video devices, so that a program
can display a list of present hardware in/outputs? Just iterating over/dev/video0to/dev/videoSomeHighNumberseems a bit 'unprofessional'.
Quoted 7 lines
(BTW I'm also looking for the right way of enumerating framebuffer
devices...)I didn't find anything in the api-spec nor at google (perhaps I had
the wrong searchphrases?).Please enlighten me. ;-)
Check /sys/class/video4linux
Best regards,
Laurent Pinchart
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list