Re: patch for toshiba acpi
Hiroyuki Aizu <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Organization | navi.org |
| Message-ID | <[email protected]> |
Hi. Little bit time passes ... On 19 Aug 2003 20:34:25 -0500 edscott wilson garcia <[email protected]> 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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "[email protected]"
acpi_toshiba.tar.gz
(application/octet-stream, 4.7 KB) - not displayed
files.diff
(application/octet-stream, 407 B)
--- sys/conf/files.orig Wed Sep 10 20:37:50 2003 +++ sys/conf/files Wed Sep 10 14:09:56 2003 @@ -252,6 +252,7 @@ dev/acpica/acpi_resource.c optional acpi dev/acpica/acpi_thermal.c optional acpi dev/acpica/acpi_timer.c optional acpi +dev/acpica/acpi_toshiba.c optional acpi dev/acpica/Osd/OsdDebug.c optional acpi dev/acpica/Osd/OsdHardware.c optional acpi dev/acpica/Osd/OsdInterrupt.c optional acpi