-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL
61 lines (51 loc) · 2.34 KB
/
INSTALL
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
.___ __ .__ .__
| | ____ _______/ |______ | | | |
| |/ \ / ___/\ __\__ \ | | | |
| | | \\___ \ | | / __ \| |_| |__
|___|___| /____ > |__| (____ /____/____/
\/ \/ \/
To install this driver correctly, just do the folowing:
$ make
As root:
$ make install
The install command creates a udev rule to make the char device /dev/cheeky[0-9]*
group owned by the cheeky group. After the installation, if you want to use the
helper programme cheeky_control (or to control the cheeky char device with another
programm), make sure your user is a member of the cheeky group, to do so:
$ gpasswd -a USER cheeky
You are now ready to plug your led display device. A new char device will be
created and you can manage it thanks to the helper programm cheeky_control, which
should be present at the root of the project (see README or cheeky_control --help
to see the documentation).
/!\----------
| ! | Don't forget that the driver won't be loaded at next boot, to do so, follow
| ! | instructions corresponding to your distribution.
\!/----------
ArchLinux:
As root edit /etc/rc.conf and add 'cheeky_driver' to the MODULES list:
$ emacs /etc/rc.conf # Don't edit with vi/vim... it sucks ;)
MODULES should look like 'MODULES( ... cheeky_driver ...)' where the '...' are
other modules that are loaded at boot time.
Gentoo:
As root add a line to the file /etc/modules.autoload/kernel-2.6 containing
'cheeky_driver':
$ echo 'cheeky_driver' >> /etc/modules.autoload/kernel-2.6
Debian/Ubuntu:
As root add a line to the file /etc/modules containing 'cheeky_driver':
$ echo 'cheeky_driver' >> /etc/modules
Fedora/RedHat/CentOS/Mandrake/Mandriva:
As root add a line to the file /etc/modules.conf containing 'cheeky_driver'
$ echo 'cheeky_driver' >> /etc/rc.modules
If your distribution is not in the list above, please refer to its
documentation.
____ ___ .__ __ .__ .__
| | \____ |__| ____ _______/ |______ | | | |
| | / \| |/ \ / ___/\ __\__ \ | | | |
| | / | \ | | \\___ \ | | / __ \| |_| |__
|______/|___| /__|___| /____ > |__| (____ /____/____/
\/ \/ \/ \/
As root:
$ make uninstall
/!\---------
| ! | If you added cheeky_driver to be loaded at boot time, don't forget to remove it.
\!/---------