Date: Wed, 10 Sep 2003 22:53:45 +0900 From: Hiroyuki Aizu <eyes@navi.org> To: freebsd-mobile@freebsd.org Subject: Re: patch for toshiba acpi Message-ID: <20030910225345.5a699993.eyes@navi.org> In-Reply-To: <1061343265.951.17.camel@scorpio.eco.imp.mx> References: <1061343265.951.17.camel@scorpio.eco.imp.mx>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --Multipart_Wed__10_Sep_2003_22:53:45_+0900_08abf200 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi. Little bit time passes ... On 19 Aug 2003 20:34:25 -0500 edscott wilson garcia <edscott@imp.mx> wrote: > I finally got the lcd brightness control and force-fan to work on a > toshiba 2455 on FreeBSD 5.1. If anybody is interested, you can find the > patch at http://linux.imp.mx/toshiba/ I wrote TOSHIBA HCI driver base on ACPI. I was tested on Libretto L5 series. This driver should work with other TOSHIBA. And this driver works as loadable module. This driver has a remarkable improvement that you can control with Fn+? keys. Features Fn+Esc Force keep running to fan Fn+F Force keep running to fan Fn+F2 Same as push sleep button (You should set hw.acpi.sleep_button_state=S3) Fn+F5 VGA Output Switch (LCD->CRT->Both->None) Fn+F6 LCD Brightness decrease Fn+F7 LCD Brightness increase Fn+F8 LCD Backlight on/off Of cource, you can control these feature with sysctl. # sysctl hw.acpi.toshiba hw.acpi.toshiba.force_fan: 0 hw.acpi.toshiba.video_output: 1 hw.acpi.toshiba.lcd_brightness_leve: 6 hw.acpi.toshiba.lcd_backlight: 1 1. Extract acpi_toshiba.tar.gz at /usr/src/sys 2. apply files.diff 3. re-compile kernel 4. install kernel 5. add acpi_toshiba_load="YES" to /boot/loader.conf or load acpi_toshiba at boot time. Please try this driver and test report welcome. -- Hiroyuki Aizu --Multipart_Wed__10_Sep_2003_22:53:45_+0900_08abf200 Content-Type: application/octet-stream; name="acpi_toshiba.tar.gz" Content-Disposition: attachment; filename="acpi_toshiba.tar.gz" Content-Transfer-Encoding: base64 H4sICK0NXz8CA2Fj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zu67Zu67Zu67Zu67Zu67Zu67Zu67Zu f9v2/254dXUAeAAA --Multipart_Wed__10_Sep_2003_22:53:45_+0900_08abf200 Content-Type: application/octet-stream; name="files.diff" Content-Disposition: attachment; filename="files.diff" Content-Transfer-Encoding: base64 LS0tIHN5cy9jb25mL2ZpbGVzLm9yaWcJV2VkIFNlcCAxMCAyMDozNzo1MCAyMDAzCisrKyBzeXMv Y29uZi9maWxlcwlXZWQgU2VwIDEwIDE0OjA5OjU2IDIwMDMKQEAgLTI1Miw2ICsyNTIsNyBAQAog ZGV2L2FjcGljYS9hY3BpX3Jlc291cmNlLmMJb3B0aW9uYWwgYWNwaQogZGV2L2FjcGljYS9hY3Bp X3RoZXJtYWwuYwlvcHRpb25hbCBhY3BpCiBkZXYvYWNwaWNhL2FjcGlfdGltZXIuYwkJb3B0aW9u YWwgYWNwaQorZGV2L2FjcGljYS9hY3BpX3Rvc2hpYmEuYwlvcHRpb25hbCBhY3BpCiBkZXYvYWNw aWNhL09zZC9Pc2REZWJ1Zy5jCW9wdGlvbmFsIGFjcGkKIGRldi9hY3BpY2EvT3NkL09zZEhhcmR3 YXJlLmMJb3B0aW9uYWwgYWNwaQogZGV2L2FjcGljYS9Pc2QvT3NkSW50ZXJydXB0LmMJb3B0aW9u YWwgYWNwaQo= --Multipart_Wed__10_Sep_2003_22:53:45_+0900_08abf200--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030910225345.5a699993.eyes>