Friday, December 25, 2009

[android-developers] Re: V4L2:"/dev/video0" is not generated when USB Camera is connected

Hi Madhu,
> You are conneceting one Digital camera to your android dev phone(target)
> right?
Yes.

> Are you using which usb driver functinaalities(ex:pictbridge or otg)?
uvc that is USB Video Class
> I have one doubt whether android is supporting otg ? if its supporting
> please can you clarify me?
I need to check, it should.
> Cn you clarify me your device have any usb composite functionalites ?
no.

After enabling UVC, vfl2 regisrtation happened by it, when the camera
is plugged and "/dev/video0" file gets generated.


On Dec 23, 10:12 pm, Madhu Rao <andmadhur...@gmail.com> wrote:
> Hi Sachin,
>
> On Tue, Dec 22, 2009 at 3:47 PM, sachinikam <sachini...@gmail.com> wrote:
> > 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 <sachini...@gmail.com> wrote:
> > > Hi,
>
> > > I have a Logitech USB camera connected on my board.
>
> You are conneceting one Digital camera to your android dev phone(target)
> right?
> Are you using which usb driver functinaalities(ex:pictbridge or otg)?
> I have one doubt whether android is supporting otg ? if its supporting
> please can you clarify me?
> Cn you clarify me your device have any usb composite functionalites ?
>
>
>
>
>
> > > 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.
>
> > Thanks,
>
>     Madhu
>
>
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com<android-developers%2Bunsubs­cribe@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate