RE: DC10Plus sizing problem

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



Looking through the initialization info, I find:

kernel: Linux video capture interface: v1.00
kernel: i2c: initialized
kernel: Zoran ZR36060 + ZR36057/67 MJPEG board driver version 0.9
kernel: MJPEG[0]: Zoran ZR36067 (rev 2) irq: 9, memory: 0xa0005000
kernel: MJPEG[0]: subsystem vendor=0x1031 id=0x7efe
kernel: MJPEG[0]: Initializing i2c bus...
kernel: saa7110_attach: SAA7110A version 1 at 0x9c, status=0x21 
kernel: adv7176_attach: adv7176 rev. 1 at 0x56 
kernel: DC10plus[0] card detected
kernel: DC10plus[0]: Zoran ZR36060 (rev 1)
kernel: MJPEG: 1 card(s) found 
kernel: MJPEG: using 2 V4L buffers of size 128 KB 
kernel: DC10plus[0]: Initializing card[0], zr=c884c5e0
kernel: DC10plus[0]: Testing interrupts...
kernel: DC10plus[0]: interrupts received: GIRQ1:60 queue_state=0/0/0/0
kernel: DC10plus[0]: procfs entry /proc/zoran0 allocated. data=c884c5e0

Can I use any of this information to correctly set
my struct video_buffer before I call:
    ioctl(fd, VIDIOCSFBUF, &vid_buf);

It sure looks like it gets set during initialization, so why is it
suddenly unset when I get around to changing the window size?

Thanks,

Tom

-----Original Message-----
From: video4linux-list-admin@xxxxxxxxxx
[mailto:video4linux-list-admin@xxxxxxxxxx]On Behalf Of Tom Goetze
Sent: Tuesday, September 25, 2001 5:34 PM
To: Video4linux-List
Subject:  DC10Plus sizing problem


I have installed the latest zoran drivers, and
I can successfully open a video device, but when
I try to change the window size:
    status = ioctl(fd,VIDIOCSWIN,&vid_win);

I always get a message in /var/log/messages:
  DC10plus[0]: VIDIOCSWIN: frame buffer has to be set first

I have tried to use:
   ret_code = ioctl(fd, VIDIOCSFBUF, &vid_buf);

where vid_buf.base = NULL, but this doesn't help, since
as soon as I call the size change, it still complains.

I have looked at the zoran.c and it appears that if
the base address of the video_buffer is NULL, then the 
above error message is always displayed.

Is there a way I can get the address for my card?
The chipset is the ZR36060.






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux