Author Topic: Help On Camera Card  (Read 3355 times)

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Help On Camera Card
« on: March 03, 2005, 03:50:13 am »
I have bought an EagleTec camera card which support 1.3M pixels resolution, I checked before buying, it doesn't have linux driver support. But I would like to have a try for that. Now it comes, I need to figure out how to begin, is there any clues on sharp's CE-AG06, any driver sources and application sources?
Thanks.
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Help On Camera Card
« Reply #1 on: March 03, 2005, 04:22:15 am »
Sharp's camera driver is closed source, their camera application too. Opie-Camera is open source, but it won't get you much looking at it, because it talks to the closed source driver via their serial protocol.

If you want to do a proper driver, look at v4l[2] and implement a driver for that subsystem. Then we can talk about adding v4l support to Opie-Camera.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Help On Camera Card
« Reply #2 on: March 03, 2005, 06:30:56 am »
I'd be interested in v4l support in opie-camera as I have a ratoc card and am thinking of trying to get a web-cam working. Out of interest does opie-camera also handle video from the Sharp camera, if not this is something else I'll look into?

First step (for me) is to find a suitable web-cam and cross-compile the drivers.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Help On Camera Card
« Reply #3 on: March 03, 2005, 09:56:55 am »
Yes, Opie-Camera can do video, but for the Sharp Camera this is nothing different from snapshots since it only supports grabbing full frames anyway.

Qtopia 2.1.1 has a v4l application - I'd like to see that getting merged into Opie-Camera.
« Last Edit: March 03, 2005, 09:57:12 am by Mickeyl »
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Help On Camera Card
« Reply #4 on: March 04, 2005, 12:21:56 am »
Quote
Yes, Opie-Camera can do video, but for the Sharp Camera this is nothing different from snapshots since it only supports grabbing full frames anyway.

Qtopia 2.1.1 has a v4l application - I'd like to see that getting merged into Opie-Camera.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
A little dawning:
[a href=\"http://www.omoikane.co.jp/misc/ccam/]http://www.omoikane.co.jp/misc/ccam/[/url]

--------------------------------------------------------------------------------

  CompactCam driver ver 0.2

  Written by Omoikane Inc. / www.omoikane.co.jp
  © National Institute of Information and Communication Techonology / www.nict.go.jp

--------------------------------------------------------------------------------

This is PRETEC's CF type compact cam driver.

We tested this driver on Linux 2.4.19 iPAQ and 2.4.24 x86 with vic.
Only VGA model works in BW mode. 1.3M SVGA model doesn't work.
This driver is written for a part of MIRAI project.
see URL below for more information about MIRAI.

http://www2.nict.go.jp/mt/b193/member/mahm...ublications.htm

Softwares:
  compactcam_cs.o ... driver
  rw              ... direct register view/set util.
  siorw           ... direct sensor register view/set util.


Installation:

  - set TOPDIR/CC/APCFLAGS appropriately in Makefile.
  - make
  - cp compactcam_cs.o in /lib/modules/<ver>/pcmcia
  - put these lines below in /etc/pcmcia/config and restart pcmcia.

----------------------------------------------------------
device "compactcam_cs"
  class "video" module "compactcam_cs"

card "CAMERA CARD CC33CF"
  manfid 0x504f, 0xcf13
  bind "compactcam_cs"

card "CAMERA CARD CC130CF"
  manfid 0x504f, 0xcf13
  bind "compactcam_cs"
---------------------------------------------------------


BUGS:
  might freeze with xawtv.


Note:
  If you try to hack the driver, you probably need the exact chip-level
  hardware specs. We(Omoikane Inc.) got part of needed documents from
  PRETEC and wrote the driver along with a lot of assumption and reverse
  engineering of WindowsCE driver.
  Despite of our struggling, we cannot got the correct way to get
  orignal clocked digital image data from a sensor.
  If someone could get this, the driver would be easily improved
  so that it outputs color data with low IO bandwidth.
  For current version, the missing point is which pixel is which color
  among the Bayer pattern.


Wish:
  We wish PDA Linux users to tell mobile device vendors that you
  want to use with opensource. We believe most vendors cannot
  understand how much people in the world want to use thier devices
  with opensource. Consequently this information will help
  developers/researchers to get hardware information from vendors.


Acknowlegement:
  Mobile Network Group of Communications Research Laboratory
  for the opportunity to make a driver.
  C-One Technology for giving us some of hardware document.


Contact:
  For techonical contact, mail to info@omoikane.co.jp.
  For copyright, ask NICT's Mobile Network Group.
  The software can be redistirubted under GPL2.
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Help On Camera Card
« Reply #5 on: March 08, 2005, 03:55:43 am »
Quote
Yes, Opie-Camera can do video, but for the Sharp Camera this is nothing different from snapshots since it only supports grabbing full frames anyway.

Qtopia 2.1.1 has a v4l application - I'd like to see that getting merged into Opie-Camera.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69256\"][{POST_SNAPBACK}][/a][/div]

hi, Mickey:
  I have made the driver part work under my SL5500, would you like to give some suggestion in selecting the client for the V4L driver?
  Thanks.
--
# cardctl ident
Socket 0:
 product info: "CAMERA CARD CC130CF"
 manfid: 0x504f, 0xcf13
# cat /proc/bus/pccard/00/status
k_state  : detect ready bvd1 bvd2 vs_3v
status   : SS_DETECT SS_READY SS_POWERON SS_IOCARD SS_STSCHG SS_3VCARD
mask     : SS_DETECT
cs_flags : SS_IOCARD SS_OUTPUT_ENA
Vcc      : 33
Vpp      : 0
IRQ      : 0
I/O      : 165 (172)
attribute: 300 (316)
common   : 10 (230)
# cardctl config
Socket 0:
 Vcc 3.3V  Vpp1 0.0V  Vpp2 0.0V
 interface type is "memory and I/O"
 function 0:
   io 0xc5670200-0xc567020f [16bit]
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Help On Camera Card
« Reply #6 on: March 13, 2005, 07:15:12 am »
Sorry, but to be honest, I have no idea at all about the v4l API - other than to know what is is for.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.