Re: detection usb camera devices in my own application

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

 



On Thu, 21 Jul 2011, Sudarshan Jagadale wrote:

> I want to use these camera in my frame work so i need to use /dev/video0
> device and those are mapped at /proc/bus/input/devices.. but if some one
> removes kernel module to use another kernel module for another camera then
> this information lost and again regenerats it for another camera... \
> 
> my requirment is to support the multiple camera types on single system...
> like i want to support logitech camera and quanta camera ...and both has
> their own Kernel  driver module....
> 
> so there will  be rmmod for one kernel module and insmod for another one...

Why?  Can't you have both kernel modules loaded at the same time?

> so instead of using information from /proc/bus/input/devices i have to
> generats it from usb driver so that it will not lost after kernel driver
> removed...
> 
> basically there are two main infromation in addition of vendor and product
> those are bus_info and device name ..i have no clue how to generate bus info

What do you mean by "bus info"?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux