aboutsummaryrefslogtreecommitdiff
path: root/Terminal Driver.wiki
blob: a9285431a567e11f7590583f38199ad35543d886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
= Terminal Driver =
- http://www.tldp.org/LDP/lkmpg/2.6/html/lkmpg.html#AEN121
- [[https://atmega32-avr.com/how-to-super-simple-serial-terminal-using-atmega128/|Fungerande exempel på ATMEL]]
- [[http://linusakesson.net/programming/tty/index.php|The TTY demystified]]
- https://www.linux.it/~rubini/docs/serial/serial.html
- [[https://www.kernel.org/doc/html/v4.17/driver-api/gpio/consumer.html|kernel doc html v4 17 driver api gpio consumer]]
== Terminal Driver ==
-
[[https://en.wikipedia.org/wiki/Linux_console|Wikipedia:Linux console]]
- [[https://www.linuxjournal.com/article/5896|Snabb genomgång]]

=== Oreilly ===
Linux Device Drivers (kapitell 18). Finns hos Lysator, samt som HTML
och PDF.

- https://www.oreilly.com/library/view/linux-device-drivers/0596005903/ch18.html
- https://lwn.net/images/pdf/LDD3/ch18.pdf


== Skärm ==
=== `GTC-16041` ===
- [[https://manualzz.com/doc/17344723/hebei-jiya-electronics-gtc-16041-tr6noc--75-512-11-|Möljgt datablad]]
- http://hugo.hornquist.se/datablad/gtc-16041.pdf

Med skärmen till höger om headern.

| 4   | 7  |
| 5   | 8  |
|     | 9  |
|     | 10 |
|     | 11 |
|     | 12 |
| GND | 13 |
| PWR | 14 |

| #  | Lvl | Description     |
|----|-----|-----------------|
| 1  |     | Ground          |
| 2  |     | Power Logic     |
| 3  |     | Power LCD       |
| 4  |     | Register Select |
| 5  |     | Read/Write      |
| 6  |     | Enable          |
| 7  |     | Data 0          |
| 8  |     | Data 1          |
| 9  |     | Data 2          |
| 10 |     | Data 3          |
| 11 |     | Data 4          |
| 12 |     | Data 5          |
| 13 |     | Data 6          |
| 14 |     | Data 7          |
| 15 |     | Backlight       |
| 16 |     | Backlight       |


| 4   | 22 |
| 5   | 0  |
|     |    |
| 7   | -  |
| 8   | -  |
| 9   | -  |
| 10  | -  |
| 11  | 17 |
| 12  | 4  |
| 13  | 3  |
| 14  | 2  |
|     |    |
| GND |    |
| PWR |    |

== GPIO ==
- [[https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git|libgpiod]]

`/dev/gpiochip0`

== Datablad ==
https://www.raspberrypi.org/documentation/hardware/raspberrypi/mechanical/rpi_MECH_3bplus.pdf


- `linux/arch/arm/boot/dts/bcm2837-rpi-3-b.dts`
- `/usr/lib/modules/$(uname -r)/kernel`
- '/usr/src/rpi-kernel-headers-$(uname -r)'

compatible field