[Pommed-commits] r269 - in trunk: . pommed
Julien Blache
jblache at alioth.debian.org
Thu Feb 22 15:00:31 CET 2007
Author: jblache
Date: 2007-02-22 15:00:31 +0100 (Thu, 22 Feb 2007)
New Revision: 269
Modified:
trunk/ChangeLog
trunk/pommed/pommed.c
trunk/pommed/pommed.h
Log:
Added PowerBook6,1 (PowerBook G4 12" January 2003)
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-02-22 13:48:36 UTC (rev 268)
+++ trunk/ChangeLog 2007-02-22 14:00:31 UTC (rev 269)
@@ -12,6 +12,7 @@
- wmpomme: adapt to the new DBus notification.
- pommed: added support for PowerBook6,4 and nVidia GPUs.
- pommed: added support for
+ + PowerBook6,1: PowerBook G4 12" January 2003
+ PowerBook6,5: iBook G4 October 2004
version 1.1:
Modified: trunk/pommed/pommed.c
===================================================================
--- trunk/pommed/pommed.c 2007-02-22 13:48:36 UTC (rev 268)
+++ trunk/pommed/pommed.c 2007-02-22 14:00:31 UTC (rev 269)
@@ -96,6 +96,13 @@
.evdev_identify = evdev_is_fountain,
},
+ { /* PowerBook6,1 */
+ .type = MACHINE_POWERBOOK_61,
+ .lcd_backlight_probe = nvidia_sysfs_backlight_probe,
+ .lcd_backlight_step = sysfs_backlight_step,
+ .evdev_identify = evdev_is_adb,
+ },
+
{ /* PowerBook6,3 */
.type = MACHINE_POWERBOOK_63,
.lcd_backlight_probe = r9x00_sysfs_backlight_probe,
@@ -305,6 +312,7 @@
/* PowerBook G4 Titanium 15" (December 2000) */
if (strncmp(buffer, "PowerBook3,2", 12) == 0)
ret = MACHINE_POWERBOOK_32;
+
/* PowerBook G4 Aluminium 17" (April 2004) */
else if (strncmp(buffer, "PowerBook5,5", 12) == 0)
ret = MACHINE_POWERBOOK_55;
@@ -314,6 +322,10 @@
/* PowerBook G4 Aluminium 17" (February 2005) */
else if (strncmp(buffer, "PowerBook5,7", 12) == 0)
ret = MACHINE_POWERBOOK_57;
+
+ /* PowerBook G4 12" (January 2003) */
+ else if (strncmp(buffer, "PowerBook6,1", 12) == 0)
+ ret = MACHINE_POWERBOOK_61;
/* iBook G4 (October 2003) */
else if (strncmp(buffer, "PowerBook6,3", 12) == 0)
ret = MACHINE_POWERBOOK_63;
Modified: trunk/pommed/pommed.h
===================================================================
--- trunk/pommed/pommed.h 2007-02-22 13:48:36 UTC (rev 268)
+++ trunk/pommed/pommed.h 2007-02-22 14:00:31 UTC (rev 269)
@@ -39,6 +39,7 @@
MACHINE_POWERBOOK_55,
MACHINE_POWERBOOK_56,
MACHINE_POWERBOOK_57,
+ MACHINE_POWERBOOK_61,
MACHINE_POWERBOOK_63,
MACHINE_POWERBOOK_64,
MACHINE_POWERBOOK_65,
More information about the Pommed-commits
mailing list