mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
0ea6e61122
Below you will find an updated version from the original series bunching all patches into one big patch updating broken web addresses that are located in Documentation/* Some of the addresses date as far far back as 1995 etc... so searching became a bit difficult, the best way to deal with these is to use web.archive.org to locate these addresses that are outdated. Now there are also some addresses pointing to .spec files some are located, but some(after searching on the companies site)where still no where to be found. In this case I just changed the address to the company site this way the users can contact the company and they can locate them for the users. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Thomas Weber <weber@corscience.de> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Cc: Paulo Marques <pmarques@grupopie.com> Cc: Randy Dunlap <rdunlap@xenotime.net> Cc: Michael Neuling <mikey@neuling.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
W9966 Camera driver, written by Jakob Kemi (jakob.kemi@telia.com)
|
|
|
|
After a lot of work in softice & wdasm, reading .pdf-files and tiresome
|
|
trial-and-error work I've finally got everything to work. I needed vision for a
|
|
robotics project so I borrowed this camera from a friend and started hacking.
|
|
Anyway I've converted my original code from the AVR 8bit RISC C/ASM code into
|
|
a working Linux driver.
|
|
|
|
To get it working simply configure your kernel to support
|
|
parport, ieee1284, video4linux and w9966
|
|
|
|
If w9966 is statically linked it will always perform aggressive probing for
|
|
the camera. If built as a module you'll have more configuration options.
|
|
|
|
Options:
|
|
modprobe w9966.o pardev=parport0(or whatever) parmode=0 (0=auto, 1=ecp, 2=epp)
|
|
voila!
|
|
|
|
you can also type 'modinfo -p w9966.o' for option usage
|
|
(or checkout w9966.c)
|
|
|
|
The only thing to keep in mind is that the image format is in Y-U-Y-V format
|
|
where every two pixels take 4 bytes. In SDL (www.libsdl.org) this format
|
|
is called VIDEO_PALETTE_YUV422 (16 bpp).
|
|
|
|
A minimal test application (with source) is available from:
|
|
http://www.slackwaresupport.com/howtos/Webcam-HOWTO
|
|
|
|
The slow framerate is due to missing DMA ECP read support in the
|
|
parport drivers. I might add working EPP support later.
|
|
|
|
Good luck!
|
|
/Jakob Kemi
|