[linux-avc2210k] AVC2210K alphas available

  • From: Dr J A Gow <J.A.Gow@xxxxxxxxxxxxxxxxx>
  • To: linux-avc2210k@xxxxxxxxxxxxx
  • Date: Wed, 01 Jun 2005 21:37:22 +0100

Hello all again!

Alpha AVC2210K code for PAL and NTSC areas can be found at the following
links (the final version will not have two separate versions!)

ftp://81.86.3.90/avc2210k/avc2210k-alpha-310305.tgz  (PAL)
ftp://81.86.3.90/avc2210k/avc2210k-alpha-ntsctest.tgz (NTSC)

Note the following: 

        You will need a 2.6 kernel with source and headers installed.
        No docs in the archive - see below
        The 'make install' hasn't been tested, better do the install manually

OK, here's how to install it:

First install Multiload and ensure it is working with your version of
avcuwfl.sys. 

Now find the following files on your VideOh Windows install CD and copy
them to your /usr/local/lib/firmware directory. Make sure the filenames
are all in lowercase, convert if necessary:

avcuwm1n.ux     (MPEG-1 NTSC firmware)
avcuwm2n.ux     (MPEG-2 NTSC firmware)
avcuwm1p.ux     (MPEG-1 PAL firmware)
avcuwm2p.ux     (MPEG-2 PAL firmware)
avcuwram.ux     (bootloader? firmware)

Also, do a 

mknod /dev/avcap00 c 199 0

(Yes I know the fixed char major is a 'Bad Idea' and may stamp on that
from another driver - the final implementation will use dynamic
numbering. This is just for test)

Then un-tar the appropriate AVC2210K package and do a

make all

in the archive root directory in the tarball. This should yield
two files in the bin subdirectory: avc2210k.ko and avcctrl. Copy the
avc2210k.ko module to your /lib/modules/<kernelversion>/extra and do 

depmod -a

as root. Then copy the avcctrl binary somewhere sensible, say /usr/bin

Now plug in the VideOh device. Once it re-enumerates, you should see the
following messages appear in the syslog:

Mar 30 21:32:11 otherbubble kernel: AVC2210K MPEG capture driver
starting
Mar 30 21:32:11 otherbubble kernel: AVC2210K has attached new device at
index 0
Mar 30 21:32:11 otherbubble kernel: initialization complete
Mar 30 21:32:11 otherbubble kernel: all done
Mar 30 21:32:11 otherbubble kernel: usbcore: registered new driver
avc2210

Now to download DVXcel firmware to the device. Check that you have
access rights to the device node /dev/avcap00 - can set it world
read/write if you like for now. Then do:

avcctrl -v -f NTSC -l -i SVIDEO -q BEST -t MPEG2 /dev/avcap00

for NTSC, or

avcctrl -v -f PAL -l -i SVIDEO -q BEST -t MPEG2 /dev/avcap00

for PAL.

The usage for avcctrl is as follows, you may want to change the options
to suit your setup:

avcctrl OPTIONS DEVICE

-v, --verbose                           Verbose output from avcctrl
-f, --format [NTSC|PAL]                 NTSC or PAL firmware
-q, --quality [GOOD|BETTER|BEST]        Quality setting
-i, --input [SVIDEO|COMPOSITE]          Input setting
-t, --type [MPEG1|MPEG2]                Format type.

avcctrl expects all firmware files to be in /usr/local/lib/firmware, and
the arguments to options are case sensitive (upper case)

Now, the stream should be available on /dev/avcap00. Start your input
and do the following:

cat /dev/avcap00 | xine stdin://

or pipe to your favourite media player. There will be a slight delay in
the stream due to buffering.

See how you get on.

        John.



Other related posts: