View | Details | Raw Unified | Return to bug 104088
Collapse All | Expand All

(-)drivers/acpi/asus_acpi.c_org (+16 lines)
Lines 135-140 Link Here
135
		S2x,      //S200 (J1 reported), Victor MP-XP7210
135
		S2x,      //S200 (J1 reported), Victor MP-XP7210
136
		xxN,      //M2400N, M3700N, M5200N, S1300N, S5200N, W1OOON
136
		xxN,      //M2400N, M3700N, M5200N, S1300N, S5200N, W1OOON
137
			  //(Centrino)
137
			  //(Centrino)
138
		A6G,	  //A6000	
138
		END_MODEL
139
		END_MODEL
139
	} model;              //Models currently supported
140
	} model;              //Models currently supported
140
	u16 event_count[128]; //count for each event TODO make this better
141
	u16 event_count[128]; //count for each event TODO make this better
Lines 148-153 Link Here
148
#define S1x_PREFIX "\\_SB.PCI0.PX40."
149
#define S1x_PREFIX "\\_SB.PCI0.PX40."
149
#define S2x_PREFIX A1x_PREFIX
150
#define S2x_PREFIX A1x_PREFIX
150
#define xxN_PREFIX "\\_SB.PCI0.SBRG.EC0."
151
#define xxN_PREFIX "\\_SB.PCI0.SBRG.EC0."
152
#define A6G_PREFIX xxN_PREFIX
151
153
152
static struct model_data model_conf[END_MODEL] = {
154
static struct model_data model_conf[END_MODEL] = {
153
        /*
155
        /*
Lines 373-378 Link Here
373
		.brightness_get    = "GPLV",
375
		.brightness_get    = "GPLV",
374
		.display_set       = "SDSP",
376
		.display_set       = "SDSP",
375
		.display_get       = "\\ADVG"
377
		.display_get       = "\\ADVG"
378
	},
379
380
	{
381
		.name              = "A6G",
382
		.mt_mled           = "MLED",
383
		.mt_wled           = "WLED",
384
		.mt_lcd_switch     = A6G_PREFIX "_Q10",
385
		.lcd_status        = "\\BKLT",
386
		.brightness_set    = "SPLV",
387
		.brightness_get    = "GPLV",
388
		.display_set       = "SDSP",
389
		.display_get       = "\\ADVG"
376
	}
390
	}
377
};
391
};
378
392
Lines 1056-1061 Link Here
1056
		hotk->model = S2x;
1070
		hotk->model = S2x;
1057
	else if (strncmp(model->string.pointer, "L5", 2) == 0)
1071
	else if (strncmp(model->string.pointer, "L5", 2) == 0)
1058
		hotk->model = L5x;
1072
		hotk->model = L5x;
1073
	else if (strncmp(model->string.pointer, "A6G", 3) == 0)
1074
		hotk->model = A6G;
1059
1075
1060
	if (hotk->model == END_MODEL) {
1076
	if (hotk->model == END_MODEL) {
1061
		printk("unsupported, trying default values, supply the "
1077
		printk("unsupported, trying default values, supply the "

Return to bug 104088