LINUX.ORG.RU

История изменений

Исправление bormant, (текущая версия) :

[ 2707.718225] sony_laptop: setting up handle 0x0153
[ 2707.718226] sony_laptop: found handle 0x0153 (offset: 0x0c)
[ 2707.718722] sony_laptop: __call_snc_method: [SN07:0x000000000000000c]
[ 2707.718723] sony_laptop: called SN07 with 0x000c (result: 0x000c)
[ 2707.718724] sony_laptop: no backlight keyboard found


А других совпадений по method name и кодом в sony-laptop.c в функциях с *_kbd_backlight_* нет. Да и этот 153 какой-то странный, probe_base, ctl_base нулевые:

static int sony_nc_kbd_backlight_setup(struct platform_device *pd,
		unsigned int handle)
{
...
	/* verify the kbd backlight presence, some of these handles are not used
	 * for keyboard backlight only
	 */
	switch (handle) {
	case 0x0153:
		probe_base = 0x0;
		ctl_base = 0x0;
		break;
...
	}

	ret = sony_call_snc_handle(handle, probe_base, &result);
	if (ret)
		return ret;

	if ((handle == 0x0137 && !(result & 0x02)) ||
			!(result & 0x01)) {
		dprintk("no backlight keyboard found\n");
		return 0;
	}
...

Исправление bormant, :

[ 2707.718225] sony_laptop: setting up handle 0x0153
[ 2707.718226] sony_laptop: found handle 0x0153 (offset: 0x0c)
[ 2707.718722] sony_laptop: __call_snc_method: [SN07:0x000000000000000c]
[ 2707.718723] sony_laptop: called SN07 with 0x000c (result: 0x000c)
[ 2707.718724] sony_laptop: no backlight keyboard found


А других совпадений по method name и кодом в sony-laptop.c в функциях с *_kbd_backlight_* нет. Да и этот 153 какой-то странный, probe_base, ctl_base нулевые:


	/* verify the kbd backlight presence, some of these handles are not used
	 * for keyboard backlight only
	 */
	switch (handle) {
	case 0x0153:
		probe_base = 0x0;
		ctl_base = 0x0;
		break;
...
	}

	ret = sony_call_snc_handle(handle, probe_base, &result);
	if (ret)
		return ret;

	if ((handle == 0x0137 && !(result & 0x02)) ||
			!(result & 0x01)) {
		dprintk("no backlight keyboard found\n");
		return 0;
	}
...

Исходная версия bormant, :

[ 2707.718225] sony_laptop: setting up handle 0x0153
[ 2707.718226] sony_laptop: found handle 0x0153 (offset: 0x0c)
[ 2707.718722] sony_laptop: __call_snc_method: [SN07:0x000000000000000c]
[ 2707.718723] sony_laptop: called SN07 with 0x000c (result: 0x000c)
[ 2707.718724] sony_laptop: no backlight keyboard found


А других совпадений по method name и кодом в sony-laptop.c в функциях с *_kbd_backlight_* нет. Да и этот 153 какой-то странный, probe_base, ctl_base нулевые:


	/* verify the kbd backlight presence, some of these handles are not used
	 * for keyboard backlight only
	 */
	switch (handle) {
	case 0x0153:
		probe_base = 0x0;
		ctl_base = 0x0;
		break;