Camera

From WebOS Internals
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Palm Pre use the STMicroelectronics VX6852 camera. The VX6852 is a QXGA EDOF camera module.

The STMicroelectronics Camera modules are in this page but link for VX6852 is broken. You can find information about this camera here or on this website: The PDF datasheet for STMicroelectronics VX6852 camera is at this URL.

Features

  • 3.15 megapixel resolution sensor (2048 x 1536)
  • Extended Depth of Field (EDOF)
  • High quality lens
  • Compact size: 6.5 mm x 6.5 mm x 4.6 mm
  • Fully SMIA 1.0 profile 0 compliant
  • Video data interface - CCP2.0
  • Command interface - CCI
  • Analog power supply from 2.4 V to 2.9 V
  • Digital power supply from 1.7 V to 1.9 V
  • On-board 10 bit ADC
  • Integral EMC shielding and EMI reduction techniques
  • Ultra low power standby mode
  • Analog Binning (2x2) for higher image quality in video mode
  • RoHS (lead-free) package

Configuration files and drivers

Files for VX6852 support are in these folders :

root@palm-webos-device:/etc/camd# ls -l /etc/camd/
-rwxr-xr-x    1 root     root          357 Mar 13 09:18 smia_ed.cfg
-rwxr-xr-x    1 root     root         4567 Mar 13 09:18 vx6852-load-firmware
-rwxr-xr-x    1 root     root           66 Mar 13 09:18 vx6852-once-0.00.bin
-rwxr-xr-x    1 root     root         1610 Mar 13 09:18 vx6852-once-0.10.bin
-rwxr-xr-x    1 root     root         1188 Mar 13 09:18 vx6852-once-1.20.bin
-rwxr-xr-x    1 root     root         3618 Mar 13 09:18 vx6852-once-2.21.bin
root@palm-webos-device:/etc/camd# ls -l /lib/firmware/
-rw-r--r--    1 root     root         2516 Mar 13 09:18 helper_sd.bin
-rw-r--r--    1 root     root        95412 Mar 13 09:18 mfg_sd8686.bin
-rw-r--r--    1 root     root       124136 Mar 13 09:18 sd8686.bin
-rw-r--r--    1 root     root       109316 Mar 13 09:18 sd8686_ap.bin
lrwxrwxrwx    1 root     root           24 May 27 22:27 vx6852-once.bin -> /var/tmp/vx6852-once.bin
root@palm-webos-device:/# find / -name *6852*
/etc/event.d/vx6852
/etc/camd/vx6852-load-firmware
/etc/camd/vx6852-once-0.10.bin
/etc/camd/vx6852-once-1.20.bin
/etc/camd/vx6852-once-0.00.bin
/etc/camd/vx6852-once-2.21.bin
/tmp/vx6852.loaded
/sys/bus/i2c/drivers/vx6852
/lib/firmware/vx6852-once.bin

vx6852 support (driver) in Linux Operating System

As we can see in the text configuration file /etc/camd/vx6852-load-firmware ,
vx6852 use I2C protocol.
At http://en.wikipedia.org/wiki/I%C2%B2C#Operating_system_support,
the wiki page said : "In Linux, I²C is handled with a device driver for the specific device, and another for the I²C (or SMBus) adapter to which it's connected. Several hundred such drivers are part of current releases."