kpatch: kinstall
(cd $(KSRC); patch -p1 < $(BDIR)/misc/omnibook-integration.patch)
-deb: clean
- dch -v 1:2.$(TODAY)
- fakeroot dpkg-buildpackage
-
+version:
+ sed -i "s|^\(#define OMNIBOOK_MODULE_VERSION.*\)\".*\"|\1\"2.$(TODAY)\"|" omnibook.h
+ sed -i "s|^\(2\.\)[[:alnum:]]\{8\}|\1$(TODAY)|" doc/ChangeLog
-release: clean
+release: clean version
mkdir -p ../$(MODULE_NAME)-2.$(TODAY)
- cp -a *.h *.c *.lds Makefile debian doc misc ../$(MODULE_NAME)-2.$(TODAY)
- sed -i "s|^\(#define OMNIBOOK_MODULE_VERSION.*\)\".*\"|\1\"2.$(TODAY)\"|" ../$(MODULE_NAME)-2.$(TODAY)/omnibook.h
+ cp -a *.h *.c *.lds Makefile doc misc ../$(MODULE_NAME)-2.$(TODAY)
rm -f ../$(MODULE_NAME)-2.$(TODAY).tar ../$(MODULE_NAME)-2.$(TODAY).tar.gz
(cd ..; tar cvf $(MODULE_NAME)-2.$(TODAY).tar $(MODULE_NAME)-2.$(TODAY); gzip -9 $(MODULE_NAME)-2.$(TODAY).tar)
-current: clean
- rm -f ../$(MODULE_NAME)-2.current.tar ../$(MODULE_NAME)-2.current.tar.gz
- (cd ..; tar cvf $(MODULE_NAME)-2.current.tar $(MODULE_NAME)-current; gzip -9 $(MODULE_NAME)-2.current.tar)
-
# End of file
2.XXXXXXXX Mathieu Bérard <math_b@users.sourceforge.net>
* Add dmi info for Toshiba Satellite M100 (Thanks Sertaç Ö. Yıldız)
+ And fix it
+* Add dmi info for Toshiba Satellite A105 (Thanks Mikkel L. Ellertson)
+ the support is pretty minimalistic (LCD brigtness only) this
+ also inaugurate ectype 14
+* Cleanup in Makefile
2.20060809 Mathieu Bérard <math_b@users.sourceforge.net>
* Add dmi info for Toshiba Satellite M40X (Thanks Julien Valroff)
#define XE3GC_VOLU_SCAN 0x30 /* Volume up button scancode */
#define XE3GC_MUTE_SCAN 0x20 /* Volume up button scancode */
+/*
+ * Toshiba Satellite A105 values
+ */
+
+#define A105_BNDT 0xA3 /* LCD brightness */
+
/*
* Fujitsu Amilo D values
*/
},
.driver_data = (void*) XE3GF,
},
+ {
+ .callback = dmi_matched,
+ .ident = "Toshiba Satellite A105",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Satellite A105"),
+ },
+ .driver_data = (void*) TSA105
+ },
{
.callback = dmi_matched,
.ident = "Toshiba Satellite P10",
.ident = "Toshiba Satellite M100",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
- DMI_MATCH(DMI_PRODUCT_NAME, "Satellite M100"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "SATELLITE M100"),
},
.driver_data = (void*) TSM30X
},
} else if (omnibook_ectype & (AMILOD) ) {
if ((retval = omnibook_ec_write(AMILOD_CBRG, brgt)))
return retval;
+ /*
+ * TSA105
+ */
+ } else if (omnibook_ectype & (TSA105) ) {
+ if ((retval = omnibook_ec_write(A105_BNDT, brgt)))
+ return retval;
} else {
printk(KERN_INFO
"%s: LCD brightness handling is unsupported on this machine.\n",
{
/*
* FIXME: What is exactly de max value for each model ?
- * I know that it's 7 for the TSM30X and the TSM40
+ * I know that it's 7 for the TSM30X, TSM40 and TSA105
* and previous versions of this driver assumed it was 10 for
* all models.
*
* TSM30X
* TSM40
+ * TSA105
*/
- if (omnibook_ectype & (TSM30X|TSM40) )
+ if (omnibook_ectype & (TSM30X|TSM40|TSA105) )
omnibook_max_brightness = 7;
else
omnibook_max_brightness = 10;
.write = omnibook_brightness_write,
.init = omnibook_brightness_init,
.exit = omnibook_brightness_cleanup,
- .ectypes = XE3GF|XE3GC|AMILOD|TSP10|TSM30X|TSM40,
+ .ectypes = XE3GF|XE3GC|AMILOD|TSP10|TSM30X|TSM40|TSA105,
};
module_param_named(lcd, lcd_feature.enabled, int, S_IRUGO);
Board Name: BTR80
Board Version: Null
+---------------------------------------------
+Toshiba Satellite A105 ----------------------
+
+BIOS Vendor: Phoenix Technologies LTD
+BIOS Version: 1.30
+BIOS Release: 02/09/2006
+System Vendor: TOSHIBA
+Product Name: Satellite A105
+Version: PSAA8U-02000U
+Serial Number: 36244466Q
+Board Vendor: Intel Corporation
+Board Name: Not Applicable
+
---------------------------------------------
Toshiba Satellite P10 -----------------------
BIOS Version: V1.90
BIOS Release: 07/20/2006
System Vendor: TOSHIBA
-Product Name: Satellite M100
+Product Name: SATELLITE M100
Version: PSMA0E-030019TE
Serial Number: 46795329G
Board Vendor: TOSHIBA
#define TSP10 1024 /* 11 Toshiba Satellite P10, P15, P20 and compatible */
#define TSM30X 2048 /* 12 Toshiba Satellite M30X, M35X, M40X, M70 and compatible */
#define TSM40 4096 /* 13 Toshiba Satellite M40 */
+#define TSA105 8192 /* 14 Toshiba Satellite A105 */
/*
* This represent a feature provided by this module