Any idea why the led automatically turns on when i load the module?

Yep, that's a feature, not a bug ;) But you can change it, by editing
the following lines in asus-laptop.c (1017, 1018 in cvs version).

/* WLED and BLED are on by default */
write_status(bt_switch_handle, 1, BT_ON);
write_status(wl_switch_handle, 1, WL_ON);

It's probably a good idea to implement a module parameter that
controls the initial value of wled and bled. I wrote a simple patch
for the cvs version that adds the module parameters wled and bled to
set the initial value of the led by modprobe asus-laptop wled=1 etc.
(see attachment).

Andreas

Attachment: patch_wled_bled.diff
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Acpi4asus-user mailing list
Acpi4asus-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi4asus-user

Reply via email to