Warren Young writes:
> "Kyler B. Laird" wrote:
> >
> > rmmod kfir;insmod kfir.o vidinmode=1 debug=1 vidinput=0 vidrate=3000000
>loaded vidoutmode=0 vidsize=0x26
> streamtype=7
> >
> > I was getting nothing until I changed the streamtype.
>
> That fixed my problem, thanks.
>
> The docs are wrong: they say the driver defaults to 7 if you don't
> specify a stream type. A few other problems I found in the readme file:
Nope, the README says the default is VT_KFIR_PROGRAM which is 3.
> o "vidrate" isn't adequately explained: it isn't clear whether it's an
> enum (e.g. 1 = 1 Mbit/s, 2 = 1.5 Mbit/s, 3 = 2 Mbit/s, etc.) or an
> actual bit rate value, and if the latter, in what units.
Sorry, it's in bits/s.
> o "loaded" is also not explained well: Kyler made the same mistaken
> assumption I did, that "loaded" as a parameter means "don't load the
> microcode". I had to read the source to find that you need to say
> "loaded=1".
No, "loaded=1" means that the microcode is already loaded and should
not be loaded again, just as you assumed.
> o The KfirCmd.h file is now called Kfir.h.
Correct, sorry.
> To make loading the driver and setting up the module parameters easier,
> I wrote the attached Perl script. I wouldn't mind a bit if it were to
> appear in the driver distribution (hint, hint). ;)
OK.
Ralph