Looks like video_register_device(VFL_TYPE_GRABBER) is not called from anywhere that may be reason of not seeing "/dev/video0"
On Dec 22, 2:43 pm, sachinikam <[email protected]> wrote: > Hi, > > I have a Logitech USB camera connected on my board. > I have also enabled the CONFIG variables for V4L2 by menuconfig. > When I do fd = open("/dev/video0", O_RDWR) it fails saying that no > such file > or directory. > Then through shell I checked for the file /dev/video0 but it wasn't > present > there. > > When I connect camera I can see the serial message for camera is > connected and its details. > I want to know when I connect the USB Camera who creates the /dev/ > video0 file? > Do I need to create it in init.rc file? I believe V4L2 framework > should do it? > How does the V4L2 will be invoked when USB camera is connected who > initializes it? > If I want to get the preview frames from V4L2 is the /dev/video0 > right > file? > > I get the following message on Serial port:- > usb 2-1.2: USB disconnect, address 5 > usb 2-1.5: new full speed USB device using tegra-ehci and address 6 > usb 2-1.5: New USB device found, idVendor=046d, idProduct=08af > usb 2-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0 > usb 2-1.5: configuration #1 chosen from 1 choice > > Quick help will be appreciated. > > Thanks in advance. > Sachin Nikam. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

