Not only did the name change from leds/smc:kbd_backlight to leds/smc::kbd_backlight as you noticed, but it lately (intrepid) changed to leds:smc::kbd_backlight... Somewhat confusing.
Btw, with the help of Bob McElrath, the applesmc reading errors have lately been further improved; I am attaching the latest version for Intrepid (applesmc.c.zip at the bottom). To get a version usable in Hardy, simply apply the trivial patch below.
Cheers!
Code:
--- upstream-2.6/drivers/hwmon/applesmc.c 2008-09-29 17:50:30.000000000 +0200
+++ hardy/drivers/hwmon/applesmc.c 2008-09-27 17:07:33.000000000 +0200
@@ -565,7 +565,7 @@ static ssize_t applesmc_light_show(struc
ret = applesmc_get_key_type(LIGHT_SENSOR_LEFT_KEY, query);
if (ret)
goto out;
- data_length = clamp_val(query[0], 0, 10);
+ data_length = query[0];
printk(KERN_INFO "applesmc: light sensor data length set to "
"%d\n", data_length);
}
@@ -951,7 +951,7 @@ static ssize_t applesmc_key_at_index_sto
}
static struct led_classdev applesmc_backlight = {
- .name = "smc::kbd_backlight",
+ .name = "smc:kbd_backlight",
.default_trigger = "nand-disk",
.brightness_set = applesmc_brightness_set,
};
Bookmarks