[tlinux-users:08370] Re: omnibook and acpi
"Renato S. Yamane" <[email protected]>
| Newsgroups | gmane.linux.hardware.toshiba |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Em 01-02-2007 13:28, WL escreveu: > yes, i'm using the toshiba_acpi module. If i try >> Try write "0" in this file, as: >> #echo 0 >> /proc/acpi/toshiba/lcd >> This value change brightness to MINIMUM. You can use other value too. > > there is a write error. Seems like i must use the format string > "brightness:%d" in order to write to the file. Even so, there is no > response. Talking about omnibook module: #cat /proc/omnibook/lcd LCD brightness: 0 (max value: 7) #echo 5 >> /proc/omnibook/lcd #cat /proc/omnibook/lcd LCD brightness: 5 (max value: 7) > I'll try patching the kernel and use the omnibook module Only do this: Unload toshiba_acpi: #modprobe -r toshiba_acpi $svn export https://svn.sourceforge.net/svnroot/omnibook/omnibook/trunk Enter in directory "trunk" created by command below, run "make" and "make install" (you need Kernel Sources). I don't remember if is necessary use #modprobe omnibook. And now, see if is created directory /proc/omnibook - -- Renato S. Yamane Fingerprint: 68AE A381 938A F4B9 8A23 D11A E351 5030 D420 515A PGP Server: http://pgp.mit.edu/ --> KeyID: 0xD420515A <http://www.renatoyamane.com> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFFwitl41FQMNQgUVoRAtPgAJsHEZVYHSZi0FSqDkCOpMrPhBZlZwCgicKJ yy/+MytUC7N5EnhHv74bW7s= =PTGg -----END PGP SIGNATURE-----