Index of /~baker/devices/projects/binluc

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -
[   ]FinalPresentation.ppt20-Jun-2006 06:49 140K
[TXT]FinalReports.rtf20-Jun-2006 06:49 13K
[   ]Makefile19-Jun-2006 18:03 438
[TXT]hrt.c19-Jun-2006 18:03 105K
[TXT]hrt.h19-Jun-2006 18:03 3.0K
[   ]hrt.tar.gz20-Jun-2006 06:49 102K
[DIR]hrtTest/19-Jun-2006 18:03 -
[   ]hrt_load19-Jun-2006 18:03 718
[   ]hrt_unload19-Jun-2006 18:03 223
[   ]mail20-Jun-2006 06:49 480K

Your Title Goes Here

CIS 5930

Linux Device Driver Programming

A device driver for Video Frame Grabber

Home Page
by Binh Tran and Lucie Ngnepieba

--------------------------------------

     This project is about the Video Frame Grabber Driver in which we are working on the PS512-8-PCI and the Video Gala-PCI devices. This driver continues the work done by other teams in the last previous three years by Brett W. Thompson, Gilberto Morejon, Veen Adityan, Arthi Gokarn, Alex Rudnick, Atulya Mahajan, and Sean Toh under the guidance of Dr. Ted Baker and Dr. Kartik Kopalan.

Our goals for this year:

·         To compile and run the driver correctly on the Linux distribution .6.16

·         To improve the previous device driver for PS512-8-PCI and the Video Gala-PCI devices to support Video4Linux as a test.

·         To integrate the previous driver and make it work on both grayscale and color frame grabber.

·         To work on the low-level operation of the frame grabber to support I/O Interrupt-driven.

·         To work on the low-level operation of the frame grabber to support streaming at full speed (if time permits).

 


Journals:


Sunday, 06/04/06

-     Try to compile the Dr Baker’s source code of Video Frame Grabber, it didn’t compile as predicted.

-         Pick the previous students work (Atulya Mahajan, Huan Keat Toh) that we are going to use as a starting point and try to understand that source code.

-         Try to modify the Makefile, hrt_load, hrt_unload files and compile them. It compiled, the module was loaded sucessfully, but we weren’t sure whether device was registered or not.

-         We tried to figure out this issue.

 

 

Monday, 06/05/06

 

-         Read the source code, map functions, and try to understand the source code from hrt.c.

-          Fixed the makefile, hrt_load, hrt_unload.

 

Tuesday, 06/06/06

 

-         Just worked on the code only. We discussed each function in hrt.c     

-         We divided two parts for this time being. Lucie focuses on the Test file, Video4Linux. Binh Tran focuses on functions how to integrate grayscale and color cards.

 

Wednesday, 06/07/06

 

-         Try to understand the source code deeper.

-         We found that the grayscale card wasn't recognized when we loaded hrt module. We fixed it by switch the slot between color and grayscale cards. It worked J

-         We worked on the following error: "videodev: HRT PixelSmart (PS512-8-PCI) has no release callback. Please fix your driver for proper sysfs support"

-         Our solution: go to the website http://lwnnet/Articles/36850/hrt to read and figure out the way to correct error

 

Thursday, 06/08/06

-         We found that the sysfs error on 06/07/06 was not a main issue for compiling and loading the hrt module.

-         We did get the original version driver compiled and ran correctly on Linux distribution 2.6.16.14 with Dr. Baker’s helps.

-         The grayscale images were working correctly with the original Video4Linux testing file and the original hrt.c.

-         The color images were still not working correctly. We tried to figure out this issue.

-         We were very closed to our first goal.

Friday, 06/09/06

-         The greyscale card worked perfectly with our new kernel.

-         The color card is recognized and worked well with our new kernel, but we can not test the color part.

-         We try to compile the user application file using Video4Linux , hrtdemo.c, to modify and test the color part. But did not work. Dr. Baker adviced us to download some missing library, which we did but still, the application file did not compile.

-         The missing libraries that are needed by our application file are gtk.h
and glib. These libraries are already configured into the system. But
our apllication file can't not locate those libraries. We are still
trying to figure out why.

Saturday, 06/10/06

-         We tried to fix the following error:

“Checking for BASE_DEPENDENCIES... Requested 'glib-2.0 >= 2.8.5' but version of GLib is 2.4.7.

Configure: error: Package requirements (glib-2.0 >= 2.8.5    atk >= 1.0.1    pango >= 1.9.0    cairo >= 0.9.2) were not met:

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

-         One more day trying to configure those libraries so that our
application file will locate them.

Sunday, 06/11/06

-         We fixed the Saturday error.

-         We found something inconsistent code in the hrt.c, specially the hrt_init_module() and hrt_cleanup() functions. Danny pointed out this issue, and we looked at this and fixed it by ourself. Thanks Danny for this.

-         We continue working on these libraries. In the meantime, we decided
to put into comment all the code that use those libraries. Try to
compile and see how we can make changes in the code in order to have
the color working.

-         For this time being, we are working on our third goal.

Monday, 06/12/06

 

Codes
Documents
Presentations

 

Last Updated: 06/17/06 11:34am EST    Copyright @2006 Binh D. Tran

Codes
Documents
Journals