Find the answer to your Linux question:
Results 1 to 5 of 5
Hi all, I want to write an LCD Driver module for linux kernel 2.6. I had previous experience of writing drivers but not lcd. Can any one give me some ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    14

    Writing an LCD Driver


    Hi all,
    I want to write an LCD Driver module for linux kernel 2.6. I had previous experience of writing drivers but not lcd. Can any one give me some sample code or tell me which is the best document to study. Is the framebuffer driver concept can apply to LCD Driver writing.

    Regards,
    Yugandhar.

  2. #2
    Just Joined!
    Join Date
    Aug 2006
    Location
    india
    Posts
    57
    hi,

    What lcd screen ur having is it any 320x240 like or any 20x4 fixed character with character display ram(cdram)

    If ur using 320x240 what size u have made for ur character like 5x7 matrix ,
    How many layers ur lcd has??

    First is there any controller for that lcd panel of urs.if so How is its interface to ur controller (spi,parallel)

    bye,
    raja

  3. #3
    Just Joined!
    Join Date
    Jun 2007
    Posts
    14

    Writing an LCD Driver

    Hi,
    I am using S1D1 3256 controller to driver the LCD and the interface is parallel. Now can you give me suggestions in writing it.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    You may consider looking at the source for the X.org drivers or Kdrive. They already contain LCD drivers. Would it be possible for you to use these existing drivers? Maybe a cut down version if needs be?

  6. #5
    Just Joined!
    Join Date
    Aug 2006
    Location
    india
    Posts
    57
    Customising the existing drivers to your embedded product might take a lot of modifications in existing code .Driver specific to that s1d1 epson controller is required it is like activating the registers in epson controller .....

    I am seeing how to write one for you, need some time I hope u know how to register with a major number,what should be bought into file operations structure.... all the fundamental blah blah... u have to implement as character driver.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •