It's me once again.

When I load the kernel module manually with the "card=3" argument, i.e.,

# modprobe zr36067 card=3 debug=2

I get the following lines added to the logfile:

$ dmesg
[...]
Zoran MJPEG board driver version 0.10.0
MJPEG[0]: Zoran ZR36057 (rev 1), irq: 20, memory: 0xd9100000
IRQ 20/DC30[0]: IRQF_DISABLED is not guaranteed on shared IRQs
DC30[0]: Initializing i2c bus...
vpx3220 4-0047: vpx3220a found @ 0x8e (DC30[0])
adv7175 4-002a: chip found @ 0x54 (DC30[0])
DC30[0]: Initializing videocodec bus...
DC30[0]: zr36057_init - initializing card[0], zr=ffff88001b790000
DC30[0]: zoran_open(v4l_id, pid=[3772]), users(-)=1
DC30[0]: enable_jpg(IDLE)
DC30[0]: zoran_close(v4l_id, pid=[3772]), users(+)=0
DC30[0]: enable_jpg(IDLE)
DC30[0]: enable_jpg(IDLE)
DC30[0]: interrupts received: GIRQ1:2 GIRQ0:2 queue_state=0/0/0/0
DC30[0]: zoran_open(hald-probe-vide, pid=[3775]), users(-)=1
DC30[0]: enable_jpg(IDLE)
DC30[0]: zoran_close(hald-probe-vide, pid=[3775]), users(+)=0
DC30[0]: enable_jpg(IDLE)
DC30[0]: interrupts received: queue_state=0/0/0/0: no interrupts detected.
DC30[0]: interrupts received: queue_state=0/0/0/0: no interrupts detected.
DC30[0]: procfs entry /proc/zoran0 allocated. data=ffff88001b790000

It looks OK to me, and it also produces the /dev/video0 device.
However, when I run lavrec, it still doesn't work:

$ lavrec -d 2 -i P -a 0 test.avi
**ERROR: [lavrec] Error getting video parameters: Invalid argument
**ERROR: [lavrec] Something went wrong while setting up the card

TIA, Primož

2010/5/17 Primoz PETERLIN <primozz.peter...@gmail.com>:
> Hello everybody,
>
> Some years ago, I have successfully set up a Miro DC30 card on a HP
> Compaq dc5750 with Fedora 7 x86_64 and used it to digitize some of my
> old tapes. A couple of months ago, however, I upgraded the system to
> Fedora 12 x86_64 and when I tried to run lavrec this morning, it came
> up with the following error:
>
> $ lavrec -d 1 -i P -f a -q 80 -a 0 -v -g 768x576 k12T15002-%02d.avi
> **ERROR: [lavrec] Error opening video-device (/dev/video): No such
> file or directory
> **ERROR: [lavrec] Something went wrong while setting up the card
>
> To my knowledge, the system detects the card OK:
>
> $ dmesg | grep -i zoran
> Zoran MJPEG board driver version 0.10.0
> MJPEG[0]: Zoran ZR36057 (rev 1), irq: 20, memory: 0xd9100000
>
> $ lspci
> [...]
> 01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon
> Xpress 200]
> 01:05.1 Display controller: ATI Technologies Inc Radeon Xpress Series (RS482)
> 07:04.0 Multimedia video controller: Zoran Corporation ZR36057PQC
> Video cutting chipset (rev 01)
> 20:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI
> Express-to-PCI Bridge (rev 03)
> 21:00.0 FireWire (IEEE 1394): Texas Instruments TSB82AA2 IEEE-1394b
> Link Layer Controller (rev 01)
> 3f:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5755
> Gigabit Ethernet PCI Express (rev 02)
>
> $ lsmod | grep zr
> zr36067                69695  0
> v4l2_common            15354  1 zr36067
> videodev               33864  2 zr36067,v4l2_common
> videocodec              5768  1 zr36067
> i2c_algo_bit            5005  2 zr36067,radeon
> i2c_core               26876  8
> zr36067,v4l2_common,videodev,i2c_piix4,radeon,drm_kms_helper,drm,i2c_algo_bit
>
> With Fedora 7, I used to have to add the lines "options zr36067
> card=3; alias char-major-81-0 zr36067" to /etc/modprobe.conf. Now,
> /etc/modprobe.conf seems to be fragmented to /etc/modprobe.d
> subdirectories. Nevertheless, since the card seems to be recognized
> OK, I am not sure if I should mess with it.
>
> What am I missing?
>
> Thanks in advance for your help.
>
> All the best,
> Primož
>
> --
> Primož Peterlin,   Inštitut za biofiziko, Med. fakulteta, Univerza v Ljubljani
> Lipičeva 2, SI-1000 Ljubljana, Slovenija.        primoz.peter...@mf.uni-lj.si
> Tel +386-1-5437612, fax +386-1-4315127,  http://biofiz.mf.uni-lj.si/~peterlin/
> F8021D69 OpenPGP fingerprint: CB 6F F1 EE D9 67 E0 2F  0B 59 AF 0D 79 56 19 0F
>



-- 
Primož Peterlin,   Inštitut za biofiziko, Med. fakulteta, Univerza v Ljubljani
Lipičeva 2, SI-1000 Ljubljana, Slovenija.        primoz.peter...@mf.uni-lj.si
Tel +386-1-5437612, fax +386-1-4315127,  http://biofiz.mf.uni-lj.si/~peterlin/
F8021D69 OpenPGP fingerprint: CB 6F F1 EE D9 67 E0 2F  0B 59 AF 0D 79 56 19 0F

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

_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to