-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Linus Torvalds
committed
Feb 19, 2007
1 parent
eff4c31
commit 610ef9d
Showing
4,978 changed files
with
228,884 additions
and
103,383 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: a65421ea3f8a0e78b4e3b858bdc5ada5ad653807 | ||
refs/heads/master: 920841d8d1d61bc12b43f95a579a5374f6d98f81 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# | ||
# This list is used by git-shortlog to fix a few botched name translations | ||
# in the git archive, either because the author's full name was messed up | ||
# and/or not always written the same way, making contributions from the | ||
# same person appearing not to be so or badly displayed. | ||
# | ||
# repo-abbrev: /pub/scm/linux/kernel/git/ | ||
# | ||
|
||
Aaron Durbin <adurbin@google.com> | ||
Adam Oldham <oldhamca@gmail.com> | ||
Adam Radford <aradford@gmail.com> | ||
Adrian Bunk <bunk@stusta.de> | ||
Alan Cox <alan@lxorguk.ukuu.org.uk> | ||
Alan Cox <root@hraefn.swansea.linux.org.uk> | ||
Aleksey Gorelov <aleksey_gorelov@phoenix.com> | ||
Al Viro <viro@ftp.linux.org.uk> | ||
Al Viro <viro@zenIV.linux.org.uk> | ||
Andreas Herrmann <aherrman@de.ibm.com> | ||
Andrew Morton <akpm@osdl.org> | ||
Andrew Vasquez <andrew.vasquez@qlogic.com> | ||
Andy Adamson <andros@citi.umich.edu> | ||
Arnaud Patard <arnaud.patard@rtp-net.org> | ||
Arnd Bergmann <arnd@arndb.de> | ||
Axel Dyks <xl@xlsigned.net> | ||
Ben Gardner <bgardner@wabtec.com> | ||
Ben M Cahill <ben.m.cahill@intel.com> | ||
Björn Steinbrink <B.Steinbrink@gmx.de> | ||
Brian Avery <b.avery@hp.com> | ||
Brian King <brking@us.ibm.com> | ||
Christoph Hellwig <hch@lst.de> | ||
Corey Minyard <minyard@acm.org> | ||
David Brownell <david-b@pacbell.net> | ||
David Woodhouse <dwmw2@shinybook.infradead.org> | ||
Domen Puncer <domen@coderock.org> | ||
Douglas Gilbert <dougg@torque.net> | ||
Ed L. Cashin <ecashin@coraid.com> | ||
Evgeniy Polyakov <johnpol@2ka.mipt.ru> | ||
Felipe W Damasio <felipewd@terra.com.br> | ||
Felix Kuhling <fxkuehl@gmx.de> | ||
Felix Moeller <felix@derklecks.de> | ||
Filipe Lautert <filipe@icewall.org> | ||
Franck Bui-Huu <vagabon.xyz@gmail.com> | ||
Frank Zago <fzago@systemfabricworks.com> | ||
Greg Kroah-Hartman <greg@echidna.(none)> | ||
Greg Kroah-Hartman <gregkh@suse.de> | ||
Greg Kroah-Hartman <greg@kroah.com> | ||
Henk Vergonet <Henk.Vergonet@gmail.com> | ||
Henrik Kretzschmar <henne@nachtwindheim.de> | ||
Herbert Xu <herbert@gondor.apana.org.au> | ||
Jacob Shin <Jacob.Shin@amd.com> | ||
James Bottomley <jejb@mulgrave.(none)> | ||
James Bottomley <jejb@titanic.il.steeleye.com> | ||
James E Wilson <wilson@specifix.com> | ||
James Ketrenos <jketreno@io.(none)> | ||
Jean Tourrilhes <jt@hpl.hp.com> | ||
Jeff Garzik <jgarzik@pretzel.yyz.us> | ||
Jens Axboe <axboe@suse.de> | ||
Jens Osterkamp <Jens.Osterkamp@de.ibm.com> | ||
John Stultz <johnstul@us.ibm.com> | ||
Juha Yrjola <at solidboot.com> | ||
Juha Yrjola <juha.yrjola@nokia.com> | ||
Juha Yrjola <juha.yrjola@solidboot.com> | ||
Kay Sievers <kay.sievers@vrfy.org> | ||
Kenneth W Chen <kenneth.w.chen@intel.com> | ||
Koushik <raghavendra.koushik@neterion.com> | ||
Leonid I Ananiev <leonid.i.ananiev@intel.com> | ||
Linas Vepstas <linas@austin.ibm.com> | ||
Matthieu CASTET <castet.matthieu@free.fr> | ||
Michel Dänzer <michel@tungstengraphics.com> | ||
Mitesh shah <mshah@teja.com> | ||
Morten Welinder <terra@gnome.org> | ||
Morten Welinder <welinder@anemone.rentec.com> | ||
Morten Welinder <welinder@darter.rentec.com> | ||
Morten Welinder <welinder@troll.com> | ||
Nguyen Anh Quynh <aquynh@gmail.com> | ||
Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | ||
Patrick Mochel <mochel@digitalimplant.org> | ||
Peter A Jonsson <pj@ludd.ltu.se> | ||
Praveen BP <praveenbp@ti.com> | ||
Rajesh Shah <rajesh.shah@intel.com> | ||
Ralf Baechle <ralf@linux-mips.org> | ||
Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | ||
Rémi Denis-Courmont <rdenis@simphalempin.com> | ||
Rudolf Marek <R.Marek@sh.cvut.cz> | ||
Rui Saraiva <rmps@joel.ist.utl.pt> | ||
Sachin P Sant <ssant@in.ibm.com> | ||
Sam Ravnborg <sam@mars.ravnborg.org> | ||
Simon Kelley <simon@thekelleys.org.uk> | ||
Stéphane Witzmann <stephane.witzmann@ubpmes.univ-bpclermont.fr> | ||
Stephen Hemminger <shemminger@osdl.org> | ||
Tejun Heo <htejun@gmail.com> | ||
Thomas Graf <tgraf@suug.ch> | ||
Tony Luck <tony.luck@intel.com> | ||
Tsuneo Yoshioka <Tsuneo.Yoshioka@f-secure.com> | ||
Valdis Kletnieks <Valdis.Kletnieks@vt.edu> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
=================================== | ||
cfag12864b LCD Driver Documentation | ||
=================================== | ||
|
||
License: GPLv2 | ||
Author & Maintainer: Miguel Ojeda Sandonis <maxextreme@gmail.com> | ||
Date: 2006-10-27 | ||
|
||
|
||
|
||
-------- | ||
0. INDEX | ||
-------- | ||
|
||
1. DRIVER INFORMATION | ||
2. DEVICE INFORMATION | ||
3. WIRING | ||
4. USERSPACE PROGRAMMING | ||
|
||
|
||
--------------------- | ||
1. DRIVER INFORMATION | ||
--------------------- | ||
|
||
This driver support one cfag12864b display at time. | ||
|
||
|
||
--------------------- | ||
2. DEVICE INFORMATION | ||
--------------------- | ||
|
||
Manufacturer: Crystalfontz | ||
Device Name: Crystalfontz 12864b LCD Series | ||
Device Code: cfag12864b | ||
Webpage: http://www.crystalfontz.com | ||
Device Webpage: http://www.crystalfontz.com/products/12864b/ | ||
Type: LCD (Liquid Crystal Display) | ||
Width: 128 | ||
Height: 64 | ||
Colors: 2 (B/N) | ||
Controller: ks0108 | ||
Controllers: 2 | ||
Pages: 8 each controller | ||
Addresses: 64 each page | ||
Data size: 1 byte each address | ||
Memory size: 2 * 8 * 64 * 1 = 1024 bytes = 1 Kbyte | ||
|
||
|
||
--------- | ||
3. WIRING | ||
--------- | ||
|
||
The cfag12864b LCD Series don't have official wiring. | ||
|
||
The common wiring is done to the parallel port as shown: | ||
|
||
Parallel Port cfag12864b | ||
|
||
Name Pin# Pin# Name | ||
|
||
Strobe ( 1)------------------------------(17) Enable | ||
Data 0 ( 2)------------------------------( 4) Data 0 | ||
Data 1 ( 3)------------------------------( 5) Data 1 | ||
Data 2 ( 4)------------------------------( 6) Data 2 | ||
Data 3 ( 5)------------------------------( 7) Data 3 | ||
Data 4 ( 6)------------------------------( 8) Data 4 | ||
Data 5 ( 7)------------------------------( 9) Data 5 | ||
Data 6 ( 8)------------------------------(10) Data 6 | ||
Data 7 ( 9)------------------------------(11) Data 7 | ||
(10) [+5v]---( 1) Vdd | ||
(11) [GND]---( 2) Ground | ||
(12) [+5v]---(14) Reset | ||
(13) [GND]---(15) Read / Write | ||
Line (14)------------------------------(13) Controller Select 1 | ||
(15) | ||
Init (16)------------------------------(12) Controller Select 2 | ||
Select (17)------------------------------(16) Data / Instruction | ||
Ground (18)---[GND] [+5v]---(19) LED + | ||
Ground (19)---[GND] | ||
Ground (20)---[GND] E A Values: | ||
Ground (21)---[GND] [GND]---[P1]---(18) Vee � R = Resistor = 22 ohm | ||
Ground (22)---[GND] | � P1 = Preset = 10 Kohm | ||
Ground (23)---[GND] ---- S ------( 3) V0 � P2 = Preset = 1 Kohm | ||
Ground (24)---[GND] | | | ||
Ground (25)---[GND] [GND]---[P2]---[R]---(20) LED - | ||
|
||
|
||
------------------------ | ||
4. USERSPACE PROGRAMMING | ||
------------------------ | ||
|
||
The cfag12864bfb describes a framebuffer device (/dev/fbX). | ||
|
||
It has a size of 1024 bytes = 1 Kbyte. | ||
Each bit represents one pixel. If the bit is high, the pixel will | ||
turn on. If the pixel is low, the pixel will turn off. | ||
|
||
You can use the framebuffer as a file: fopen, fwrite, fclose... | ||
Although the LCD won't get updated until the next refresh time arrives. | ||
|
||
Also, you can mmap the framebuffer: open & mmap, munmap & close... | ||
which is the best option for most uses. | ||
|
||
Check Documentation/auxdisplay/cfag12864b-example.c | ||
for a real working userspace complete program with usage examples. |
Oops, something went wrong.