1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
1 |
#!/usr/bin/env python
|
2 |
#
|
|
3 |
## System76, Inc.
|
|
4 |
## Copyright System76, Inc.
|
|
5 |
## Released under the GNU General Public License (See LICENSE)
|
|
6 |
##
|
|
7 |
## Controls driver installation
|
|
8 |
||
9 |
import ubuntuversion |
|
10 |
import model |
|
11 |
import sound |
|
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
12 |
import misc |
2
by Carl Richell
fixed nvidia rotation bug #118854 fixed laptop and desktop suspend support on feisty bug #114675 |
13 |
import acpi |
9
by Carl Richell
fixed hotkey module import in driverscontrol |
14 |
import hotkey |
11.1.6
by Carl Richell
1.) Add new Gazelle Value (gazv5) model |
15 |
import uvc |
16 |
import ricoh_cr |
|
24
by Carl Richell
-------------------------------------- |
17 |
import detect |
18 |
import usplash |
|
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
19 |
import hardy_led |
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
20 |
import fprint |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
21 |
|
22 |
## KEEP ALL MODELS IN ALPHABETICAL ORDER
|
|
23 |
||
24 |
def installDrivers(): |
|
25 |
"""This function installs the appropriate drivers for each machine"""
|
|
26 |
||
27 |
global nodrivers |
|
28 |
nodrivers = "false" |
|
29 |
modelname = model.determine_model() |
|
30 |
version = ubuntuversion.release() |
|
24
by Carl Richell
-------------------------------------- |
31 |
arch = detect.arch() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
32 |
|
31
by Carl Richell
Update Ubuntu version detection for upcoming 8.04.1 release |
33 |
if version == ('8.04.1'): |
34 |
version = '8.04' |
|
35 |
||
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
36 |
if modelname == ('bonp1'): |
37 |
if version == ('6.06'): |
|
38 |
nodrivers = "true" |
|
39 |
return nodrivers |
|
40 |
elif version == ('6.10'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
41 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
42 |
elif version == ('7.04'): |
43 |
nodrivers = "true" |
|
44 |
return nodrivers |
|
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
45 |
elif version == ('7.10'): |
46 |
nodrivers = "true" |
|
47 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
48 |
elif version == ('8.04'): |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
49 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
50 |
elif version == ('8.10'): |
51 |
nodrivers = "true" |
|
52 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
53 |
elif version == ('9.04'): |
54 |
nodrivers = "true" |
|
55 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
56 |
elif version == ('9.10'): |
57 |
nodrivers = "true" |
|
58 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
59 |
else: |
60 |
nodrivers = "true" |
|
61 |
return nodrivers |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
62 |
elif modelname == ('bonp2'): |
63 |
if version == ('8.04'): |
|
64 |
sound.alsa10() |
|
65 |
uvc.camera() |
|
66 |
fprint.install() |
|
67 |
acpi.osiNotWindows() |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
68 |
elif version == ('8.10'): |
69 |
sound.alsa10() |
|
70 |
uvc.camera() |
|
71 |
fprint.install() |
|
72 |
acpi.osiNotWindows() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
73 |
elif version == ('9.04'): |
74 |
fprint.install() |
|
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
75 |
acpi.osiNotWindows() |
76 |
misc.linux_backports() |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
77 |
elif version == ('9.10'): |
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
78 |
fprint.installPackages() |
34
by Carl Richell
1.) Add command line restore and install driver options |
79 |
else: |
80 |
nodrivers = "true" |
|
81 |
return nodrivers |
|
82 |
elif modelname == ('bonp3'): |
|
83 |
if version == ('8.10'): |
|
84 |
nodrivers = "true" |
|
85 |
return nodrivers |
|
86 |
elif version == ('9.04'): |
|
87 |
nodrivers = "true" |
|
88 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
89 |
elif version == ('9.10'): |
90 |
nodrivers = "true" |
|
91 |
return nodrivers |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
92 |
else: |
93 |
nodrivers = "true" |
|
94 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
95 |
elif modelname == ('daru1'): |
96 |
if version == ('6.06'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
97 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
98 |
elif version == ('6.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
99 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
100 |
elif version == ('7.04'): |
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
101 |
misc.piix() |
10
by Carl Richell
correct driverscontrol module calls |
102 |
acpi.acpi1() |
103 |
hotkey.daru1_monitor_switch() |
|
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
104 |
elif version == ('7.10'): |
24
by Carl Richell
-------------------------------------- |
105 |
acpi.acpi3() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
106 |
hotkey.daru1_monitor_switch() |
25
by Carl Richell
1.) Add Hardy support. |
107 |
elif version == ('8.04'): |
108 |
acpi.acpi3() |
|
109 |
hotkey.daru1_monitor_switch() |
|
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
110 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
111 |
elif version == ('8.10'): |
112 |
hotkey.daru1_touchpad_switch() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
113 |
elif version == ('9.04'): |
114 |
hotkey.daru1_touchpad_switch() |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
115 |
elif version == ('9.10'): |
116 |
nodrivers = "true" |
|
117 |
return nodrivers |
|
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
118 |
else: |
119 |
nodrivers = "true" |
|
120 |
return nodrivers |
|
121 |
elif modelname == ('daru2'): |
|
122 |
if version == ('7.04'): |
|
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
123 |
misc.piix2() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
124 |
acpi.acpi2() |
24
by Carl Richell
-------------------------------------- |
125 |
acpi.daru2() |
126 |
sound.alsa4() |
|
25
by Carl Richell
1.) Add Hardy support. |
127 |
elif version == ('7.10'): |
24
by Carl Richell
-------------------------------------- |
128 |
acpi.acpi3() |
129 |
acpi.daru2() |
|
130 |
sound.alsa4() |
|
25
by Carl Richell
1.) Add Hardy support. |
131 |
elif version == ('8.04'): |
27
by Carl Richell
Fix nVidia installation on restore (command changed in Hardy) |
132 |
sound.alsa4() |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
133 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
134 |
elif version == ('8.10'): |
135 |
sound.alsa4() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
136 |
elif version == ('9.04'): |
137 |
nodrivers = "true" |
|
138 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
139 |
elif version == ('9.10'): |
140 |
nodrivers = "true" |
|
141 |
return nodrivers |
|
24
by Carl Richell
-------------------------------------- |
142 |
else: |
143 |
nodrivers = "true" |
|
144 |
return nodrivers |
|
145 |
elif modelname == ('daru3'): |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
146 |
if version == ('8.04'): |
147 |
sound.alsa10() |
|
148 |
uvc.camera() |
|
149 |
fprint.install() |
|
150 |
elif version == ('8.10'): |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
151 |
sound.alsa10() |
152 |
uvc.camera() |
|
153 |
fprint.install() |
|
154 |
acpi.acpi4() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
155 |
elif version == ('9.04'): |
156 |
fprint.install() |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
157 |
elif version == ('9.10'): |
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
158 |
fprint.installPackages() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
159 |
else: |
160 |
nodrivers = "true" |
|
161 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
162 |
elif modelname == ('gazp1'): |
163 |
if version == ('6.06'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
164 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
165 |
elif version == ('6.10'): |
19
by Carl Richell
1.) Clean out legacy unnecessary drivers |
166 |
nodrivers = "true" |
167 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
168 |
elif version == ('7.04'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
169 |
sound.alsa6() |
10
by Carl Richell
correct driverscontrol module calls |
170 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
171 |
elif version == ('7.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
172 |
sound.alsa6() |
24
by Carl Richell
-------------------------------------- |
173 |
acpi.acpi3() |
25
by Carl Richell
1.) Add Hardy support. |
174 |
elif version == ('8.04'): |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
175 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
176 |
elif version == ('8.10'): |
177 |
nodrivers = "true" |
|
178 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
179 |
elif version == ('9.04'): |
180 |
nodrivers = "true" |
|
181 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
182 |
elif version == ('9.10'): |
183 |
nodrivers = "true" |
|
184 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
185 |
else: |
186 |
nodrivers = "true" |
|
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
187 |
return nodrivers |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
188 |
elif modelname == ('gazp2'): |
189 |
if version == ('6.06'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
190 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
191 |
elif version == ('6.10'): |
19
by Carl Richell
1.) Clean out legacy unnecessary drivers |
192 |
nodrivers = "true" |
193 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
194 |
elif version == ('7.04'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
195 |
sound.alsa6() |
10
by Carl Richell
correct driverscontrol module calls |
196 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
197 |
elif version == ('7.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
198 |
sound.alsa6() |
24
by Carl Richell
-------------------------------------- |
199 |
acpi.acpi3() |
25
by Carl Richell
1.) Add Hardy support. |
200 |
elif version == ('8.04'): |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
201 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
202 |
elif version == ('8.10'): |
203 |
nodrivers = "true" |
|
204 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
205 |
elif version == ('9.04'): |
206 |
nodrivers = "true" |
|
207 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
208 |
elif version == ('9.10'): |
209 |
nodrivers = "true" |
|
210 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
211 |
else: |
212 |
nodrivers = "true" |
|
213 |
return nodrivers |
|
214 |
elif modelname == ('gazp3'): |
|
215 |
if version == ('6.06'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
216 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
217 |
elif version == ('6.10'): |
19
by Carl Richell
1.) Clean out legacy unnecessary drivers |
218 |
nodrivers = "true" |
219 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
220 |
elif version == ('7.04'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
221 |
sound.alsa6() |
10
by Carl Richell
correct driverscontrol module calls |
222 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
223 |
elif version == ('7.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
224 |
sound.alsa6() |
24
by Carl Richell
-------------------------------------- |
225 |
acpi.acpi3() |
25
by Carl Richell
1.) Add Hardy support. |
226 |
elif version == ('8.04'): |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
227 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
228 |
elif version == ('8.10'): |
229 |
nodrivers = "true" |
|
230 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
231 |
elif version == ('9.04'): |
232 |
nodrivers = "true" |
|
233 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
234 |
elif version == ('9.10'): |
235 |
nodrivers = "true" |
|
236 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
237 |
else: |
238 |
nodrivers = "true" |
|
239 |
return nodrivers |
|
17.1.1
by Carl Richell
Version 2.1.2 |
240 |
elif modelname == ('gazp5'): |
241 |
if version == ('7.04'): |
|
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
242 |
misc.piix2() |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
243 |
sound.alsa5() |
17.1.1
by Carl Richell
Version 2.1.2 |
244 |
uvc.camera() |
245 |
acpi.acpi1() |
|
246 |
ricoh_cr.card_reader() |
|
247 |
elif version == ('7.10'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
248 |
sound.alsa5() |
24
by Carl Richell
-------------------------------------- |
249 |
acpi.acpi3() |
17.1.1
by Carl Richell
Version 2.1.2 |
250 |
ricoh_cr.card_reader() |
25
by Carl Richell
1.) Add Hardy support. |
251 |
elif version == ('8.04'): |
30
by Carl Richell
Fix missing () in driverscontrol |
252 |
sound.alsa9() |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
253 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
254 |
elif version == ('8.10'): |
255 |
sound.alsa9() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
256 |
elif version == ('9.04'): |
257 |
nodrivers = "true" |
|
258 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
259 |
elif version == ('9.10'): |
260 |
nodrivers = "true" |
|
261 |
return nodrivers |
|
262 |
else: |
|
263 |
nodrivers = "true" |
|
264 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
265 |
elif modelname == ('gazv1'): |
266 |
nodrivers = "true" |
|
267 |
return nodrivers |
|
268 |
elif modelname == ('gazv2'): |
|
269 |
if version == ('6.06'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
270 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
271 |
elif version == ('6.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
272 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
273 |
elif version == ('7.04'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
274 |
sound.alsa6() |
10
by Carl Richell
correct driverscontrol module calls |
275 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
276 |
elif version == ('7.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
277 |
sound.alsa6() |
24
by Carl Richell
-------------------------------------- |
278 |
acpi.acpi3() |
25
by Carl Richell
1.) Add Hardy support. |
279 |
elif version == ('8.04'): |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
280 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
281 |
elif version == ('8.10'): |
282 |
nodrivers = "true" |
|
283 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
284 |
elif version == ('9.04'): |
285 |
nodrivers = "true" |
|
286 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
287 |
elif version == ('9.10'): |
288 |
nodrivers = "true" |
|
289 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
290 |
else: |
291 |
nodrivers = "true" |
|
292 |
return nodrivers |
|
293 |
elif modelname == ('gazv3'): |
|
294 |
if version == ('6.06'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
295 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
296 |
elif version == ('6.10'): |
297 |
nodrivers = "true" |
|
298 |
return nodrivers |
|
299 |
elif version == ('7.04'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
300 |
sound.alsa6() |
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
301 |
misc.piix() |
10
by Carl Richell
correct driverscontrol module calls |
302 |
acpi.acpi2() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
303 |
elif version == ('7.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
304 |
sound.alsa6() |
24
by Carl Richell
-------------------------------------- |
305 |
acpi.acpi3() |
25
by Carl Richell
1.) Add Hardy support. |
306 |
elif version == ('8.04'): |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
307 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
308 |
elif version == ('8.10'): |
309 |
nodrivers = "true" |
|
310 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
311 |
elif version == ('9.04'): |
312 |
nodrivers = "true" |
|
313 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
314 |
elif version == ('9.10'): |
315 |
nodrivers = "true" |
|
316 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
317 |
else: |
318 |
nodrivers = "true" |
|
319 |
return nodrivers |
|
320 |
elif modelname == ('gazv4'): |
|
321 |
if version == ('6.06'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
322 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
323 |
elif version == ('6.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
324 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
325 |
elif version == ('7.04'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
326 |
sound.alsa6() |
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
327 |
misc.piix() |
10
by Carl Richell
correct driverscontrol module calls |
328 |
acpi.acpi2() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
329 |
elif version == ('7.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
330 |
sound.alsa6() |
24
by Carl Richell
-------------------------------------- |
331 |
acpi.acpi3() |
25
by Carl Richell
1.) Add Hardy support. |
332 |
elif version == ('8.04'): |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
333 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
334 |
elif version == ('8.10'): |
335 |
nodrivers = "true" |
|
336 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
337 |
elif version == ('9.04'): |
338 |
nodrivers = "true" |
|
339 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
340 |
elif version == ('9.10'): |
341 |
nodrivers = "true" |
|
342 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
343 |
else: |
344 |
nodrivers = "true" |
|
345 |
return nodrivers |
|
11.1.6
by Carl Richell
1.) Add new Gazelle Value (gazv5) model |
346 |
elif modelname == ('gazv5'): |
347 |
if version == ('7.04'): |
|
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
348 |
misc.piix2() |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
349 |
sound.alsa5() |
11.1.6
by Carl Richell
1.) Add new Gazelle Value (gazv5) model |
350 |
uvc.camera() |
351 |
acpi.acpi1() |
|
352 |
ricoh_cr.card_reader() |
|
353 |
elif version == ('7.10'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
354 |
sound.alsa5() |
17.1.1
by Carl Richell
Version 2.1.2 |
355 |
ricoh_cr.card_reader() |
25
by Carl Richell
1.) Add Hardy support. |
356 |
elif version == ('8.04'): |
30
by Carl Richell
Fix missing () in driverscontrol |
357 |
sound.alsa9() |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
358 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
359 |
elif version == ('8.10'): |
360 |
sound.alsa9() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
361 |
elif version == ('9.04'): |
362 |
nodrivers = "true" |
|
363 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
364 |
elif version == ('9.10'): |
365 |
nodrivers = "true" |
|
366 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
367 |
else: |
368 |
nodrivers = "true" |
|
369 |
return nodrivers |
|
370 |
elif modelname == ('gazu1'): |
|
371 |
if version == ('8.04'): |
|
372 |
sound.alsa10() |
|
373 |
uvc.camera() |
|
374 |
uvc.quirks() |
|
375 |
fprint.install() |
|
376 |
elif version == ('8.10'): |
|
377 |
sound.alsa10() |
|
378 |
uvc.quirks() |
|
379 |
fprint.install() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
380 |
elif version == ('9.04'): |
381 |
uvc.quirks() |
|
382 |
fprint.install() |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
383 |
elif version == ('9.10'): |
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
384 |
uvc.quirks() |
385 |
fprint.installPackages() |
|
11.1.6
by Carl Richell
1.) Add new Gazelle Value (gazv5) model |
386 |
else: |
387 |
nodrivers = "true" |
|
388 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
389 |
elif modelname == ('koap1'): |
390 |
if version == ('6.06'): |
|
391 |
nodrivers = "true" |
|
392 |
return nodrivers |
|
393 |
elif version == ('6.10'): |
|
394 |
nodrivers = "true" |
|
395 |
return nodrivers |
|
396 |
elif version == ('7.04'): |
|
10
by Carl Richell
correct driverscontrol module calls |
397 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
398 |
elif version == ('7.10'): |
24
by Carl Richell
-------------------------------------- |
399 |
nodrivers = "true" |
400 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
401 |
elif version == ('8.04'): |
402 |
nodrivers = "true" |
|
403 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
404 |
elif version == ('8.10'): |
405 |
nodrivers = "true" |
|
406 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
407 |
elif version == ('9.04'): |
408 |
nodrivers = "true" |
|
409 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
410 |
elif version == ('9.10'): |
411 |
nodrivers = "true" |
|
412 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
413 |
else: |
414 |
nodrivers = "true" |
|
415 |
return nodrivers |
|
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
416 |
elif modelname == ('lemu1'): |
417 |
if version == ('9.04'): |
|
418 |
uvc.lemu1() |
|
419 |
acpi.lemu1() |
|
420 |
elif version == ('9.10'): |
|
421 |
uvc.lemu1() |
|
422 |
acpi.lemu1() |
|
423 |
misc.lemu1_nic() |
|
424 |
else: |
|
425 |
nodrivers = "true" |
|
426 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
427 |
elif modelname == ('leo1'): |
428 |
if version == ('9.04'): |
|
429 |
nodrivers = "true" |
|
430 |
return nodrivers |
|
431 |
elif version == ('9.10'): |
|
432 |
nodrivers = "true" |
|
433 |
return nodrivers |
|
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
434 |
else: |
435 |
nodrivers = "true" |
|
436 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
437 |
elif modelname == ('ment1'): |
438 |
if version == ('8.10'): |
|
439 |
nodrivers = "true" |
|
440 |
return nodrivers |
|
441 |
elif version == ('9.04'): |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
442 |
nodrivers = "true" |
443 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
444 |
elif version == ('9.10'): |
445 |
nodrivers = "true" |
|
446 |
return nodrivers |
|
447 |
else: |
|
448 |
nodrivers = "true" |
|
449 |
return nodrivers |
|
450 |
elif modelname == ('ment2'): |
|
451 |
if version == ('9.04'): |
|
452 |
nodrivers = "true" |
|
453 |
return nodrivers |
|
454 |
elif version == ('9.10'): |
|
455 |
nodrivers = "true" |
|
456 |
return nodrivers |
|
457 |
elif version == ('9.10'): |
|
458 |
nodrivers = "true" |
|
459 |
return nodrivers |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
460 |
else: |
461 |
nodrivers = "true" |
|
462 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
463 |
elif modelname == ('nonsystem76'): |
464 |
nodrivers = "true" |
|
465 |
return nodrivers |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
466 |
elif modelname == ('panp4i'): |
467 |
if version == ('8.04'): |
|
468 |
uvc.camera() |
|
469 |
sound.alsa11() |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
470 |
elif version == ('8.10'): |
471 |
uvc.camera() |
|
472 |
sound.alsa10() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
473 |
elif version == ('9.04'): |
474 |
nodrivers = "true" |
|
475 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
476 |
elif version == ('9.10'): |
477 |
nodrivers = "true" |
|
478 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
479 |
else: |
480 |
nodrivers = "true" |
|
481 |
return nodrivers |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
482 |
elif modelname == ('panp4n'): |
483 |
if version == ('8.04'): |
|
484 |
uvc.camera() |
|
485 |
fprint.install() |
|
486 |
sound.alsa11() |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
487 |
elif version == ('8.10'): |
488 |
uvc.camera() |
|
489 |
fprint.install() |
|
490 |
sound.alsa10() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
491 |
elif version == ('9.04'): |
492 |
fprint.install() |
|
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
493 |
misc.linux_backports() |
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
494 |
elif version == ('9.10'): |
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
495 |
fprint.installPackages() |
34
by Carl Richell
1.) Add command line restore and install driver options |
496 |
else: |
497 |
nodrivers = "true" |
|
498 |
return nodrivers |
|
499 |
elif modelname == ('panp5'): |
|
500 |
if version == ('8.04'): |
|
501 |
uvc.camera() |
|
502 |
fprint.install() |
|
503 |
sound.alsa11() |
|
504 |
elif version == ('8.10'): |
|
505 |
uvc.camera() |
|
506 |
fprint.install() |
|
507 |
sound.alsa10() |
|
508 |
elif version == ('9.04'): |
|
509 |
fprint.install() |
|
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
510 |
misc.linux_backports() |
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
511 |
elif version == ('9.10'): |
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
512 |
fprint.installPackages() |
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
513 |
else: |
514 |
nodrivers = "true" |
|
515 |
return nodrivers |
|
516 |
elif modelname == ('panp6'): |
|
517 |
if version == ('8.04'): |
|
518 |
uvc.camera() |
|
519 |
fprint.install() |
|
520 |
sound.alsa11() |
|
521 |
elif version == ('8.10'): |
|
522 |
uvc.camera() |
|
523 |
fprint.install() |
|
524 |
sound.alsa10() |
|
525 |
elif version == ('9.04'): |
|
526 |
fprint.install() |
|
527 |
misc.linux_backports() |
|
528 |
elif version == ('9.10'): |
|
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
529 |
fprint.installPackages() |
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
530 |
else: |
531 |
nodrivers = "true" |
|
532 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
533 |
elif modelname == ('panv2'): |
534 |
if version == ('6.06'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
535 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
536 |
elif version == ('6.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
537 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
538 |
elif version == ('7.04'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
539 |
sound.alsa6() |
10
by Carl Richell
correct driverscontrol module calls |
540 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
541 |
elif version == ('7.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
542 |
sound.alsa6() |
25
by Carl Richell
1.) Add Hardy support. |
543 |
elif version == ('8.04'): |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
544 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
545 |
elif version == ('8.10'): |
546 |
nodrivers = "true" |
|
547 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
548 |
elif version == ('9.04'): |
549 |
nodrivers = "true" |
|
550 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
551 |
elif version == ('9.10'): |
552 |
nodrivers = "true" |
|
553 |
return nodrivers |
|
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
554 |
else: |
555 |
nodrivers = "true" |
|
556 |
return nodrivers |
|
557 |
elif modelname == ('panv3'): |
|
558 |
if version == ('7.04'): |
|
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
559 |
misc.piix2() |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
560 |
sound.alsa5() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
561 |
acpi.acpi1() |
11.1.6
by Carl Richell
1.) Add new Gazelle Value (gazv5) model |
562 |
ricoh_cr.card_reader() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
563 |
elif version == ('7.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
564 |
sound.alsa5() |
17.1.1
by Carl Richell
Version 2.1.2 |
565 |
ricoh_cr.card_reader() |
25
by Carl Richell
1.) Add Hardy support. |
566 |
elif version == ('8.04'): |
30
by Carl Richell
Fix missing () in driverscontrol |
567 |
sound.alsa9() |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
568 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
569 |
elif version == ('8.10'): |
570 |
sound.alsa9() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
571 |
elif version == ('9.04'): |
572 |
nodrivers = "true" |
|
573 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
574 |
elif version == ('9.10'): |
575 |
nodrivers = "true" |
|
576 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
577 |
else: |
578 |
nodrivers = "true" |
|
579 |
return nodrivers |
|
580 |
elif modelname == ('ratv1'): |
|
581 |
if version == ('6.06'): |
|
582 |
nodrivers = "true" |
|
583 |
return nodrivers |
|
584 |
elif version == ('6.10'): |
|
585 |
nodrivers = "true" |
|
586 |
return nodrivers |
|
587 |
elif version == ('7.04'): |
|
10
by Carl Richell
correct driverscontrol module calls |
588 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
589 |
elif version == ('7.10'): |
24
by Carl Richell
-------------------------------------- |
590 |
nodrivers = "true" |
591 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
592 |
elif version == ('8.04'): |
593 |
nodrivers = "true" |
|
594 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
595 |
elif version == ('8.10'): |
596 |
nodrivers = "true" |
|
597 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
598 |
elif version == ('9.04'): |
599 |
nodrivers = "true" |
|
600 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
601 |
elif version == ('9.10'): |
602 |
nodrivers = "true" |
|
603 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
604 |
else: |
605 |
nodrivers = "true" |
|
606 |
return nodrivers |
|
607 |
elif modelname == ('ratv2'): |
|
608 |
if version == ('6.06'): |
|
609 |
nodrivers = "true" |
|
610 |
return nodrivers |
|
611 |
elif version == ('6.10'): |
|
612 |
nodrivers = "true" |
|
613 |
return nodrivers |
|
614 |
elif version == ('7.04'): |
|
10
by Carl Richell
correct driverscontrol module calls |
615 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
616 |
elif version == ('7.10'): |
24
by Carl Richell
-------------------------------------- |
617 |
nodrivers = "true" |
618 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
619 |
elif version == ('8.04'): |
620 |
nodrivers = "true" |
|
621 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
622 |
elif version == ('8.10'): |
623 |
nodrivers = "true" |
|
624 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
625 |
elif version == ('9.04'): |
626 |
nodrivers = "true" |
|
627 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
628 |
elif version == ('9.10'): |
629 |
nodrivers = "true" |
|
630 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
631 |
else: |
632 |
nodrivers = "true" |
|
633 |
return nodrivers |
|
634 |
elif modelname == ('ratv3'): |
|
635 |
if version == ('6.06'): |
|
636 |
nodrivers = "true" |
|
637 |
return nodrivers |
|
638 |
elif version == ('6.10'): |
|
639 |
nodrivers = "true" |
|
640 |
return nodrivers |
|
641 |
elif version == ('7.04'): |
|
10
by Carl Richell
correct driverscontrol module calls |
642 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
643 |
elif version == ('7.10'): |
24
by Carl Richell
-------------------------------------- |
644 |
nodrivers = "true" |
645 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
646 |
elif version == ('8.04'): |
647 |
nodrivers = "true" |
|
648 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
649 |
elif version == ('8.10'): |
650 |
nodrivers = "true" |
|
651 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
652 |
elif version == ('9.04'): |
653 |
nodrivers = "true" |
|
654 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
655 |
elif version == ('9.10'): |
656 |
nodrivers = "true" |
|
657 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
658 |
else: |
659 |
nodrivers = "true" |
|
660 |
return nodrivers |
|
24
by Carl Richell
-------------------------------------- |
661 |
elif modelname == ('ratv4'): |
662 |
if version == ('7.10'): |
|
663 |
sound.alsa7() |
|
25
by Carl Richell
1.) Add Hardy support. |
664 |
elif version == ('8.04'): |
665 |
nodrivers = "true" |
|
666 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
667 |
elif version == ('8.10'): |
668 |
nodrivers = "true" |
|
669 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
670 |
elif version == ('9.04'): |
671 |
nodrivers = "true" |
|
672 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
673 |
elif version == ('9.10'): |
674 |
nodrivers = "true" |
|
675 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
676 |
else: |
677 |
nodrivers = "true" |
|
678 |
return nodrivers |
|
24
by Carl Richell
-------------------------------------- |
679 |
elif modelname == ('ratv5'): |
680 |
if version == ('7.10'): |
|
681 |
sound.alsa7() |
|
25
by Carl Richell
1.) Add Hardy support. |
682 |
elif version == ('8.04'): |
27
by Carl Richell
Fix nVidia installation on restore (command changed in Hardy) |
683 |
sound.alsa8() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
684 |
elif version == ('8.10'): |
685 |
sound.alsa8() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
686 |
elif version == ('9.04'): |
687 |
nodrivers = "true" |
|
688 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
689 |
elif version == ('9.10'): |
690 |
nodrivers = "true" |
|
691 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
692 |
else: |
693 |
nodrivers = "true" |
|
694 |
return nodrivers |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
695 |
elif modelname == ('ratv6'): |
696 |
if version == ('8.04'): |
|
697 |
nodrivers = "true" |
|
698 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
699 |
elif version == ('8.10'): |
700 |
nodrivers = "true" |
|
701 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
702 |
elif version == ('9.04'): |
703 |
nodrivers = "true" |
|
704 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
705 |
elif version == ('9.10'): |
706 |
nodrivers = "true" |
|
707 |
return nodrivers |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
708 |
else: |
709 |
nodrivers = "true" |
|
710 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
711 |
elif modelname == ('sabv1'): |
712 |
if version == ('6.06'): |
|
713 |
nodrivers = "true" |
|
714 |
return nodrivers |
|
715 |
elif version == ('6.10'): |
|
716 |
nodrivers = "true" |
|
717 |
return nodrivers |
|
718 |
elif version == ('7.04'): |
|
10
by Carl Richell
correct driverscontrol module calls |
719 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
720 |
elif version == ('7.10'): |
24
by Carl Richell
-------------------------------------- |
721 |
nodrivers = "true" |
722 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
723 |
elif version == ('8.04'): |
724 |
nodrivers = "true" |
|
725 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
726 |
elif version == ('8.10'): |
727 |
nodrivers = "true" |
|
728 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
729 |
elif version == ('9.04'): |
730 |
nodrivers = "true" |
|
731 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
732 |
elif version == ('9.10'): |
733 |
nodrivers = "true" |
|
734 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
735 |
else: |
736 |
nodrivers = "true" |
|
737 |
return nodrivers |
|
738 |
elif modelname == ('sabv2'): |
|
739 |
if version == ('6.06'): |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
740 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
741 |
elif version == ('6.10'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
742 |
sound.alsa6() |
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
743 |
elif version == ('7.04'): |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
744 |
sound.alsa6() |
10
by Carl Richell
correct driverscontrol module calls |
745 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
746 |
elif version == ('7.10'): |
24
by Carl Richell
-------------------------------------- |
747 |
nodrivers = "true" |
748 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
749 |
elif version == ('8.04'): |
750 |
nodrivers = "true" |
|
751 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
752 |
elif version == ('8.10'): |
753 |
nodrivers = "true" |
|
754 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
755 |
elif version == ('9.04'): |
756 |
nodrivers = "true" |
|
757 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
758 |
elif version == ('9.10'): |
759 |
nodrivers = "true" |
|
760 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
761 |
else: |
762 |
nodrivers = "true" |
|
763 |
return nodrivers |
|
24
by Carl Richell
-------------------------------------- |
764 |
elif modelname == ('sabv3'): |
765 |
if version == ('7.10'): |
|
766 |
nodrivers = "true" |
|
767 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
768 |
elif version == ('8.04'): |
769 |
nodrivers = "true" |
|
770 |
return nodrivers |
|
771 |
elif version == ('8.10'): |
|
772 |
nodrivers = "true" |
|
773 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
774 |
elif version == ('9.04'): |
775 |
nodrivers = "true" |
|
776 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
777 |
elif version == ('9.10'): |
778 |
nodrivers = "true" |
|
779 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
780 |
else: |
781 |
nodrivers = "true" |
|
782 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
783 |
elif modelname == ('serp1'): |
784 |
if version == ('6.06'): |
|
785 |
nodrivers = "true" |
|
786 |
return nodrivers |
|
787 |
elif version == ('6.10'): |
|
788 |
nodrivers = "true" |
|
789 |
return nodrivers |
|
790 |
elif version == ('7.04'): |
|
10
by Carl Richell
correct driverscontrol module calls |
791 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
792 |
elif version == ('7.10'): |
24
by Carl Richell
-------------------------------------- |
793 |
nodrivers = "true" |
794 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
795 |
elif version == ('8.04'): |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
796 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
797 |
elif version == ('8.10'): |
798 |
nodrivers = "true" |
|
799 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
800 |
elif version == ('9.04'): |
801 |
nodrivers = "true" |
|
802 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
803 |
elif version == ('9.10'): |
804 |
nodrivers = "true" |
|
805 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
806 |
else: |
807 |
nodrivers = "true" |
|
808 |
return nodrivers |
|
809 |
elif modelname == ('serp2'): |
|
810 |
if version == ('6.06'): |
|
811 |
nodrivers = "true" |
|
812 |
return nodrivers |
|
813 |
elif version == ('6.10'): |
|
814 |
nodrivers = "true" |
|
815 |
return nodrivers |
|
816 |
elif version == ('7.04'): |
|
10
by Carl Richell
correct driverscontrol module calls |
817 |
acpi.acpi1() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
818 |
elif version == ('7.10'): |
24
by Carl Richell
-------------------------------------- |
819 |
nodrivers = "true" |
820 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
821 |
elif version == ('8.04'): |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
822 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
823 |
elif version == ('8.10'): |
824 |
nodrivers = "true" |
|
825 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
826 |
elif version == ('9.04'): |
827 |
nodrivers = "true" |
|
828 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
829 |
elif version == ('9.10'): |
830 |
nodrivers = "true" |
|
831 |
return nodrivers |
|
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
832 |
else: |
833 |
nodrivers = "true" |
|
834 |
return nodrivers |
|
835 |
elif modelname == ('serp3'): |
|
836 |
if version == ('7.04'): |
|
837 |
acpi.acpi1() |
|
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
838 |
sound.alsa5() |
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
839 |
elif version == ('7.10'): |
24
by Carl Richell
-------------------------------------- |
840 |
if arch == ('x86'): |
841 |
sound.alsa5() |
|
842 |
ricoh_cr.card_reader() |
|
843 |
else: |
|
844 |
usplash.gutsy_64_nvidia() |
|
845 |
sound.alsa5() |
|
846 |
ricoh_cr.card_reader() |
|
25
by Carl Richell
1.) Add Hardy support. |
847 |
elif version == ('8.04'): |
30
by Carl Richell
Fix missing () in driverscontrol |
848 |
sound.alsa9() |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
849 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
850 |
elif version == ('8.10'): |
851 |
sound.alsa9() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
852 |
elif version == ('9.04'): |
853 |
nodrivers = "true" |
|
854 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
855 |
elif version == ('9.10'): |
856 |
nodrivers = "true" |
|
857 |
return nodrivers |
|
24
by Carl Richell
-------------------------------------- |
858 |
else: |
859 |
nodrivers = "true" |
|
860 |
return nodrivers |
|
861 |
elif modelname == ('serp4'): |
|
862 |
if version == ('7.04'): |
|
17.1.1
by Carl Richell
Version 2.1.2 |
863 |
acpi.acpi1() |
22
by Carl Richell
1.) Clean out legacy unnecessary drivers |
864 |
sound.alsa5() |
24
by Carl Richell
-------------------------------------- |
865 |
elif version == ('7.10'): |
866 |
if arch == ('x86'): |
|
867 |
sound.alsa5() |
|
868 |
ricoh_cr.card_reader() |
|
869 |
else: |
|
870 |
usplash.gutsy_64_nvidia() |
|
871 |
sound.alsa5() |
|
872 |
ricoh_cr.card_reader() |
|
25
by Carl Richell
1.) Add Hardy support. |
873 |
elif version == ('8.04'): |
30
by Carl Richell
Fix missing () in driverscontrol |
874 |
sound.alsa9() |
29
by Carl Richell
1.) [hardy] fix sound on resume from suspend LP Bug #223742 (serp3) |
875 |
hardy_led.install() |
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
876 |
elif version == ('8.10'): |
877 |
sound.alsa9() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
878 |
elif version == ('9.04'): |
879 |
nodrivers = "true" |
|
880 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
881 |
elif version == ('9.10'): |
882 |
nodrivers = "true" |
|
883 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
884 |
else: |
885 |
nodrivers = "true" |
|
886 |
return nodrivers |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
887 |
elif modelname == ('serp5'): |
888 |
if version == ('8.10'): |
|
889 |
sound.alsa10() |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
890 |
uvc.camera() |
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
891 |
fprint.install() |
892 |
acpi.osiNotWindows() |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
893 |
elif version == ('9.04'): |
894 |
fprint.install() |
|
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
895 |
misc.linux_backports() |
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
896 |
elif version == ('9.10'): |
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
897 |
fprint.installPackages() |
898 |
else: |
|
899 |
nodrivers = "true" |
|
900 |
return nodrivers |
|
901 |
elif modelname == ('serp6'): |
|
902 |
if version == ('9.10'): |
|
903 |
acpi.serp6() |
|
904 |
uvc.lemu1() |
|
905 |
fprint.installUpek1() |
|
906 |
elif version == ('10.04'): |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
907 |
nodrivers = "true" |
908 |
return nodrivers |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
909 |
else: |
910 |
nodrivers = "true" |
|
911 |
return nodrivers |
|
35
by Carl Richell
1.) Add Starling Netbook (star1) |
912 |
elif modelname == ('star1'): |
913 |
if version == ('9.04'): |
|
914 |
sound.alsa12() |
|
36
by Carl Richell
1.) Fix Bonobo (bonp2) brightness hot keys |
915 |
misc.linux_backports() |
35
by Carl Richell
1.) Add Starling Netbook (star1) |
916 |
acpi.star1() |
917 |
hotkey.star1_904() |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
918 |
misc.wireless8187b() |
919 |
elif version == ('9.10'): |
|
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
920 |
sound.alsa13() |
921 |
acpi.star1() |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
922 |
misc.wireless8187b() |
35
by Carl Richell
1.) Add Starling Netbook (star1) |
923 |
else: |
924 |
nodrivers = "true" |
|
925 |
return nodrivers |
|
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
926 |
elif modelname == ('wilb1'): |
927 |
if version == ('9.04'): |
|
928 |
nodrivers = "true" |
|
929 |
return nodrivers |
|
930 |
elif version == ('9.10'): |
|
931 |
nodrivers = "true" |
|
932 |
return nodrivers |
|
933 |
else: |
|
934 |
nodrivers = "true" |
|
935 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
936 |
elif modelname == ('wilp1'): |
937 |
if version == ('6.06'): |
|
938 |
nodrivers = "true" |
|
939 |
return nodrivers |
|
940 |
elif version == ('6.10'): |
|
941 |
nodrivers = "true" |
|
942 |
return nodrivers |
|
943 |
elif version == ('7.04'): |
|
944 |
nodrivers = "true" |
|
945 |
return nodrivers |
|
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
946 |
elif version == ('7.10'): |
947 |
nodrivers = "true" |
|
948 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
949 |
elif version == ('8.04'): |
950 |
nodrivers = "true" |
|
951 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
952 |
elif version == ('8.10'): |
953 |
nodrivers = "true" |
|
954 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
955 |
elif version == ('9.04'): |
956 |
nodrivers = "true" |
|
957 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
958 |
elif version == ('9.10'): |
959 |
nodrivers = "true" |
|
960 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
961 |
else: |
962 |
nodrivers = "true" |
|
963 |
return nodrivers |
|
964 |
elif modelname == ('wilp2'): |
|
965 |
if version == ('6.06'): |
|
966 |
nodrivers = "true" |
|
967 |
return nodrivers |
|
968 |
elif version == ('6.10'): |
|
969 |
nodrivers = "true" |
|
970 |
return nodrivers |
|
971 |
elif version == ('7.04'): |
|
972 |
nodrivers = "true" |
|
973 |
return nodrivers |
|
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
974 |
elif version == ('7.10'): |
975 |
nodrivers = "true" |
|
976 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
977 |
elif version == ('8.04'): |
978 |
nodrivers = "true" |
|
979 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
980 |
elif version == ('8.10'): |
981 |
nodrivers = "true" |
|
982 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
983 |
elif version == ('9.04'): |
984 |
nodrivers = "true" |
|
985 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
986 |
elif version == ('9.10'): |
987 |
nodrivers = "true" |
|
988 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
989 |
else: |
990 |
nodrivers = "true" |
|
991 |
return nodrivers |
|
992 |
elif modelname == ('wilp3'): |
|
993 |
if version == ('6.06'): |
|
994 |
nodrivers = "true" |
|
995 |
return nodrivers |
|
996 |
elif version == ('6.10'): |
|
997 |
nodrivers = "true" |
|
998 |
return nodrivers |
|
999 |
elif version == ('7.04'): |
|
1000 |
nodrivers = "true" |
|
1001 |
return nodrivers |
|
11.1.1
by Carl Richell
1.) Add new Pangolin Value (panv3) |
1002 |
elif version == ('7.10'): |
1003 |
nodrivers = "true" |
|
1004 |
return nodrivers |
|
25
by Carl Richell
1.) Add Hardy support. |
1005 |
elif version == ('8.04'): |
1006 |
nodrivers = "true" |
|
1007 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
1008 |
elif version == ('8.10'): |
1009 |
nodrivers = "true" |
|
1010 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
1011 |
elif version == ('9.04'): |
1012 |
nodrivers = "true" |
|
1013 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
1014 |
elif version == ('9.10'): |
1015 |
nodrivers = "true" |
|
1016 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
1017 |
else: |
1018 |
nodrivers = "true" |
|
1019 |
return nodrivers |
|
24
by Carl Richell
-------------------------------------- |
1020 |
elif modelname == ('wilp5'): |
1021 |
if version == ('7.10'): |
|
1022 |
if arch == ('x86'): |
|
1023 |
nodrivers = "true" |
|
1024 |
return nodrivers |
|
1025 |
else: |
|
1026 |
usplash.gutsy_64_nvidia() |
|
25
by Carl Richell
1.) Add Hardy support. |
1027 |
elif version == ('8.04'): |
1028 |
nodrivers = "true" |
|
1029 |
return nodrivers |
|
33
by Carl Richell
Fix daru1 touchpad on/off hotkey |
1030 |
elif version == ('8.10'): |
1031 |
nodrivers = "true" |
|
1032 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
1033 |
elif version == ('9.04'): |
1034 |
nodrivers = "true" |
|
1035 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
1036 |
elif version == ('9.10'): |
1037 |
nodrivers = "true" |
|
1038 |
return nodrivers |
|
1039 |
else: |
|
1040 |
nodrivers = "true" |
|
1041 |
return nodrivers |
|
34
by Carl Richell
1.) Add command line restore and install driver options |
1042 |
elif modelname == ('wilp6'): |
1043 |
if version == ('8.10'): |
|
1044 |
nodrivers = "true" |
|
1045 |
return nodrivers |
|
1046 |
elif version == ('9.04'): |
|
1047 |
nodrivers = "true" |
|
1048 |
return nodrivers |
|
38
by Carl Richell
Add --assume-yes to fix linux-backports-modules installation |
1049 |
elif version == ('9.10'): |
1050 |
nodrivers = "true" |
|
1051 |
return nodrivers |
|
1052 |
else: |
|
1053 |
nodrivers = "true" |
|
1054 |
return nodrivers |
|
39
by Carl Richell
* Fix Starling Ultra (star1) wireless in Ubuntu 9.10 |
1055 |
elif modelname == ('wilp7'): |
1056 |
if version == ('9.10'): |
|
1057 |
nodrivers = "true" |
|
1058 |
return nodrivers |
|
1059 |
elif version == ('10.04'): |
|
1060 |
nodrivers = "true" |
|
1061 |
return nodrivers |
|
1062 |
else: |
|
1063 |
nodrivers = "true" |
|
1064 |
return nodrivers |
|
1
by Carl Richell
initial bazaar revision - System76 Driver 2.0.4 |
1065 |
else: |
1066 |
nodrivers = "true" |
|
32
by Carl Richell
1.) Fix panp4 mic and sound after resume LP #264516 |
1067 |
return nodrivers |