using camera with beagle Android ?+

Hi,

I tried enabling MMC support in Android kernel menuconfig as shown below for camera application

SCSI Device Support → Proble all LUNS on each SCSI device
USB Support → USB Mass Storage Support
and more :wink: n’t exactly sure. For your reference i have attached my .config as ConfigMMC

after enabling i’m able to see MMC Card being detected which is connected to beagle board via USB Card Reader.

The kernel messges is see is listed below

"
scsi 0:0:0:0: Direct-Access Generic- Compact Flash 1.00 PQ: 0 ANSI: 0 CCS
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 0:0:0:1: Direct-Access Generic- SM/xD-Picture 1.00 PQ: 0 ANSI: 0 CCS
sd 0:0:0:1: [sdb] Attached SCSI removable disk
sd 0:0:0:1: Attached scsi generic sg1 type 0
scsi 0:0:0:2: Direct-Access Generic- SD/MMC 1.00 PQ: 0 ANSI: 0 CCS
sd 0:0:0:2: [sdc] 7959552 512-byte hardware sectors: (4.07 GB/3.79 GiB)
sd 0:0:0:2: [sdc] Write Protect is off
sd 0:0:0:2: [sdc] Assuming drive cache: write through
sd 0:0:0:2: [sdc] 7959552 512-byte hardware sectors: (4.07 GB/3.79 GiB)
sd 0:0:0:2: [sdc] Write Protect is off
sd 0:0:0:2: [sdc] Assuming drive cache: write through
sdc: sdc1 sdc2
sd 0:0:0:2: [sdc] Attached SCSI removable disk
sd 0:0:0:2: Attached scsi generic sg2 type 0
scsi 0:0:0:3: Direct-Access Generic- MS/MS-Pro 1.00 PQ: 0 ANSI: 0 CCS
sd 0:0:0:3: [sdd] Attached SCSI removable disk
sd 0:0:0:3: Attached scsi generic sg3 type 0

mount -o rw -t ext3 /dev/block/sdc2 la1

kjournald starting. Commit interval 5 seconds
EXT3 FS on sdc2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.

mount -o rw -t msdos /dev/block/sdc1 sdcard

usb 1-1.4: USB disconnect, address 5

"

after this i tried mounting this sd card “mount -o rw -t ext3 /dev/block/sdc2 sdcard/”, it mounted properly and i’m able to see all contents inside folder named “sdcard”. But the Android application is still asking me to connect sdcard when i try running camera application. This SD card is not even visible in Android settings too. Pls guide me to make camera app running properly on BeagleBoard.

Thanks,
Suresh Kalidasan.

ConfigMMC (36.4 KB)

Can some one update in which path i can find source for Android camera flow; for me to debug.

Atlast Android took my SD card.

i used procedure as shown below

  1. Formatted SD Card with Fat16 using gparted and mounted with vfat as device.
  2. mount -o rw -t vfat /dev/block/sdc1 sdcard
  3. setprop EXTERNAL_STORAGE_STATE mounted
  4. am broadcast -a android.intent.action.MEDIA_MOUNTED --ez read-write false -d file:///sdcard

Now i think i need to add Camera in my menu-config and proceed further.

Thanks,
Suresh Kalidasan

Suresh,

Thanks for sharing the information.

Regards,
Shivdas Gujare

Beagle Board wrote:

Hi All,

I some how enabled drivers in menuconfig and now i think my webcam (Zebronics) is visible under Android Linux as vedio1 in /dev/ path. But i beleive i need to tell this to Android Camera application or may be some thing like broadcast :wink: not sure exactly. Can some one guide me how to do, so that when i start Camera app in Android Beagle board it should show pictures from webcam.

Thanks,
Suresh Kalidasan.

Hi All,

At last i have made a sample appliation which runs in Android OS on
Beagle Board.

The application i created is compiled with static libs of jpeg and
v4l. So no extra attachments required.

This application will capture real time image data from USB based
webcam (I used Logitech Quickcam Connect [http://www.logitech.com/
index.cfm/webcam_communications/webcams/devices/4260&cl=in,en]) and
will store the same in present working directory.

It initialises camera in JPEG output mode, and saves the data as
direct .jpg in local directory. I'm not sure it can be directly
interfaced with Android's Camera application, bcoz Android's camera
application is in need of RGB data to display image in screen ;(.

I'm also trying for Android's camera application too, with some
patches from "Androidplan"

Let me know if you need any information on this.

Thanks to Harishkumar V for giving me support to complete this.

Cheers,
SK