[android-developers] Composite USB Android Driver user space Connection

2010-01-06 Thread Madhu Rao
Hi All,

i have one query related to android USB composite drivers,
can anybody tell me from where android_adb_enable (android.c) driver open
and release functions are getting called from userspace.

i can see following file opens the driver, is it correct? or is there any
other location?
system/core/adb/usb_linux_client.c

because when i disable the above code also composite driver is working fine,
so i just wonder from where it is getting called.

Thanks in Advance,
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

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

2009-12-23 Thread Madhu Rao
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+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en