Re: How to know which camera is /dev/videoX

2009-12-27 Thread Kuninori Morimoto
Dear Guennadi, Andy Thank you for your help !! It is possible to identify it by this method. check videoX /sys/bus/soc-camera/devices/0-0/video4linux:video0 /sys/bus/soc-camera/devices/1-0/video4linux:video1 get name /sys/bus/soc-camera/devices/0-0/control/name -> mt9t112 /sys/bus/soc-camera/

Re: How to know which camera is /dev/videoX

2009-12-25 Thread Andy Walls
On Fri, 2009-12-25 at 10:54 +0900, Kuninori Morimoto wrote: > Dear Guennadi > > Now my board (EcoVec) can use 2 soc-camera (mt9t112 / tw9910), > and mt9t112 can attach/detach. > > If mt9t112 is attached, > /dev/video0 = mt9t112 > /dev/video1 = tw9910 > > But if mt9t112 is detached, it will > /de

Re: How to know which camera is /dev/videoX

2009-12-25 Thread Guennadi Liakhovetski
Hello Morimoto-san On Fri, 25 Dec 2009, Kuninori Morimoto wrote: > > Dear Guennadi > > Now my board (EcoVec) can use 2 soc-camera (mt9t112 / tw9910), > and mt9t112 can attach/detach. > > If mt9t112 is attached, > /dev/video0 = mt9t112 > /dev/video1 = tw9910 > > But if mt9t112 is detached, it

How to know which camera is /dev/videoX

2009-12-24 Thread Kuninori Morimoto
Dear Guennadi Now my board (EcoVec) can use 2 soc-camera (mt9t112 / tw9910), and mt9t112 can attach/detach. If mt9t112 is attached, /dev/video0 = mt9t112 /dev/video1 = tw9910 But if mt9t112 is detached, it will /dev/video0 = tw9910 Now I would like to know which camera is /dev/video0. my /dev/