patch for toshiba acpi
Hiroyuki Aizu
eyes at navi.org
Wed Sep 10 06:53:47 PDT 2003
Hi.
Little bit time passes ...
On 19 Aug 2003 20:34:25 -0500
edscott wilson garcia <edscott at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acpi_toshiba.tar.gz
Type: application/octet-stream
Size: 4857 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20030910/4f129dd9/acpi_toshiba.tar.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: files.diff
Type: application/octet-stream
Size: 407 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20030910/4f129dd9/files.obj
More information about the freebsd-mobile
mailing list