* How to enumerate video devices?
@ 2008-05-29 15:41 Lars Hanisch
2008-05-29 17:39 ` Laurent Pinchart
0 siblings, 1 reply; 2+ messages in thread
From: Lars Hanisch @ 2008-05-29 15:41 UTC (permalink / raw)
To: video4linux-list
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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to enumerate video devices?
2008-05-29 15:41 How to enumerate video devices? Lars Hanisch
@ 2008-05-29 17:39 ` Laurent Pinchart
0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2008-05-29 17:39 UTC (permalink / raw)
To: video4linux-list
Hi Lars,
On Thursday 29 May 2008, Lars Hanisch wrote:
> 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. ;-)
Check /sys/class/video4linux
Best regards,
Laurent Pinchart
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-29 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 15:41 How to enumerate video devices? Lars Hanisch
2008-05-29 17:39 ` Laurent Pinchart
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.