You will need to install and use libv4l to handle userspace format
conversions since many programs do now know howto handle bayer and
jpeg formats. Also camorama is a v4l1 application and your driver is
v4l2 only.

After installing libv4l try the follwoing from a command prompt
# export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
# <name of video application to run> eg. camorama, cheese, etc



On Tue, Mar 3, 2009 at 2:45 PM, Rod <[email protected]> wrote:
>
> Hi,
> I have this Prinston camera. It does not work with camorama or cheese,
> but i can see the image perfectly well with gstreamer-properties. So
> think it is not a driver problem.
> Any idea to make it work with some app ?
>
> dmesg says:
>
> [ 2282.062001] usb 1-4: new full speed USB device using ohci_hcd and
> address 2
> [ 2282.278025] usb 1-4: configuration #1 chosen from 1 choice
> [ 2282.282035] usb 1-4: New USB device found, idVendor=0c45,
> idProduct=613e
> [ 2282.282035] usb 1-4: New USB device strings: Mfr=0, Product=1,
> SerialNumber=0
> [ 2282.282035] usb 1-4: Product: USB camera
> [ 2282.428019] Linux video capture interface: v2.00
> [ 2282.443662] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers
> v1:1.47pre49
> [ 2282.448009] usb 1-4: SN9C120 PC Camera Controller detected (vid:pid
> 0x0C45:0x613E)
> [ 2282.648019] usb 1-4: OV7630 image sensor detected
> [ 2283.677949] usb 1-4: Initialization succeeded
> [ 2283.677949] usb 1-4: V4L2 device registered as /dev/video0
> [ 2283.677949] usb 1-4: Optional device control through 'sysfs'
> interface disabled
> [ 2283.677949] usbcore: registered new interface driver sn9c102
>
> v4l-info says:
>
> ### v4l2 device info [/dev/video0] ###
> general info
>    VIDIOC_QUERYCAP
>        driver                  : "sn9c102"
>        card                    : "SN9C1xx PC Camera"
>        bus_info                : "usb-0000:00:13.0-4"
>        version                 : 1.1.47
>        capabilities            : 0x5000001
> [VIDEO_CAPTURE,READWRITE,STREAMING]
>
> standards
>
> inputs
>    VIDIOC_ENUMINPUT(0)
>        index                   : 0
>        name                    : "Camera"
>        type                    : CAMERA
>        audioset                : 0
>        tuner                   : 0
>        std                     : 0x0 []
>        status                  : 0x0 []
>
> video capture
>    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
>        index                   : 0
>        type                    : VIDEO_CAPTURE
>        flags                   : 0
>        description             : "bayer rgb"
>        pixelformat             : 0x31384142 [BA81]
>    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
>        index                   : 1
>        type                    : VIDEO_CAPTURE
>        flags                   : 1
>        description             : "JPEG"
>        pixelformat             : 0x4745504a [JPEG]
>    VIDIOC_G_FMT(VIDEO_CAPTURE)
>        type                    : VIDEO_CAPTURE
>        fmt.pix.width           : 464
>        fmt.pix.height          : 464
>        fmt.pix.pixelformat     : 0x4745504a [JPEG]
>        fmt.pix.field           : NONE
>        fmt.pix.bytesperline    : 0
>        fmt.pix.sizeimage       : 215296
>        fmt.pix.colorspace      : JPEG
>        fmt.pix.priv            : 8
>
> controls
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Lets make microdia webcams plug'n play, (currently plug'n pray)
To post to this group, send email to [email protected]
Visit us online https://groups.google.com/group/microdia
-~----------~----~----~----~------~----~------~--~---

Reply via email to