[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sn9c102 webcam



Ivan Glushkov wrote:

> Hi all,
> 
> I got an old, cheap Qware EasyCam webcam. I have no idea what is the
> model. In the end it does not metter much. I followed the LDP "The
> Webcam HOWTO" on http://tldp.org/HOWTO/html_single/Webcam-HOWTO/
> Everything looks basically fine up to the point I try to get some
> information from my webcam. Trying to take a snapshot, I get:

<snip>
Hi Ivan,
I too have a sn9c102 webcam (Trust 120Spacecam) which works, more or less.
Remember this is a v4l2 device. My v4l-info output is like this:
### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
        driver                  : "sn9c102"
        card                    : "SN9C1xx PC Camera"
        bus_info                : "usb-0000:00:10.0-1"
        version                 : 1.1.44
        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             : "compressed"
        pixelformat             : 0x30313953 [S910]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
        type                    : VIDEO_CAPTURE
        fmt.pix.width           : 320
        fmt.pix.height          : 240
        fmt.pix.pixelformat     : 0x31384142 [BA81]
        fmt.pix.field           : NONE
        fmt.pix.bytesperline    : 320
        fmt.pix.sizeimage       : 76800
        fmt.pix.colorspace      : SRGB
        fmt.pix.priv            : 8

controls
    VIDIOC_QUERYCTRL(PRIVATE_BASE+0)
        id                      : 134217728
        type                    : INTEGER
        name                    : "DAC magnitude"
        minimum                 : 0
        maximum                 : 31
        step                    : 1
        default_value           : 1
        flags                   : 0
    VIDIOC_QUERYCTRL(PRIVATE_BASE+1)
        id                      : 134217729
        type                    : INTEGER
        name                    : "green balance"
        minimum                 : 0
        maximum                 : 62
        step                    : 2
        default_value           : 2
        flags                   : 0

I can't get it to work with streamer either but I don't know much about
streamer and can't be arsed to learn.
The good news is that it does work with Ekiga and AMSN so you might give one
or the other of those programs a try.
Cheers,
Jonathan


-- 
Registerd Linux user #445917 at http://counter.li.org/



Reply to: