Week 1
|
|
|
June 3rd, 2008.
|
Installed video cards in the computers and tested the cameras.
|
|
June 4th, 2008.
|
Sorted out old drivers from previous semesters. Fixed a few deprecated calls in JieKeSai driver so it would compile.
|
|
June 5th, 2008.
|
Compiled and tested the old driver copied from Dr. Baker's page.
|
|
June 6th, 2008.
|
Installed both cards in the same box. The first time we tried
running the install script, neither card responded, and when we
tried to unload the module, the system crashed (system hang).
After rebooting the system, the driver installed fine, but when
we tried to test the driver, only the images from the greyscale
card were displayed partially.
|
Week 2
|
|
|
|
Decided to work separately on Video for Linux 2 and I2C implementations.
Reviewed old ioctl implementation used in the old driver with the new
pointer/object-oriented implementation.
Reviewed the generic I2C Linux implementation, and how it is used
by the bttv driver.
|
Week 3
|
|
|
June 16th, 2008.
|
Decided not to work on the I2C implementation and focus on the Video For
Linux 2 implementation.
Changed old ioctl implementation used in the old driver with the new
pointer/object-oriented implementation.
|
|
June 17th, 2008.
|
Revised implementation of v4l2 functions that set, get, and enumerate Video
for Linux formats.
Worked on implementation of v4l2 functions that get and set the priority
for the device. These functions are not currently used by our driver.
|
|
June 18th, 2008.
|
Worked on the implementation of v4l2 functions that query device capabilities
(video capture and video streaming).
Worked on the implementation of v4l2 functions that get, set, and enumerate
standards used by our video cards (both video cards only support NTSC).
Worked on the implementation of v4l2 functions that get and set the controls
in the device (brightness and contrast).
|
|
June 19th, 2008.
|
Worked on the implementation of v4l2 functions that get, set, and enumerate
inputs for the video device. Each card only has one input.
Reviewed existing functions that implement streaming (streamon, streamoff, reqbufs,
qbuf, dqbuf, and querybuf).
Tested the driver with both cards. With the color card, xawtv seems to try different
formats trying to find the correct format for the card, but never gets around to try
the format that we actually support (V4L2_PIX_FMT_RGB565X). With the greyscale card,
we get some scrambled video, but the driver crashes when we try to close xawtv.
|