Re: [Mjpeg-users] Zoran module question

2006-04-17 Thread Bernhard Praschinger
Hallo

 Last week I installed mjpegtools under Fedora Core 4 for the first time.  I
 had a list of the modules that I had previously required, so I modprobed
 them.  All went fine, except the zoran module, which returned a 'not found'
 message, IIRC.  However, the tools are working perfectly, so I have to assume
 that the zoran bit is being handled differently.
So you did use the linux kerne driver ?
Which kernel do you use, and whant command's did you execute ? 

When you load everything by hand you need to load the zr36067 module
(hopefully built). That is the name of the zoran chipset. There is a
different Zoran Chipset for video card's. So you can't use zoran. 

The command's should look like that:
modprobe vpx3220
modprobe adv7175
modprobe zr36016
modprobe zr36050
modprobe zr36067 default_norm=0 lock_norm=0 pass_through=0 lml33dpath=1
for a DC30. Normaly you should only need to do a modprobe of the zr36067
if the modprobe file is configured correct. I think Ronald has pasted a
sample config once on the mailinglist. 

Unless you want to record from a zoran based card with lavrec you don't
need the kernel dirver to be able to work with the mjpegtools. 

 I'm preparing a presentation for a LUG, so would like to understand better
 what is happening.  Could someone please explain why I had to load it under
 Mandriva, but I don't have to under Fedora?  Is this, perhaps, because
 something is included in later kernels that is not present in earlier ones?
Might be, but you need to give some exact information. 

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


Re: [Mjpeg-users] Zoran module question

2006-04-17 Thread Anne Wilson
On Monday 17 April 2006 14:22, Bernhard Praschinger wrote:
 Hallo

  Last week I installed mjpegtools under Fedora Core 4 for the first time. 
  I had a list of the modules that I had previously required, so I
  modprobed them.  All went fine, except the zoran module, which returned a
  'not found' message, IIRC.  However, the tools are working perfectly, so
  I have to assume that the zoran bit is being handled differently.

 So you did use the linux kerne driver ?

I think it must be.

 Which kernel do you use, and whant command's did you execute ?

2.6.16-1.2069_FC4

 When you load everything by hand you need to load the zr36067 module
 (hopefully built). That is the name of the zoran chipset. There is a
 different Zoran Chipset for video card's. So you can't use zoran.

 The command's should look like that:
 modprobe vpx3220
 modprobe adv7175
 modprobe zr36016
 modprobe zr36050
 modprobe zr36067 default_norm=0 lock_norm=0 pass_through=0 lml33dpath=1
 for a DC30. Normaly you should only need to do a modprobe of the zr36067
 if the modprobe file is configured correct. I think Ronald has pasted a
 sample config once on the mailinglist.

 Unless you want to record from a zoran based card with lavrec you don't
 need the kernel dirver to be able to work with the mjpegtools.

My capture card is a DC10+, and Ido capture with lavrec.

modprobe zr36060
modprobe zr36067
modprobe adv7175
modprobe saa7110
modprobe i2c-algo-bit
modprobe i2c-xore
modprobe videocodec
modprobe videodev

This list, plus 'zoran' is the list I used before.

  I'm preparing a presentation for a LUG, so would like to understand
  better what is happening.  Could someone please explain why I had to load
  it under Mandriva, but I don't have to under Fedora?  Is this, perhaps,
  because something is included in later kernels that is not present in
  earlier ones?

 Might be, but you need to give some exact information.

I can't be certain, but I think that I was using a 2.6.12 kernel with 
Mandriva, when I had to load the zoran module.  Does that make sense?

Anne


pgpUHJBZwi029.pgp
Description: PGP signature


Re: [Mjpeg-users] Zoran module question

2006-04-17 Thread Ronald S. Bultje
Hey Bernhard / Anne,

On Mon, 17 Apr 2006 15:22:47 +0200, Bernhard Praschinger wrote:
 On Mon, 17 Apr 2006 13:26:46 +0100, Anne Wilson wrote:
  Last week I installed mjpegtools under Fedora Core 4 for the first time.  I
  had a list of the modules that I had previously required, so I modprobed
  them.  All went fine, except the zoran module, which returned a 'not found'
  message, IIRC.  However, the tools are working perfectly, so I have to 
  assume
  that the zoran bit is being handled differently.

I'll need dmesg output. Ideally, you'd load zr36067 with debug=4 so I
have a lot of debug output. Also, load videodev.ko before zr36067, I
don't know why, but it sometimes makes a difference (?).

 When you load everything by hand you need to load the zr36067 module
 (hopefully built). That is the name of the zoran chipset. There is a
 different Zoran Chipset for video card's. So you can't use zoran. 

This is actually crucial, and it sort of sucks that our driver used to
be zoran.o in our CVS, but zr36067.ko in the kernel. C'est la vie...

 The command's should look like that:
 modprobe vpx3220
 modprobe adv7175
 modprobe zr36016
 modprobe zr36050
 modprobe zr36067 default_norm=0 lock_norm=0 pass_through=0 lml33dpath=1
 for a DC30. Normaly you should only need to do a modprobe of the zr36067
 if the modprobe file is configured correct. I think Ronald has pasted a
 sample config once on the mailinglist.

So, what I used is this (in /etc/modprobe.conf or /etc/modules.conf):

alias char-major-81 videodev
alias char-major-81-0 zr36067

After that, starting lavrec or any TV-app (including v4l-config) will
auto-load the modules. Since my X (and all recent Fedora/Mandrake/etc.
distibutions, afaik) detects TV cards (xv/v4l extension) on startup,
this means all drivers are loaded on bootup.
This will work for about half the cards (DC10+ included, but not DC30 or
Buz). The dmesg will tell you the card type could not be detected and
that you have to use the card=X parameter. For those, you'll need an
additional:

options zr36067 card=X

where X can be looked up in the FAQ or in the Zoran README included in
Documentation/ in the kernel. All the other options are optional for all
cards. I don't think you need to load zr36050 or any of the i2c modules
before zr36067, zr36067 loads those automagically.
However, if you run the CVS driver uninstalled and use the ./update
script, then the script will pre-load those i2c/codec modules before
loading zr36067, since the modules are not installed in the default path
and therefore i2c/codec module loading from the default path after
autodetection fails (and it would bail out). However, this probably does
not apply to the question Anne is asking.

Cheers,
Ronald



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users