Re: How can I find out what is the driver for device node '/dev/video11'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks. I don't have the a running hardware.
If I can only search within the code space, how can I find out which
driver is for '/dev/video11'?

Is there a config file which I can look it up?

Thank you.

On Wed, Jan 8, 2014 at 10:56 AM, Devin Heitmueller
<dheitmueller@xxxxxxxxxxxxxx> wrote:
> On Wed, Jan 8, 2014 at 1:50 PM, m silverstri
> <michael.j.silverstri@xxxxxxxxx> wrote:
>> In linux kernel, a device (e.g. codec) can register as a file (e.g.
>> /dev/video11).
>>
>> How can I find out from the code which driver is registered as
>> '/dev/video11'. i.e. what is the driver will be invoked when I
>> open('/dev/video11', O_RDWR,0) in my user space code?
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-media" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> The QUERYCAP ioctl() will tell you the driver name.
>
> http://linuxtv.org/downloads/v4l-dvb-apis/vidioc-querycap.html
>
> Devin
>
> --
> Devin J. Heitmueller - Kernel Labs
> http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux